Repository navigation
Description
Component
Conversations, sessions and runs
Use case
A team corrects a shared instruction after several agent failures. Later runs pass, but the instruction has changed again and the team cannot tell which revision those runs actually received or relied on. Counting successful runs against the current memory key cannot establish whether the correction helped.
Loom already distinguishes recalled keys from self-reported reliance and supports procedure revision gates. Extend those foundations so a knowledge correction can be followed through to subsequent task evidence without treating every retrieval as a successful use.
Describe the solution you'd like
Add revision-aware evidence for maintained knowledge used in a run, then a bounded comparison view for selected revisions. Start with memory and document revisions plus existing procedure revisions; use the skill-library version contract when available.
Acceptance criteria:
- A read can supply a receipt identifying the artifact, authorized scope, served revision or content hash, request and run. Reuse existing search traces and returned revision metadata where sufficient. Recording a receipt does not require storing the full prompt or another copy of the retrieved content.
- Preserve separate evidence for content returned by Loom and content a client says it relied on. An agent's acknowledgment is labeled as client-reported. Never reconstruct a past revision from the artifact's latest value.
- Show a correction's source report or change plan, published revision, subsequent runs, grades, grader provenance and available cost or latency evidence. Unknown revisions, missing grades, sampling and unavailable usage data remain explicit.
- Compare caller-selected revisions for a declared task set and observation window. Show sample counts, task/model/configuration differences and uncertainty. A before/after association is not presented as a causal improvement.
- Supply maintenance evidence for a selected knowledge revision or dispute: affected runs, returned counts, client-reported reliance and available grades or harm reports. Group comparisons by declared task set, model/configuration and observation window. Keep missing coverage explicit; these counts do not establish correctness or causation.
- Show repeated failure grades or harm reports associated with an exact revision. Keep retrieval-only cases distinct from client-reported reliance, and link the authorized runs and existing problem reports. Use this signal to start an investigation through Let agents report incorrect, outdated or missing knowledge #1147 and Prepare reviewed knowledge revisions from reports and run evidence #1148, where missing evidence and tool failures can be checked alongside the retrieved guidance.
- When comparing cost, distinguish agent execution from capture, extraction, curation, embedding, indexing and serving costs where measured. Name omitted components and the amortization window for shared preparation work. Missing cost is unknown rather than zero; overlapping receipts must not be counted twice.
- Reuse procedure ledgers, revision gates and existing grades. Do not count the same execution twice when it appears in both run evidence and a procedure ledger. Existing proposal acceptance requirements remain unchanged.
- An external evaluation runner can attach results for selected cases and revisions. The first delivery records and compares evidence; it does not replay production actions, start paid evaluations or build a general evaluation execution service.
- Reports and exports obey access checks for every referenced artifact and run. Erased evidence is removed or redacted under its existing erasure contract; retaining a hash does not justify retaining deleted content.
- Provide the evidence and comparison through HTTP, CLI, both supported SDKs and the dashboard, with appropriate MCP reads. Keep one server-side interpretation of counts and evidence states.
Acceptance should include two revisions of the same memory key, a document replacement, a run that retrieves but does not report using the content, a delayed or revised grade, and erased or inaccessible evidence. The view must keep those cases distinct.
Describe alternatives you've considered
run.complete(memories_used=...) records reliance by key and run.grade records a later verdict. Free-form run metadata can carry extra identifiers but has no shared validation or reporting contract. Procedure runs already record their graph revision and support success/cost gates; duplicating that mechanism would produce conflicting evidence.
Where the need comes from
The need is mine, an AI tool helped shape the proposal
Additional context
Feature proposal based on API and documentation review at 985c92cf988cfa9668cdcaa6aa5bcb219647563f. No outcome comparison or paid evaluation was run.
- Run inputs and recorded reliance
- Run grades and evidence limits
- Existing procedure revision gates and withholding
- Related: Browse, version and share team skills from a Skills library #1143 provides versioned team skills; Triage memory proposals with the assistant and prepare batch decisions #1144 uses run evidence during proposal review. This task supplies revision-specific evidence rather than deciding proposals.
Related: #1147 records the original problem, and #1148 prepares its correction. Revision evidence is also useful for manually authored changes and does not depend on the curator.
#160 consumes this evidence for maintenance priorities. #25 supplies the current-source dispute identity, and #1230 defines the use guidance returned for the served revision. This issue records evidence; it does not add an autonomous evaluator or another review queue.
Activity
ningsiyuan1024 commentedon Nov 25, 2026
I'd like to take the run-to-knowledge revision receipt as a first slice. The check would be that a run which read R1 still points to R1 after R2 is published. Would you accept that independently of outcome comparison and agent-reported use?