Repository navigation
D269 — the forge's T4 leaves a row waiting for the head's record to attest's required status (#495) - #499
Merged
napkinstack-agent[bot] merged 2 commits intoNov 23, 2026
Conversation
…ttest's required status (#495) The forge's run starts at the push, before nstack attest writes the head's record. Where the ruleset requires nstack / local checks, an automated row that waits only for that record now stands on that run and is said, as A1 leaves the record to the status (D221). Attest's own run keeps the row or fails T4 with the digest. A row whose commit has no record still fails. Agent-Session: napkinstack-os-77 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…est never A head record holding no digest (failed module checks, kept from a voided run) also waived T4; now only a head with no record at all waits, and attest's own run never does. The warning gains its Action; the handbook names the row that waits; a test shows the warning in pr-check's output. Agent-Session: napkinstack-os-77 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
napkinstack-admin
approved these changes
Nov 23, 2026
napkinstack-agent
Bot
deleted the
d269-forge-t4-waits-for-the-head-record
branch
November 23, 2026 08:05
This was referenced Nov 23, 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
D269, from #495. Its row is in
docs/governance/workstreams.md.What it changes
D223 keeps an automated row run at an earlier commit when what its modules read has the same inputs digest at that commit and at the head. The digest is read from each commit's attest record. On the forge, the Test sheet and cycle job starts at the push, before
nstack attestwrites the head's record. Downstream, after a merge of main that changed nothing a module reads, that run failed T4 on every automated row. Attest's own run then judged the same sheet compliant, but nothing re-ran the forge's job, so it stayed red.flowchart LR R[automated row run at an earlier commit] --> C{that commit's record has a digest?} C -->|no| F[T4 fails, as before] C -->|yes| H{head's record?} H -->|same digest| K[kept, as D223] H -->|other digest| F H -->|none, and attest's status required, not attest's own run| W[stands on this run, said with its Action] H -->|none, otherwise| F W -.-> A[attest's own run: kept or T4 fails, red status blocks the merge]Now, where the ruleset requires
nstack / local checks(the samestatus_required()test as A1/A2, D221), a row that waits only for the head's record stands on the forge's run, and pr-check says so:Attest's own run never waits: it keeps the row, or fails T4 with the digest, and its red status blocks the merge. A head record that has no digest still fails, because a failed module check makes a voided run that keeps it. A row whose commit has no record still fails too, since attesting the head would not keep it.
Not taken:
actions: write, which agents lack by design, and that job belongs to the forge alone.Fresh verifier
Findings fixed in the second commit:
What a project receives
The engine (
pull_request.py) and two pages of its handbook:05-workflow.md§7 and07-governance.md. Nothing that was green turns red. A forge run that was red only because the head's record did not exist yet now passes, and attest's required status still judges the row.Definition of Done
uv run bash platform/tests/run.shgreen, on a committed treeuv run nstack fitnessgreen🤖 Generated with Claude Code