draft_design_doc
Draft a structured design document by combining a project goal, verified brief, and batch reports into a file for review and refinement.
Instructions
Have Antigravity draft a structured design document (with work packages) from on-disk batches.
The synthesis step of the Architect pipeline. agy reads the digests/subreports from the given
review + research batch dirs PLUS the orchestrator's verified `brief`, and drafts a full design
doc to `out_path`. Returns only a short digest — the orchestrator (Claude) then reads the file,
verifies claims, and edits it in place. This is the 'agy drafts, Opus refines' gate.
Args:
goal: The project goal the design serves.
brief: Claude's verified findings / requirements (the trustworthy synthesis so far).
batch_ids: review_fanout / research_fanout batch IDs whose reports agy should read.
out_path: Absolute path to write the design doc (e.g. <repo>/design.md).
tier: Model tier for the draft (default 'pro').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| tier | No | pro | |
| brief | Yes | ||
| out_path | Yes | ||
| batch_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |