Initial Commit
This commit is contained in:
61
openspec/templates/spec-delta.md
Normal file
61
openspec/templates/spec-delta.md
Normal file
@@ -0,0 +1,61 @@
|
||||
<!-- markdownlint-disable MD024 -->
|
||||
|
||||
# Capability Spec Delta: <capability> (<change-id>)
|
||||
|
||||
**Package**: `@suaveplan/<pkg>`
|
||||
**Status**: PROPOSED
|
||||
|
||||
> Every requirement below carries a `**Verified by:**` line at authoring time. No exceptions. (See `openspec/AGENTS.md` Section 13.)
|
||||
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: <Name in plain English>
|
||||
|
||||
The package SHALL <one-sentence behavior contract>. <Optional: one or two sentences of context — what callers can rely on, what they can't.>
|
||||
|
||||
#### Scenario: <one observable behavior>
|
||||
|
||||
- **WHEN** <precondition / call site>
|
||||
- **THEN** <observable outcome — a thing a test can assert>
|
||||
|
||||
#### Scenario: <another observable behavior>
|
||||
|
||||
- **WHEN** <…>
|
||||
- **THEN** <…>
|
||||
|
||||
**Verified by:** `src/<feature>/<feature>.test.ts::"<exact it title>"` AND `src/<feature>/<feature>.spec-conformance.test.ts::"<exact it title>"`
|
||||
|
||||
---
|
||||
|
||||
### Requirement: <Next requirement>
|
||||
|
||||
…
|
||||
|
||||
**Verified by:** `<file>::"<title>"` AND `<file>::"<title>"`
|
||||
|
||||
## MODIFIED Requirements
|
||||
|
||||
> Use this section when a requirement already exists in `openspec/specs/<cap>/spec.md` and you are changing its body or scenarios. Quote the full new requirement body — reviewers compare it against the existing folded spec.
|
||||
|
||||
### Requirement: <Existing name, unchanged or reworded>
|
||||
|
||||
<New body.>
|
||||
|
||||
#### Scenario: <new or modified scenario>
|
||||
|
||||
- **WHEN** <…>
|
||||
- **THEN** <…>
|
||||
|
||||
**Verified by:** `<file>::"<title>"`
|
||||
|
||||
## REMOVED Requirements
|
||||
|
||||
> Use this section when a requirement is being deleted. Cite the deprecation notice or the change that replaces it.
|
||||
|
||||
### Requirement: <Name being removed>
|
||||
|
||||
**Reason:** <why; link to replacement change-id if any>
|
||||
|
||||
**Migration:** <what callers should do>
|
||||
|
||||
<!-- markdownlint-enable MD024 -->
|
||||
Reference in New Issue
Block a user