@applica-software-guru/sdd-core 1.8.1 → 1.8.3

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 (90) hide show
  1. package/dist/agent/agent-defaults.js +2 -2
  2. package/dist/agent/agent-defaults.js.map +1 -1
  3. package/dist/agent/agent-runner.d.ts +17 -0
  4. package/dist/agent/agent-runner.d.ts.map +1 -1
  5. package/dist/agent/agent-runner.js +163 -11
  6. package/dist/agent/agent-runner.js.map +1 -1
  7. package/dist/agent/worker-daemon.d.ts +12 -0
  8. package/dist/agent/worker-daemon.d.ts.map +1 -0
  9. package/dist/agent/worker-daemon.js +220 -0
  10. package/dist/agent/worker-daemon.js.map +1 -0
  11. package/dist/git/git.d.ts +6 -0
  12. package/dist/git/git.d.ts.map +1 -1
  13. package/dist/git/git.js +60 -0
  14. package/dist/git/git.js.map +1 -1
  15. package/dist/index.d.ts +8 -3
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +19 -3
  18. package/dist/index.js.map +1 -1
  19. package/dist/parser/bug-parser.d.ts.map +1 -1
  20. package/dist/parser/bug-parser.js +2 -1
  21. package/dist/parser/bug-parser.js.map +1 -1
  22. package/dist/parser/cr-parser.d.ts.map +1 -1
  23. package/dist/parser/cr-parser.js +2 -1
  24. package/dist/parser/cr-parser.js.map +1 -1
  25. package/dist/prompt/draft-prompt-generator.d.ts +1 -1
  26. package/dist/prompt/draft-prompt-generator.d.ts.map +1 -1
  27. package/dist/prompt/draft-prompt-generator.js +23 -35
  28. package/dist/prompt/draft-prompt-generator.js.map +1 -1
  29. package/dist/prompt/prompt-generator.d.ts.map +1 -1
  30. package/dist/prompt/prompt-generator.js +5 -0
  31. package/dist/prompt/prompt-generator.js.map +1 -1
  32. package/dist/remote/api-client.d.ts +2 -2
  33. package/dist/remote/api-client.d.ts.map +1 -1
  34. package/dist/remote/api-client.js +4 -4
  35. package/dist/remote/api-client.js.map +1 -1
  36. package/dist/remote/sync-engine.d.ts.map +1 -1
  37. package/dist/remote/sync-engine.js +13 -8
  38. package/dist/remote/sync-engine.js.map +1 -1
  39. package/dist/remote/worker-client.d.ts +22 -0
  40. package/dist/remote/worker-client.d.ts.map +1 -0
  41. package/dist/remote/worker-client.js +88 -0
  42. package/dist/remote/worker-client.js.map +1 -0
  43. package/dist/remote/worker-types.d.ts +38 -0
  44. package/dist/remote/worker-types.d.ts.map +1 -0
  45. package/dist/remote/worker-types.js +3 -0
  46. package/dist/remote/worker-types.js.map +1 -0
  47. package/dist/scaffold/skill-adapters.d.ts +0 -9
  48. package/dist/scaffold/skill-adapters.d.ts.map +1 -1
  49. package/dist/scaffold/skill-adapters.js +17 -0
  50. package/dist/scaffold/skill-adapters.js.map +1 -1
  51. package/dist/scaffold/templates.d.ts +1 -5
  52. package/dist/scaffold/templates.d.ts.map +1 -1
  53. package/dist/scaffold/templates.generated.d.ts +7 -0
  54. package/dist/scaffold/templates.generated.d.ts.map +1 -0
  55. package/dist/scaffold/templates.generated.js +482 -0
  56. package/dist/scaffold/templates.generated.js.map +1 -0
  57. package/dist/scaffold/templates.js +8 -338
  58. package/dist/scaffold/templates.js.map +1 -1
  59. package/dist/sdd.d.ts +0 -1
  60. package/dist/sdd.d.ts.map +1 -1
  61. package/dist/sdd.js +1 -18
  62. package/dist/sdd.js.map +1 -1
  63. package/package.json +2 -1
  64. package/scripts/generate-templates.mjs +38 -0
  65. package/src/agent/agent-defaults.ts +2 -2
  66. package/src/agent/agent-runner.ts +184 -12
  67. package/src/agent/worker-daemon.ts +254 -0
  68. package/src/git/git.ts +61 -0
  69. package/src/index.ts +8 -3
  70. package/src/parser/bug-parser.ts +5 -3
  71. package/src/parser/cr-parser.ts +5 -3
  72. package/src/prompt/draft-prompt-generator.ts +26 -38
  73. package/src/prompt/prompt-generator.ts +8 -0
  74. package/src/remote/api-client.ts +2 -2
  75. package/src/remote/sync-engine.ts +16 -15
  76. package/src/remote/worker-client.ts +141 -0
  77. package/src/remote/worker-types.ts +40 -0
  78. package/src/scaffold/skill-adapters.ts +18 -11
  79. package/src/scaffold/templates.generated.ts +484 -0
  80. package/src/scaffold/templates.ts +9 -342
  81. package/src/sdd.ts +1 -19
  82. package/tests/agent-defaults.test.ts +24 -0
  83. package/tests/api-client.test.ts +6 -6
  84. package/tests/draft-prompt.test.ts +78 -0
  85. package/dist/prompt/apply-prompt-generator.d.ts +0 -4
  86. package/dist/prompt/apply-prompt-generator.d.ts.map +0 -1
  87. package/dist/prompt/apply-prompt-generator.js +0 -97
  88. package/dist/prompt/apply-prompt-generator.js.map +0 -1
  89. package/src/prompt/apply-prompt-generator.ts +0 -117
  90. package/tests/apply.test.ts +0 -117
@@ -0,0 +1,482 @@
1
+ "use strict";
2
+ // @generated — DO NOT EDIT. Source of truth: packages/skill/
3
+ // Regenerate with: node packages/core/scripts/generate-templates.mjs
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.BUGS_REFERENCE = exports.CHANGE_REQUESTS_REFERENCE = exports.FILE_FORMAT_REFERENCE = exports.SKILL_REMOTE_MD_TEMPLATE = exports.SKILL_UI_MD_TEMPLATE = exports.SKILL_MD_TEMPLATE = void 0;
6
+ exports.SKILL_MD_TEMPLATE = `---
7
+ name: sdd
8
+ description: >
9
+ Story Driven Development workflow. Use when working in a project
10
+ with .sdd/config.yaml, or when the user mentions SDD, sdd sync,
11
+ story driven development, or spec-driven development.
12
+ license: MIT
13
+ compatibility: Requires sdd CLI (npm i -g @applica-software-guru/sdd)
14
+ allowed-tools: Bash(sdd:*) Read Glob Grep
15
+ metadata:
16
+ author: applica-software-guru
17
+ version: "1.0"
18
+ ---
19
+
20
+ # SDD — Story Driven Development
21
+
22
+ ## Detection
23
+
24
+ This project uses SDD if \`.sdd/config.yaml\` exists in the project root.
25
+
26
+ ## Workflow
27
+
28
+ Follow this loop every time you work on an SDD project:
29
+
30
+ 1. Run \`sdd bug open\` — check if there are open bugs to fix first
31
+ 2. If there are open bugs, fix the code/docs, then run \`sdd mark-bug-resolved\`
32
+ 3. Run \`sdd cr pending\` — check if there are change requests to process
33
+ 4. If there are pending CRs, apply them to the docs, then run \`sdd mark-cr-applied\`
34
+ 5. Run \`sdd sync\` to see what needs to be implemented
35
+ 6. Read the documentation files listed in the sync output
36
+ 7. Implement what each file describes, writing code inside \`code/\`
37
+ 8. After implementing, mark files as synced:
38
+
39
+ \`\`\`
40
+ sdd mark-synced product/features/auth.md
41
+ \`\`\`
42
+
43
+ Or mark all pending files at once:
44
+
45
+ \`\`\`
46
+ sdd mark-synced
47
+ \`\`\`
48
+
49
+ 9. **Commit immediately after mark-synced** — this is mandatory:
50
+
51
+ \`\`\`
52
+ git add -A && git commit -m "sdd sync: <brief description of what was implemented>"
53
+ \`\`\`
54
+
55
+ Do NOT skip this step. Every mark-synced must be followed by a git commit.
56
+
57
+ 10. If remote sync is configured (remote section in \`.sdd/config.yaml\` and API key available), remind the user they can publish updates with:
58
+
59
+ \`\`\`
60
+ sdd push
61
+ \`\`\`
62
+
63
+ ### Removing a feature
64
+
65
+ If a documentation file has \`status: deleted\`, it means that feature should be removed.
66
+ Delete the related code in \`code/\`, then run \`sdd mark-synced <file>\` (the doc file will be removed automatically), then commit.
67
+
68
+ ## Available commands
69
+
70
+ - \`sdd status\` — See all documentation files and their state (new/changed/deleted/synced)
71
+ - \`sdd diff\` — See what changed since last sync
72
+ - \`sdd sync\` — Get the sync prompt for pending files (includes git diff for changed files)
73
+ - \`sdd validate\` — Check for broken references and issues
74
+ - \`sdd mark-synced [files...]\` — Mark specific files (or all) as synced
75
+ - \`sdd cr list\` — List all change requests with their status
76
+ - \`sdd cr pending\` — Show pending change requests to process
77
+ - \`sdd mark-cr-applied [files...]\` — Mark change requests as applied
78
+ - \`sdd bug list\` — List all bugs with their status
79
+ - \`sdd bug open\` — Show open bugs to fix
80
+ - \`sdd mark-bug-resolved [files...]\` — Mark bugs as resolved
81
+
82
+ ## Rules
83
+
84
+ 1. **Always commit after mark-synced** — run \`git add -A && git commit -m "sdd sync: ..."\` immediately after \`sdd mark-synced\`. Never leave synced files uncommitted.
85
+ 2. Before running \`sdd sync\`, check for open bugs with \`sdd bug open\` and pending change requests with \`sdd cr pending\`
86
+ 3. If there are pending CRs, apply them to the docs first, then mark them with \`sdd mark-cr-applied\`
87
+ 4. Only implement what the sync prompt asks for
88
+ 5. All generated code goes inside \`code/\`
89
+ 6. Respect all constraints in \`## Agent Notes\` sections (if present)
90
+ 7. Do not edit files inside \`.sdd/\` manually
91
+ 8. If remote is configured, suggest \`sdd push\` after successful local sync + commit
92
+
93
+ ## Project structure
94
+
95
+ - \`product/\` — What to build (vision, users, features)
96
+ - \`system/\` — How to build it (entities, architecture, tech stack, interfaces)
97
+ - \`code/\` — All generated source code goes here
98
+ - \`change-requests/\` — Change requests to the documentation
99
+ - \`bugs/\` — Bug reports
100
+ - \`.sdd/\` — Project config and sync state (do not edit)
101
+
102
+ ## References
103
+
104
+ For detailed information on specific topics, see:
105
+
106
+ - [File format and status lifecycle](references/file-format.md)
107
+ - [Change Requests workflow](references/change-requests.md)
108
+ - [Bug workflow](references/bugs.md)
109
+ - [Remote pull/enrich/push workflow](../sdd-remote/SKILL.md)
110
+ - [UI Component workflow](../sdd-ui/SKILL.md)
111
+ `;
112
+ exports.SKILL_UI_MD_TEMPLATE = `---
113
+ name: sdd-ui
114
+ description: >
115
+ UI Component Editor workflow. Use when the user wants to implement a React component
116
+ from a screenshot in an SDD project, iterating visually with live preview.
117
+ license: MIT
118
+ compatibility: >
119
+ Requires sdd CLI (npm i -g @applica-software-guru/sdd).
120
+ Requires Playwright MCP configured in Claude Code
121
+ (e.g. @playwright/mcp or @executeautomation/playwright-mcp).
122
+ allowed-tools: Bash(sdd:*) Read Glob Grep Edit Write mcp__playwright__screenshot mcp__playwright__navigate mcp__playwright__click
123
+ metadata:
124
+ author: applica-software-guru
125
+ version: "1.1"
126
+ ---
127
+
128
+ # SDD UI — Visual Component Editor
129
+
130
+ ## Purpose
131
+
132
+ Use this workflow when implementing a React component from a screenshot reference in an SDD project.
133
+ The split-panel editor shows the spec screenshot on the left and the live component on the right,
134
+ so you can iterate visually until they match.
135
+
136
+ ## Prerequisites
137
+
138
+ - \`sdd\` CLI installed globally
139
+ - Playwright MCP configured in Claude Code settings
140
+ - e.g. \`@playwright/mcp\` or \`@executeautomation/playwright-mcp\`
141
+ - If not configured, inform the user and stop — visual feedback won't work without it
142
+
143
+ ## Workflow
144
+
145
+ ### Step 1 — Read the spec
146
+
147
+ Read the SDD feature file to understand what the component should look like and do.
148
+ Look for any screenshot paths referenced in the feature doc.
149
+
150
+ ### Step 2 — Launch the editor
151
+
152
+ \`\`\`bash
153
+ # Single screenshot — detached (recommended when run by an agent)
154
+ sdd ui launch-editor LoginForm \\
155
+ --screenshot product/features/auth/login.png \\
156
+ --detach
157
+
158
+ # Multiple screenshots (e.g. desktop + mobile)
159
+ sdd ui launch-editor LoginForm \\
160
+ --screenshot product/features/auth/login-desktop.png \\
161
+ --screenshot product/features/auth/login-mobile.png \\
162
+ --detach
163
+ \`\`\`
164
+
165
+ The command will:
166
+ - Scaffold \`code/components/LoginForm.tsx\` if it doesn't exist
167
+ - Print the exact component file path to edit
168
+ - Start the editor at \`http://localhost:5174\`
169
+
170
+ With \`--detach\` the process runs in background and the terminal is immediately free.
171
+ Without \`--detach\` it runs in foreground (use Ctrl+C to stop).
172
+
173
+ With multiple screenshots, the left panel shows a tab per screenshot.
174
+ With a single screenshot, no tab bar is shown.
175
+
176
+ ### Step 3 — Implement the component
177
+
178
+ Edit the file printed by \`sdd ui launch-editor\` (e.g. \`code/components/LoginForm.tsx\`).
179
+
180
+ Write a React component that matches the screenshot. Use standard HTML/CSS or inline styles —
181
+ no external UI library unless the project already uses one.
182
+
183
+ Vite HMR will update the right panel automatically on every save.
184
+
185
+ ### Step 4 — Visual check with Playwright
186
+
187
+ After each save, screenshot the live preview and compare it with the spec:
188
+
189
+ \`\`\`
190
+ mcp__playwright__navigate http://localhost:5174
191
+ mcp__playwright__screenshot
192
+ \`\`\`
193
+
194
+ The left panel already shows the spec screenshot for direct comparison.
195
+ Note differences in layout, spacing, typography, colors, and component structure.
196
+
197
+ ### Step 5 — Iterate
198
+
199
+ Edit component → Playwright screenshot → compare → repeat until the preview matches the spec.
200
+
201
+ ### Step 6 — Finalize
202
+
203
+ \`\`\`bash
204
+ sdd ui stop
205
+ sdd mark-synced product/features/auth/login.md
206
+ git add -A && git commit -m "sdd sync: implement LoginForm component"
207
+ \`\`\`
208
+
209
+ ## Notes
210
+
211
+ - The component file is permanent — it lives in \`code/components/\` and is part of your project
212
+ - Port \`5174\` by default (not \`5173\`) to avoid conflicts with the user's app dev server
213
+ - If the component needs props, scaffold it with hardcoded sample data for the preview
214
+
215
+ ## Troubleshooting
216
+
217
+ **Playwright MCP not configured:**
218
+ Stop and ask the user to add it to their Claude Code MCP settings before continuing.
219
+
220
+ **Component import fails in preview:**
221
+ Check that the component file has a valid default export and no TypeScript errors.
222
+
223
+ **Port already in use:**
224
+ \`sdd ui launch-editor LoginForm --screenshot login.png --port 5175\`
225
+ `;
226
+ exports.SKILL_REMOTE_MD_TEMPLATE = `---
227
+ name: sdd-remote
228
+ description: >
229
+ Remote sync workflow for Story Driven Development. Use when the user asks
230
+ to update local state from remote changes, process remote drafts, and push
231
+ enriched items back. Also applies when running a remote worker job (enrich
232
+ or sync).
233
+ license: MIT
234
+ compatibility: Requires sdd CLI (npm i -g @applica-software-guru/sdd)
235
+ allowed-tools: Bash(sdd:*) Read Glob Grep
236
+ metadata:
237
+ author: applica-software-guru
238
+ version: "1.1"
239
+ ---
240
+
241
+ # SDD Remote - Pull, Enrich, Push
242
+
243
+ ## Purpose
244
+
245
+ Use this skill to synchronize local SDD docs with remote updates, enrich draft content,
246
+ and publish the enriched result to remote in active states.
247
+
248
+ This skill also applies when a **remote worker job** is dispatched from SDD Flow, as the
249
+ worker runs these same workflows on behalf of the user.
250
+
251
+ ## Detection
252
+
253
+ This workflow applies when:
254
+
255
+ - \`.sdd/config.yaml\` exists in the project root
256
+ - The user asks to update local state from remote, pull pending CRs/bugs/docs,
257
+ enrich drafts, or push pending remote updates
258
+ - A remote worker job prompt instructs you to follow this workflow
259
+
260
+ ## Workflows
261
+
262
+ ### Enrich Workflow (CR)
263
+
264
+ Follow this sequence to enrich a draft Change Request:
265
+
266
+ 1. Pull remote updates:
267
+
268
+ \`\`\`bash
269
+ sdd pull --crs-only
270
+ \`\`\`
271
+
272
+ 3. Generate draft TODO list:
273
+
274
+ \`\`\`bash
275
+ sdd drafts
276
+ \`\`\`
277
+
278
+ 4. Enrich the draft with technical details, acceptance criteria, edge cases, and
279
+ any relevant information from the project documentation and comments.
280
+
281
+ 5. Transition the enriched CR to pending:
282
+
283
+ \`\`\`bash
284
+ sdd mark-drafts-enriched
285
+ \`\`\`
286
+
287
+ This performs: \`draft → pending\`
288
+
289
+ 6. Push the enriched content:
290
+
291
+ \`\`\`bash
292
+ sdd push
293
+ \`\`\`
294
+
295
+ ### Enrich Workflow (Document)
296
+
297
+ Follow this sequence to enrich a document:
298
+
299
+ 1. Pull remote updates:
300
+
301
+ \`\`\`bash
302
+ sdd pull --docs-only
303
+ \`\`\`
304
+
305
+ 3. Locate the document file in \`product/\` or \`system/\` and update its content
306
+ with the enriched version.
307
+
308
+ 4. Push the enriched content:
309
+
310
+ \`\`\`bash
311
+ sdd push
312
+ \`\`\`
313
+
314
+ If the document was in \`draft\` status, it will transition to \`new\` on the server.
315
+
316
+ ### Sync Workflow (Project-level)
317
+
318
+ Follow this sequence for a full project sync (all pending items):
319
+
320
+ 1. Pull the latest specs:
321
+
322
+ \`\`\`bash
323
+ sdd pull
324
+ \`\`\`
325
+
326
+ 3. Run the \`sdd\` skill — it handles the full loop: open bugs, pending CRs,
327
+ documentation sync, code implementation, mark-synced, and commit.
328
+
329
+ 4. Push:
330
+
331
+ \`\`\`bash
332
+ sdd push
333
+ \`\`\`
334
+
335
+ ## Rules
336
+
337
+ 1. Always check remote configuration before pull/push (\`sdd remote status\`)
338
+ 3. Do not use \`sdd push --all\` unless the user explicitly asks for a full reseed
339
+ 4. If pull reports conflicts, do not overwrite local files blindly; report conflicts and ask how to proceed
340
+ 5. Do not edit files inside \`.sdd/\` manually
341
+ 6. Keep status transitions explicit: enrich first, then \`sdd mark-drafts-enriched\`, then push
342
+ 7. **Always commit before pushing** when the sync workflow makes code changes
343
+
344
+ ## Related commands
345
+
346
+ - \`sdd remote init\`
347
+ - \`sdd remote status\`
348
+ - \`sdd pull\`
349
+ - \`sdd drafts\`
350
+ - \`sdd mark-drafts-enriched\`
351
+ - \`sdd sync\`
352
+ - \`sdd mark-synced\`
353
+ - \`sdd push\`
354
+ `;
355
+ exports.FILE_FORMAT_REFERENCE = `# File Format and Status Lifecycle
356
+
357
+ ## YAML Frontmatter
358
+
359
+ Every \`.md\` file in \`product/\` and \`system/\` must start with this YAML frontmatter:
360
+
361
+ \`\`\`yaml
362
+ ---
363
+ title: "File title"
364
+ status: new
365
+ author: ""
366
+ last-modified: "2025-01-01T00:00:00.000Z"
367
+ version: "1.0"
368
+ ---
369
+ \`\`\`
370
+
371
+ ## Status values
372
+
373
+ - **\`new\`** — new file, needs to be implemented
374
+ - **\`changed\`** — modified since last sync, code needs updating
375
+ - **\`deleted\`** — feature to be removed, agent should delete related code
376
+ - **\`synced\`** — already implemented, up to date
377
+
378
+ ## Version
379
+
380
+ Patch-bump on each edit: 1.0 → 1.1 → 1.2
381
+
382
+ ## Last-modified
383
+
384
+ ISO 8601 datetime, updated on each edit.
385
+
386
+ ## How sync works
387
+
388
+ \`sdd sync\` generates a structured prompt for the agent based on pending files:
389
+
390
+ - **\`new\` files**: the agent reads the full documentation and implements it from scratch
391
+ - **\`changed\` files**: SDD uses \`git diff\` to compute what changed in the documentation since the last commit, and includes the diff in the sync prompt — this way the agent sees exactly what was modified and can update only the affected code
392
+ - **\`deleted\` files**: the agent removes the related code
393
+
394
+ This is why **committing after every mark-synced is mandatory** — the git history is what SDD uses to detect changes.
395
+
396
+ ## UX and screenshots
397
+
398
+ When a feature has UX mockups or screenshots, place them next to the feature doc:
399
+
400
+ - **Simple feature** (no screenshots): \`product/features/auth.md\`
401
+ - **Feature with screenshots**: use a folder with \`index.md\`:
402
+
403
+ \`\`\`
404
+ product/features/auth/
405
+ index.md ← feature doc
406
+ login.png ← screenshot
407
+ register.png ← screenshot
408
+ \`\`\`
409
+
410
+ Reference images in the markdown with relative paths:
411
+
412
+ \`\`\`markdown
413
+ ## UX
414
+
415
+ ![Login screen](login.png)
416
+ ![Register screen](register.png)
417
+ \`\`\`
418
+
419
+ Both formats work — use a folder only when you have screenshots or multiple files for a feature.
420
+ `;
421
+ exports.CHANGE_REQUESTS_REFERENCE = `# Change Requests
422
+
423
+ Change Requests (CRs) are markdown files in \`change-requests/\` that describe modifications to the documentation.
424
+
425
+ ## CR format
426
+
427
+ \`\`\`yaml
428
+ ---
429
+ title: "Add authentication feature"
430
+ status: draft
431
+ author: "user"
432
+ created-at: "2025-01-01T00:00:00.000Z"
433
+ ---
434
+ \`\`\`
435
+
436
+ - **status**: \`draft\` (pending) or \`applied\` (already processed)
437
+ - **status**: \`draft\` (needs enrichment), \`pending\` (ready to process), or \`applied\` (already processed)
438
+
439
+ ## CR workflow
440
+
441
+ 1. Check for pending CRs: \`sdd cr pending\`
442
+ 2. Read each pending CR and apply the described changes to the documentation files (marking them as \`new\`, \`changed\`, or \`deleted\`)
443
+ 3. After applying a CR to the docs, mark it: \`sdd mark-cr-applied change-requests/CR-001.md\`
444
+ 4. Then run \`sdd sync\` to implement the code changes
445
+
446
+ ## CR commands
447
+
448
+ - \`sdd cr list\` — See all change requests and their status
449
+ - \`sdd cr pending\` — Show only pending CRs to process
450
+ - \`sdd mark-cr-applied [files...]\` — Mark CRs as applied after updating the docs
451
+ `;
452
+ exports.BUGS_REFERENCE = `# Bugs
453
+
454
+ Bugs are markdown files in \`bugs/\` that describe problems found in the codebase.
455
+
456
+ ## Bug format
457
+
458
+ \`\`\`yaml
459
+ ---
460
+ title: "Login fails with empty password"
461
+ status: open
462
+ author: "user"
463
+ created-at: "2025-01-01T00:00:00.000Z"
464
+ ---
465
+ \`\`\`
466
+
467
+ - **status**: \`draft\` (needs enrichment), \`open\` (needs fixing), or \`resolved\` (already fixed)
468
+
469
+ ## Bug workflow
470
+
471
+ 1. Check for open bugs: \`sdd bug open\`
472
+ 2. Read each open bug and fix the code and/or documentation
473
+ 3. After fixing a bug, mark it: \`sdd mark-bug-resolved bugs/BUG-001.md\`
474
+ 4. Commit the fix
475
+
476
+ ## Bug commands
477
+
478
+ - \`sdd bug list\` — See all bugs and their status
479
+ - \`sdd bug open\` — Show only open bugs to fix
480
+ - \`sdd mark-bug-resolved [files...]\` — Mark bugs as resolved after fixing
481
+ `;
482
+ //# sourceMappingURL=templates.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates.generated.js","sourceRoot":"","sources":["../../src/scaffold/templates.generated.ts"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,qEAAqE;;;AAExD,QAAA,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGhC,CAAC;AAEW,QAAA,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHnC,CAAC;AAEW,QAAA,wBAAwB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgIvC,CAAC;AAEW,QAAA,qBAAqB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEpC,CAAC;AAEW,QAAA,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BxC,CAAC;AAEW,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B7B,CAAC"}