Assemble the kickoff file plan
kickoff_planGenerate project kickoff files (templates, decision log, conventions) from interview answers. Idempotent: skips existing files; returns file contents and unresolved tokens.
Instructions
Assemble, from the bundled templates, the four _template.md copies (front-matter tokens replaced), decision-log.md, and a filled AGENT_CONVENTIONS.md (kickoff guide Steps 2–5). Supply project_type, the interview answers, optional detected (brownfield pre-fill fallback), and optional existing (the agent's inventory of files already present). Returns { files: [{ path, content, action }], missing, open_questions, warnings }. The plan is ready iff missing is empty (D5 strict); a file with any unresolved {{…}} token is reported in missing. Idempotent: already-present files are 'review'/'skip', never overwritten. The server returns content + paths only — it writes nothing (Model C, D2/D6).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | Confirmed interview answers keyed by token id (e.g. PROJECT_NAME, LOCKED_DOCS). | |
| detected | No | Facts the agent detected by inspecting the repo (brownfield only). | |
| existing | No | Agent inventory of files already present in the target (for idempotent re-runs). | |
| project_type | Yes | 'greenfield' or 'brownfield'. |