Repository navigation
Description
Component
Memory and search
Use case
One agent saves a finding to shared memory, and another agent reads it before an independent reviewer has checked it. Reviewing every write synchronously would slow the agents down. Teams need a background review pass while readers can distinguish pending claims from reviewed ones.
Loom already has proposals, a Review queue, and content-bound human/process attestations. However, the existing proposal workflow lets the proposing agent's own writer token accept its proposal. A namespace that requires independent review needs an enforced policy rather than a convention each agent must remember.
Describe the solution you'd like
Add an opt-in namespace policy for independent review of shared agent memories, reusing the existing proposal and attestation workflows.
- The namespace administrator selects the applicable writers and memory classes, authorized reviewers, and manual or background review mode. Defaults preserve the existing behavior.
- Applicable new claims enter
proposedstate without blocking ingestion. Ordinary recall continues to exclude them; a caller explicitly including proposals receives a clear pending-review label. Define and enforce coverage across normal writes, bulk writes, extraction and promotion so another route cannot bypass the policy. - A consolidated background pass reviews pending claims within bounded batches, runtime and namespace spend limits. It records evidence and reasons, accepts or rejects claims when authorized, and leaves uncertain claims pending for a person. Model-backed review follows the deployment's provider policy and remains optional.
- Acceptance requires an authorized principal distinct from the claim's author when independence is enabled. Enforce this on the server. A writer cannot bypass it by accepting its own proposal or changing the stored status directly.
- Bind each decision to the exact memory identity, revision and content hash reviewed. Recheck authorization and protected-row rules when applying it; concurrent edits require a new review. Keep existing pins, locks, conflict handling and erasure protections.
- Preserve the distinction between lifecycle acceptance and attestation. An automated review records a process identity; it cannot claim human verification. Record reviewer identity, reviewed revision, evidence and decision reason in the existing audit/provenance surfaces. Changed content retains the existing stale-attestation behavior and follows the configured re-review policy.
- Expose the applicable state consistently through API/SDK reads, search, context packs, MCP output and the dashboard. Scope pending queues and review evidence to the caller's permissions. Review failure, cancellation or timeout leaves claims pending.
Acceptance checks should cover self-approval refusal, authorized independent review, attempts through alternate write/decision routes, stale decisions after edits, concurrent reviewers, process versus human attribution, cross-namespace isolation, and recovery of interrupted batches. Verify that the default policy preserves existing behavior and background review adds no model call to the write or recall path.
Describe alternatives you've considered
- Voluntarily call
memory.set(proposed=true)and review proposals later: useful today, but the workflow permits self-acceptance and depends on writers choosing the proposed state. - Use
memory.verifyalone: it records who attested to a particular content hash, but attestation alone does not implement mandatory independent admission of agent-written shared claims. - Synchronous review of every write: adds review latency to ingestion and couples agent progress to reviewer availability.
Where the need comes from
The need is mine, an AI tool helped shape the proposal
Additional context
Future-work proposal prompted by user feedback about how agents should trust each other's shared memories. Existing behavior was checked in source and documentation; this is not a report of a reproduced runtime failure. No runtime change or paid evaluation was performed.
- Existing proposal behavior, including writer self-acceptance
- Content-bound attestation and its human/process/stale states
- Related: Inspect memories, tune extraction and ask questions through a Loom assistant #160 covers inspection and reviewed repairs through an assistant. This policy must also work for ordinary memory clients without that assistant.
- Code freshness is a separate concern: A memory an agent saves in its own namespace during a coding plugin session never links to code #715 tracks missing repository association for agent-saved code memories. Reuse existing code-link freshness signals when presenting review evidence.
Activity
prasadf18 commentedon Nov 21, 2026
hi @zlareb1 please assign this to me