You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make agent-knowledge the only operational knowledge substrate for Discovery Lab and other Runtime applications, without absorbing provider execution or research policy.
The first implementation slice is on branch feat/external-lineage-qualified-citations: external lineage authority, scope-qualified page references, and explicit resolution outcomes.
Remaining owner work
Checked items name the PR that landed them. An unchecked item states exactly what is missing, not what is present.
Preserve all sides of a dispute; no last-write-wins truth overwrite. — a chain read retains a repeated id at every origin, and contradicts leaves both pages live.
Application supplies roots, lineage resolver, sensitivity policy, and effect authorization. — roots and lineage authority come from createRunScopedStores; effect authorization is the host's, since it decides which definitions to register. Missing: a sensitivity-policy seam; filtering today is tags, kinds, and the caller's own predicate.
Frozen-corpus parity suite for visibility, search, evidence verdicts, citation resolution, concurrency, path safety, and round trips. — blocked: no Discovery Lab corpus fixture exists in this repo.
A process can restart in another checkout, load a retained run bundle, resolve every consequential citation to the same scoped page bytes, identify which retrieval influenced which decision, preserve contradictions and stale evidence, and promote nothing without an explicit record.
This issue is complete only after Discovery Lab switches new writes to this package and deletes its local page, lineage, search, citation, evidence, and promotion implementation.
Goal
Make
agent-knowledgethe only operational knowledge substrate for Discovery Lab and other Runtime applications, without absorbing provider execution or research policy.The first implementation slice is on branch
feat/external-lineage-qualified-citations: external lineage authority, scope-qualified page references, and explicit resolution outcomes.Remaining owner work
Checked items name the PR that landed them. An unchecked item states exactly what is missing, not what is present.
Retrieval evidence
KnowledgeRetrievalDispositionwithrelation: 'irrelevant' | 'no-use'and no rank in feat(tools): export provider-neutral knowledge tools and record a no-use retrieval #168.encodeKnowledgeVisibilitySnapshot/decodeKnowledgeVisibilitySnapshot/knowledgeVisibilityArtifactRef(feat(receipts): reference the visibility snapshot from a retrieval receipt #163).Claim graph
KnowledgePageInvalidationplus the propagation pass (feat(pages): make evidence and invalidation integrity first-class #147, feat(invalidation): propagate a page invalidation to every page that cites it #165). Missing: a page-levelsupersedesfield and its predicate.contradictsleaves both pages live.resolved/missing/ambiguous. Missing: acitescycle check inauditKnowledgeCitations.validUntiland the stale metric;citesInvalidatedstamping and thecites-invalidatedlint (feat(invalidation): propagate a page invalidation to every page that cites it #165);excludeInvalidated, default off insearchKnowledgeand on inbuildKnowledgeBrief(feat(invalidation): propagate a page invalidation to every page that cites it #165, feat(brief): build a retrieval brief a receipt can prove #166), so refuted pages stay readable but never reach a run as something to cite.Promotion
<shared>/.agent-knowledge/promotions/<digest>.json.invalidationand feat(invalidation): propagate a page invalidation to every page that cites it #165. Missing: reproductions and decision evidence in the record; they live in the application's evidence refs today.promoteRunScopedPages(feat(promotion): promote run-scoped pages with their cited support #167) is the one path into shared scope, and every write through it leaves a record.Tool adapter
createKnowledgeTools(feat(tools): export provider-neutral knowledge tools and record a no-use retrieval #168) returningToolDefinition[]from@tangle-network/agent-interface.createRunScopedStores; effect authorization is the host's, since it decides which definitions to register. Missing: a sensitivity-policy seam; filtering today is tags, kinds, and the caller's own predicate.Migration support
ambiguousresolution status (feat(citations): resolve run-scoped knowledge without silent shadowing #152), surfaced byknowledge_readandknowledge_resolve(feat(tools): export provider-neutral knowledge tools and record a no-use retrieval #168).Acceptance
A process can restart in another checkout, load a retained run bundle, resolve every consequential citation to the same scoped page bytes, identify which retrieval influenced which decision, preserve contradictions and stale evidence, and promote nothing without an explicit record.
This issue is complete only after Discovery Lab switches new writes to this package and deletes its local page, lineage, search, citation, evidence, and promotion implementation.