Repository navigation
Description
Component
Memory and search
Use case
An agent retrieves an authored instruction, an unreviewed learning and an instruction whose reviewed content has since changed. All three can be relevant to its question, but relevance alone does not tell it which guidance it can follow or which claims need checking.
Loom already records provenance, verification, lifecycle and freshness information. Give clients one documented interpretation of those facts so each integration does not invent its own trust rules.
Describe the solution you'd like
Return consistent, machine-readable use guidance alongside retrieved knowledge. Derive it from existing metadata and explicit policy. Preserve the underlying facts rather than replacing them with one unexplained score.
Acceptance criteria:
- Keep origin, lifecycle, review evidence, source or code freshness, and unresolved disputes separately inspectable. A source-authored claim is not automatically factually correct; process verification is not human review.
- Explain the permitted next step and its reasons. Examples include following applicable approved guidance under the caller's policy, validating an unconfirmed lead, clarifying a dispute, or rechecking a stale source. Missing evidence is unknown.
- When the current-source dispute contract in Feature: full bi-temporal memory and knowledge retrieval #25 is available, attach the applicable qualifiers and authorized competing evidence to a disputed hit even if only one claim ranks in the result window. Label incomplete evidence when the response budget or source availability limits coverage. Apply access checks to the evidence and its counts.
- Bind review evidence to the content it covers. Editing reviewed content changes the guidance until the applicable review requirement is met again. Popularity, similarity, pinning and client-reported use must not substitute for review.
- Project the same interpretation through memory search, unified search, context assembly and file or code lessons where those paths return maintained knowledge. Carry the relevant fields through HTTP, MCP, both SDKs and the dashboard. Clients may present them differently but must not independently reinterpret the evidence.
- Preserve existing review and publication policies. The first delivery adds a shared read contract; it does not silently require human review for every existing memory or replace procedure lifecycle rules.
- Respect ordinary retrieval exclusions for rejected or withdrawn content. Diagnostic access remains explicit and authorized. A report alleging an error starts investigation; it does not by itself establish that a claim is false.
- Apply source authorization before returning reasons or evidence. Cached guidance must reflect content changes, revoked access and erasure. If current evidence cannot be checked, disclose that limit rather than presenting a stronger state.
- Compute the projection without a model call on each read. Document its rules, unknown states and how hosts should use them when answering. Loom can return and filter by these facts; external hosts remain responsible for their agents' behavior.
Acceptance should cover authored but unreviewed content, process verification, content-bound human review, an edited reviewed item, an unresolved dispute and a fresh unchanged item. The same authorized revision must carry the same interpretation across the supported read paths.
Describe alternatives you've considered
Returning separate flags leaves each integration to decide whether verified, source_class, lifecycle and freshness mean the same thing. A single confidence score hides those distinctions. Existing badges remain useful, but need a common server contract beneath them.
Where the need comes from
An AI tool suggested this feature
Additional context
Feature proposal from source review at 583b59b36366b4a0d5e59b44eea752a656f41f21. No client failure or live evaluation was reproduced.
- Content-bound verification states.
- Search response metadata and file-specific retrieval.
- Add an opt-in independent review policy for shared agent memories #745 tracks independent review policy; merged Memory proposals require independent human approval #1103 supplies independent human proposal acceptance. This request builds on those controls.
- Feature: full bi-temporal memory and knowledge retrieval #25 tracks competing claims and scoped resolution, including the current-source dispute workflow. This issue defines how that state affects the guidance returned to agents.
- Record knowledge revisions used by runs and compare their outcomes #1149 records revision-specific usage and outcomes. Show how agents select knowledge for private and shared replies #1181 covers audience selection; use guidance does not replace audience authorization.
Activity
krishnadobhal commentedon Nov 23, 2026
@zlareb1 I'd like to take this. I plan to start with the server-side projection (trust/freshness/review → use guidance) and expose it on memory search first, then extend to the other read paths in follow-up PRs. Happy to adjust scope if you prefers otherwise.
krishnadobhal commentedon Nov 26, 2026
@zlareb1 Could you review [PR #1510](#1510)? It adds a suggested next step to retrieved knowledge. I’d especially like your feedback on whether the guidance applies to the exact text search returns and what happens to saved results when someone loses access.