Repository navigation
docs(agents): state the CI contract every agent and routine follows - #973
Conversation
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]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @cdeust's task in 2m 9s —— View job Review 1 of 3 done
I found no Blockers and posted three Notes. I did not run |
Review 1 of 3 — PR #973Five reviews ran on the diff: documentation accuracy, code quality, security, performance and test coverage. None found a Blocker. What I checked against the code:
Notes, no action before merge
Verdict: approve |
… (ADR-1130) (#975) 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. Claude-Session: https://claude.ai/code/session_018kyZYsWnKSjpX4oNV19PCF Signed-off-by: Claude <[email protected]> Co-authored-by: Claude <[email protected]>
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]>
…agents Signed-off-by: Claude <[email protected]> # Conflicts: # CHANGELOG.md
|
Claude finished @cdeust's task in 1m 57s —— View job Review 2 of 3 done
I found no Blockers and posted three Notes. The new rule 1 text matches what the resolver does ( Verdict: approve |
Review 2 of 3 — PR #973Review 1 found no Blockers. This review covers only what was pushed after What I checked against the code:
Notes, no action before merge
View job run |
Why
The scheduled "CI autopilot" routines were written before the review contract. On 2026-11-10 they measured branches against the main branch and tried to rebase them with a forced push, commented on approved pull requests (#968) and opened pull requests while another was in flight (#971, #972). Their prompt cannot be edited from an agent session, but it tells them to read
CLAUDE.mdanddocs/and to apply the repository's standards.What
docs/agent-guidance.md: a section "CI contract for agents and routines" placed after "Review rounds". It holds only the rules "Review rounds" does not: no push while a review runs, no forced push, no comparison with the main branch, one pull request in flight, no comment after an approve, owner decisions left alone, no agent writes aVerdict:line. Both sections are said to win over a less restrictive routine prompt and never to widen one.CLAUDE.md: one line in the non-negotiables that points to them.CHANGELOG.md: the entry.No code, no workflow. The same contract is merged in cdeust/ai-architect-mcp-spec#201, cdeust/claude-mods#68, cdeust/session-optimizer#107 and cdeust/zetetic-team-subagents#245; this text carries their review notes.
Checks
scripts/check_doc_claims.py: OK.tests_py/scripts/test_check_doc_claims.pyandtest_docs_index_links.py: 155 passed.Metric
Comments posted by a routine on an approved pull request, pull requests opened while one is in flight, and "behind main" comments: expected to fall to zero from the routine's next pass. Not verifiable before that pass.
Generated by Claude Code