added pi config files
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
---
|
||||
name: sdd-full
|
||||
description: Run the full SDD lifecycle for a change when explicitly approved.
|
||||
---
|
||||
|
||||
## sdd-init
|
||||
|
||||
output: init.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Initialize SDD context for {task} before any planning or implementation. If `openspec/config.yaml` is missing, inspect the project and create it automatically. If it already exists, read it, refresh only safe derived context when appropriate, and report the current SDD/testing configuration without blocking the chain.
|
||||
|
||||
## sdd-explore
|
||||
|
||||
reads: init.md
|
||||
output: exploration.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Explore {task}. Identify scope, risks, dependencies, prior art, and whether the change should proceed into proposal.
|
||||
|
||||
## sdd-proposal
|
||||
|
||||
reads: exploration.md
|
||||
output: proposal.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Create or update the OpenSpec proposal for {task} using the exploration notes and the previous step output.
|
||||
|
||||
## sdd-spec
|
||||
|
||||
reads: proposal.md
|
||||
output: spec.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Write delta specs for {task} from the approved proposal. Preserve RFC 2119 requirements and Given/When/Then scenarios.
|
||||
|
||||
## sdd-design
|
||||
|
||||
reads: proposal.md+spec.md
|
||||
output: design.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Design the technical approach for {task} using the proposal, specs, and previous outputs. Call out review and judgment risks.
|
||||
|
||||
## sdd-tasks
|
||||
|
||||
reads: proposal.md+spec.md+design.md
|
||||
output: tasks.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Create strict-TDD, reviewable implementation tasks for {task}. Include the required Review Workload Forecast guard lines and PR split recommendation.
|
||||
|
||||
## sdd-apply
|
||||
|
||||
reads: proposal.md+spec.md+design.md+tasks.md
|
||||
output: apply-progress.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Implement only approved tasks for {task}; enforce strict TDD when active and stop before writing if workload decisions are unresolved. Update OpenSpec tasks and apply-progress with evidence.
|
||||
|
||||
## sdd-verify
|
||||
|
||||
reads: proposal.md+spec.md+design.md+tasks.md+apply-progress.md
|
||||
output: verify-report.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Verify {task} against specs, design, tasks, implementation, apply-progress, strict TDD evidence, assertion quality, and review workload boundaries.
|
||||
|
||||
## sdd-sync
|
||||
|
||||
reads: proposal.md+spec.md+design.md+tasks.md+apply-progress.md+verify-report.md
|
||||
output: sync-report.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Sync verified file-backed delta specs for {task} into `openspec/specs/` without archiving. In Engram-only mode, report that canonical sync is not applicable.
|
||||
|
||||
## sdd-archive
|
||||
|
||||
reads: verify-report.md+sync-report.md
|
||||
output: archive-report.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Archive {task} only when the verification report passes and file-backed sync is complete or not applicable; otherwise report that archive is blocked and preserve active artifacts.
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
name: sdd-plan
|
||||
description: Plan an SDD change through proposal, spec, design, and tasks.
|
||||
---
|
||||
|
||||
## sdd-init
|
||||
|
||||
output: init.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Initialize SDD context for {task} before planning. If `openspec/config.yaml` is missing, inspect the project and create it automatically. If it already exists, read it and report the current SDD/testing configuration without blocking the chain.
|
||||
|
||||
## sdd-proposal
|
||||
|
||||
reads: init.md
|
||||
output: proposal.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Create or update the OpenSpec proposal for {task}. Use prior exploration if it is available in the project artifacts.
|
||||
|
||||
## sdd-spec
|
||||
|
||||
reads: proposal.md
|
||||
output: spec.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Write delta specs for {task} using the proposal and previous output. Keep requirements and scenarios acceptance-focused.
|
||||
|
||||
## sdd-design
|
||||
|
||||
reads: proposal.md+spec.md
|
||||
output: design.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Design the technical approach for {task}. Preserve native SDD orchestration intent and identify review/judgment risks.
|
||||
|
||||
## sdd-tasks
|
||||
|
||||
reads: proposal.md+spec.md+design.md
|
||||
output: tasks.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Create reviewable strict-TDD implementation tasks for {task}. Include workload forecast and any required delivery decision.
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
name: sdd-verify
|
||||
description: Apply, verify, and optionally archive an already planned SDD change.
|
||||
---
|
||||
|
||||
## sdd-init
|
||||
|
||||
output: init.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Initialize SDD context for {task} before apply/verify. If `openspec/config.yaml` is missing, inspect the project and create it automatically. If it already exists, read it and report the current SDD/testing configuration without blocking the chain.
|
||||
|
||||
## sdd-apply
|
||||
|
||||
reads: init.md
|
||||
output: apply-progress.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Implement pending approved tasks for {task}; update OpenSpec tasks and apply-progress with strict TDD evidence.
|
||||
|
||||
## sdd-verify
|
||||
|
||||
reads: init.md+apply-progress.md
|
||||
output: verify-report.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Run focused and full verification for {task} using the apply-progress and project artifacts. Include review/judgment blockers.
|
||||
|
||||
## sdd-sync
|
||||
|
||||
reads: init.md+apply-progress.md+verify-report.md
|
||||
output: sync-report.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Sync verified file-backed delta specs for {task} into `openspec/specs/` without archiving. In Engram-only mode, report that canonical sync is not applicable.
|
||||
|
||||
## sdd-archive
|
||||
|
||||
reads: verify-report.md+sync-report.md
|
||||
output: archive-report.md
|
||||
outputMode: file-only
|
||||
progress: true
|
||||
|
||||
Archive {task} only when verification succeeds and file-backed sync is complete or not applicable. If verification or sync fails, leave artifacts active and report the blocker.
|
||||
Reference in New Issue
Block a user