disinto/gardener
Claude de2e7dc1fb
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
fix: Migrate planner, predictor, supervisor to SDK (#6)
Replace tmux-based run_formula_and_monitor() with synchronous agent_run()
from lib/agent-sdk.sh, matching the pattern established in gardener-run.sh.

Key changes per agent:
- Drop agent-session.sh, use agent-sdk.sh (SID_FILE, LOGFILE)
- Remove SESSION_NAME, PHASE_FILE, PHASE_POLL_INTERVAL (tmux/phase artifacts)
- Strip phase protocol from prompt footer (SDK mode needs no phase signals)
- Preserve all prompt composition: context blocks, memory, journal, preflight

Shared helpers added to lib/formula-session.sh:
- build_sdk_prompt_footer(): build_prompt_footer minus phase protocol
- formula_worktree_setup(): fetch + cleanup + create worktree + EXIT trap

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 13:06:34 +00:00
..
recipes fix: address review feedback — recipe engine robustness and correctness 2026-03-18 03:05:09 +00:00
AGENTS.md chore: gardener housekeeping 2026-03-26 2026-03-26 18:14:35 +00:00
best-practices.md fix: replace PRODUCT-TRUTH.md/ARCHITECTURE.md refs with AGENTS.md 2026-03-15 17:41:10 +01:00
gardener-run.sh fix: Migrate planner, predictor, supervisor to SDK (#6) 2026-03-28 13:06:34 +00:00
pending-actions.json chore: gardener housekeeping 2026-03-26 2026-03-26 18:14:35 +00:00
PROMPT.md fix: address review findings from issue #74 2026-03-18 01:41:14 +00:00