Plan 2: Build loop core (sequential)#1
Open
fernandoleyra wants to merge 11 commits intomainfrom
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…fact Adds verify_task (kind-driven, writes qa.json), verify_milestone, and verify_final helpers. Adds qa-result.schema.json for artifact validation. 4/4 new tests pass; full suite 39/39, zero regressions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rol flow stop.sh: exits 2 (continue loop) when status=running + pending tasks exist; exits 0 for all terminal states or missing state. post-iteration.sh: increments iteration_count and appends JSONL line via state.sh helpers. 6 new tests added (tests/plan-2/test_hooks.bats); full suite 44→50 green. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…aths Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 1, 2026
fernandoleyra
added a commit
that referenced
this pull request
May 1, 2026
This repo is now exclusively the source of the FrinkLoop Claude Code plugin. The plugin lives at ~/.claude/plugins/frinkloop/ once installed, and per-project state goes inside each project's own .frinkloop/ dir. Removed: - agents/, core/, memory/, config/, scripts/, templates/, projects/, logs/ - frinkloop.py (old python entrypoint), FRINKLOOP_PLAY.md - pytest.ini, requirements.txt, .env.example - legacy python tests in tests/test_*.py - two mkdir-brace-expansion artifact dirs Updated: - CLAUDE.md rewritten to describe plugin-as-skill architecture - .gitignore trimmed to plugin-relevant entries - package.json test script switched to "bats -r tests/" Verified: bats -r tests/ → 28/28 on main (Plan 1 surface). PRs #1-#9 (Plans 2-10) remain stacked on their own branches. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Plan 2 of the FrinkLoop redesign — the autonomous build loop's spine. Sequential only; parallel fan-out is Plan 4.
stop.shandpost-iteration.shhooks with state-aware control flowlib/loop.sh— task-flow helpers (pick_next_task,mark_task_done,queue_fix_task,mark_milestone_done,active_milestone)lib/verify.sh— per-task / per-milestone / final verification gates withqa.jsonartifactlib/recovery.sh— dirty-tree detection + blocker on resumeqa-result.schema.json(Draft-07)state.last_iteration_at(optional)mvp-loopskill,planner/builder/qaagentsfrinkloop-resumeandfrinkloop-pauseslash commandsPROMPT.mdtemplate11 commits, 65 tests passing (28 from Plan 1 + 37 new).
Test plan
npm install && bats tests/plan-1/ tests/plan-2/→ 65/65 passmvp-loopSKILL.md and confirm the per-iteration algorithm matches spec §9🤖 Generated with Claude Code