skill: post coder change-summary comment after addressing feedback#290
Conversation
…ixes #289) Add explicit step to SKILL.md for both plan-round and PR-round flows: after addressing blocking items, Claude posts a gh comment summarising what changed before running the next review round, matching the behaviour of the old CLI-based coder agent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Review verdict: Approved The changes correctly implement the requirement for the agent to post a change-summary comment after addressing blocking feedback. This applies to both the plan-round flow (using -- Google Gemini |
…s after } Agents like Codex can emit <!-- HUMAN_REQUIREMENTS_RESOLVED --> between the closing } and <!-- AGENT_STATE -->, which caused json.loads to fail with "Extra data". Switch both the metadata parse in _run_reviewer and the json extraction in _normalize_disposition_values to json.JSONDecoder().raw_decode(), which reads exactly one JSON object and ignores all trailing content. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Addressed round-1 failure (Codex
-- Anthropic Claude |
|
Review verdict: Blocking The PR correctly implements the requirement to post change-summary comments and significantly improves the robustness of agent output parsing. The switch to Blocking issues
Same-PR follow-ups
-- Google Gemini |
…ize_raw_response Codex writes <!-- HUMAN_REQUIREMENTS_RESOLVED --> between the closing } and <!-- AGENT_STATE -->, which the protocol validator rejects as prose. Extend _normalize_raw_response to use raw_decode to find the exact JSON end position, then reconstruct the output as JSON + state-marker + signature, discarding anything in between. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Addressed round-2 failure (validator rejected
-- Anthropic Claude |
|
Review verdict: Blocking The PR correctly implements the requested 'post change-summary comment' steps in SKILL.md and significantly improves the robustness of agent response parsing in skill_runner.py. However, several prior review items remain unaddressed, including a broken shell example in SKILL.md and hardcoded agent signatures. Blocking issues
Same-PR follow-ups
Prior unresolved item dispositions
-- Google Gemini |
|
Review verdict: Blocking The PR still leaves the carried SKILL.md template issues unresolved, and the carried same-PR cleanup in the helper remains. Blocking issues
Same-PR follow-ups
Prior unresolved item dispositions
-- OpenAI Codex |
…plates Move the plan-round change-summary code block out of the numbered list so the EOF terminator is flush-left (bash requires this). Also replace the hardcoded '-- Anthropic Claude' with '-- <Your Name>' in both templates to support multi-agent use. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Addressed round-3 feedback:
-- Anthropic Claude |
|
Review verdict: Blocking The PR correctly addresses heredoc indentation and signature hardcoding issues in SKILL.md. However, the new normalization logic in Blocking issues
Same-PR follow-ups
Prior unresolved item dispositions
-- Google Gemini |
|
Review verdict: Blocking The SKILL.md heredoc and signature issues are fixed, but the helper changes still need same-PR cleanup and the response normalizer now drops a meaningful protocol marker. Blocking issues
Same-PR follow-ups
Prior unresolved item dispositions
-- OpenAI Codex |
…e_raw_response The previous version stripped all content between } and <!-- AGENT_STATE -->, which would silently destroy <!-- HUMAN_REQUIREMENTS_ADDRESSED --> and its human-requirements section in plan-revision responses. Now only strip that region when it contains nothing but HTML comments (e.g. Codex's stray <!-- HUMAN_REQUIREMENTS_RESOLVED -->); leave it intact when it contains prose lines. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Addressed round-4 feedback:
-- Anthropic Claude |
|
Review verdict: Blocking The PR successfully adds the change-summary comment steps to Blocking issues
Same-PR follow-ups
Prior unresolved item dispositions
-- Google Gemini |
|
Review verdict: Blocking The SKILL.md documentation change is straightforward, but the normalization changes still leave a carried protocol regression and repeated local cleanup unresolved. Blocking issues
Same-PR follow-ups
Prior unresolved item dispositions
-- OpenAI Codex |
<!-- HUMAN_REQUIREMENTS_RESOLVED --> is a real optional protocol marker (prompts.py l.1568,2027) placed between } and <!-- AGENT_STATE --> in approved reviewer responses. The previous version stripped all HTML- comment-only lines, incorrectly discarding this signal. Now: keep the first HUMAN_REQUIREMENTS_RESOLVED line found in the between-section; drop everything else unrecognized. Plan-revision HUMAN_REQUIREMENTS_ADDRESSED sections are unaffected — this function is never called for plan_state responses. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Addressed round-5 feedback:
-- Anthropic Claude |
…ponse Gemini sometimes writes the signature before <!-- AGENT_STATE --> (legacy format), optionally with a prose ### Prior unresolved item dispositions section between the JSON and the signature. The validator expects the opposite order (state marker then signature) and rejects any prose between them. Extend _normalize_raw_response to detect both orderings: if no signature is found after the state marker, search before it. In the non-standard case, reorder to the canonical form and drop prose, preserving only the <!-- HUMAN_REQUIREMENTS_RESOLVED --> line if present. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Store text.lstrip() once and reuse for both raw_decode and the footer slice, as requested in multiple prior review rounds. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Addressed round-6 feedback:
-- Anthropic Claude |
|
Review verdict: Approved The changes successfully add the 'post change-summary comment' step to the skill documentation and significantly improve the robustness of the response normalization logic. All prior review items regarding duplicate lstrip() calls and preservation of the HUMAN_REQUIREMENTS_RESOLVED marker have been addressed. Prior unresolved item dispositions
-- Google Gemini |
|
Review verdict: Approved The change-summary documentation is in place for both plan and PR rounds, and the carried normalization issues have been addressed. Prior unresolved item dispositions
-- OpenAI Codex |
Summary
gh issue commentafter addressing blocking items and before writing the revised plangh pr commentafter pushing fixes and before running the nextrun-pr-roundTest plan
🤖 Generated with Claude Code