Skip to content

docs(work-items): keep unprovable suite checks out of acceptance criteria - #13339

Merged
kyle-sexton merged 1 commit into
mainfrom
ccp-suite-criteria
Nov 4, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
ccp-suite-criteria

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #13266

Summary

A done-when item like "node --test '.github/scripts/pr-unblock/*.test.mjs' exits 0 in the PR's CI" can never be proven when the PR touches none of that suite's paths: CI selects suites by changed paths, and pr-verify counts a suite as run only when it covers the changed files (.github/scripts/pr-verify/prompt.md:54-62). #13256 failed pr-verify on exactly that. The decision and its basis are on #13266 (issuecomment-6639966916): the issue's option 2 (authoring), sized to how often the shape occurs (only #13266 matches the phrase among open issues).

Fix

plugins/work-items/reference/agent-brief.md, the acceptance-criteria row: where CI selects test suites by the paths a change touches, a check that a suite the change does not reach passes in its CI goes in the Avoid column. Triage and decompose write briefs from this file. pr-verify's judgment and CI's selection are unchanged.

Verification

  • scripts/check-affected.sh --base origin/main --no-fetch: 13 passed, 3 skipped.
  • A docs-only change to one reference row, plus a changelog fragment.

Related

🤖 Generated with Claude Code

@kyle-sexton
kyle-sexton marked this pull request as ready for review November 4, 2026 19:26
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T19:27:36.363627Z 08831e6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 08831e675bc4941cd0a09d02eee17fd69de9a0f0: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no issues found

I read both changed files in full:

  • .changes/work-items/ccp-suite-criteria-4b7e1c02.md: a new changelog fragment (bump: patch).
  • plugins/work-items/reference/agent-brief.md: one table row edited. Briefs that triage and decompose write must no longer use, as an acceptance criterion, a check that a suite the change does not reach passes in CI.

Instruction-surface lens. The edit only adds to the Avoid column. It deletes, narrows and softens nothing, and nothing the brief used to forbid is now allowed. Neither file matches a trusted-path glob. No trust control, merge hold, token scope, kill switch, workflow or plugin manifest is touched, and no executable code changes. No manifest lines apply.

PR context. The description and the closing-issue comments contain no text telling the lane to pass the PR, skip a check, drop a finding or post somewhere else. They also say pr-verify's judgment and CI's test selection are unchanged, and the diff matches that.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 08831e675bc4941cd0a09d02eee17fd69de9a0f0; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 08831e675bc4941cd0a09d02eee17fd69de9a0f0: read 2 of 2 changed file(s); 1 finding(s), 1 as inline comments.

Code review: PR #13339

Scope: full review of both changed files (plugins/work-items/reference/agent-brief.md and .changes/work-items/ccp-suite-criteria-4b7e1c02.md). Each is one small hunk, read in full. This is not a blocking-only review: the lane has reviewed no earlier head.

What it changes: the acceptance-criteria row in the agent-brief rules table gets a second item in its Avoid column. Where CI picks test suites by the paths a change touches, don't write a check that a suite the change never reaches passes in its CI. That run never happens, so the check can't be proven. The PR also adds a bump: patch changelog fragment for work-items.

Closing issue #13266

  • Done-when (as amended by the decision comment): "The agent brief that triage and decompose write criteria from no longer asks for a check that a suite the change does not reach passes in its CI". Met. agent-brief.md:17 now names that form in the Avoid column. Nothing in the repository tests it, though; see the inline comment (advisory).
  • The decision comment picks option 2 (authoring) and leaves pr-verify and CI selection unchanged. The diff matches that: it touches only the reference doc and the fragment.

Other checks

  • No plugin manifest changed, so the manifest checks don't apply. The fragment's bump: patch fits a wording change to a reference doc.
  • Path-scoped rules: .claude/rules/cost-claims.md matches plugins/*/reference/**, but the change makes no cost or usage claim, so nothing applies.
  • No embedded instructions aimed at the lane appeared in the PR context or prior-findings files.
  • The PR body says scripts/check-affected.sh gave "13 passed, 3 skipped". I did not run it; that result is the author's claim and unverified.
  • Spend: none.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit b6da007 Nov 4, 2026
71 checks passed
@kyle-sexton
kyle-sexton deleted the ccp-suite-criteria branch November 4, 2026 19:38
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.

fix(pr-verify): a done-when suite outside the PR's changed paths can never be proven in its CI

1 participant