STRATAM io
Lifecycle API

Memory operations

Beyond add and search: update, forget, group memory, prospective intentions.

OperationLabProduct
rememberf.remember(text, principal)b.remember(f, text, token)
recall / searchf.recall / f.searchb.recall
updatef.updateAuthContext path
forgetf.forget → ForgetResultsame + assurance
integrityf.verify_integrity()+ AnchorStore

Group memory

from stratam import MemoryFabric, Principal
f = MemoryFabric()
alice = Principal("alice", "team")
bob = Principal("bob", "team")
f.store_group_memory(
    "gc-1",
    "We should use React for the frontend.",
    speaker=alice,
    audience=("alice", "bob", "charlie"),
    writer=alice,
)
print(f.recall_group_memory("gc-1", bob))  # speaker attribution preserved
# outsider / wrong audience → None

Prospective memory

f.schedule_intention("fu-1", "lab-results-ready", "CALL_PATIENT", bob)
print(f.due("lab-results-ready", bob))  # one-shot
print(f.due("lab-results-ready", bob))  # []

Provenance and integrity

# Without AnchorStore — bare bool (in-process chain + content hashes only)
ok = fabric.verify_integrity()  # True / False

# With AnchorStore — IntegrityReport
report = fabric.verify_integrity(anchor=store)
# report.chain_ok, report.anchor_ok, report.mode, report.detail
# forget returns channels_run + channels_skipped (honest multi-channel story)

Elevated Source classes: use attestation / registered channels on the product path. Details: Security model.

Forget honesty

Inspect channels_run and channels_skipped on ForgetResult. Never market a single delete as full multi-copy sanitization or GDPR complete.

Lab defaults are not protective. Product path refuses repo-known keys. Home · Demo console (non-PHI)