proposal: auto-review primitive for skills#60
Conversation
eshulman2
left a comment
There was a problem hiding this comment.
I agree option A is the better option, lets go with this one. please modify the proposal to reflect option A is the chosen one and that option B was considered but wasn't chosen.
|
The proposal was updated to reflect the selected approach (option A - in container loop) |
Introduces an opt-in review.md file alongside SKILL.md that enables automatic worker→reviewer→fix loops for any skill. Includes two architectural approaches for maintainer discussion, with file-based observability for near-real-time metrics and Jira visibility. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Container-internal loop with file-based observability selected for implementation. Approach B retained for reference. Added implementation note about final file sweep and cycle file persistence. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@eshulman2 |
When auto-review exhausts max_retries, unresolved feedback is collected into workflow state and surfaced in the PR body. Exhaustion detection lives in ContainerRunner (generic), with a shared utility any workflow node calls — not limited to implement_task. Non-blocking; workflow always proceeds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@eshulman2 |
Summary
Adds a proposal for an opt-in auto-review mechanism as a new primitive for skills. Any skill can include a
review.mdalongsideSKILL.mdto enable automatic worker→reviewer→fix loops.Decision
Approach A (container-internal loop) has been selected for implementation.
The review loop runs inside the container entrypoint. The orchestrator gets near-real-time visibility via file-based polling of per-cycle JSON files written to the shared workspace mount.
Key Design Points
review.mdalongsideSKILL.md— no file means no review, current behavior preservedmax_retriesin review.md frontmatter, global default fallbackFiles Changed
proposals/auto-review-primitive.md— full proposal (Approach A accepted, Approach B retained for reference)proposals/README.md— index entry added🤖 Generated with Claude Code