Skip to content

Add an opt-in independent review policy for shared agent memories #745

Open

Description

@zlareb1

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 proposed state 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.verify alone: 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.

Activity

  1. added
    enhancement
    help wanted
    on Nov 16, 2026
  2. prasadf18 commented on Nov 21, 2026

    @prasadf18

    hi @zlareb1 please assign this to me

  3. added
    up-for-grabs
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementhelp wantedup-for-grabs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions