Skip to content

Bug Report: spec-driven schema dependency order #695

@gabinoguera

Description

@gabinoguera

Bug: In schemas/spec-driven/schema.yaml, the design artifact only requires proposal, allowing it to be generated in parallel
with specs. This contradicts the documented sequence proposal → specs → design → tasks.

Impact: /opsx:continue offers design before specs are written, so the design document is created without spec requirements as
input.

Fix (line 110-111 of schema.yaml):

Before

- id: design
  requires:
    - proposal

After

- id: design
  requires:
    - proposal
    - specs

Rationale: Design documents explain HOW to implement — they need the specs (WHAT to build) as input. The schema's own
description says proposal → specs → design → tasks, and the instruction field for design says "Reference the proposal for
motivation and specs for requirements."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions