Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.
To PRD
Turn settled choices into one reviewable PRD. The result is an approved specification that to-tasks can translate into executable slices.
Boundary
Receive .ai-workflow/work/<feature-slug>/decision-record.md with status ready-for-prd. Produce .ai-workflow/work/<feature-slug>/prd.md first with status draft, then with status approved after the user accepts it.
Read shared/references/workflow-stage-routing.md before writing. This step preserves settled choices. It does not open fresh architecture choices, prescribe test mechanics, select files, or decide an implementation model or effort level.
Do not call a panel, a runner, models-consensus, design-gate, security-gate, or test-lens. If the user explicitly wants additional opinions, direct them to invoke models-consensus. When the input has a material missing decision or a conflict with repository facts, return the exact question to interview-me. Do not guess or conduct a second interview here.
Work
- Confirm that the decision record status is
ready-for-prd, then read it with the relevant code, domain glossary, and prior architecture decisions. A draft record returns tointerview-me. Respect the already decided choices. If repository facts contradict a settled choice, describe the conflict and return it tointerview-mebefore producing an approvable PRD.
- Write the PRD draft at the stated path. Start it with
# PRD: <feature name>and**Status:** draft.
- Include these sections:
- Problem and goals.
- User stories or user journeys.
- Observable acceptance outcomes, including important failure behavior.
- Product, domain, integration, and data decisions that are already settled.
- Security decisions, or
No exposed security surface. - Rollout and rollback constraints.
- Out of scope items, assumptions, and remaining risks.
- Keep the PRD at the decision level. Do not include file paths, code snippets, design patterns, or test mechanics. A prototype snippet belongs only when it is the decision itself and cannot be expressed precisely in prose.
- Present the draft path and its material choices for review. Ask the user to approve it or request changes. Revise only from the settled record or user corrections.
- On approval, change the PRD status to
approved. The approved PRD is the only inputto-tasksaccepts. The next step isto-tasks.
Acceptance contract
The PRD exists at .ai-workflow/work/<feature-slug>/prd.md. It has no unresolved decision that would force task planning to guess. Its status is approved before task planning begins.

