Skip to content

Greenfield projects can complete speckit with no PRD/SPECIFICATION export and no prompt #433

@MScottAdams

Description

@MScottAdams

Summary

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

  1. New empty repo. Install deft. No PRD.md or SPECIFICATION.md exists.
  2. Run an agent through deft-directive-setup -> Phase 2 -> Phase 3 (speckit strategy) -> Phase 4 (Tasks).
  3. 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.
  4. Run 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.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 mentioning task 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:

  1. 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.

  2. 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.

  3. 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."

  4. 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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions