I need deployment context before I touch production.
An AI agent needs rules for which memories it may act on.
Search can find a relevant sentence and the agent can still make the wrong decision. What is missing is a check on whether the remembered note is current and applies to the action at hand. The replay below walks through one case from Clarence, my AI system.
An ordinary request includes a public action.
The task: update the Clarence case study and publish it. Publishing is a public action, so the agent needs permission as well as context.
Proposed check: this is a public deploy. Only a standing rule should be able to approve it.
Raw chat log
Everything said. No status, no expiry, no rank.
Looks good. Go ahead and deploy this one.
Approval for one task, stored as a one-time event.For portfolio changes, show me a preview before deploying.
Current rule for public site changes.The site should feel like live proof, not generated filler.
A quality goal, unrelated to deploy permission.Search layer
Finds relevant notes and ranks them.
Close match in meaning. It was a one-time approval.
Explains how deploys happen.
A lower-ranked result can still be the rule that applies.
Rules layer
Fields in use today, plus the proposed permission labels.
- Status · built
- superseded
- Claim kind · built
- event
- Confidence · built
- 0.74
- Expiry · built
- valid_until, same-task TTL
- Superseded by · built
- C2
- Scope · proposed
- one prior deploy
- Permission to act · proposed
- cannot approve
- Status · built
- active
- Claim kind · built
- state
- Confidence · built
- 0.98
- Expiry · built
- none
- Superseded by · built
- none
- Permission to act · proposed
- can approve portfolio deploys
- Required action · proposed
- preview, wait, then deploy
Pending. Find the relevant notes, then check whether any of them can approve the action.
- proposed: risk.classify action=public_deploy gate=memory_authority
What each part tells the agent
Chat logs record what was said.
A search score measures relevance.
Confidence and age show whether a note is still current.
Permission to act needs its own label.
The agent should act on a remembered note only when that note can approve the action.
Built versus proposed
Built today
Clarence memory and fact rows carry status, confidence, superseded_by, valid_until, review_due, kind, and author_agent. Fact rows also carry source.
Search results
Search returns distance plus recency_weight and half_life_days. Those are computed at search time and are not stored.
Proposed permission layer
Explicit scope, can-govern, required_action, and a memory_authority check before actions are what this page proposes. They are not yet in the database.
Hard problem
The replay assumes each note was labeled when it was saved. The hard part is having Sgt. Reed, the one agent that writes memory, label each note as a one-time event or a standing rule at that point.
Background: replacing old claims comes from truth maintenance and belief revision. Permission to act is closer to capability-based security and policy-as-code than to search ranking.