Skip to content

Commit aba4d2e

Browse files
committed
fix: complete terminology cleanup - protocol specification → specification
Additional cleanup of remaining 'protocol specification' references: - SDS commands: implement, constitution, tasks, specify - SDD commands: plan, specify - Templates: spec-template, README, base templates - 20+ occurrences updated across 10 files Now fully consistent: - Directory: specs/domain/ (domain specifications) - Terminology: specification (not protocol specification) - Only exception: actual protocol names (e.g. 'MCP protocol')
1 parent 96e5eca commit aba4d2e

File tree

10 files changed

+24
-24
lines changed

10 files changed

+24
-24
lines changed

src/metaspec/templates/base/.metaspec/README.md.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
This document is for **speckit developers** who want to:
1010
- Add new features to {{ name }}
1111
- Improve existing toolkit functionality
12-
- Define or evolve protocol specifications
12+
- Define or evolve domain specifications
1313
- Maintain toolkit quality
1414

1515
If you just want to **use** {{ name }}, see the root `AGENTS.md` and `README.md`.
@@ -22,11 +22,11 @@ This speckit includes 16 AI-assisted development commands organized in three lay
2222

2323
### Layer 1: SDS (Spec-Driven Specification) - 5 Commands
2424

25-
Define domain protocol specifications:
25+
Define domain domain specifications:
2626

2727
- `/metaspec.sds.constitution` - Define protocol design principles
2828
- `/metaspec.sds.specify` - Define protocol entities, operations, validation rules
29-
- `/metaspec.sds.clarify` - Resolve ambiguities in protocol specification
29+
- `/metaspec.sds.clarify` - Resolve ambiguities in domain specification
3030
- `/metaspec.sds.checklist` - Generate quality checklist for protocol
3131
- `/metaspec.sds.analyze` - Check protocol consistency
3232

src/metaspec/templates/base/specs/README.md.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Only for very simple toolkits without formal protocols. **Default: Always separa
182182
## 💡 Best Practices
183183

184184
1. **Protocol Spec First, Toolkit Spec Second**: Define Feature 1 (protocol spec) before Feature 2 (toolkit spec)
185-
2. **Separate Concerns**: Keep protocol specification separate from toolkit specification
185+
2. **Separate Concerns**: Keep domain specification separate from toolkit specification
186186
3. **Explicit Dependencies**: Feature 2 must explicitly depend on Feature 1
187187
4. **Clarify Early**: Use `/sdx.clarify` if requirements are unclear (before planning)
188188
5. **Validate Before Coding**: Use `/sdx.checklist` and `/sdx.analyze` before `/sdx.implement`

