Skip to content

ci(review): the comment that carries the verdict links the review run (ADR-1130) - #975

Merged
cdeust merged 1 commit into
mainfrom
ci/verdict-links-its-run
Nov 10, 2026
Merged

cdeust merged 1 commit into
mainfrom
ci/verdict-links-its-run

Conversation

@cdeust

@cdeust cdeust commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Why

The resolver counts a verdict only when its comment links a successful claude-review.yml run of the head (ADR-1121). The review prompt asked for one final verdict line and did not say where. The action posts two comments: its tracking comment, which links the run, and the review posted with gh pr comment, which does not.

On #973 the verdict went only into the second one:

comment links the run carries Verdict:
6767042176 (tracking) yes no
6767084339 (review) no yes

Resolver run 42816975550 then read merge held: Claude has not posted a verdict on this head. #973 was approved at 12:17 UTC, green at 12:36, and stays unmerged. Pull requests whose gh pr comment call was refused merged, because the review then went into the tracking comment: whether an approve is read depended on that.

What

  • claude-review.yml: the prompt gives the run's link and says to put it just before the verdict line in every comment that carries it. The resolver is unchanged.
  • tests_py/scripts/test_ci_review_budget.py: the prompt carries the link, after the verdict instruction.
  • ADR-1130 (wiki page and its mirror), CHANGELOG.

Checks

tests_py/scripts/test_ci_review_budget.py, test_ci_review_dictates_merge.py, test_docs_index_links.py, test_check_doc_claims.py: 187 passed. scripts/check_doc_claims.py: OK. Six tests of test_ci_mutation_scope.py fail in my sandbox with and without this change.

Limits

The rule lives in a prompt: a review that ignores it is held as before, with the same notice. This pull request edits claude-review.yml, so the action does not review it (it refuses a workflow that differs from the default branch).

Metric

Pull requests with an approve and green checks that the resolver holds with "Claude has not posted a verdict on this head": one today (#973), expected zero.


Generated by Claude Code

… (ADR-1130)

The resolver counts a verdict only when its comment links a successful
review run of the head (ADR-1121). The prompt asked for one final verdict
line and did not say where. A review posted with gh pr comment carried
the verdict and no link, the tracking comment carried the link and no
verdict, and the resolver held the merge: #973, approved at 12:17 UTC and
green at 12:36, was not merged (resolver run 42816975550, "Claude has not
posted a verdict on this head").

The prompt now gives the run's link and says to put it just before the
verdict line in every comment that carries it. The resolver is unchanged.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF
Signed-off-by: Claude <[email protected]>
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T12:44:41.867361Z abbf507 PR opened
🔒 Security Review ✅ Completed 2026-11-10T12:45:59.966334Z abbf507 PR opened
ℹ️ 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.

@cdeust
cdeust merged commit 45da362 into main Nov 10, 2026
18 checks passed
@cdeust
cdeust deleted the ci/verdict-links-its-run branch November 10, 2026 13:11
cdeust pushed a commit that referenced this pull request Nov 10, 2026
Notes of review 1 of #973, taken in one push because that review's
verdict cannot be read by the resolver (its comment does not link the
run, fixed for later reviews by ADR-1130, #975): the low-risk Dependabot
merge and the "do not merge" title, and what a pull request cut down
after its third review waits for.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF
Signed-off-by: Claude <[email protected]>
cdeust added a commit to cdeust/ai-architect-mcp-spec that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#203)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/cortex-vision that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#8)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/cortex-voice that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#8)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/zetetic-team-subagents that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#246)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it, here and in the copy render-ci delivers.
Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/claude-mods that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#69)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/cortex-viz that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#234)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/session-optimizer that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#108)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: a review posted with gh pr comment can carry the
verdict and no link, and the approve then cannot be read. The prompt now
gives the run's link and says to put it just before the verdict line in
every comment that carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Nov 10, 2026
…973)

* docs(agents): state the CI contract every agent and routine follows

The scheduled routines were written before the review contract: on
2026-11-10 they measured branches against the main branch and rebased
them with a forced push, commented on approved pull requests (#968) and
opened pull requests while another was in flight (#971, #972). Their
prompt tells them to read CLAUDE.md and docs/ and to apply the
repository's standards, so the rules "Review rounds" does not hold yet
are written next to it, and both are said to win over a less
restrictive routine prompt.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF
Signed-off-by: Claude <[email protected]>

* docs(agents): rule 1 names the two merges the verdict does not decide

Notes of review 1 of #973, taken in one push because that review's
verdict cannot be read by the resolver (its comment does not link the
run, fixed for later reviews by ADR-1130, #975): the low-risk Dependabot
merge and the "do not merge" title, and what a pull request cut down
after its third review waits for.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF
Signed-off-by: Claude <[email protected]>

---------

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust added a commit to cdeust/ai-architect-mcp-codebase that referenced this pull request Nov 10, 2026
… (Cortex ADR-1130) (#497)

The resolver counts a verdict only when its comment links a successful
review run of the head. The prompt asked for one final verdict line and
did not say where: on #495 the review posted with gh pr comment carried
the verdict and no link, the tracking comment the link and no verdict,
so the approve cannot be read. The prompt now gives the run's link and
says to put it just before the verdict line in every comment that
carries it. Same change as cdeust/Cortex#975.


Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
cdeust pushed a commit that referenced this pull request Nov 10, 2026
Conflict: wiki/manifest.json, the ADR-1128 and ADR-1129 entries are both
kept. The ADR-1130 entry is added: its decision file came with #975
without its manifest line, which made check_project_wiki.py fail on main.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF
Signed-off-by: Claude <[email protected]>
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.

2 participants