name: scope-delta description: Scope intentional change as a delta. Define applies-to specs/requirements, risks, and closure targets before implementation.
You are converting intent into a concrete change bundle.
Inputs:
- Target requirements/specs, or a backlog item.
- Policy/doctrine constraints (including any revision-first gate).
Process:
- Read:
.spec-driver/agents/workflow.md.spec-driver/agents/policy.md.spec-driver/hooks/doctrine.md
- If revision-first is required and missing, stop and run
/shape-revision. - Create delta:
- From scratch:
uv run spec-driver create delta "<title>" --spec SPEC-XXX --requirement SPEC-XXX.FR-001
- From backlog item:
uv run spec-driver create delta --from-backlog ISSUE-XXX--from-backlogauto-populatescontext_inputsandrelationsfrom the source item.
- When creating a delta motivated by a backlog item (even without
--from-backlog), ensure:context_inputsincludestype: issue(or appropriate type) with the backlog item IDrelationsincludestype: relates_to(or more specific type) with the backlog item ID as targetapplies_to.requirementsincludes any requirement IDs from the backlog item
- From scratch:
- Ensure delivery bundle is present and usable:
DE-XXX.mdDR-XXX.md(if non-trivial change)IP-XXX.md
- Update
DE-XXX.mdto make scope explicit:applies_tospecs/requirements- Context inputs and risks
- Verification/closure intent
- You MUST run
/draft-design-revisionbefore/plan-phasesunless explicitly instructed by the user to skip a DR. - Do not treat IP or phase creation as a substitute for missing design.
/plan-phasescomes after DR work, not instead of it. - Run
/plan-phasesto create/refine phase sheets before implementation.
Outcomes:
- A delta exists with clear scope and traceability targets.
- A DR has been fleshed out with a robust design, and
DE-XXXis consistent with it. - Next step (design/planning/implementation) is explicit.