src/metaspec/templates/meta/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ generated-speckit/
203203
│ └── metaspec.archive.md
204204
205205
├── specs/
206-
│ ├── protocol/ ← SDS output (protocol specifications)
206+
│ ├── domain/ ← SDS output (domain specifications)
207207
│ └── toolkit/ ← SDD output (toolkit specifications)
208208
209209
└── changes/ ← Evolution output (change management, at same level as specs/)
@@ -353,7 +353,7 @@ Project root
353353
```
354354

355355
**Key Principles**:
356-
1. **specs/domain/** - Independent protocol specifications, can be published and referenced separately
356+
1. **specs/domain/** - Independent domain specifications, can be published and referenced separately
357357
2. **specs/toolkit/** - Explicitly depends on protocol/, implements specific tools
358358
3. **changes/** - Manages evolution of both, maintains change history (at project root)
359359

src/metaspec/templates/meta/sdd/commands/plan.md.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This command must handle two types of specifications:
4545
- ✅ Create `specs/toolkit/001-toolkit/plan.md` (the HOW)
4646

4747
**Step 1c: For Feature 1 (Protocol Spec)** :
48-
- ⚠️ **Ask user**: "Feature 1 is a protocol specification and typically doesn't need a plan.md. Are you sure you want to create one?"
48+
- ⚠️ **Ask user**: "Feature 1 is a domain specification and typically doesn't need a plan.md. Are you sure you want to create one?"
4949
- If yes, proceed with simplified planning
5050
- If no, suggest: "Run `/metaspec.plan` in Feature 2 (toolkit spec) instead"
5151

src/metaspec/templates/meta/sdd/commands/specify.md.j2

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ check-transition
650650
**What they are**: Spec-driven execution guides with embedded protocol knowledge
651651
**Where they go**: `templates/{source}/commands/` directory (organized by specification system source)
652652
**How AI uses them**: Via `/` prefix in AI chat (Cursor, Windsurf, etc.)
653-
**Core purpose**: Guide AI to **produce outputs that comply with protocol specifications**
653+
**Core purpose**: Guide AI to **produce outputs that comply with domain specifications**
654654

655655
**Key Distinction**:
656656
- ❌ **NOT**: "How to call CLI commands" (wrapper documentation)
@@ -698,7 +698,7 @@ model: claude-3-5-sonnet-20241022
698698
**IMPORTANT**: Slash Commands come from **TWO sources** and can be **composed**:
699699

700700
#### Source 1: Protocol-Derived (Custom)
701-
- **From**: SDS protocol specification (`specs/domain/`)
701+
- **From**: SDS domain specification (`specs/domain/`)
702702
- **Nature**: Dynamic, protocol-specific, tailored
703703
- **Process**: Analyze protocol → Derive commands
704704
- **Examples**: `get-template`, `validate`, workflow actions
@@ -740,11 +740,11 @@ Option C: Composed (Recommended)
740740

741741
#### Source 1: Protocol-Derived Commands (Custom)
742742

743-
**Overview**: Derive commands by analyzing your protocol specification and extracting domain-specific terminology.
743+
**Overview**: Derive commands by analyzing your domain specification and extracting domain-specific terminology.
744744

745745
**STEP 1: Analyze Protocol Specification**
746746

747-
**Before defining Slash Commands**, analyze the SDS protocol specification in `specs/domain/`.
747+
**Before defining Slash Commands**, analyze the SDS domain specification in `specs/domain/`.
748748

749749
**Questions to Ask**:
750750

@@ -1190,7 +1190,7 @@ scripts/powershell/{script-name}.ps1 -Json "$ARGUMENTS"
11901190

11911191
2. **AI Produces Content**
11921192
- Read script output (file paths)
1193-
- Load protocol specification
1193+
- Load domain specification
11941194
- Fill skeleton with protocol-compliant content
11951195

11961196
3. **Verify Structure**
@@ -1215,7 +1215,7 @@ scripts/powershell/{script-name}.ps1 -Json "$ARGUMENTS"
12151215

12161216
```markdown
12171217
---
1218-
description: Validate output against protocol specifications
1218+
description: Validate output against domain specifications
12191219
argument-hint: [file-to-validate] # Optional: show expected arguments
12201220
allowed-tools: Bash({toolkit-name}:validate:*) # Only allow validation tools
12211221
model: claude-3-5-haiku-20241022 # Can use lighter model for simple reminders
@@ -1380,7 +1380,7 @@ Each Slash Command contains:
13801380
- [ ] Provides protocol-based templates
13811381
- [ ] AI can produce compliant output without external reference
13821382

1383-
**Summary**: Source 1 provides a 7-STEP process to derive custom Slash Commands from your protocol specification, ensuring domain-specific terminology and spec-driven execution.
1383+
**Summary**: Source 1 provides a 7-STEP process to derive custom Slash Commands from your domain specification, ensuring domain-specific terminology and spec-driven execution.
13841384

13851385
---
13861386

src/metaspec/templates/meta/sds/commands/constitution.md.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Define design principles and governance rules for the domain protocol specification
2+
description: Define design principles and governance rules for the domain specification
33
---
44

