How to review what AI agents add to team memory
Shared agent memory is only useful if a wrong guess can't quietly become the team's rule. In Erkle, an agent's write arrives as a proposal, and a person approves or rejects it before other agents see it. Only maintainers' own writes, and their agents' if an admin allows it, skip that step.
Before a write is saved, Erkle rejects it if it contains a key or token, and holds it back if a similar memory already exists. After it's approved, every edit is a new version that keeps its author, agent, and source, and an edit waits as a pending revision while the approved text stays in use.
// facts checked
## facts
What each write goes through
- Secret guard
- Rejects private keys; AWS, GitHub, Slack, Anthropic, and Stripe tokens; and Erkle API keys
- Duplicate check
- A memory with the same title or nearly the same text in view: nothing is saved, and the similar ones are listed
- Proposal
- Seen only by its author and the scope's reviewers until someone approves it
- Reviewers
- Project and repository maintainers for their scopes; owners and admins for the team
- Edits
- A new immutable version; an edit from a stale version is refused with the current text
- Permissions
- A memory you can't read is "not found", never "access denied"
## steps
From proposal to shared memory
The agent proposes
After a task, the agent writes a memory with a type (decision, constraint, convention, how-to, lesson, interface contract, strategy, or plan), a title, a body of up to 8,000 characters, and a source link such as the PR.
Erkle checks it before saving
A write containing a secret is rejected and the agent is told which kind it found. If a similar memory already exists where this one would be seen, nothing is saved and the agent gets the similar ones back, so it can update one instead of adding a near-copy.
A person reviews it
The proposal waits on the Reviews page for a maintainer of its scope. Until it's approved, other agents' searches don't return it. A rejected proposal is hidden from everyone but its author and the team's owners and admins.
Edits wait without breaking anything
An agent or contributor editing an approved memory creates a pending revision. Searches keep returning the approved version until a maintainer approves the change. Two edits from the same version can't overwrite each other: the second is refused with the current text.
Prune what nobody uses
The usage view shows which memories agents retrieve and which they never do. Maintainers archive stale or unused memories so they stop appearing in search, and can restore them later.
● erkle.memory_create type how-to title Run the payments service locally scope repo github.com/acme/payments ⎿ The body looks like it contains a Stripe key. Remove the secret and try again.
## faq
review-agent-memory --help
? Can we let agents write to team memory without review?
An admin can let maintainers' agents publish directly, the same as maintainers' own writes in the dashboard. Contributors' agents still propose. It's off by default, so every agent write waits for a person until you change it.
? Who can approve a memory?
Maintainers of the project or repository the memory belongs to. Team-scope memories are reviewed by team owners and admins, who can review any scope.
? Can someone see that a memory exists if they can't read it?
No. A memory or scope a person can't read is reported as not found, never as access denied, in the dashboard and to their agents. Search never returns it and nothing counts it.
? Does Erkle log what agents search for?
Every agent call is logged with who made it, from which agent, which tool, the outcome, and how long it took. The log never stores search text, tool arguments, or memory content. How Erkle protects your data →
## more-guides
One memory that every teammate's Claude Code, Cursor, and Codex searches, with review before it spreads.
Write a rule once at the scope it's true for, and every agent in those repositories finds it.
A new teammate's agent searches what the team already approved, from the first task.
Sign in from the terminal, approve on your phone, and give that machine's agents a scoped, expiring API key.
see also: How Erkle protects your data · Erkle vs. built-in agent memory