Repository navigation
D295 — T4 lets an automated row stand at a commit whose inputs, read from git, are the head's (#548) - #549
Merged
Conversation
…from git, are the head's (#548) Agent-Session: napkinstack-os-56 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
napkinstack-admin
approved these changes
Nov 26, 2026
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.
Workstream
D295 (#548): T4 lets an automated row stand at a commit whose inputs, read from git, are the head's. Its row is in
docs/governance/workstreams.md.What it changes
With
checks: attested, a pull request verified at X that merges the default branch, whose new commits touch only another module, had its automated rows refused by T4: the relief of D223 needed a passing attest record of X, and X usually has none. The verifier then ran the end-to-end suite again for the same result.flowchart TD R[automated row at X, head ≠ X] --> A{record of X?} A -- passing --> OLD[D223, unchanged: digests equal and fresh] A -- exists, voided or failed --> NO1[refused, as before] A -- none at all --> H{X in the head's history?} H -- no --> NO1 H -- yes --> D{git digest at X = at the head?} D -- cannot tell --> NO1 D -- differ --> NO2[refused: names what its modules read that changed] D -- equal --> F{fresh, as a record must be?} F -- no --> NO3[refused: too old] F -- yes --> OK[the row stands]Legend: the new path starts at "none at all". "Git digest" is
attest.inputsread at a commit: the folders of the modules run and those they consume or assemble, and every tracked path outside the module folders (contracts/,platform/, the lockfile, root config), records excepted.attest.inputstakes the commit it reads,HEADby default.Measured first, on a consumer project: X and the merged head changed 63 files, all under another module, and
attest.inputsgave the same digest at both.What a project receives
.nstack/handbook/05-workflow.md, and fewer replays: a row at X stands across a merge that touches nothing its modules read. Nothing green turns red.Verification
contracts/oruv.lock; refused for a voided X, for an X whose module checks failed, for a stale X, for an X off the head's history, and when a module folder is absent at X. The head's digest is computed once per run. Each test was seen to fail with its change reverted.Definition of Done
uv run bash platform/tests/run.shgreen, on a committed treeFixes #548
🤖 Generated with Claude Code