Skip to content

Code agent should verify root cause hypothesis before implementing #299

Description

@fullsend-ai-retro

What happened

On PR #195, the code agent built a 254-line fix for #193's hypothesis (422 from out-of-hunk comments). The human discovered the 422s were actually from self-review. Entire PR cycle wasted.

What could go better

AGENTS.md says 'verify claims about root cause' but this isn't a concrete step. Issue #193 linked a workflow run — examining its error messages would have revealed the real cause. Confidence: MEDIUM.

Proposed change

Add to skills/code-implementation/SKILL.md: when an issue describes a root cause with linked evidence, state the hypothesis, check available evidence, and if it contradicts, comment on the issue instead of implementing.

Validation criteria

Next 3 code runs on bug issues with linked evidence should show hypothesis verification in the JSONL trace.


Generated by retro agent from #195

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions