[feature] Auto-preview on task branch creation #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/b29864fc-auto-preview-on-task-branch-"
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?
Implemented by Claude Code agent
Task: Hook into the existing agent_runner task lifecycle. When a task moves to 'running' and a worktree/branch is created, optionally auto-start a preview server. When task completes or fails, optionally auto-stop. Controlled by project setting.
Success Criteria:
Project setting 'auto_preview' (default off) triggers preview start when agent creates a branch. Preview URL included in WebSocket task_updated events. Cleanup on task completion is automatic. No orphan processes after task lifecycle ends.
⚠️ Review score: 17/100 — BELOW threshold (85) — needs manual review
Pull request closed