[Phase 7] Daemon isolation - call kugetsu as subprocess #250
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The queue-daemon currently sources kugetsu-session.sh and calls cmd_continue directly, making it impossible to test without spawning opencode agents.
Solution
Refactor daemon to call
kugetsu continueas subprocess:In process_task(), change from:
To:
Check exit code to determine next action:
For testing: run daemon with KUGEETSU_DRY_RUN=1 to prevent opencode spawns
Status
BLOCKED - Depends on Phase 5 + Phase 6 (exit codes + dry-run env var)
Files
Related Issues
Parent: #235
Blocked by: #240 (Phase 5), #241 (Phase 6)