Commit Graph

25 Commits

Author SHA1 Message Date
344b179b4d feat: support parallel loops with per-project tmux session names
The tmux session name is now derived from the project directory name
(e.g., agent-loop-server, agent-loop-webapp). This allows running
multiple loops in parallel on different projects without collisions.

Previously hardcoded to "agent-loop", which meant launching a second
loop would kill the first project's tmux session.
2026-04-02 10:54:22 -04:00
71b00cf11f feat: auto-update harness files when plugin version changes
setup.sh now stamps .harness-version in .loop/ at scaffold time. On each
/agent-loop:run, Phase 1 compares the installed harness version against
the plugin version and auto-updates lib/, prompts/, and loop.sh if stale.
Run state (prd.json, contracts, config.json) is preserved.

Also adds setup.sh --update mode for refreshing harness files without
re-scaffolding. Bump to 0.10.0.
2026-04-02 09:02:41 -04:00
ad58a49182 feat: auto-archive completed runs before starting new features
When /agent-loop:run detects a previous run with all stories passed (or the
feature branch deleted after merge), it archives the old artifacts and resets
.loop/ automatically — no more manual rm -rf .loop.

- Add archive_and_reset() for on-demand archiving from skills
- Add runs.log index tracking all archived runs
- Update /run and /stories skills to detect completed runs
- setup.sh archives instead of hard-failing when prd.json exists
- Bump version to 0.9.0
2026-04-02 07:40:07 -04:00
6b13fc3d38 feat: background watcher notifies CC session when loop completes 2026-03-27 15:22:43 -04:00
bc7a1e2f04 fix: require spec file before story generation — don't reinvent planning 2026-03-27 15:08:30 -04:00
b3d263258a fix: critical bugs, stale refs, README rewrite, security fixes
- Fix evaluator bypass on last story (moved completion check)
- Fix all stale command name references across README, loop.sh, skills, plugin.json
- Fix explore evaluator false rejects (.loop/ files are expected)
- Fix stderr capture order in headless mode
- Fix shell injection risk in hooks.sh python fallback
- Remove .DS_Store from tracking
- Rewrite README to match current architecture (single entry point, tmux, optional tools)
- Add XcodeBuildMCP and iOS simulator MCP to optional tools docs
2026-03-27 14:58:01 -04:00
5e456cff6d fix: drop osascript, use universal ! tmux attach approach 2026-03-27 12:53:26 -04:00
8129b5736b fix: platform-aware terminal launch — osascript on macOS, fallback on Linux 2026-03-27 12:42:01 -04:00
d457344806 feat: auto-open terminal window attached to tmux session 2026-03-27 12:41:02 -04:00
0666903b5f fix: launch tmux detached, prompt user to attach with ! prefix 2026-03-27 12:14:55 -04:00
e810d1a1db fix: attach to tmux session instead of detaching 2026-03-27 12:10:12 -04:00
a2b4369035 feat: launch execution in tmux, orchestrator monitors progress 2026-03-27 11:48:15 -04:00
f867630639 fix: use bypassPermissions for generator/evaluator agents (autonomous mode) 2026-03-27 10:14:11 -04:00
9508ad20b6 fix: rename init to setup to avoid built-in /init conflict 2026-03-27 10:01:50 -04:00
2a78915dcf feat: single entry point /agent-loop:run handles setup, planning, and execution 2026-03-27 09:53:52 -04:00
381741509d fix: rename generate to stories to avoid autocomplete issues 2026-03-27 09:49:10 -04:00
8c4e123976 fix: rename plan skill to generate to avoid name collision with built-in /plan 2026-03-27 09:39:13 -04:00
86b2b7271b feat: bash setup script, planner agent with disallowedTools, simplified skills 2026-03-27 09:23:42 -04:00
53086c9dbc fix: radically simplify skills — each does exactly one thing, no chaining, explicit boundaries 2026-03-27 09:03:47 -04:00
fee323a2d6 fix: tighten skill specs — exact prd.json schema, explicit scaffold, validation 2026-03-27 08:57:40 -04:00
fe14d81073 fix: init skill avoids brainstorming interception, detects existing specs 2026-03-27 08:46:18 -04:00
2c8ea90176 fix: plan skill requires explicit user review before execution 2026-03-27 08:41:11 -04:00
f71465c047 fix: plan skill flows into /agent-loop:run when user confirms 2026-03-27 08:39:42 -04:00
027efffe52 fix: rename skill dirs for clean plugin namespacing (agent-loop:init not agent-loop:loop-init) 2026-03-27 08:12:02 -04:00
17e5eb707f feat: agent loop harness with Claude Code plugin support
Generator-evaluator architecture with iterative context-reset for
long-running coding tasks. Ships as a Claude Code plugin — install
with /plugin and use /agent-loop:init, /agent-loop:plan, /agent-loop:run.
2026-03-27 08:03:18 -04:00