Skip to content

docs(ship-pr): hand the bounded re-review to the parent without the Agent tool - #76

Open
chapati23 wants to merge 1 commit into
mainfrom
docs/ship-pr-re-review-without-agent-tool
Open

chapati23 wants to merge 1 commit into
mainfrom
docs/ship-pr-re-review-without-agent-tool

Conversation

@chapati23

Copy link
Copy Markdown
Contributor

tl;dr

  • When the publishing workflow runs inside an agent that cannot start other agents, its last review step never ran, and nothing said who should run it. This PR tells that agent to report the step as not run and tells the agent that started it to run it. Nothing changes for agents that can start other agents.

The Problem

  • The Claude adapter only says to run review §7's bounded re-review with the Agent tool; a subagent without that tool (for example, one a workflow script starts) cannot run it.
  • So the re-review silently never ran. A separately run re-review stage then found two real defects that the shipping agent's own review and the second-model pass had missed.

The Solution

  • Add one bullet to the Claude adapter: such a subagent reports the re-review on its own Not run: line, and the parent or workflow runs it on the final head with the existing §7 brief.
  • The parent verifies each returned finding against the code; confirmed findings block readiness.
  • The bullet states that this is the required re-review, so the adapter's "avoid extra verifier agents" rule does not cancel it.

Risk

  • 🚪 Door: two-way. Revert the commit; it changes one instruction file only.
  • 💥 Blast Radius: Claude agents that follow ship-pr from a workflow without the Agent tool, and the workflows that start them.

Validation

  • Gates at 13c1c95: node scripts/validate-skills.mjs 27 skills ✓, trunk check on the changed file ✓, Giskard workflow pin preflight ✓ (no workflow file changed)
  • Review: Claude pass plus codex exec review (gpt-6.1-sol, high) → 0 findings
  • Not run: bounded re-review; this agent has no Agent tool, so the orchestrating workflow runs it
  • Not run locally: bash scripts/test-skills.sh (55 passed, 7 failed on a missing psutil package and sandbox temp-directory denials; no suite reads the changed file); CI runs it

Deferrals

  • None

Ship Checklist

  • PR title is a Conventional Commits header, type: summary or type(scope): summary, as commitlint.config.mjs enforces for commits
  • Performed a self-review of my own changes
  • node scripts/validate-skills.mjs and the affected test suites pass
  • Nothing in the diff breaks the public-readership rules in AGENTS.md
  • Body is about 250 words, 400 at most, excluding this checklist

🤖 Generated with Claude Code

…gent tool

A subagent that has no Agent tool, such as one a workflow script starts,
cannot run review §7's bounded re-review, and the Claude adapter only said
to run it with the Agent tool. The subagent now reports it on a Not run
line, and the parent or workflow runs it on the final head. A separately
run re-review stage found two defects that the shipping agent's own
review and the second-model pass had missed.

Co-Authored-By: Claude Code <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 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-26T17:20:41.372692Z 13c1c95 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.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Claude finished @chapati23's task in 1m 33s —— View job


Review result: LGTM, no findings

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