Repository navigation
Green identity keys on the battery's inputs, not the whole tree (D50 applied to D49) - #1237
Merged
Merged
Conversation
…applied to D49) A docs-only commit produced a git tree with no green record, so :install-user refused a compiler whose sources had passed and the only way to install was to re-run a battery over prose. The identity is now the git object name of the battery's inputs: `git ls-tree HEAD` without the `docs` entry and without top-level *.md (CLAUDE.md, README.md, ... — prose no lane compiles or tests), plus the three docs files lanes do read (docs/with-specification.md for spec-inventory-check, docs/with-abi.sha256 for abi-hash-check and the stage inputs, docs/with_for_ai.md for selfhost). `git hash-object` names the filtered listing, so both writers of the identity — build/retention.w under the pinned seed and GreenEvidence.w in the install gate — run the same git commands over the same text and agree byte for byte with no shared hashing code. behav_green_identity_keys_on_inputs pins the rule on the compiler side. CLAUDE.md/AGENTS.md and the D49 entry say what the key is.
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.
A docs-only commit produced a git tree with no green record, so
:install-userrefused a compiler whose sources had passed, and the only way to install was to re-run a battery over prose. Eric: 'best fix this immediately'.The key. The identity is now the git object name of the battery's inputs:
git ls-tree HEADwithout thedocsentry and without top-level*.md(CLAUDE.md, README.md, … — prose no lane compiles or tests), plus the three docs files lanes do read:docs/with-specification.md(spec-inventory-check),docs/with-abi.sha256(abi-hash-check, the stage inputs),docs/with_for_ai.md(selfhost). Those three are the onlydocs/paths any lane names.Two writers, one rule, no shared hashing code.
build/retention.wruns under the pinned seed andGreenEvidence.wruns in the install gate; both run the samegit ls-treecommands, apply the same filter, and hand the same text togit hash-object.Verified end to end. Battery green at 290dfa4 (build, :fixpoint, :test, :test-green, :last-green).
:last-greenwrote identity9aa581b4…; its listing is the top level minus exactly the six prose entries. A docs-only commit was then added on top andout/release/bin/with build :install-useraccepted it — '(verified against last-green)' — with no rebuild; the probe commit was dropped afterwards.behav_green_identity_keys_on_inputs.wpins the filter on the compiler side. CLAUDE.md/AGENTS.md and the D49 entry (dated amendment) say what the key is.