Prepare reviewed knowledge revisions from reports and run evidence
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 8/100
Research direction
This is a broad design proposal, so start by reading the two linked docs: docs/features/memory/procedures-and-learnings.md for the reflection, learning and procedure-revision paths, and docs/architecture/definition-drafts.md for the definition-drafting workflow. Note that the issue depends on #1147 and reuses pieces from #160 and #1144. Done means an agreed scope for the first delivery, with the first acceptance scenario defined, not a patch.
Written by the indexing model from the issue text.
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: #160 provides assistant investigation; #1144 prepares memory-proposal decisions. Reuse those components where applicable.
- #1142 covers rules for sharing selected memories. This task prepares corrections from evidence rather than adding another sharing-rule engine.
- #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 https://github.com/ClickHouse/loom/issues/1147 for explicit problem reports; an existing knowledge gap can supply the first input independently.
- Dominant language
- Python
- Stars
- 221
- Forks
- 35
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 873
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/loom
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ClickHouse/loom#2014 ·
Maintainers usually reply within 1 day
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textPossibly taken @VanshajPoonia claimed this today. Openbug good first issue help wanted up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/loom#1988 · 1 comment ·
Maintainers usually reply within 1 day
-
A compiler-tier checkout fetch from a shallow mirror never records its headPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/loom#2016 ·
Maintainers usually reply within 1 day
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
ClickHouse/loom#2012 ·
Maintainers usually reply within 1 day
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootPossibly taken @l0K1ngg claimed this today. Openbug help wanted up-for-grabs
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/loom#2007 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
DMB documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainers usually reply within 1 day
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day