Repository navigation
Description
Component
Knowledge (documents)
Use case
A team has repeated knowledge gaps, reports of outdated instructions, and run reflections that point to the same underlying mistake. Someone still has to investigate the sources, decide which maintained knowledge needs changing, and prepare a reviewable correction.
Loom already produces reflections and definition drafts. The missing workflow is a bounded curation pass that joins the relevant evidence and prepares a concrete revision, with a visible link back to the problem it is meant to resolve.
Describe the solution you'd like
Support a curator running in an existing agent runtime. Loom supplies authorized inputs, a durable record of the pass and a reviewed change plan. The first delivery should work when invoked on demand or by an external scheduler; it does not require another general-purpose agent runtime inside Loom.
Start with one report or knowledge gap and a small selected set of related reflections or runs. The curator inspects authorized source revisions and returns either an evidence request, a reason no change is warranted, or a proposed correction to maintained knowledge or a procedure.
Acceptance criteria:
- Each pass records its input IDs, execution identity, target scope, evidence revisions, limits and result. Resume and retry do not publish duplicate changes. Interrupted work remains visible and can be cancelled.
- Record each stage's outcome and reason, the input revisions it inspected, output references and measured cost. Distinguish no correction needed, unavailable evidence, exhausted budget and a proposal awaiting review. Checkpoint the completed inputs so a retry can resume and a later pass can see edits made after the stage read its inputs.
- Evidence comes through ordinary authorized Loom operations or an explicitly configured connector under its own credentials. A source available in a chat client is not assumed to be available to a server worker. Missing access or an unavailable source leaves an explicit gap in the result.
- A change plan shows the existing and proposed content, source citations, conflicting evidence, intended readers and affected artifact revisions. A run failure or model-generated reflection is a hypothesis to investigate, not independent proof that a fact is wrong.
- A correction expressed by a person in a selected interaction can support a draft. A one-off instruction is not automatically generalized into a team rule. Keep evidence references and provenance through the draft and publication.
- Reuse existing definition, learning, memory-proposal and procedure-revision paths where they fit. Apply their actual permissions and review contracts. A curator cannot accept a memory proposal that requires an independent human, or bypass that restriction by rewriting or copying it.
- Recheck source access, target revision and applicable policy at apply time. A stale plan needs another review. A report is resolved only when the corresponding correction is published; partial application is reported per item.
- Model-backed investigation is opt-in with bounded work and spend. It adds no model call to ordinary writes or recall. Relevant run evidence is optional; collecting every prompt or replacing an observability system is outside scope.
- Expose pass status, evidence, plans and permitted review actions through HTTP, CLI, both supported SDKs, appropriate MCP tools and the dashboard. Keep the workflow usable on ClickHouse-only installations.
The first acceptance scenario should show an outdated instruction being reported, investigated against an authorized source, corrected through its required review path, and retrieved as the corrected revision by a later agent.
Describe alternatives you've considered
reflection_distill produces lessons from contrasting sessions, but leaves them as reflections outside ordinary recall. knowledge.gaps.draft prepares definition candidates. procedure.evolve uses recorded runs to refine an existing procedure. These are useful inputs and apply paths, not an investigation workflow across reported problems and their sources.
Where the need comes from
The need is mine, an AI tool helped shape the proposal
Additional context
Feature proposal based on source review at 985c92cf988cfa9668cdcaa6aa5bcb219647563f. No curator was run and no live knowledge was changed.
- Reflections, learnings and procedure revisions
- Existing definition-drafting workflow
- Related: Inspect memories, tune extraction and ask questions through a Loom assistant #160 provides assistant investigation; Triage memory proposals with the assistant and prepare batch decisions #1144 prepares memory-proposal decisions. Reuse those components where applicable.
- Configure namespace curation rules with previews and team sharing #1142 covers rules for sharing selected memories. This task prepares corrections from evidence rather than adding another sharing-rule engine.
- Browse, version and share team skills from a Skills library #1143 covers skill artifacts and their distribution. Rich skill-package editing can use that contract when available; it is not required for the first memory, definition or procedure correction.
Depends on #1147 for explicit problem reports; an existing knowledge gap can supply the first input independently.
Activity