ci(claude): let a rewritten comment drive the reconcile round - #383
Conversation
Codex Review SummaryThis 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 review status
🛠️ Review did not finish Attempted head This round did not publish: MODEL_NO_OUTPUT in phase compile. Anything listed below is from the last round that did. Re-run the workflow or push a new commit to try again. |
mega-putin answers review feedback by posting ":mag: Looking into this..." the moment it picks the work up and rewriting that same comment into the real answer minutes later. Subscribed to `created` only, the review round landed on the placeholder and the answer — an `edited` event nobody listened for — was never seen, leaving the question open with its answer directly above it (megaeth-labs/mega-agents#317). - `issue_comment: [created, edited]`, so the rewrite drives the round. - `pr-review` declines comments carrying `claude-review:skip`, the marker mega-putin puts on a placeholder it intends to rewrite. The shared action enforces this too (megaeth-labs/.github#46); the `if` declines one step earlier, before a runner starts. - `interactive` pins `github.event.action == 'created'` so editing an old comment that mentions @claude cannot re-run a session. The mega-maxwell[bot] exclusion already here is what keeps the sticky status comment — rewritten in place every round — from retriggering. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DMw1H8WTihb5CfQ7tabxdt
🧬 Mutation testing — ✅ PASSNothing to test — no mutants were generated on the changed lines. |
🧬 Mutation testingNo results at |
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review comments remain, and the workflow changes are narrowly scoped.
Pull request overview
Updates Claude workflow triggers so edited bot comments can drive reconciliation without rerunning interactive sessions.
Changes:
- Subscribes to created and edited issue comments.
- Skips comments marked
claude-review:skip. - Restricts interactive sessions to newly created comments.
File summaries
| File | Description |
|---|---|
.github/workflows/claude.yml |
Adjusts issue-comment triggers and job conditions. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Problem
megaeth-labs/mega-agents#317 is the demonstration: mega-putin answered mega-maxwell's open question and the reviewer never noticed.
:mag: Looking into this...(26 chars)issue_comment.created→ review round runs. Run log:conversation: 1 of 1 timeline entries · 26 chars— it reconciled the placeholderNot a bot-filtering problem —
allowed_bots: mega-putinis set and the run log shows the round proceeding undermega-putin[bot]. The round simply landed on the wrong revision of the comment.Change
issue_comment: types: [created, edited], so the rewrite that carries the answer drives the reconcile round.pr-reviewdeclines comments carryingclaude-review:skip— the marker mega-putin now puts on a placeholder it intends to rewrite (megaeth-labs/mega-agents#318). The shared action enforces the same marker (fix(pr-review): let a rewritten comment drive the reconcile round .github#46, merged); the jobifdeclines one step earlier, before a runner starts, so the placeholder costs nothing.interactivepinsgithub.event.action == 'created', so editing an old comment that mentions@claudecannot re-run a session.The
mega-maxwell[bot]exclusion already present is what keeps the sticky status comment — rewritten in place every round — from retriggering underedited.Same change is going into every repo that opted into comment-triggered reconciliation. dist-docs is excluded: its
pr-reviewnever subscribed toissue_comment.Test plan
Workflow-only. YAML parses; the
ifconditions are the existing ones plus one conjunct each.🤖 Generated with Claude Code
https://claude.ai/code/session_01DMw1H8WTihb5CfQ7tabxdt