Skip to content

chore(tools): self-healing test loop (until-green headless Claude)#192

Merged
AVADSA25 merged 1 commit into
mainfrom
chore/test-heal-loop
Jun 9, 2026
Merged

chore(tools): self-healing test loop (until-green headless Claude)#192
AVADSA25 merged 1 commit into
mainfrom
chore/test-heal-loop

Conversation

@AVADSA25

@AVADSA25 AVADSA25 commented Jun 9, 2026

Copy link
Copy Markdown
Owner

The operator's until npm test; do claude -p …; done pattern, adapted to CODEC: pytest, tests-are-the-spec (never edits tests), knows the PR-1A skill-manifest regen rule, MAX_ITERS=8 circuit breaker, optional path scoping. Verified: green suite exits at 0 iterations.

🤖 Generated with Claude Code

…tern)

./tools/test_heal_loop.sh [scope] — re-runs pytest until green; on red,
invokes headless `claude -p` for ONE focused fix per iteration (tests are the
spec — never edited), reminds about the PR-1A manifest regen on skills/ edits,
and stops after MAX_ITERS=8 for a human. Green suite exits immediately.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AVADSA25 AVADSA25 merged commit dc03355 into main Jun 9, 2026
1 check passed
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.

2 participants