Refined prompt: Delegation Chain
Goal
Build delegation-chain, a first-class smithers workflow where stronger models recursively decompose, de-risk, and delegate work to weaker models — plus a live n8n-style UI — with every piece shipped as a reusable standard-library module. Its first production workload: a slow, docs-driven migration of ../plue (closed-source Go) into this repo's apps/* / packages/*, covering source code, infra-as-code, end-user docs, and (approval-gated) internal docs.
The workflow, phase by phase
Phase 0 — Goal refinement. An agent takes the user's ambiguous goal and forecasts the minimum set of questions needed to make it unambiguous. It asks only genuine user-preference questions (implementation decisions are made by the chain itself) and skips unlikely ones. Each question ships with a prefilled recommended default. The smart agent emits questions as JSON; a fast, cheap agent renders each question's form UI in a separate task, optimistically staying ~10 questions ahead of the user so