maestro-flow 0.3.12 → 0.3.13
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.
- package/.claude/CLAUDE.md +7 -0
- package/.claude/agents/workflow-analyzer.md +0 -1
- package/.claude/agents/workflow-collab-planner.md +0 -1
- package/.claude/agents/workflow-debugger.md +0 -1
- package/.claude/agents/workflow-integration-checker.md +2 -2
- package/.claude/agents/workflow-nyquist-auditor.md +0 -1
- package/.claude/agents/workflow-phase-researcher.md +2 -2
- package/.claude/agents/workflow-plan-checker.md +1 -1
- package/.claude/agents/workflow-planner.md +1 -2
- package/.claude/agents/workflow-roadmapper.md +1 -1
- package/.claude/agents/workflow-verifier.md +0 -1
- package/.claude/commands/learn-retro.md +2 -2
- package/.claude/commands/learn-second-opinion.md +2 -2
- package/.claude/commands/maestro-analyze.md +10 -2
- package/.claude/commands/maestro-brainstorm.md +1 -1
- package/.claude/commands/maestro-execute.md +21 -4
- package/.claude/commands/maestro-milestone-complete.md +14 -0
- package/.claude/commands/maestro-plan.md +12 -6
- package/.claude/commands/maestro-roadmap.md +1 -1
- package/.claude/commands/maestro-ui-design.md +7 -7
- package/.claude/commands/maestro-update.md +176 -0
- package/.claude/commands/maestro-verify.md +18 -3
- package/.claude/commands/manage-codebase-rebuild.md +0 -1
- package/.claude/commands/manage-harvest.md +1 -1
- package/.claude/commands/manage-learn.md +5 -5
- package/.claude/commands/manage-memory-capture.md +4 -4
- package/.claude/commands/manage-memory.md +1 -1
- package/.claude/commands/manage-wiki.md +62 -0
- package/.claude/commands/quality-business-test.md +2 -2
- package/.claude/commands/quality-debug.md +53 -7
- package/.claude/commands/quality-retrospective.md +5 -5
- package/.claude/commands/quality-review.md +39 -7
- package/.claude/commands/quality-sync.md +1 -1
- package/.claude/commands/quality-test-gen.md +1 -1
- package/.claude/commands/quality-test.md +45 -12
- package/.claude/commands/spec-remove.md +51 -0
- package/.claude/commands/spec-setup.md +1 -3
- package/.claude/commands/wiki-connect.md +9 -5
- package/.claude/commands/wiki-digest.md +6 -3
- package/.codex/skills/maestro/SKILL.md +2 -2
- package/.codex/skills/maestro-analyze/SKILL.md +4 -4
- package/.codex/skills/maestro-brainstorm/SKILL.md +4 -4
- package/.codex/skills/maestro-coordinate/SKILL.md +2 -2
- package/.codex/skills/maestro-execute/SKILL.md +15 -5
- package/.codex/skills/maestro-init/SKILL.md +1 -1
- package/.codex/skills/maestro-milestone-complete/SKILL.md +18 -1
- package/.codex/skills/maestro-plan/SKILL.md +6 -6
- package/.codex/skills/maestro-roadmap/SKILL.md +3 -4
- package/.codex/skills/maestro-spec-generate/SKILL.md +2 -2
- package/.codex/skills/maestro-ui-design/SKILL.md +6 -6
- package/.codex/skills/maestro-verify/SKILL.md +20 -11
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +4 -4
- package/.codex/skills/manage-harvest/SKILL.md +10 -1
- package/.codex/skills/manage-issue-discover/SKILL.md +3 -3
- package/.codex/skills/manage-learn/SKILL.md +3 -2
- package/.codex/skills/manage-memory/SKILL.md +3 -3
- package/.codex/skills/manage-memory-capture/SKILL.md +8 -14
- package/.codex/skills/manage-status/SKILL.md +9 -4
- package/.codex/skills/manage-wiki/SKILL.md +55 -0
- package/.codex/skills/quality-business-test/SKILL.md +8 -6
- package/.codex/skills/quality-debug/SKILL.md +22 -9
- package/.codex/skills/quality-integration-test/SKILL.md +11 -7
- package/.codex/skills/quality-retrospective/SKILL.md +45 -26
- package/.codex/skills/quality-review/SKILL.md +10 -7
- package/.codex/skills/quality-test/SKILL.md +9 -4
- package/.codex/skills/quality-test-gen/SKILL.md +13 -9
- package/.codex/skills/spec-add/SKILL.md +11 -3
- package/.codex/skills/spec-load/SKILL.md +7 -0
- package/.codex/skills/spec-map/SKILL.md +2 -2
- package/.codex/skills/spec-remove/SKILL.md +101 -0
- package/.codex/skills/spec-setup/SKILL.md +4 -8
- package/.codex/skills/wiki-connect/SKILL.md +6 -5
- package/.codex/skills/wiki-digest/SKILL.md +2 -2
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.d.ts +9 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +109 -9
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.test.js +49 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/index.js +5 -4
- package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/specs.d.ts +5 -13
- package/dashboard/dist-server/dashboard/src/server/routes/specs.js +97 -155
- package/dashboard/dist-server/dashboard/src/server/routes/specs.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.d.ts +11 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js +27 -6
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js +25 -7
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/graph-analysis.js +8 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/graph-analysis.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.d.ts +29 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js +148 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js +4 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +8 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.d.ts +5 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +80 -38
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js +8 -6
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +40 -5
- package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js +21 -23
- package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.d.ts +33 -3
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js +184 -12
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js.map +1 -1
- package/dashboard/dist-server/src/commands/delegate.js +26 -0
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/graph-types.d.ts +11 -1
- package/dashboard/dist-server/src/coordinator/graph-walker.js +29 -2
- package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/prompt-assembler.js +3 -2
- package/dashboard/dist-server/src/coordinator/prompt-assembler.js.map +1 -1
- package/dashboard/dist-server/src/hooks/constants.d.ts +29 -60
- package/dashboard/dist-server/src/hooks/constants.js +105 -82
- package/dashboard/dist-server/src/hooks/constants.js.map +1 -1
- package/dashboard/dist-server/src/types/index.d.ts +2 -1
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +26 -0
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/hooks.d.ts +2 -4
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +4 -7
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.d.ts +2 -3
- package/dist/src/commands/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.js +1 -1
- package/dist/src/commands/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.js +1 -2
- package/dist/src/commands/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/commands/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallFlow.js +5 -7
- package/dist/src/commands/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/commands/install-ui/StatuslineConfig.d.ts +3 -6
- package/dist/src/commands/install-ui/StatuslineConfig.d.ts.map +1 -1
- package/dist/src/commands/install-ui/StatuslineConfig.js +21 -17
- package/dist/src/commands/install-ui/StatuslineConfig.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +95 -0
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +75 -11
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/coordinator/graph-types.d.ts +11 -1
- package/dist/src/coordinator/graph-types.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.js +29 -2
- package/dist/src/coordinator/graph-walker.js.map +1 -1
- package/dist/src/coordinator/prompt-assembler.d.ts.map +1 -1
- package/dist/src/coordinator/prompt-assembler.js +3 -2
- package/dist/src/coordinator/prompt-assembler.js.map +1 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.d.ts +4 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.d.ts.map +1 -1
- package/dist/src/hooks/__tests__/statusline-visual-test.js +55 -174
- package/dist/src/hooks/__tests__/statusline-visual-test.js.map +1 -1
- package/dist/src/hooks/constants.d.ts +29 -60
- package/dist/src/hooks/constants.d.ts.map +1 -1
- package/dist/src/hooks/constants.js +105 -82
- package/dist/src/hooks/constants.js.map +1 -1
- package/dist/src/hooks/skill-context.d.ts.map +1 -1
- package/dist/src/hooks/skill-context.js +54 -6
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/dist/src/hooks/statusline.d.ts +11 -8
- package/dist/src/hooks/statusline.d.ts.map +1 -1
- package/dist/src/hooks/statusline.js +284 -182
- package/dist/src/hooks/statusline.js.map +1 -1
- package/dist/src/hooks/workspace.d.ts.map +1 -1
- package/dist/src/hooks/workspace.js +2 -1
- package/dist/src/hooks/workspace.js.map +1 -1
- package/dist/src/migrations/_template.d.ts +12 -0
- package/dist/src/migrations/_template.d.ts.map +1 -0
- package/dist/src/migrations/_template.js +55 -0
- package/dist/src/migrations/_template.js.map +1 -0
- package/dist/src/migrations/index.d.ts +14 -0
- package/dist/src/migrations/index.d.ts.map +1 -0
- package/dist/src/migrations/index.js +20 -0
- package/dist/src/migrations/index.js.map +1 -0
- package/dist/src/migrations/run.d.ts +12 -0
- package/dist/src/migrations/run.d.ts.map +1 -0
- package/dist/src/migrations/run.js +119 -0
- package/dist/src/migrations/run.js.map +1 -0
- package/dist/src/migrations/v1-to-v2.d.ts +10 -0
- package/dist/src/migrations/v1-to-v2.d.ts.map +1 -0
- package/dist/src/migrations/v1-to-v2.js +71 -0
- package/dist/src/migrations/v1-to-v2.js.map +1 -0
- package/dist/src/tools/team-activity.d.ts.map +1 -1
- package/dist/src/tools/team-activity.js +22 -0
- package/dist/src/tools/team-activity.js.map +1 -1
- package/dist/src/tools/transition-recorder.d.ts +2 -17
- package/dist/src/tools/transition-recorder.d.ts.map +1 -1
- package/dist/src/tools/transition-recorder.js +6 -3
- package/dist/src/tools/transition-recorder.js.map +1 -1
- package/dist/src/types/index.d.ts +2 -1
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/migration-registry.d.ts +65 -0
- package/dist/src/utils/migration-registry.d.ts.map +1 -0
- package/dist/src/utils/migration-registry.js +117 -0
- package/dist/src/utils/migration-registry.js.map +1 -0
- package/dist/src/utils/state-schema.d.ts +153 -0
- package/dist/src/utils/state-schema.d.ts.map +1 -0
- package/dist/src/utils/state-schema.js +329 -0
- package/dist/src/utils/state-schema.js.map +1 -0
- package/package.json +1 -1
- package/templates/state.json +17 -39
- package/workflows/brainstorm.md +3 -3
- package/workflows/codebase-rebuild.md +2 -12
- package/workflows/debug.md +7 -8
- package/workflows/execute.md +18 -4
- package/workflows/fork.md +37 -86
- package/workflows/init.md +1 -4
- package/workflows/integration-test.md +4 -5
- package/workflows/issue.md +3 -9
- package/workflows/learn.md +20 -19
- package/workflows/maestro.codex.md +8 -1
- package/workflows/maestro.md +12 -3
- package/workflows/memory.md +26 -71
- package/workflows/merge.md +45 -107
- package/workflows/milestone-complete.md +24 -7
- package/workflows/retrospective.md +77 -109
- package/workflows/review.md +5 -12
- package/workflows/specs-remove.md +115 -0
- package/workflows/specs-setup.md +10 -32
- package/workflows/status.md +291 -290
- package/workflows/sync.md +5 -5
- package/workflows/test.md +4 -5
- package/workflows/ui-style.md +3 -4
- package/workflows/verify.md +2 -2
- package/workflows/wiki-connect.md +188 -0
- package/workflows/wiki-digest.md +221 -0
- package/workflows/wiki-manage.md +204 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Spec Remove Workflow
|
|
2
|
+
|
|
3
|
+
Remove a `<spec-entry>` block from a specs container file. Symmetric with `specs-add.md`.
|
|
4
|
+
|
|
5
|
+
Uses `maestro wiki remove-entry` for atomic removal — the entry is deleted from the markdown file and the unified wiki index is auto-updated by WikiIndexer.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Prerequisites
|
|
10
|
+
|
|
11
|
+
- `.workflow/specs/` initialized (at least one specs file exists)
|
|
12
|
+
- `maestro wiki` CLI available
|
|
13
|
+
- Entry ID known (use `maestro wiki list --type spec` to discover)
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Argument Shape
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
/spec-remove spec-learnings-003 → remove entry 003 from learnings.md
|
|
21
|
+
/spec-remove spec-coding-conventions-001 → remove entry 001 from coding-conventions.md
|
|
22
|
+
/spec-remove spec-quality-rules-005 -y → remove without confirmation
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
| Flag | Effect |
|
|
26
|
+
|------|--------|
|
|
27
|
+
| `<entry-id>` | Required. The spec sub-node ID to remove |
|
|
28
|
+
| `-y` / `--yes` | Skip confirmation prompt |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Stage 1: Parse Input
|
|
33
|
+
|
|
34
|
+
1. Extract entry ID from arguments
|
|
35
|
+
2. Validate non-empty (E001 if missing)
|
|
36
|
+
3. Check `.workflow/specs/` exists (E002 if not)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Stage 2: Lookup Entry
|
|
41
|
+
|
|
42
|
+
1. Run `maestro wiki get <entry-id> --json` to fetch entry metadata
|
|
43
|
+
2. Validate entry exists (E003 if not found)
|
|
44
|
+
3. Validate entry is a spec sub-node — must have:
|
|
45
|
+
- `type` = "spec"
|
|
46
|
+
- `parent` field set (sub-nodes have parent pointing to container)
|
|
47
|
+
- If not a sub-node, error E004
|
|
48
|
+
4. Extract: title, category, keywords, container file path, body preview
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Stage 3: Confirm Removal
|
|
53
|
+
|
|
54
|
+
Display entry details for user confirmation:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
== Spec Entry to Remove ==
|
|
58
|
+
ID: {entry-id}
|
|
59
|
+
Title: {title}
|
|
60
|
+
Category: {category}
|
|
61
|
+
Keywords: {keywords}
|
|
62
|
+
Container: .workflow/specs/{filename}
|
|
63
|
+
Preview: {first 80 chars of body}
|
|
64
|
+
|
|
65
|
+
Remove this entry? [y/N]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
If `-y` flag: skip confirmation.
|
|
69
|
+
If user declines: abort with "Cancelled."
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Stage 4: Remove Entry
|
|
74
|
+
|
|
75
|
+
Execute removal via wiki CLI:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
maestro wiki remove-entry <entry-id>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
This command:
|
|
82
|
+
1. Reads the container file
|
|
83
|
+
2. Locates the `<spec-entry>` block by index position
|
|
84
|
+
3. Removes the block (including opening tag, body, closing tag)
|
|
85
|
+
4. Writes the updated file
|
|
86
|
+
5. WikiIndexer auto-updates `.workflow/wiki-index.json`
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Stage 5: Verify & Report
|
|
91
|
+
|
|
92
|
+
1. Verify entry no longer appears: `maestro wiki get <entry-id>` should return not-found
|
|
93
|
+
2. Display confirmation:
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
== Entry Removed ==
|
|
97
|
+
ID: {entry-id}
|
|
98
|
+
From: .workflow/specs/{filename}
|
|
99
|
+
Remaining: {remaining entry count} entries in {filename}
|
|
100
|
+
|
|
101
|
+
To verify: maestro wiki list --type spec --category {category}
|
|
102
|
+
To re-add: /spec-add {category} {content}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Error Codes
|
|
108
|
+
|
|
109
|
+
| Code | Severity | Condition | Recovery |
|
|
110
|
+
|------|----------|-----------|----------|
|
|
111
|
+
| E001 | fatal | Entry ID required | Usage: `/spec-remove <entry-id>` |
|
|
112
|
+
| E002 | fatal | `.workflow/specs/` not initialized | Run `/spec-setup` first |
|
|
113
|
+
| E003 | fatal | Entry ID not found in wiki index | Check ID with `maestro wiki list --type spec` |
|
|
114
|
+
| E004 | fatal | Entry is not a spec sub-node | Only `<spec-entry>` sub-nodes can be removed this way |
|
|
115
|
+
| W001 | warning | Container file empty after removal | File kept but has no entries |
|
package/workflows/specs-setup.md
CHANGED
|
@@ -52,28 +52,7 @@ Framework detection (from dependency files):
|
|
|
52
52
|
spring --> Java Spring
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
### Step 3:
|
|
56
|
-
|
|
57
|
-
Output: `.workflow/project-tech.json`
|
|
58
|
-
|
|
59
|
-
```json
|
|
60
|
-
{
|
|
61
|
-
"detected_at": "{ISO timestamp}",
|
|
62
|
-
"languages": ["TypeScript", "..."],
|
|
63
|
-
"frameworks": ["Next.js", "..."],
|
|
64
|
-
"package_manager": "npm | yarn | pnpm | ...",
|
|
65
|
-
"build_system": "tsc | webpack | vite | ...",
|
|
66
|
-
"test_framework": "jest | vitest | pytest | ...",
|
|
67
|
-
"linter": "eslint | prettier | ...",
|
|
68
|
-
"architecture": {
|
|
69
|
-
"type": "monorepo | single-package | ...",
|
|
70
|
-
"entry_points": ["src/index.ts", "..."],
|
|
71
|
-
"key_directories": ["src/", "lib/", "..."]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### Step 4: Detect Code Patterns
|
|
55
|
+
### Step 3: Detect Code Patterns
|
|
77
56
|
|
|
78
57
|
Scan source files for coding conventions:
|
|
79
58
|
|
|
@@ -85,9 +64,9 @@ Formatting: Check for .prettierrc, .editorconfig, eslint config
|
|
|
85
64
|
File naming: kebab-case vs camelCase vs PascalCase for source files
|
|
86
65
|
```
|
|
87
66
|
|
|
88
|
-
### Step
|
|
67
|
+
### Step 4: Generate Core Files (always created)
|
|
89
68
|
|
|
90
|
-
####
|
|
69
|
+
#### 4a: coding-conventions.md
|
|
91
70
|
|
|
92
71
|
Output: `.workflow/specs/coding-conventions.md`
|
|
93
72
|
|
|
@@ -124,7 +103,7 @@ Auto-generated from project analysis. Update manually as patterns evolve.
|
|
|
124
103
|
{empty section for spec-add entries}
|
|
125
104
|
```
|
|
126
105
|
|
|
127
|
-
####
|
|
106
|
+
#### 4b: architecture-constraints.md
|
|
128
107
|
|
|
129
108
|
Output: `.workflow/specs/architecture-constraints.md`
|
|
130
109
|
|
|
@@ -156,7 +135,7 @@ Auto-generated from project structure. Update manually as architecture evolves.
|
|
|
156
135
|
{empty section for spec-add entries}
|
|
157
136
|
```
|
|
158
137
|
|
|
159
|
-
####
|
|
138
|
+
#### 4c: learnings.md
|
|
160
139
|
|
|
161
140
|
Output: `.workflow/specs/learnings.md`
|
|
162
141
|
|
|
@@ -175,9 +154,9 @@ Add entries with: `/spec-add learning <description>`
|
|
|
175
154
|
{empty -- entries added via spec-add}
|
|
176
155
|
```
|
|
177
156
|
|
|
178
|
-
### Step
|
|
157
|
+
### Step 5: Generate Optional Files (when signals detected)
|
|
179
158
|
|
|
180
|
-
####
|
|
159
|
+
#### 5a: quality-rules.md (when linter config or CI detected)
|
|
181
160
|
|
|
182
161
|
Output: `.workflow/specs/quality-rules.md`
|
|
183
162
|
|
|
@@ -193,7 +172,7 @@ category: quality
|
|
|
193
172
|
{empty -- entries added via spec-add}
|
|
194
173
|
```
|
|
195
174
|
|
|
196
|
-
####
|
|
175
|
+
#### 5b: test-conventions.md (when test framework or test files detected)
|
|
197
176
|
|
|
198
177
|
Scan existing test files for conventions (framework, naming, directory structure, patterns).
|
|
199
178
|
|
|
@@ -225,16 +204,15 @@ Auto-generated from project analysis. Update manually as patterns evolve.
|
|
|
225
204
|
{empty section for spec-add entries}
|
|
226
205
|
```
|
|
227
206
|
|
|
228
|
-
####
|
|
207
|
+
#### 5c: debug-notes.md and review-standards.md
|
|
229
208
|
|
|
230
209
|
These are NOT created during setup. They are created on demand when `spec-add debug` or `spec-add review` is first used.
|
|
231
210
|
|
|
232
|
-
### Step
|
|
211
|
+
### Step 6: Summary
|
|
233
212
|
|
|
234
213
|
Display what was created:
|
|
235
214
|
```
|
|
236
215
|
Specs initialized:
|
|
237
|
-
.workflow/project-tech.json -- Tech stack analysis
|
|
238
216
|
.workflow/specs/coding-conventions.md (category: coding)
|
|
239
217
|
.workflow/specs/architecture-constraints.md (category: arch)
|
|
240
218
|
.workflow/specs/learnings.md (category: learning)
|