Repository navigation
Description
Component
Knowledge (documents)
Use case
An agent retrieves deployment instructions, discovers that the documented configuration field has been renamed, and finishes its task using the current reference. It needs to report the bad instruction so the next agent does not repeat the investigation.
A search miss does not capture this case: retrieval succeeded, but the answer was wrong. A negative run outcome is also too broad to say which passage needs correction. Loom needs a report that can be investigated and resolved without treating the reporter's proposed correction as established knowledge.
Describe the solution you'd like
Add a supported workflow for reporting missing, incorrect or outdated knowledge. Start with memory claims and document passages; allow a missing-knowledge report without an existing target.
A report returns a stable ID and records the problem, optional suggested correction, reporter, relevant run, and evidence references. When a target exists, bind the report to its identity and revision or content hash. Keep the report separate from ordinary recall and from the affected claim's truth or review state.
Acceptance criteria:
- Agents and people can submit a report, retrieve it and follow its disposition. Retries with the same request key do not create another report. Related reports can be linked without merging away their evidence or attribution.
- Authorized maintainers can filter the queue, take responsibility, request evidence and record a resolution. Dismissal needs a reason. A resolution that claims a correction links the actual published revision; a recommendation or approved draft alone is not a completed fix.
- Reports can link existing knowledge gaps, reflections and graded runs. Search-gap detection retains its existing consent, scope and privacy rules; submitting a report does not turn on query logging.
- The server checks access to referenced content on submission and every read. Source text and corrections cannot be disclosed through a report's title, counts or a less restricted destination. Reports and copied evidence participate in user, namespace and source erasure.
- Reporting a problem neither changes the target nor gives the reporter permission to correct it. A changed or deleted target is shown explicitly when someone reviews the report.
- Provide the same workflow through HTTP, CLI, both supported SDKs, appropriate MCP tools and a discoverable dashboard queue. Keep authorization and state transitions on the server.
Reuse an existing record or review mechanism where it satisfies this contract. This is a knowledge-maintenance inbox, not a replacement project tracker or a new incident-management product.
Describe alternatives you've considered
knowledge.gaps.list groups eligible search misses, and knowledge.gaps.draft drafts definitions. Neither describes a successful retrieval that an agent later disproves. memory.outcome and run grades supply outcome evidence but do not provide a correction report with an owner and resolution. Writing a free-text memory would put an unreviewed complaint into the same retrieval pool as accepted knowledge.
Where the need comes from
The need is mine, an AI tool helped shape the proposal
Additional context
Feature proposal based on source and API review at 985c92cf988cfa9668cdcaa6aa5bcb219647563f. The example is an acceptance scenario, not a reproduced runtime failure.
- Existing knowledge-gap contract
- Run evidence and grades
- Related: Triage memory proposals with the assistant and prepare batch decisions #1144 covers reviewing memory proposals. A report can exist before anyone has drafted a replacement claim.
Activity