Skip to content

D315 — an attest or a pr-check that reads no pull request says it judges the description's sheet - #596

Merged
napkinstack-agent[bot] merged 2 commits into
mainfrom
d315-unread-pr-said
Nov 30, 2026
Merged

napkinstack-agent[bot] merged 2 commits into
mainfrom
d315-unread-pr-said

Conversation

@napkinstack-agent

Copy link
Copy Markdown
Contributor

Workstream

D315: an attest that read no pull request judged the description's sheet, and said nothing (#595). Reported by the consumer project's coordinator (PR #1389: the same commit was recorded 4 of 5 by the attest that read the verifier's comment, and 5 of 5 by one with no token). Decided by the decider, for v0.35.5.

What it changes

  • pull_request.sheet_in_play: one predicate, true when the description fills a sheet or a module the change touches requires one.
  • pr-check warns T2 when the forge is GitHub, a sheet is in play and no pull request number was given. The warning says that the description's sheet is judged, that the forge's run judges the signed one, and how to read it here.
  • attest says the same in its own output ("Signed sheet: not read — …"), because pr-check's warnings stay in its step's log.
  • verification.md: attest reads the verifier's comment with a token, and says so without one.
  • Register row D315.

What a project receives

A tokenless attest, or a pr-check without a pull request number, now says which sheet it judged. Nothing turns red: checks on a workstation stand without a token (ADR-0010 §6).

Verification

  • Red first: the pr-check case with no pull request number, and attest's line, failed on main.
  • A fresh read-only verifier ran on fbd1338.
    • Blocking, fixed in fd3d8d8: attest's line fired for the template's empty sheet on a change that needs none, where pr-check said nothing. Both now read sheet_in_play.
    • Also fixed:
      • the texts promised that a token alone finds the pull request, which is false for pr-check and for a commit not pushed;
      • verification.md claimed attest reads the comment, which is false without a token;
      • several guards were untested.
    • It confirmed that the warning never fires in CI, where PR_NUMBER is always set, and that, under attest, signed is None means exactly "no pull request read".
  • Mutants killed:
    • pr-check's guard removed, narrowed to described, or narrowed to reasons;
    • attest's forge guard;
    • attest silent once the pull request is read;
    • sheet_in_play without the filled sheet.
  • A mutant survives: attest's sheet_in_play call replaced by True. The attest fixture's change always requires a sheet, and sheet_in_play is tested on its own.
  • uv run bash platform/tests/run.sh at fd3d8d8: Platform tests: OK.

DoD

  • Register row D315
  • Oracle green on the committed tree

🤖 Generated with Claude Code

napkinstack-agent Bot and others added 2 commits November 30, 2026 13:06
…ges the description's sheet (#595)

Downstream, one commit was recorded 4 of 5 by the attest that read the
verifier's comment and 5 of 5 by one with no token, which found no pull
request and judged the description's sheet in silence. Where the forge is
GitHub, a sheet is in play and no pull request was read, pr-check warns (T2)
and attest says it in its own output, with how to read the signed sheet here.
Not a failure: checks on a workstation stand without a token.

Agent-Session: napkinstack-os-1e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ct (#595)

The verifier found attest's line printed for the template's empty sheet on a
change that needs none, where pr-check said nothing. sheet_in_play is now the
one predicate: a sheet the description fills, or one a touched module
requires. The texts no longer promise that a token alone finds the pull
request; verification.md says attest reads the comment with a token, and
says so without one. Tests cover silence with no sheet in play, a sheet
filled though none is asked, the template's empty sheet, a pull request read,
and a forge other than GitHub.

Agent-Session: napkinstack-os-1e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@napkinstack-agent
napkinstack-agent Bot requested a review from a team as a code owner November 30, 2026 12:21
@napkinstack-agent
napkinstack-agent Bot merged commit a3f1761 into main Nov 30, 2026
3 checks passed
@napkinstack-agent
napkinstack-agent Bot deleted the d315-unread-pr-said branch November 30, 2026 12:37
napkinstack-agent Bot added a commit that referenced this pull request Nov 30, 2026
…s formatter at the commit (#597)

D312 (#590), D313 (#591), D314 (#592), D315 (#596), D316 (#594).

Agent-Session: napkinstack-os-1e

Co-authored-by: napkinstack-agent[bot] <330339777+napkinstack-agent[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant