@dccxx/auggiegw 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.opencode/command/opsx-apply.md +149 -0
  2. package/.opencode/command/opsx-archive.md +154 -0
  3. package/.opencode/command/opsx-bulk-archive.md +239 -0
  4. package/.opencode/command/opsx-continue.md +111 -0
  5. package/.opencode/command/opsx-explore.md +171 -0
  6. package/.opencode/command/opsx-ff.md +91 -0
  7. package/.opencode/command/opsx-new.md +66 -0
  8. package/.opencode/command/opsx-onboard.md +522 -0
  9. package/.opencode/command/opsx-sync.md +131 -0
  10. package/.opencode/command/opsx-verify.md +161 -0
  11. package/.opencode/skills/openspec-apply-change/SKILL.md +156 -0
  12. package/.opencode/skills/openspec-archive-change/SKILL.md +114 -0
  13. package/.opencode/skills/openspec-bulk-archive-change/SKILL.md +246 -0
  14. package/.opencode/skills/openspec-continue-change/SKILL.md +118 -0
  15. package/.opencode/skills/openspec-explore/SKILL.md +290 -0
  16. package/.opencode/skills/openspec-ff-change/SKILL.md +101 -0
  17. package/.opencode/skills/openspec-new-change/SKILL.md +74 -0
  18. package/.opencode/skills/openspec-onboard/SKILL.md +529 -0
  19. package/.opencode/skills/openspec-sync-specs/SKILL.md +138 -0
  20. package/.opencode/skills/openspec-verify-change/SKILL.md +168 -0
  21. package/dist/cli.js +1171 -71
  22. package/openspec/changes/archive/2026-02-01-add-kit-install-prompts/.openspec.yaml +2 -0
  23. package/openspec/changes/archive/2026-02-01-add-kit-install-prompts/design.md +113 -0
  24. package/openspec/changes/archive/2026-02-01-add-kit-install-prompts/proposal.md +28 -0
  25. package/openspec/changes/archive/2026-02-01-add-kit-install-prompts/specs/kit-command/spec.md +107 -0
  26. package/openspec/changes/archive/2026-02-01-add-kit-install-prompts/specs/kit-install-prompts/spec.md +90 -0
  27. package/openspec/changes/archive/2026-02-01-add-kit-install-prompts/tasks.md +62 -0
  28. package/openspec/changes/archive/2026-02-01-add-opencode-agent-support/.openspec.yaml +2 -0
  29. package/openspec/changes/archive/2026-02-01-add-opencode-agent-support/design.md +131 -0
  30. package/openspec/changes/archive/2026-02-01-add-opencode-agent-support/proposal.md +35 -0
  31. package/openspec/changes/archive/2026-02-01-add-opencode-agent-support/specs/kit-command/spec.md +157 -0
  32. package/openspec/changes/archive/2026-02-01-add-opencode-agent-support/specs/opencode-agent-support/spec.md +65 -0
  33. package/openspec/changes/archive/2026-02-01-add-opencode-agent-support/tasks.md +54 -0
  34. package/openspec/config.yaml +20 -0
  35. package/package.json +2 -1
  36. package/specs/kit-command/spec.md +157 -0
  37. package/specs/kit-install-prompts/spec.md +90 -0
  38. package/specs/opencode-agent-support/spec.md +65 -0
@@ -0,0 +1,522 @@
1
+ ---
2
+ description: Guided onboarding - walk through a complete OpenSpec workflow cycle with narration
3
+ ---
4
+
5
+ Guide the user through their first complete OpenSpec workflow cycle. This is a teaching experience—you'll do real work in their codebase while explaining each step.
6
+
7
+ ---
8
+
9
+ ## Preflight
10
+
11
+ Before starting, check if OpenSpec is initialized:
12
+
13
+ ```bash
14
+ openspec status --json 2>&1 || echo "NOT_INITIALIZED"
15
+ ```
16
+
17
+ **If not initialized:**
18
+ > OpenSpec isn't set up in this project yet. Run `openspec init` first, then come back to `/opsx-onboard`.
19
+
20
+ Stop here if not initialized.
21
+
22
+ ---
23
+
24
+ ## Phase 1: Welcome
25
+
26
+ Display:
27
+
28
+ ```
29
+ ## Welcome to OpenSpec!
30
+
31
+ I'll walk you through a complete change cycle—from idea to implementation—using a real task in your codebase. Along the way, you'll learn the workflow by doing it.
32
+
33
+ **What we'll do:**
34
+ 1. Pick a small, real task in your codebase
35
+ 2. Explore the problem briefly
36
+ 3. Create a change (the container for our work)
37
+ 4. Build the artifacts: proposal → specs → design → tasks
38
+ 5. Implement the tasks
39
+ 6. Archive the completed change
40
+
41
+ **Time:** ~15-20 minutes
42
+
43
+ Let's start by finding something to work on.
44
+ ```
45
+
46
+ ---
47
+
48
+ ## Phase 2: Task Selection
49
+
50
+ ### Codebase Analysis
51
+
52
+ Scan the codebase for small improvement opportunities. Look for:
53
+
54
+ 1. **TODO/FIXME comments** - Search for `TODO`, `FIXME`, `HACK`, `XXX` in code files
55
+ 2. **Missing error handling** - `catch` blocks that swallow errors, risky operations without try-catch
56
+ 3. **Functions without tests** - Cross-reference `src/` with test directories
57
+ 4. **Type issues** - `any` types in TypeScript files (`: any`, `as any`)
58
+ 5. **Debug artifacts** - `console.log`, `console.debug`, `debugger` statements in non-debug code
59
+ 6. **Missing validation** - User input handlers without validation
60
+
61
+ Also check recent git activity:
62
+ ```bash
63
+ git log --oneline -10 2>/dev/null || echo "No git history"
64
+ ```
65
+
66
+ ### Present Suggestions
67
+
68
+ From your analysis, present 3-4 specific suggestions:
69
+
70
+ ```
71
+ ## Task Suggestions
72
+
73
+ Based on scanning your codebase, here are some good starter tasks:
74
+
75
+ **1. [Most promising task]**
76
+ Location: `src/path/to/file.ts:42`
77
+ Scope: ~1-2 files, ~20-30 lines
78
+ Why it's good: [brief reason]
79
+
80
+ **2. [Second task]**
81
+ Location: `src/another/file.ts`
82
+ Scope: ~1 file, ~15 lines
83
+ Why it's good: [brief reason]
84
+
85
+ **3. [Third task]**
86
+ Location: [location]
87
+ Scope: [estimate]
88
+ Why it's good: [brief reason]
89
+
90
+ **4. Something else?**
91
+ Tell me what you'd like to work on.
92
+
93
+ Which task interests you? (Pick a number or describe your own)
94
+ ```
95
+
96
+ **If nothing found:** Fall back to asking what the user wants to build:
97
+ > I didn't find obvious quick wins in your codebase. What's something small you've been meaning to add or fix?
98
+
99
+ ### Scope Guardrail
100
+
101
+ If the user picks or describes something too large (major feature, multi-day work):
102
+
103
+ ```
104
+ That's a valuable task, but it's probably larger than ideal for your first OpenSpec run-through.
105
+
106
+ For learning the workflow, smaller is better—it lets you see the full cycle without getting stuck in implementation details.
107
+
108
+ **Options:**
109
+ 1. **Slice it smaller** - What's the smallest useful piece of [their task]? Maybe just [specific slice]?
110
+ 2. **Pick something else** - One of the other suggestions, or a different small task?
111
+ 3. **Do it anyway** - If you really want to tackle this, we can. Just know it'll take longer.
112
+
113
+ What would you prefer?
114
+ ```
115
+
116
+ Let the user override if they insist—this is a soft guardrail.
117
+
118
+ ---
119
+
120
+ ## Phase 3: Explore Demo
121
+
122
+ Once a task is selected, briefly demonstrate explore mode:
123
+
124
+ ```
125
+ Before we create a change, let me quickly show you **explore mode**—it's how you think through problems before committing to a direction.
126
+ ```
127
+
128
+ Spend 1-2 minutes investigating the relevant code:
129
+ - Read the file(s) involved
130
+ - Draw a quick ASCII diagram if it helps
131
+ - Note any considerations
132
+
133
+ ```
134
+ ## Quick Exploration
135
+
136
+ [Your brief analysis—what you found, any considerations]
137
+
138
+ ┌─────────────────────────────────────────┐
139
+ │ [Optional: ASCII diagram if helpful] │
140
+ └─────────────────────────────────────────┘
141
+
142
+ Explore mode (`/opsx-explore`) is for this kind of thinking—investigating before implementing. You can use it anytime you need to think through a problem.
143
+
144
+ Now let's create a change to hold our work.
145
+ ```
146
+
147
+ **PAUSE** - Wait for user acknowledgment before proceeding.
148
+
149
+ ---
150
+
151
+ ## Phase 4: Create the Change
152
+
153
+ **EXPLAIN:**
154
+ ```
155
+ ## Creating a Change
156
+
157
+ A "change" in OpenSpec is a container for all the thinking and planning around a piece of work. It lives in `openspec/changes/<name>/` and holds your artifacts—proposal, specs, design, tasks.
158
+
159
+ Let me create one for our task.
160
+ ```
161
+
162
+ **DO:** Create the change with a derived kebab-case name:
163
+ ```bash
164
+ openspec new change "<derived-name>"
165
+ ```
166
+
167
+ **SHOW:**
168
+ ```
169
+ Created: `openspec/changes/<name>/`
170
+
171
+ The folder structure:
172
+ ```
173
+ openspec/changes/<name>/
174
+ ├── proposal.md ← Why we're doing this (empty, we'll fill it)
175
+ ├── design.md ← How we'll build it (empty)
176
+ ├── specs/ ← Detailed requirements (empty)
177
+ └── tasks.md ← Implementation checklist (empty)
178
+ ```
179
+
180
+ Now let's fill in the first artifact—the proposal.
181
+ ```
182
+
183
+ ---
184
+
185
+ ## Phase 5: Proposal
186
+
187
+ **EXPLAIN:**
188
+ ```
189
+ ## The Proposal
190
+
191
+ The proposal captures **why** we're making this change and **what** it involves at a high level. It's the "elevator pitch" for the work.
192
+
193
+ I'll draft one based on our task.
194
+ ```
195
+
196
+ **DO:** Draft the proposal content (don't save yet):
197
+
198
+ ```
199
+ Here's a draft proposal:
200
+
201
+ ---
202
+
203
+ ## Why
204
+
205
+ [1-2 sentences explaining the problem/opportunity]
206
+
207
+ ## What Changes
208
+
209
+ [Bullet points of what will be different]
210
+
211
+ ## Capabilities
212
+
213
+ ### New Capabilities
214
+ - `<capability-name>`: [brief description]
215
+
216
+ ### Modified Capabilities
217
+ <!-- If modifying existing behavior -->
218
+
219
+ ## Impact
220
+
221
+ - `src/path/to/file.ts`: [what changes]
222
+ - [other files if applicable]
223
+
224
+ ---
225
+
226
+ Does this capture the intent? I can adjust before we save it.
227
+ ```
228
+
229
+ **PAUSE** - Wait for user approval/feedback.
230
+
231
+ After approval, save the proposal:
232
+ ```bash
233
+ openspec instructions proposal --change "<name>" --json
234
+ ```
235
+ Then write the content to `openspec/changes/<name>/proposal.md`.
236
+
237
+ ```
238
+ Proposal saved. This is your "why" document—you can always come back and refine it as understanding evolves.
239
+
240
+ Next up: specs.
241
+ ```
242
+
243
+ ---
244
+
245
+ ## Phase 6: Specs
246
+
247
+ **EXPLAIN:**
248
+ ```
249
+ ## Specs
250
+
251
+ Specs define **what** we're building in precise, testable terms. They use a requirement/scenario format that makes expected behavior crystal clear.
252
+
253
+ For a small task like this, we might only need one spec file.
254
+ ```
255
+
256
+ **DO:** Create the spec file:
257
+ ```bash
258
+ mkdir -p openspec/changes/<name>/specs/<capability-name>
259
+ ```
260
+
261
+ Draft the spec content:
262
+
263
+ ```
264
+ Here's the spec:
265
+
266
+ ---
267
+
268
+ ## ADDED Requirements
269
+
270
+ ### Requirement: <Name>
271
+
272
+ <Description of what the system should do>
273
+
274
+ #### Scenario: <Scenario name>
275
+
276
+ - **WHEN** <trigger condition>
277
+ - **THEN** <expected outcome>
278
+ - **AND** <additional outcome if needed>
279
+
280
+ ---
281
+
282
+ This format—WHEN/THEN/AND—makes requirements testable. You can literally read them as test cases.
283
+ ```
284
+
285
+ Save to `openspec/changes/<name>/specs/<capability>/spec.md`.
286
+
287
+ ---
288
+
289
+ ## Phase 7: Design
290
+
291
+ **EXPLAIN:**
292
+ ```
293
+ ## Design
294
+
295
+ The design captures **how** we'll build it—technical decisions, tradeoffs, approach.
296
+
297
+ For small changes, this might be brief. That's fine—not every change needs deep design discussion.
298
+ ```
299
+
300
+ **DO:** Draft design.md:
301
+
302
+ ```
303
+ Here's the design:
304
+
305
+ ---
306
+
307
+ ## Context
308
+
309
+ [Brief context about the current state]
310
+
311
+ ## Goals / Non-Goals
312
+
313
+ **Goals:**
314
+ - [What we're trying to achieve]
315
+
316
+ **Non-Goals:**
317
+ - [What's explicitly out of scope]
318
+
319
+ ## Decisions
320
+
321
+ ### Decision 1: [Key decision]
322
+
323
+ [Explanation of approach and rationale]
324
+
325
+ ---
326
+
327
+ For a small task, this captures the key decisions without over-engineering.
328
+ ```
329
+
330
+ Save to `openspec/changes/<name>/design.md`.
331
+
332
+ ---
333
+
334
+ ## Phase 8: Tasks
335
+
336
+ **EXPLAIN:**
337
+ ```
338
+ ## Tasks
339
+
340
+ Finally, we break the work into implementation tasks—checkboxes that drive the apply phase.
341
+
342
+ These should be small, clear, and in logical order.
343
+ ```
344
+
345
+ **DO:** Generate tasks based on specs and design:
346
+
347
+ ```
348
+ Here are the implementation tasks:
349
+
350
+ ---
351
+
352
+ ## 1. [Category or file]
353
+
354
+ - [ ] 1.1 [Specific task]
355
+ - [ ] 1.2 [Specific task]
356
+
357
+ ## 2. Verify
358
+
359
+ - [ ] 2.1 [Verification step]
360
+
361
+ ---
362
+
363
+ Each checkbox becomes a unit of work in the apply phase. Ready to implement?
364
+ ```
365
+
366
+ **PAUSE** - Wait for user to confirm they're ready to implement.
367
+
368
+ Save to `openspec/changes/<name>/tasks.md`.
369
+
370
+ ---
371
+
372
+ ## Phase 9: Apply (Implementation)
373
+
374
+ **EXPLAIN:**
375
+ ```
376
+ ## Implementation
377
+
378
+ Now we implement each task, checking them off as we go. I'll announce each one and occasionally note how the specs/design informed the approach.
379
+ ```
380
+
381
+ **DO:** For each task:
382
+
383
+ 1. Announce: "Working on task N: [description]"
384
+ 2. Implement the change in the codebase
385
+ 3. Reference specs/design naturally: "The spec says X, so I'm doing Y"
386
+ 4. Mark complete in tasks.md: `- [ ]` → `- [x]`
387
+ 5. Brief status: "✓ Task N complete"
388
+
389
+ Keep narration light—don't over-explain every line of code.
390
+
391
+ After all tasks:
392
+
393
+ ```
394
+ ## Implementation Complete
395
+
396
+ All tasks done:
397
+ - [x] Task 1
398
+ - [x] Task 2
399
+ - [x] ...
400
+
401
+ The change is implemented! One more step—let's archive it.
402
+ ```
403
+
404
+ ---
405
+
406
+ ## Phase 10: Archive
407
+
408
+ **EXPLAIN:**
409
+ ```
410
+ ## Archiving
411
+
412
+ When a change is complete, we archive it. This moves it from `openspec/changes/` to `openspec/changes/archive/YYYY-MM-DD-<name>/`.
413
+
414
+ Archived changes become your project's decision history—you can always find them later to understand why something was built a certain way.
415
+ ```
416
+
417
+ **DO:**
418
+ ```bash
419
+ openspec archive "<name>"
420
+ ```
421
+
422
+ **SHOW:**
423
+ ```
424
+ Archived to: `openspec/changes/archive/YYYY-MM-DD-<name>/`
425
+
426
+ The change is now part of your project's history. The code is in your codebase, the decision record is preserved.
427
+ ```
428
+
429
+ ---
430
+
431
+ ## Phase 11: Recap & Next Steps
432
+
433
+ ```
434
+ ## Congratulations!
435
+
436
+ You just completed a full OpenSpec cycle:
437
+
438
+ 1. **Explore** - Thought through the problem
439
+ 2. **New** - Created a change container
440
+ 3. **Proposal** - Captured WHY
441
+ 4. **Specs** - Defined WHAT in detail
442
+ 5. **Design** - Decided HOW
443
+ 6. **Tasks** - Broke it into steps
444
+ 7. **Apply** - Implemented the work
445
+ 8. **Archive** - Preserved the record
446
+
447
+ This same rhythm works for any size change—a small fix or a major feature.
448
+
449
+ ---
450
+
451
+ ## Command Reference
452
+
453
+ | Command | What it does |
454
+ |---------|--------------|
455
+ | `/opsx-explore` | Think through problems before/during work |
456
+ | `/opsx-new` | Start a new change, step through artifacts |
457
+ | `/opsx-ff` | Fast-forward: create all artifacts at once |
458
+ | `/opsx-continue` | Continue working on an existing change |
459
+ | `/opsx-apply` | Implement tasks from a change |
460
+ | `/opsx-verify` | Verify implementation matches artifacts |
461
+ | `/opsx-archive` | Archive a completed change |
462
+
463
+ ---
464
+
465
+ ## What's Next?
466
+
467
+ Try `/opsx-new` or `/opsx-ff` on something you actually want to build. You've got the rhythm now!
468
+ ```
469
+
470
+ ---
471
+
472
+ ## Graceful Exit Handling
473
+
474
+ ### User wants to stop mid-way
475
+
476
+ If the user says they need to stop, want to pause, or seem disengaged:
477
+
478
+ ```
479
+ No problem! Your change is saved at `openspec/changes/<name>/`.
480
+
481
+ To pick up where we left off later:
482
+ - `/opsx-continue <name>` - Resume artifact creation
483
+ - `/opsx-apply <name>` - Jump to implementation (if tasks exist)
484
+
485
+ The work won't be lost. Come back whenever you're ready.
486
+ ```
487
+
488
+ Exit gracefully without pressure.
489
+
490
+ ### User just wants command reference
491
+
492
+ If the user says they just want to see the commands or skip the tutorial:
493
+
494
+ ```
495
+ ## OpenSpec Quick Reference
496
+
497
+ | Command | What it does |
498
+ |---------|--------------|
499
+ | `/opsx-explore` | Think through problems (no code changes) |
500
+ | `/opsx-new <name>` | Start a new change, step by step |
501
+ | `/opsx-ff <name>` | Fast-forward: all artifacts at once |
502
+ | `/opsx-continue <name>` | Continue an existing change |
503
+ | `/opsx-apply <name>` | Implement tasks |
504
+ | `/opsx-verify <name>` | Verify implementation |
505
+ | `/opsx-archive <name>` | Archive when done |
506
+
507
+ Try `/opsx-new` to start your first change, or `/opsx-ff` if you want to move fast.
508
+ ```
509
+
510
+ Exit gracefully.
511
+
512
+ ---
513
+
514
+ ## Guardrails
515
+
516
+ - **Follow the EXPLAIN → DO → SHOW → PAUSE pattern** at key transitions (after explore, after proposal draft, after tasks, after archive)
517
+ - **Keep narration light** during implementation—teach without lecturing
518
+ - **Don't skip phases** even if the change is small—the goal is teaching the workflow
519
+ - **Pause for acknowledgment** at marked points, but don't over-pause
520
+ - **Handle exits gracefully**—never pressure the user to continue
521
+ - **Use real codebase tasks**—don't simulate or use fake examples
522
+ - **Adjust scope gently**—guide toward smaller tasks but respect user choice
@@ -0,0 +1,131 @@
1
+ ---
2
+ description: Sync delta specs from a change to main specs
3
+ ---
4
+
5
+ Sync delta specs from a change to main specs.
6
+
7
+ This is an **agent-driven** operation - you will read delta specs and directly edit main specs to apply the changes. This allows intelligent merging (e.g., adding a scenario without copying the entire requirement).
8
+
9
+ **Input**: Optionally specify a change name after `/opsx-sync` (e.g., `/opsx-sync add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
10
+
11
+ **Steps**
12
+
13
+ 1. **If no change name provided, prompt for selection**
14
+
15
+ Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
16
+
17
+ Show changes that have delta specs (under `specs/` directory).
18
+
19
+ **IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
20
+
21
+ 2. **Find delta specs**
22
+
23
+ Look for delta spec files in `openspec/changes/<name>/specs/*/spec.md`.
24
+
25
+ Each delta spec file contains sections like:
26
+ - `## ADDED Requirements` - New requirements to add
27
+ - `## MODIFIED Requirements` - Changes to existing requirements
28
+ - `## REMOVED Requirements` - Requirements to remove
29
+ - `## RENAMED Requirements` - Requirements to rename (FROM:/TO: format)
30
+
31
+ If no delta specs found, inform user and stop.
32
+
33
+ 3. **For each delta spec, apply changes to main specs**
34
+
35
+ For each capability with a delta spec at `openspec/changes/<name>/specs/<capability>/spec.md`:
36
+
37
+ a. **Read the delta spec** to understand the intended changes
38
+
39
+ b. **Read the main spec** at `openspec/specs/<capability>/spec.md` (may not exist yet)
40
+
41
+ c. **Apply changes intelligently**:
42
+
43
+ **ADDED Requirements:**
44
+ - If requirement doesn't exist in main spec → add it
45
+ - If requirement already exists → update it to match (treat as implicit MODIFIED)
46
+
47
+ **MODIFIED Requirements:**
48
+ - Find the requirement in main spec
49
+ - Apply the changes - this can be:
50
+ - Adding new scenarios (don't need to copy existing ones)
51
+ - Modifying existing scenarios
52
+ - Changing the requirement description
53
+ - Preserve scenarios/content not mentioned in the delta
54
+
55
+ **REMOVED Requirements:**
56
+ - Remove the entire requirement block from main spec
57
+
58
+ **RENAMED Requirements:**
59
+ - Find the FROM requirement, rename to TO
60
+
61
+ d. **Create new main spec** if capability doesn't exist yet:
62
+ - Create `openspec/specs/<capability>/spec.md`
63
+ - Add Purpose section (can be brief, mark as TBD)
64
+ - Add Requirements section with the ADDED requirements
65
+
66
+ 4. **Show summary**
67
+
68
+ After applying all changes, summarize:
69
+ - Which capabilities were updated
70
+ - What changes were made (requirements added/modified/removed/renamed)
71
+
72
+ **Delta Spec Format Reference**
73
+
74
+ ```markdown
75
+ ## ADDED Requirements
76
+
77
+ ### Requirement: New Feature
78
+ The system SHALL do something new.
79
+
80
+ #### Scenario: Basic case
81
+ - **WHEN** user does X
82
+ - **THEN** system does Y
83
+
84
+ ## MODIFIED Requirements
85
+
86
+ ### Requirement: Existing Feature
87
+ #### Scenario: New scenario to add
88
+ - **WHEN** user does A
89
+ - **THEN** system does B
90
+
91
+ ## REMOVED Requirements
92
+
93
+ ### Requirement: Deprecated Feature
94
+
95
+ ## RENAMED Requirements
96
+
97
+ - FROM: `### Requirement: Old Name`
98
+ - TO: `### Requirement: New Name`
99
+ ```
100
+
101
+ **Key Principle: Intelligent Merging**
102
+
103
+ Unlike programmatic merging, you can apply **partial updates**:
104
+ - To add a scenario, just include that scenario under MODIFIED - don't copy existing scenarios
105
+ - The delta represents *intent*, not a wholesale replacement
106
+ - Use your judgment to merge changes sensibly
107
+
108
+ **Output On Success**
109
+
110
+ ```
111
+ ## Specs Synced: <change-name>
112
+
113
+ Updated main specs:
114
+
115
+ **<capability-1>**:
116
+ - Added requirement: "New Feature"
117
+ - Modified requirement: "Existing Feature" (added 1 scenario)
118
+
119
+ **<capability-2>**:
120
+ - Created new spec file
121
+ - Added requirement: "Another Feature"
122
+
123
+ Main specs are now updated. The change remains active - archive when implementation is complete.
124
+ ```
125
+
126
+ **Guardrails**
127
+ - Read both delta and main specs before making changes
128
+ - Preserve existing content not mentioned in delta
129
+ - If something is unclear, ask for clarification
130
+ - Show what you're changing as you go
131
+ - The operation should be idempotent - running twice should give same result