Skip to content

Ship a runnable knowledge-factory workflow and acceptance suite #1185

Open

Description

@zlareb1

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:

  1. An agent prepares a report using a maintained definition, a reporting procedure and current numbers read from a separate fixture source.
  2. It encounters an outdated instruction, completes what it can and submits a report with the relevant evidence.
  3. 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.
  4. An independent reviewer checks the exact proposed revision and publishes the permitted correction.
  5. 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.
  6. 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:

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:

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

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

  1. added
    enhancement
    on Nov 22, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. added
    help wanted
    up-for-grabs
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementhelp wantedup-for-grabs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions