AI architecture ·
The AI Saved a Manager Note as Memory. Who Decides When It Expires?
A write gate for persistent facility memory in responsible artificial intelligence systems

A manager tells an AI assistant, “Use the west gate for vendor arrivals until the controller is replaced.” The assistant helps with today’s dispatch. Then it saves the instruction as durable memory.
Three weeks later, the controller has been replaced, the temporary route has ended, and another manager asks the assistant to prepare arrival instructions. The old note is still easy to retrieve. It sounds specific. It came from a real manager. The system treats it as a standing operating fact.
The failure did not begin when the AI read the note. It began when the system decided the note deserved to outlive the task.
Persistent memory can make an AI workflow more useful across conversations and interrupted work. It can also convert a local instruction, a temporary exception, an unverified observation, or a personal preference into invisible policy. For facility operations, the write path needs its own control boundary. An agent should not be able to promote conversational content into durable operating memory merely because the content was relevant once.
The architecture I would use is a memory admission and expiration gate. It separates a statement the system heard from a memory the organization has authorized it to reuse. Every admitted memory gets a subject, claim type, source, scope, effective period, consequence ceiling, challenge path and owner. Anything that cannot support those fields stays in the case record or expires with the session.
Persistence is a new operating state
Modern agent frameworks make the technical distinction visible. LangGraph’s official persistence documentation separates thread-scoped checkpoints from long-term stores that can carry application-defined information across threads. That is product documentation, not a self-storage governance standard. The useful lesson is narrower: keeping state for one workflow and preserving knowledge for future workflows are different operations.
Facility architecture should make that difference explicit:
- Session context supports the current exchange and ends under a defined retention rule.
- Case state preserves the work object, evidence, approvals and unresolved obligations needed to finish or investigate one matter.
- Durable memory may influence future work outside the original case.
- Governing record remains the authoritative system or approved document from which current operating truth must be read.
These states should not collapse into one searchable pool. A case note can remain important evidence without becoming reusable instruction. A durable memory can help route a question without becoming the governing fact. The official access schedule, work-order status, tenant ledger or controller configuration still belongs in its source system.
The promotion from conversation to memory is consequential because it changes audience, duration and reuse. A sentence given to one assistant for one dispatch can later influence another employee, another facility or another action class. That promotion deserves a recorded decision.
Decide what kind of statement is asking to persist
Before admission, classify the candidate. Useful categories include:
- Verified operating fact: a claim tied to a named governing source and effective time.
- Temporary instruction: a bounded direction with an owner, scope and expiration.
- Preference: a person’s non-governing choice that may assist presentation or workflow.
- Observation: what someone or something reported seeing, without converting it into cause or final condition.
- Hypothesis: an explanation or prediction that remains unconfirmed.
- Exception: an approved departure from a rule with a reason, authority and end condition.
- Prohibition: a controlled “do not” rule whose author and applicable scope can be proved.
- Derived summary: text produced from other records and therefore dependent on their lineage and freshness.
The class determines whether persistence is appropriate and what evidence is required. “Manager prefers the weekly review sorted by facility” may be a low-consequence preference. “Use the west gate” is an operating instruction that needs facility, audience, purpose, start time, end time and approval. “The controller is failing” is an observation or hypothesis until qualified evidence establishes more.
Do not let the model classify and approve its own memory silently. A deterministic policy can reject prohibited classes, require fields and route higher-consequence candidates to a named person. Human review should focus on what the memory will be allowed to influence, not merely whether the sentence sounds reasonable.
Bind every memory to an identity and a clock
A durable memory without a precise subject is a cross-facility error waiting to happen.
The minimum subject might be a facility, asset, unit, work order, customer account, vendor, employee role, policy or workflow. The identifier should resolve through an approved identity layer rather than a free-text nickname. “The downtown site” is not enough if the portfolio contains several downtown properties or if a facility name changes.
Time needs equal precision. Record when the source statement was made, when the asserted condition was observed, when the memory becomes effective, and when it expires or must be reviewed. Those moments can differ. A manager can enter a note today about an instruction that starts Monday and ends when a contractor completes a specific task.
Expiration should be executable policy, not prose buried in the memory. At the deadline, the system should stop admitting the memory into new decisions unless a new review creates a new version. “Until further notice” is not a safe default. If the end condition is event-based, name the event source and include a maximum review time in case the event never arrives.
The older memory should not be rewritten to look as though it was never valid. Preserve its historical state and mark it expired, superseded, revoked or challenged. That distinction matters when reconstructing why an earlier recommendation was made.
Scope memory more narrowly than retrieval
A memory can be relevant outside the purpose for which it was admitted. Relevance is not permission.
For each candidate, define:
- facility and object scope;
- eligible roles or system identities;
- allowed workflow and purpose;
- permitted decision stage—context, draft, recommendation or action input;
- prohibited uses;
- maximum consequence;
- geographic, contractual or organizational boundary; and
- whether the memory may be copied into another store or tenant.
This prevents a local maintenance preference from appearing in customer communication, a training example from shaping a live dispatch, or one facility’s temporary exception from becoming a portfolio rule.
The NIST AI Risk Management Framework is voluntary and cross-sectoral. It does not define an agent-memory schema. Its emphasis on governing, mapping, measuring and managing risk supports the broader requirement to connect AI behavior to context, ownership and continuing oversight. NIST also notes that AI RMF 1.0 is being revised, so it should not be represented as a current certification or a frozen facility standard.
The NIST Generative AI Profile discusses provenance, data privacy, content integrity, monitoring and risk treatment for generative AI. It likewise does not prescribe this gate. The operator still has to translate those concerns into an enforceable rule for what can persist and what future work it may affect.
Preserve lineage without storing everything
A durable memory should be reconstructable without becoming a second uncontrolled copy of the source system.
The W3C PROV-O recommendation provides general concepts for representing entities, activities, agents and derivation across systems. It does not validate a memory or decide whether it is true. It is useful here because the memory record can name the source entity, the activity that transformed it, the human or service responsible, and the later versions that superseded it.
For a facility-memory receipt, preserve:
- candidate and admitted-memory identifiers;
- exact source reference and source version;
- source owner and authority class;
- the original assertion or an approved protected reference;
- normalization or summarization steps;
- model, prompt, policy and parser versions used during admission;
- reviewer and decision time;
- effective, review and expiration times;
- later challenges, corrections and superseding IDs; and
- every consequential use through a decision reference.
Provenance does not require copying raw customer, employee or access content into a broad telemetry store. Keep the minimum content needed for the declared purpose. Protect references and sensitive values. NIST SP 800-53 is a federal control catalog, not a self-storage implementation guide, but its official current publication page describes flexible, customizable security and privacy controls and points to information-management and retention disciplines. The local design still needs counsel, security, privacy and records owners to determine what may be stored and for how long.
Make challenge and revocation first-class operations
If memory can be written, it must also be challengeable. A facility manager should be able to say, “That instruction no longer applies,” without editing a hidden vector entry or waiting for a model retraining cycle.
A challenge should immediately change the memory’s eligibility for new work. The system can retain the disputed version for evidence while excluding it from normal decision context. A qualified owner then chooses a disposition: confirm, narrow, correct, supersede, revoke or delete under the applicable retention rule.
Revocation must propagate to the indexes, caches and derived summaries that can still surface the memory. A tombstone in the primary store is not enough if a search index continues to return an embedded copy. The system should produce a propagation receipt: stores checked, entries disabled, derivatives identified, open decisions held and failures assigned.
Completed actions are different. Removing a memory does not undo a vendor dispatch, customer message or access change that already occurred. Those require a separate reconciliation or corrective-action process. The memory ledger should link the affected decisions so the accountable owner can find them.
A fictional memory failure at Orchard Key Storage
Orchard Key Storage, every person, system, identifier, record, event and outcome in this example are fictional teaching material. They do not describe modSTORAGE, Facily.ai, a customer, a deployed product or a measured result.
In the fictional scenario, facility OKS-FIC-14 has a gate-controller replacement scheduled for November 12. A manager tells an assistant that approved vendors should use the west entrance between 7:00 a.m. and 3:00 p.m. while the work is active. The assistant saves a compressed memory: “Vendors use west entrance.”
The candidate fails the admission gate. It lacks the work-order identity, effective window, vendor population, approving owner, expiration event and prohibition against customer use. The system retains the statement in the controller-replacement case, where it can help the current dispatch, but does not promote it to durable memory.
The manager then submits a complete candidate tied to fictional work order WO-FIC-771, approved vendor list AVL-FIC-4, facility OKS-FIC-14, effective window November 12 from 7:00 a.m. to 3:00 p.m., maximum consequence dispatch_context_only, and expiration at the earlier of technician closeout or 3:15 p.m. A regional operations reviewer approves that bounded record.
At 2:20 p.m., a fictional technician closes the work order. The event-driven expiration job marks the memory expired, removes it from new dispatch context and records index readback. A later request for vendor directions reads the current facility source instead. The expired memory remains visible only as historical evidence attached to the completed work order.
The lesson is not that memory must always be short. It is that persistence should match the claim. A durable equipment identifier may survive for years. A temporary route should not survive the work that justified it.
The operator tool: Memory Admission, Scope and Expiration Register
The companion register turns this architecture into a reviewable operating decision. It records the candidate statement, class, subject, source, scope, allowed use, consequence ceiling, effective period, owner, approval, challenge state, propagation status and downstream decision references.
Use the blank CSV to implement the fields. The fictional example shows rejection, active, expired and challenged states without presenting them as deployed behavior. The review checklist asks the questions that matter before persistence:
- Is the subject exact?
- Is the statement classified correctly?
- Does the source have authority for that claim?
- Is future reuse necessary for a declared purpose?
- Are facility, audience, workflow and consequence bounded?
- Are effective time, review time and expiration executable?
- Can a qualified person challenge or revoke it?
- Can the system find affected indexes, summaries and decisions?
- Does the governing record remain authoritative?
Memory should earn its shelf life
Long-term memory is not a feature switch. It is a records decision with operating consequences.
The responsible default is modest: keep the current conversation in session context, keep case evidence with the case, and admit durable memory only when the organization can name the subject, source, scope, authority, purpose, clock, owner and removal path. Retrieval can still be useful. Persistence should be deliberate.
An AI assistant should not decide that a sentence deserves a future merely because it helped once.
Sources
- NIST, AI Risk Management Framework, accessed November 23, 2026.
- NIST, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, NIST AI 600-1, July 2024; accessed November 23, 2026.
- NIST, SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations, current publication page accessed November 23, 2026.
- W3C, PROV-O: The PROV Ontology, W3C Recommendation; accessed November 23, 2026.
- LangChain, LangGraph Persistence, official product documentation; accessed November 23, 2026.
Author
Jared Mastroianni is Chief Operating Officer of modSTORAGE and CEO and Founder of Facily.ai.
Editorial disclosure
Orchard Key Storage and every related person, system, identifier, record, event and outcome are explicitly fictional. The governed image is an AI-generated editorial illustration, not documentary evidence of a facility, customer, workflow, deployment, product capability or result. This article proposes an operating architecture; it is not legal, privacy, security, records-management or site-specific implementation advice. AI assistance supported research synthesis, drafting and editorial QA.
Memory Admission, Scope and Expiration Register
Use this register before conversational, case or derived content becomes durable facility memory. The objective is not to preserve everything. It is to make the promotion into future reusable context visible, bounded and reversible.
Admission decision
| Gate | Required question | Hold condition |
|---|---|---|
| Subject | Which exact facility, asset, unit, account, work item, role, policy or workflow does this concern? | Free-text nickname, unresolved identity or cross-facility ambiguity |
| Class | Is this a verified fact, temporary instruction, preference, observation, hypothesis, exception, prohibition or derived summary? | Unknown class or class inconsistent with the source |
| Authority | Which source may support this claim, and what does it not establish? | Source is relevant but non-governing, superseded, challenged or unproved |
| Purpose | Why must the statement survive the current session or case? | Convenience without a named future use |
| Scope | Which facility, audience, role, workflow and consequence may use it? | Broad or inherited scope without evidence |
| Time | When is it effective, when is review due and what makes it expire? | No executable expiration or review condition |
| Approval | Who may admit this class at this consequence level? | Model self-approval or missing qualified owner |
| Removal | Can it be challenged, revoked and disabled across indexes and derivatives? | No propagation path or readback |
Lifecycle
proposed → rejected | admitted → active → challenged | expired | superseded | revoked
- Proposed: candidate is isolated from future work.
- Rejected: candidate stays in its case or session under that record’s retention rule.
- Admitted: required fields and approval exist, but the effective time may not have arrived.
- Active: eligible only for the recorded scope and consequence.
- Challenged: excluded from normal decision context pending disposition.
- Expired: no longer eligible for new work; retained only as authorized historical evidence.
- Superseded: replaced by a named newer version; both versions keep lineage.
- Revoked: deliberately withdrawn; propagation and affected-decision review are required.
Required operating controls
- Keep the governing source authoritative; memory is a bounded aid, not a replacement system of record.
- Store the minimum content needed for the declared purpose.
- Use exact identity keys and separate assertion, observation, effective and expiration times.
- Make event-based expiration include a maximum review time.
- Block challenged, expired, superseded and revoked entries from new decisions.
- Preserve every consequential use through a decision reference.
- Propagate removal to stores, caches, indexes and derived summaries, then read back the result.
- Reconcile completed actions separately; revoking memory is not operational undo.
Files
memory-admission-scope-and-expiration-register-blank.csv: implementation header with no example data.memory-admission-scope-and-expiration-register-fictional-example.csv: explicitly fictional teaching rows for rejection, active, expired and challenged states.
This is an editorial operating tool, not a deployed product, certification, control framework or legal/privacy/records determination.