Source contracts and storage boundaries#

Research Kit is an experimental collection of declarative assets. kit.json registers three flows and three skills. Each skill also appears under docs, alongside the overview. Declaration does not establish that an adapter surfaces those assets to an agent. The historical experiment reported skipped skill/doc assets; see F-4.

Capture#

research.capture advances through receive-source, record-provenance, and classify-source to done. The gates require claims of types research.capture.source-received, research.capture.provenance-ref, and research.capture.classification. Their descriptions require non-empty source content, a traceable reference, and classification with a category and content-type label.

The capture skill asks the executing agent to store attribution and classification in metadata. It provides suggested categories; the JSON definition does not implement extraction, fetching, or storage.

Compile#

research.compile advances through select-sources, draft-insight, and record-provenance to done. It requires research.compile.source-selection, research.compile.insight-draft, and research.compile.provenance-links claims. Their descriptions call for existing source IDs, a draft, and a stored note whose provenance.source_ids lists every contributing source.

The compile skill asks the agent to select by durable ID, reject unresolved sources, and store only with traceable provenance. The repository does not implement resolution or writes.

Recall#

research.recall advances through form-query, retrieve-results, and verify-provenance to done. It requires research.recall.query, research.recall.results, and research.recall.provenance-verified claims. Query scope must be specified. An empty result set is valid; retrieval errors or timeouts are not. Every remaining result must have a traceable source_id or source_ref.

The recall skill asks the agent to exclude results without provenance and log removals. This repository does not implement retrieval or filtering.

Claims and storage#

All nine gate expectations are required trust.bundle entries. Each bundle_claim selector names its original research claimType, subjectType: "artifact", and accepted statuses trusted or accepted. Definition version 1.1 migrates the old surface.claim / claim.type / claim.subject spelling to the Flow 5.2.0 contract; step order, gate IDs, descriptions, required flags, and accepted statuses are unchanged.

A compatible host must supply valid trust bundles, bind claims to the right artifact, evaluate their trust, and enforce progression. The selectors specify an artifact subject type, not a concrete subject ID or a store implementation. Schema acceptance alone does not prove that evidence is true or that gates were enforced. This kit supplies no producer that generates those claims.

The skills describe an optional Knowledge Kit mapping: captured sources to type='raw', compiled insights to type='compiled', and recall through a workspace store. This is an authoring relationship, not a tested store integration. Confirm the selected store's current API, provenance requirements, and history visibility before adapting the guidance, including its historical includeRetired wording.

The private root tooling package pins @kontourai/flow to 5.2.0 for validation and an isolated local install/inspection check. corpus.json declares that verified Flow relationship in builtOn. This package is not published and gives the kit no npm release version.

Neither a Knowledge Kit dependency nor a Corpus store adapter is declared here. Flow Agents remains a historical authoring/activation relationship, without current runtime qualification. Corpus projects this documentation. The kit does not import Flow Agents or a Knowledge package, and no provider or store integration is established.

Source: docs/contracts.md