You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user can complete the entire speckit workflow on a greenfield project and end up with no PRD.md, no SPECIFICATION.md, and no prompt anywhere asking whether to create them. The vBRIEF is fully populated, but the human-readable exports never come into existence.
This is a follow-up gap from #398's deliberate "warn if present, ignore if absent" design.
Reproduction
New empty repo. Install deft. No PRD.md or SPECIFICATION.md exists.
Run an agent through deft-directive-setup -> Phase 2 -> Phase 3 (speckit strategy) -> Phase 4 (Tasks).
Inspect the project: vbrief/PROJECT-DEFINITION.vbrief.json, vbrief/specification.vbrief.json, vbrief/plan.vbrief.json are all populated. PRD.md and SPECIFICATION.md do not exist.
deft-directive-setup/SKILL.md correctly forbids the agent from generating an authoritative PRD.md:
Anti-pattern: "Generate an authoritative PRD.md -- PRD.md is a read-only export via task prd:render, never a source of truth"
speckit.md Phase 3 mentions task spec:render (see companion issue), but never mentions task prd:render at all -- speckit's Artifacts Summary table goes directly from specification.vbrief.json to "Code + tests" with no PRD step.
deft-directive-pre-pr auto-renders both at PR-prep time (per #398), but a solo user / agentic walkthrough that never opens a PR never hits that hook.
task check skips when files are absent (per #398).
Result: nothing in the greenfield path tells the user "by the way, there are human-readable exports you can generate."
Why this is its own issue (not part of the speckit-render bug)
The companion issue is about speckit saying! Run task spec:render and not enforcing it. This issue is about speckit not even mentioningtask prd:render, plus #398's silent-on-absent behavior making the discoverability problem invisible.
Even if the speckit-render bug is fixed, a greenfield user still won't be told about task prd:render unless a) speckit's Artifacts Summary is updated, b) task check nags on absent exports for spec'd projects, or c) deft-directive-setup ends with a "you may want to render exports now" prompt.
Proposed fix (sketch)
Pick one or combine:
Speckit Artifacts Summary: add a "3c. Render PRD" step (analogous to "3b. Render SPECIFICATION") so PRD is at least mentioned in the canonical workflow doc.
Setup skill end-of-flow prompt: at the end of deft-directive-setup Phase 3, after the spec is written and approved, ask the user: "Would you like to generate SPECIFICATION.md and/or PRD.md now? (recommended for stakeholder review)" -- one-time opt-in.
task check opt-in nudge: when vbrief/specification.vbrief.json exists but neither export does, emit a one-line info (not a warning) on first run only: "tip: task spec:render / task prd:render produce human-readable exports."
Status quo (no change): accept that solo users who never invoke render commands and never open a PR will never see the exports. Documented as intended behavior.
Workflow / discoverability gap. No data loss (vBRIEF is source of truth). Affects greenfield + agentic workflows specifically. Existing brownfield projects already have the exports, so this is invisible to anyone who migrated.
Discovered
During greenfield walkthrough of speckit Phase 1-4 in agentic mode.
Summary
A user can complete the entire speckit workflow on a greenfield project and end up with no
PRD.md, noSPECIFICATION.md, and no prompt anywhere asking whether to create them. The vBRIEF is fully populated, but the human-readable exports never come into existence.This is a follow-up gap from #398's deliberate "warn if present, ignore if absent" design.
Reproduction
PRD.mdorSPECIFICATION.mdexists.deft-directive-setup-> Phase 2 -> Phase 3 (speckit strategy) -> Phase 4 (Tasks).vbrief/PROJECT-DEFINITION.vbrief.json,vbrief/specification.vbrief.json,vbrief/plan.vbrief.jsonare all populated.PRD.mdandSPECIFICATION.mddo not exist.task check. Per Auto-render PRD.md and SPECIFICATION.md when specification.vbrief.json changes #398's "skip silently if absent" rule, no warning. The user never learns the exports exist.Why this happens
deft-directive-setup/SKILL.mdcorrectly forbids the agent from generating an authoritativePRD.md:speckit.mdPhase 3 mentionstask spec:render(see companion issue), but never mentionstask prd:renderat all -- speckit's Artifacts Summary table goes directly fromspecification.vbrief.jsonto "Code + tests" with no PRD step.deft-directive-pre-prauto-renders both at PR-prep time (per #398), but a solo user / agentic walkthrough that never opens a PR never hits that hook.task checkskips when files are absent (per #398).Result: nothing in the greenfield path tells the user "by the way, there are human-readable exports you can generate."
Why this is its own issue (not part of the speckit-render bug)
The companion issue is about speckit saying
! Run task spec:renderand not enforcing it. This issue is about speckit not even mentioningtask prd:render, plus #398's silent-on-absent behavior making the discoverability problem invisible.Even if the speckit-render bug is fixed, a greenfield user still won't be told about
task prd:renderunless a) speckit's Artifacts Summary is updated, b)task checknags on absent exports for spec'd projects, or c)deft-directive-setupends with a "you may want to render exports now" prompt.Proposed fix (sketch)
Pick one or combine:
Speckit Artifacts Summary: add a "3c. Render PRD" step (analogous to "3b. Render SPECIFICATION") so PRD is at least mentioned in the canonical workflow doc.
Setup skill end-of-flow prompt: at the end of
deft-directive-setupPhase 3, after the spec is written and approved, ask the user: "Would you like to generateSPECIFICATION.mdand/orPRD.mdnow? (recommended for stakeholder review)" -- one-time opt-in.task checkopt-in nudge: whenvbrief/specification.vbrief.jsonexists but neither export does, emit a one-line info (not a warning) on first run only: "tip:task spec:render/task prd:renderproduce human-readable exports."Status quo (no change): accept that solo users who never invoke render commands and never open a PR will never see the exports. Documented as intended behavior.
Related
task prd:render.! task spec:render.Severity
Workflow / discoverability gap. No data loss (vBRIEF is source of truth). Affects greenfield + agentic workflows specifically. Existing brownfield projects already have the exports, so this is invisible to anyone who migrated.
Discovered
During greenfield walkthrough of speckit Phase 1-4 in agentic mode.