Repository navigation
Description
Component
Knowledge (documents)
Use case
A team evaluating Loom wants to see a mistake in one agent's work become a reviewed correction that a later agent can use. Separate memory, document, procedure and review examples do not show that complete path.
The reporting, curation and revision-evidence features already have issues. What remains is a reference implementation that connects them, explains the agent host's responsibilities and makes the result reproducible.
Describe the solution you'd like
Ship one runnable knowledge-factory example with a small synthetic reporting workflow, a setup guide and an acceptance suite.
This issue owns the integration code, fixtures and evidence that the workflow works across feature boundaries. The underlying APIs and product workflows remain in their existing issues.
Start with maintained definitions and a procedure using existing artifact types. Add packaged skill updates after #1143 supplies their version contract.
The scenario:
- An agent prepares a report using a maintained definition, a reporting procedure and current numbers read from a separate fixture source.
- It encounters an outdated instruction, completes what it can and submits a report with the relevant evidence.
- A curator running in an external host investigates the source and prepares a correction. Include a personal formatting request that must remain personal, alongside an authorized change intended for the team.
- An independent reviewer checks the exact proposed revision and publishes the permitted correction.
- A fresh run retrieves that revision and produces the expected result. Change the fixture's numbers between runs to show that the agent still reads current data rather than reusing values saved as knowledge.
- The result links the original problem, source evidence, correction, review, published revision and later run outcome.
Acceptance criteria:
- A documented command runs the deterministic acceptance path against a disposable, authenticated Loom deployment. A preflight reports missing API capabilities, grants and fixture inputs before the command writes. Setup and cleanup operate only on resources created by the example.
- All lifecycle transitions use the supported public APIs. No direct database edits, invented operations or mocked successful publication stand in for missing features. An unavailable dependency is reported as unavailable.
- The deterministic path uses fixed evidence and expected outputs without model calls. It checks the product contract and is labeled accordingly; it does not claim that an autonomous agent discovered or reasoned through the correction.
- Document an optional run using an actual external agent and curator. Any paid execution is explicit, with its models, configuration and available usage recorded. Messaging, scheduling, arbitrary code execution and business-system credentials belong to that host.
- Check the successful path plus an unauthorized reviewer, an edited candidate awaiting review, a repeated report or interrupted curation pass, and an unsupported personal-to-team generalization. None may result in an unreviewed team correction or duplicate publication.
- Stop the curator after it records a proposal, then retry the same pass and check that it refers to the same proposal. Edit a supporting source before applying the approved plan. Apply refuses the stale approval, and a fresh run cites the correction after it passes review against the updated evidence.
- Produce a compact result showing each stage, artifact revision and evidence reference. Keep returned knowledge, client-reported reliance and independently graded outcome separate. Missing evidence remains visible.
- Publish the fixture, expected results, exact reproduction steps and limitations. Cleanup preserves the documented erasure and audit behavior rather than promising to remove audit records that must remain.
Completion means another team can reproduce the supported lifecycle and inspect where every decision came from. A passing fixture establishes integration correctness; claims about task quality, cost savings or general usefulness require a separately reported evaluation. #1459 tracks the held-out evaluation.
Describe alternatives you've considered
The source-linked software-factory example checks implementation-note handoff and code freshness. The per-user support-agent example checks isolation, revision and erasure. Both are useful components, but neither connects a problem report to investigated, reviewed knowledge and subsequent task evidence.
The acceptance scenario in #1148 checks the curator feature. This issue supplies the reusable cross-feature example, fixtures and qualification artifacts that make the full workflow evaluable.
Where the need comes from
The need is mine, an AI tool helped shape the proposal
Additional context
Requested as a separate integration deliverable after reviewing Loom's current capabilities and open feature work. No full workflow or paid evaluation has been run.
Prerequisites for the first delivery
Start implementation once the public contracts below are available and their acceptance checks pass:
- Let agents report incorrect, outdated or missing knowledge #1147 — Let agents report incorrect, outdated or missing knowledge.
- Prepare reviewed knowledge revisions from reports and run evidence #1148 — Prepare reviewed knowledge revisions from reports and run evidence.
- Record knowledge revisions used by runs and compare their outcomes #1149 — Record knowledge revisions used by runs and compare their outcomes.
These three issues unblock the first report → investigated correction → independent review → publication → later-run evidence scenario. The first delivery uses existing definitions, procedures and manual review; it does not wait for every related feature.
Dependencies for extending the reference workflow
Add each part only after its feature is implemented and tested. Until then, identify it as outside the scenario's exercised coverage:
-
Browse, version and share team skills from a Skills library #1143 — Browse, version and share team skills from a Skills library. Required when the example updates or distributes packaged skills.
-
Assign knowledge stewards and track overdue reviews #1175 — Assign knowledge stewards and track overdue reviews. Required when the example routes work by ongoing knowledge ownership or review dates.
-
Check data-access guidance against its source schema and permissions #1176 — Check data-access guidance against its source schema and permissions. Required when source changes proactively trigger the example's correction workflow.
-
Require regression evidence before publishing selected knowledge changes #1177 — Require regression evidence before publishing selected knowledge changes. Required when the example demonstrates an enforced publication check.
-
Show how agents select knowledge for private and shared replies #1181 — Show how agents select knowledge for private and shared replies. Required when the example changes the intended audience of an agent's reply.
-
Feature: full bi-temporal memory and knowledge retrieval #25 — Current-source dispute workflow only. Required for detecting, reviewing and resolving conflicting sources in the example; full bi-temporal retrieval does not block this extension.
-
Tell agents how retrieved knowledge may be used #1230 — Consistent use guidance for retrieved knowledge. Required for checking the interpretation returned to consuming agents.
For the conflict extension, add two current sources with incompatible same-scope definitions and a separate pair whose team qualifiers legitimately differ. Check that unresolved disagreement is visible through the supported HTTP and MCP paths, with the same use guidance and authorized evidence. An ingestion retry or later edit must not silently select a winner. After an independent reviewer resolves the disagreement, a fresh run receives the resolved current revision; editing a supporting source invalidates the earlier resolution as specified by #25. Include an inaccessible alternative to check that summaries and counts do not disclose it.
The complete reference should eventually exercise these extensions, but they do not block the first delivery.
Cross-source evidence coverage
Extend the reporting fixture after the first delivery. Put the reviewed metric definition in one collection and the rule for when it applies in another. Each source should look relevant on its own. Use the audience scope from #1181 and the revision receipts from #1149.
- The fresh run retrieves and cites both required revisions. The fixture checks which part of the report each source supports.
- If either required source is unavailable, the result identifies the part that lacks evidence.
- A third collection readable by the requester but outside the reply's audience contributes no content, citation or source identity to the shared result.
Use this fixture as the cross-source baseline for #1447.
Related workflows that do not block implementation
- Configure namespace curation rules with previews and team sharing #1142 — Configure namespace curation rules with previews and team sharing. Reuse it if the example adds rule-driven sharing; explicit authorized sharing is sufficient initially.
- Triage memory proposals with the assistant and prepare batch decisions #1144 — Triage memory proposals with the assistant and prepare batch decisions. Reuse it for an assistant-led review variant; ordinary independent review is sufficient initially.
- Pending proposals do not surface the Review queue or its sidebar count #1141 — Pending proposals do not surface the Review queue or its sidebar count. Relevant to a dashboard walkthrough; the API-driven acceptance path can proceed independently.
Agent execution and scheduling come from the external host. This issue does not depend on adding either capability to Loom.
Existing examples: source-linked handoff, per-user memory.
Activity