feat(check): pin cited sources — STALE on source_changed - #131
Merged
Conversation
Claims that cite a resolvable local file now record its content hash (Claim.src_hash) at stamp time. akf check flips STALE reason=source_changed when the cited source's content no longer matches — a decision built on a moved source stands on drifted ground even though the stamped file is untouched. Best-effort by design: URLs and placeholder sources are not pinned (network pinning deferred, opt-in). Credit: Mike Czerwinski.
AKF Trust Certification — ✅ Certified❌ 0/11 files certified · average trust 0.45 · 3 failed
Total: 11 | Certified: 0 | Failed: 3 | Skipped: 8
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of the v1.6 "from claimed to checkable" series. Closes #129.
Claims citing a resolvable local file record its content hash (
Claim.src_hash) at stamp time;akf checkflipsSTALE reason=source_changedwhen the source's content no longer matches — the file is untouched, but the ground it cites has moved. Retires the "has this source changed since I captured it" re-read class.deps.hash_source)unspecifiedsources aren't pinned (network pinning deferred as opt-in)Tests: 3 new (pin + drift → STALE, deleted source → STALE, URL/placeholder not pinned); full suite 1953 passed.
Credit: Mike Czerwinski.