Workflow front-end v1 — thin orchestrator, scouts, design gate #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "workflow/front-end-v1"
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?
Implements
pi-swarm-suite/docs/2026-07-07-workflow-front-end-design.mdper plandocs/plans/2026-07-07-workflow-front-end.md.What shipped
/workflowmode — injects the thin-orchestrator discipline (interview one question at a time, delegate ALL research to scouts, context-economy hard rules) viabefore_agent_start, reusingSwarmModeState..pi/workflow/<run-id>/run.json: gates (pending→open→complete→approved), deliverable pointers, findings ledger; atomic tmp+rename writes; run-id validation (path-traversal guard); stray-entry-tolerantlistIds().workflow/workflow_statustools — bookkeeping only (start, propose_gates, record_finding, complete_gate, approve_gate); errors as isError results; run_id defaults to latest.scout-codebase,scout-web,design-writerwith boundedresult_schemacontracts (summary maxLength 1200/1500, findings_path/deliverable_path required) enforcing the context-economy invariant mechanically.Verification
tsc --noEmitclean.Known limitations (documented in README)
/swarmand/workflowmodes must not be ON simultaneously (both replace the system prompt; last handler wins).cp agents/scout-*.md agents/design-writer.md ~/.pi/agent/agents/(or per-repo.pi/agents/).Next (design doc §7)
Live smoke on ApexDirector (the empirical crux), then AD-6 circuit breaker before any autonomous gates.
🤖 Generated with Claude Code
https://claude.ai/code/session_015SGbF5oMAc2nVR4W7XD6E7