Run Factory Stage A (Intent Contractor)
Trigger
User wants to execute Stage A for a Factory run (planning-only or execution-enabled). Run must already have KNOWLEDGE_LINT.txt PASS and raw_brief.md (and EXECUTION_MODE.txt) in run root.
Workflow
- •Read docs/Factory/AgentArchitecture/STAGE_A_DISPATCH_PROMPT.md. Replace
<RUN_ID>in the prompt body with the actual run ID. - •Ensure run has: raw_brief.md, EXECUTION_MODE.txt, KNOWLEDGE_LINT.txt (PASS) in run root.
- •Paste the full dispatch prompt (including preamble and contract) into the agent chat. Use Medium tier (Sonnet 4.6) per MODEL_ROUTING_POLICY.
- •Execute; agent may only create/modify: run root raw_brief.md (only if correcting capture), pack/intent.md, pack/HANDOFF/HANDOFF_STAGE_A.md.
- •After execution, verify pack/intent.md and pack/HANDOFF/HANDOFF_STAGE_A.md exist; handoff must state Exit criteria PASS and Model tier used.
Guardrails
- •Do not generate EXECUTION_PROMPT or initialize downstream runs if EXECUTION_MODE is PLANNING_ONLY.
- •Enforce word caps: intent.md ≤ 1,200 words; HANDOFF ≤ 500 words, bullets only.
Output
- •intent.md (v1) and HANDOFF_STAGE_A.md in run pack; handoff compliant with blueprint.