Skip to content

fix(ship): PR body template slot for permanent-test admission decisions - #544

Merged
screenleon merged 2 commits into
mainfrom
feat/CC-554-b
Aug 26, 2026
Merged

fix(ship): PR body template slot for permanent-test admission decisions#544
screenleon merged 2 commits into
mainfrom
feat/CC-554-b

Conversation

@screenleon

Copy link
Copy Markdown
Owner

Summary

  • CC-554 second reading: across the 12-PR evidence window since the admission-recording rule took effect (pr:feat(CC-554): permanent regression test admission criteria in /ship #530), both qualifying instances (pr:fix(CC-571): sqlite atomic-script gap in _ctx_fts_rebuild + _ctx_index_file #539's 7 new regression cases, pr:fix(CC-572): pr-gate synthesis retry removes (not truncates) the result path #541's 2 new test functions) added a permanent test as a gate-finding remedy but recorded zero admission-criteria citations in the PR body — proving a free-floating prose reminder (Step 2.5) several screens before the PR body is actually composed (Step 4) is not reliably followed, even by the same agent that wrote the rule.
  • Fix: give the Step 4 PR-body template an explicit Permanent test admissions: field, so omission is conspicuous (fill it in, or write none) instead of silent.
  • Gate round 1 (critic + architecture-reviewer) correctly flagged that the initial wording let none stand in for an alternative-path finding's own record, not only for "no qualifying finding at all". Reworded so none applies only when no finding this round needed the Step 2.5 assessment, and every assessed finding — admitted or resolved by an alternative — still needs its own line.
  • BACKLOG.md CC-554 records this as its second reading; ticket stays active (per its own convention, this doesn't close until the template-level fix itself proves out over another observation window).

Test plan

  • bash tests/shell/test-commands.sh (318/318, including 3 new assertions on the template's admission-record field and its none-vs-alternative wording)
  • tools/lint/lint-shellcheck.sh clean on the whole repo
  • pmctl gate run --executor codex --policy generic → GO (round 1 real finding fixed: none-wording ambiguity flagged independently by critic and architecture-reviewer; round 2 hit an executor apply_patch protocol failure, re-ran to GO)
  • tests/bin/run-all-tests.sh → 104 passed, 0 failed, 0 skipped

🤖 Generated with Claude Code

https://claude.ai/code/session_0177ds9nxEMtsh3bwpBxNHYx

screenleon and others added 2 commits August 26, 2026 23:46
…e slot

Second reading of CC-554's admission-recording rule (effective since
pr:#530): across a 12-PR evidence window, both qualifying instances found
(pr:#539's 7 new regression cases, pr:#541's 2 new test functions) added a
permanent test as a gate-finding remedy but recorded zero admission-criteria
citations in the PR body. The rule text lives in Step 2.5, several screens
before the PR body actually gets composed in Step 4 -- a free-floating
prose reminder read once during remediation is not reliably recalled by the
time the PR body template gets filled in. Add an explicit
`Permanent test admissions:` field to that template so its omission is
conspicuous (fill it in, or write `none`) instead of silent, and add a
regression assertion that the template carries the field.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177ds9nxEMtsh3bwpBxNHYx
Two gate reviewers (critic, architecture-reviewer) independently flagged
that the template's `| none` fallback read as usable whenever no new
permanent test was added -- including a round whose finding was resolved
via a recorded alternative, which Step 2.5 still requires a line for.
Reworded so `none` applies only when no finding this round was assessed
against Step 2.5 at all, and added regression assertions for both the
alternative-path requirement and the none-is-not-a-substitute wording.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177ds9nxEMtsh3bwpBxNHYx
@screenleon
screenleon merged commit 2d4003b into main Aug 26, 2026
@screenleon
screenleon deleted the feat/CC-554-b branch August 26, 2026 16:22
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