Roadmap: Loom knowledge factory

Open
#1,232 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
ai, documentation

Research direction

This is a roadmap tracker spanning many linked deliverables (#1147, #1149, #1148, #1185 and later steps), not a single change; nothing here names a file or a failing test. A newcomer should instead pick one linked sub-issue, starting with the first delivery gate for #1147 or #1149, and read the existing artifact identity, permission and retrieval-trace code those contracts build on. Done for this tracker means the four first-gate items are satisfied and the #1185 acceptance scenario (report → investigation → review → publication → fresh-agent retrieval) is demonstrated against its deterministic fixture. Do not attempt the tracker itself.

Written by the indexing model from the issue text.

Description

enhancement roadmap
Component

Knowledge (documents)

Use case

A team should be able to turn a mistake discovered during agent work into reviewed knowledge that a later agent can use, then inspect whether the correction helped.

Loom has memory and document retrieval, provenance, extraction, review controls, procedures and run evidence. The remaining work needs one implementation order and a shared acceptance boundary. This issue tracks that delivery; the linked issues own their feature contracts.

Describe the solution you'd like

Deliver the learning loop in stages: report → investigate → review → publish → reuse → measure → maintain.

Implementation order
Order Deliverable Tracked work Prerequisite and exit condition
1A Knowledge problem reports #1147 Use existing artifact identities and permissions. An agent can report missing or incorrect knowledge, attach evidence and follow its disposition.
1B, parallel with 1A Revision-specific usage and outcome evidence #1149 Reuse retrieval traces, runs and grades. Record the exact revision returned, client-reported reliance and available outcomes as separate evidence.
2 Investigated correction plans #1148 Use the report contract from 1A and evidence from 1B where available. A bounded curator pass records stage outcomes and prepares a source-backed correction for the existing review path.
3 First runnable knowledge-factory workflow #1185 Requires #1147, #1148 and #1149. A fresh agent retrieves a reviewed correction, and the result links back to its report and source evidence.
4 Consistent guidance for consuming agents #1230 Project existing provenance, review and freshness facts through supported reads. Clients receive the same explanation of what needs validation or clarification.
5 Current-source dispute workflow #25, current-source portion Reuse existing conflict and review mechanisms and the use-guidance contract. Competing claims remain visible until a scoped resolution; changed evidence triggers rechecking.
6A Regression evidence before selected publications #1177 Build on exact candidate revisions and the evidence conventions from #1148/#1149. Failed, missing or outdated required evidence leaves the candidate unpublished.
6B, parallel with 6A Proposal triage and review usability #1144, #1141 Reuse existing proposal decisions. A reviewer can inspect grounded recommendations and confirm a bounded batch against exact revisions.
7A Knowledge stewardship #1175 Use revision-bound review records. Important knowledge has a responsible steward, a review date and an actionable overdue list.
7B, parallel with 7A Validate data-access guidance #1176 Use registered sources and declared guidance dependencies. Schema or permission drift identifies the affected instruction and supplies investigation evidence.
8 Understandable private and team sharing #1191, #1192, #1181 Reuse collection and source authorization. Setup explains who can read imported content; the integration example restricts retrieval to the intended audience.
9 Governed team-curation rules #1142 Use the sharing explanations from step 8 and existing review controls. Rules preview their effects, recheck authority and leave execution receipts.
10 Versioned team skills library #1143 Settle canonical sources and the artifact-version contract. Teams can discover, review, adopt and update skills without competing authoritative copies.
11 Joined maintenance and inspection view #160 Consume reports, revision evidence, disputes and stewardship as they become available. Operators can find consequential problems and open the appropriate review action.
12A Additional MCP knowledge sources #1189, #1190 Settle outbound access, resource identity and sync contracts. Selected remote resources can be read or imported with explicit access guarantees.
12B Evaluate source routing for live knowledge search #1447 After #1189, use the two-source fixture in #1185 to compare remote calls, latency and required citation coverage with explicit source selection.
13 Full historical knowledge reconstruction #25, full temporal scope Follow its storage and retrieval design. Reconstruct what applied at a past time according to the knowledge recorded then, within declared coverage.

The order expresses dependencies and product priorities, not a requirement to serialize every task. Begin the #1185 fixtures and documentation alongside steps 1–2; qualify the workflow once its required APIs work together.

Stewardship, source checks, sharing setup, skills and connector work can proceed on separate tracks once their contracts are settled. Build #160 incrementally as evidence becomes available. Step 8 precedes automatic team-sharing rollout; manual sharing continues under existing authorization.

First delivery gate
  • #1147 provides actionable reports bound to the relevant artifact revision, or explicitly records missing knowledge without a target.
  • #1149 distinguishes returned revisions, client-reported reliance and independently supplied outcome evidence.
  • #1148 investigates a report and prepares a correction that passes the existing authorization and independent-review requirements.
  • #1185 proves report → investigation → review → publication → fresh-agent retrieval through supported public APIs.

The acceptance scenario uses one recurring reporting task, maintained definitions and an existing procedure. Current numbers come from a separate fixture source and change between runs; the example must not mistake cached data for reusable knowledge. Include stale candidates, unauthorized review, retries and personal guidance that must not become a team rule.

A deterministic fixture proves the integration contract. Claims about task success, cost savings or autonomous investigation require separately reported evaluation evidence.

Evaluation and retrieval follow-ups
Work Tracked issue Result
Held-out workflow evaluation #1459 After #1185 and #1149, report matched task outcomes, required evidence, latency and cost.
Glossary grounding for document search #1457 Compare with hybrid search at the same context budget. Test authorized aliases, ambiguity and changed definitions.
Local entity and relation extraction #1458 Compare a local extractor with existing extraction on labeled inputs. Report quality, compute and correction effort.

The glossary and local extraction experiments supply evidence for their rollout decisions.

Proposed sub-issues, in roadmap order

Each is a proposal that still needs the evidence its own issue names. None changes the order or the exit conditions above.

Order Tracked work Proposed sub-issues
1A #1147 #1766
1B #1149 #1759, then #1760
2 #1148 #1762
5 #25, current-source portion #1765
6A #1177 #1767
6B #1144 #1763; #1762 supplies its citation verdicts
7B #1176 #1761, #1755
9 #1142 #1768
10 #1143 #1769
Follow-up #1459 #1770
Follow-up #1457 #1764
Follow-up #1458 #1771
Scope and completion

The first delivery does not wait for full temporal retrieval, packaged skill distribution or every source integration. The current-source dispute workflow in #25 can ship independently of its historical-query program; #25 remains on hold unless its owner changes that status.

After the first delivery, extend #1185 with a reporting case that requires two authorized knowledge sources. Check that the fresh run cites both revisions, shows which part lacks evidence when a source is unavailable and excludes sources outside the reply's audience.

Independent human acceptance already exists. Review usability and regression evidence extend it; neither grants a curator permission to approve its own proposals.

An external agent runtime executes and schedules curator and evaluation work. Loom supplies authorized knowledge, evidence, change plans, review state and maintenance records.

Complete this tracker when the linked deliverables in the agreed scope are implemented and their acceptance evidence is available. Update it when scope changes; an issue closure alone is not evidence that the cross-feature workflow works. No release dates are committed here.

Describe alternatives you've considered

A list of feature issues leaves dependencies and the first usable release unclear. Making #25 the umbrella would mix the whole knowledge-factory program with its specific dispute and temporal contracts. #1185 remains the runnable integration deliverable; this issue supplies the wider delivery roadmap.

Where the need comes from

The need is mine, an AI tool helped shape the proposal

Additional context

Requested as a planning tracker over existing feature work. Linked issue states and the release boundaries above were checked before publication. This roadmap does not report a completed implementation or a new live evaluation.

Dominant language
Python
Stars
221
Forks
35
Avg merge
14h 21m
Merged PRs (30d)
873

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/loom

All issues in ClickHouse/loom

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.