feat(evidence): prove retrieval-to-outcome knowledge use - #153
Merged
Conversation
tangletools
previously approved these changes
Aug 17, 2026
tangletools
left a comment
Contributor
There was a problem hiding this comment.
✅ Auto-approved drewstone PR — 2042ddcb
This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.
This approval is provisional. It rests on the audit running. If the audit cannot run — for example the CLI bridge rejects it — this approval is dismissed rather than left standing, so an unrun check never reads as a passing one.
tangletools · auto-approval · reason: drewstone_author · 2026-08-17T13:25:14Z
Mission
Add the missing proof layer between
a page was visible,a retriever returned it, andan agent used it in a decision or artifact.This is required before Discovery can claim that accumulated knowledge improves later research. Final-prose resemblance, a citation field, and a search call are not equivalent evidence.
New canonical receipts
KnowledgeVisibilitySnapshotBinds the exact ordered current/ancestor/shared page view presented to retrieval:
Page text, frontmatter, source joins, citations, contradictions, and invalidation state are identity-bearing.
KnowledgeRetrievalReceiptBinds:
A result is refused unless the exact page bytes/path/id/origin appear in the visibility snapshot. Ranks are unique and contiguous; scores are finite.
KnowledgeUseReceiptSelects one exact rank from a verified retrieval and binds it to a downstream:
The relation is explicit:
supports,contradicts,extends,rederives, orbackground.The use receipt cannot verify against a different retrieval, a rank that was not returned, a changed page digest, or a mutated consumer/relation.
Public API
knowledgePageDigest()createKnowledgeVisibilitySnapshot()createKnowledgeRetrievalReceipt()verifyKnowledgeRetrievalReceipt()assertKnowledgeRetrievalMatchesVisibility()createKnowledgeUseReceipt()verifyKnowledgeUseReceipt()Evidence ownership
These receipts do not claim that the page is true, the declared relation is correct, the artifact passed, or knowledge improved the outcome. They provide the immutable joins those later claims require.
Tests
The suite covers:
Documentation
docs/knowledge-use-receipts.mddefines the proof chain, non-claims, trace integration, and experiment use.Related: tangle-network/discovery#54, G4 in
meta/autonomous-discovery-v1.json.