55
## User Input
@@ -14,7 +14,7 @@ You **MUST** consider the user input before proceeding (if not empty).
1414

1515
You are creating or updating the **protocol constitution** at `/memory/protocol-constitution.md`. This document defines the foundational principles that govern how this domain protocol is specified, ensuring it remains clear, implementable, and maintainable.
1616

17-
Unlike toolkit development principles, this constitution focuses on **protocol specification quality** - it guides decisions about entity definitions, validation rules, operation interfaces, and error handling specifications.
17+
Unlike toolkit development principles, this constitution focuses on **specification quality** - it guides decisions about entity definitions, validation rules, operation interfaces, and error handling specifications.
1818

1919
Follow this execution flow:
2020

@@ -141,7 +141,7 @@ Replace all placeholders with concrete text. The constitution should include:
141141
[Any domain-specific principles beyond the standard 6]
142142

143143
## Specification Constraints
144-
[Requirements for protocol specifications: formats, schemas, documentation]
144+
[Requirements for specifications: formats, schemas, documentation]
145145

146146
## Governance
147147
[Amendment process, review schedule, approval requirements]

src/metaspec/templates/meta/sds/commands/implement.md.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You **MUST** consider the user input before proceeding (if not empty).
1414

1515
**Goal**: Execute specification writing tasks systematically, following task order, respecting dependencies, and tracking progress.
1616

17-
**Important**: This command runs AFTER `/metaspec.sds.tasks`. It is the execution engine for protocol specification development.
17+
**Important**: This command runs AFTER `/metaspec.sds.tasks`. It is the execution engine for specification development.
1818

1919
### Execution Flow
2020

@@ -812,7 +812,7 @@ error_response:
812812
5. Create git tag v1.0.0
813813

814814
💡 Suggested commit message:
815-
docs: complete protocol specification system v1.0.0
815+
docs: complete specification system v1.0.0
816816
```
817817

818818
#### 10. Incremental Saves

src/metaspec/templates/meta/sds/commands/specify.md.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Brief overview of the protocol.
526526

527527
## Files
528528

529-
- `spec.md` - Complete protocol specification
529+
- `spec.md` - Complete domain specification
530530
- `schema.{format}` - Schema files (if applicable)
531531

532532
## Status
@@ -535,7 +535,7 @@ Brief overview of the protocol.
535535

536536
## Quick Start
537537

538-
{How to read and use this protocol specification}
538+
{How to read and use this domain specification}
539539
```
540540

541541
### 6. Update Dependencies (If needed)
@@ -589,7 +589,7 @@ If this protocol depends on other protocols, document in spec.md:
589589
✓ Validation Rules: {count} rules specified
590590

591591
🔄 Next steps:
592-
1. Review protocol specification
592+
1. Review domain specification
593593
2. Run /metaspec.sds.analyze to check consistency
594594
3. Create toolkit with /metaspec.sdd.specify
595595
```

src/metaspec/templates/meta/sds/commands/tasks.md.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You **MUST** consider the user input before proceeding (if not empty).
1212

1313
## Outline
1414

15-
**Goal**: Break down protocol specification work into specific, executable tasks organized by sub-specification and ordered by dependencies.
15+
**Goal**: Break down specification work into specific, executable tasks organized by sub-specification and ordered by dependencies.
1616

1717
**Important**: This command runs AFTER `/metaspec.sds.plan`. It transforms architecture plan into actionable specification tasks.
1818

src/metaspec/templates/meta/templates/spec-template.md.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ templates/
422422
├── [library-spec-2]/ # Another library specification system
423423
│ ├── commands/
424424
│ └── templates/
425-
└── [custom]/ # Custom (derived from protocol specification)
425+
└── [custom]/ # Custom (derived from domain specification)
426426
├── commands/ # Protocol-specific Slash Commands
427427
│ └── [command-name].md
428428
└── templates/ # Protocol entity templates

0 commit comments

Comments
 (0)