@jakkrichm/create-nexus-devflow 2.7.0 → 2.9.0
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/README.md +2 -2
- package/dist/bin/create-nexus-devflow.d.ts +2 -2
- package/dist/bin/create-nexus-devflow.js +130 -0
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/branch-context.d.ts +1 -0
- package/dist/lib/branch-context.js +14 -9
- package/dist/lib/branch-context.js.map +1 -1
- package/dist/lib/current-work.js +10 -22
- package/dist/lib/current-work.js.map +1 -1
- package/dist/lib/doctor.js +44 -6
- package/dist/lib/doctor.js.map +1 -1
- package/dist/lib/findings.js +14 -10
- package/dist/lib/findings.js.map +1 -1
- package/dist/lib/mcp.js +3 -3
- package/dist/lib/mcp.js.map +1 -1
- package/dist/lib/skill-manager.d.ts +50 -0
- package/dist/lib/skill-manager.js +372 -0
- package/dist/lib/skill-manager.js.map +1 -0
- package/dist/lib/swarm-orchestrator.js +14 -8
- package/dist/lib/swarm-orchestrator.js.map +1 -1
- package/dist/lib/workflow-state.js +3 -1
- package/dist/lib/workflow-state.js.map +1 -1
- package/dist/scripts/prepare-template.js +0 -19
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +2 -2
- package/template/.agents/skills/audit/SKILL.md +7 -7
- package/template/.agents/skills/autopilot/SKILL.md +34 -58
- package/template/.agents/skills/brief/SKILL.md +1 -1
- package/template/.agents/skills/check/SKILL.md +4 -4
- package/template/.agents/skills/complete/SKILL.md +13 -46
- package/template/.agents/skills/continuous/SKILL.md +8 -9
- package/template/.agents/skills/devflow/SKILL.md +18 -13
- package/template/.agents/skills/discovery/SKILL.md +8 -3
- package/template/.agents/skills/doctor/SKILL.md +7 -11
- package/template/.agents/skills/feature/SKILL.md +5 -6
- package/template/.agents/skills/fix/SKILL.md +2 -2
- package/template/.agents/skills/implement/SKILL.md +11 -12
- package/template/.agents/skills/release/SKILL.md +1 -1
- package/template/.agents/skills/report-html/SKILL.md +3 -3
- package/template/.agents/skills/rollback/SKILL.md +4 -6
- package/template/.agents/skills/status/SKILL.md +20 -27
- package/template/.agents/skills/try/SKILL.md +5 -6
- package/template/.claude/skills/audit/SKILL.md +7 -7
- package/template/.claude/skills/autopilot/SKILL.md +34 -58
- package/template/.claude/skills/brief/SKILL.md +1 -1
- package/template/.claude/skills/check/SKILL.md +4 -4
- package/template/.claude/skills/complete/SKILL.md +13 -46
- package/template/.claude/skills/continuous/SKILL.md +8 -9
- package/template/.claude/skills/devflow/SKILL.md +18 -13
- package/template/.claude/skills/discovery/SKILL.md +8 -3
- package/template/.claude/skills/doctor/SKILL.md +7 -11
- package/template/.claude/skills/feature/SKILL.md +5 -6
- package/template/.claude/skills/fix/SKILL.md +2 -2
- package/template/.claude/skills/implement/SKILL.md +11 -12
- package/template/.claude/skills/release/SKILL.md +1 -1
- package/template/.claude/skills/report-html/SKILL.md +3 -3
- package/template/.claude/skills/rollback/SKILL.md +4 -6
- package/template/.claude/skills/status/SKILL.md +20 -27
- package/template/.claude/skills/try/SKILL.md +5 -6
- package/template/AGENTS.md +18 -19
- package/template/devflow/build-plan.md +9 -0
- package/template/devflow/context/ai-interaction.md +55 -16
- package/template/devflow/reference/feature-spec-template.md +2 -2
- package/template/devflow/reference/running-id-contract.md +0 -3
- package/template/devflow/context/current-feature.md +0 -3
- package/template/devflow/context/current-stage.md +0 -11
- package/template/devflow/context/findings.md +0 -10
|
@@ -38,11 +38,11 @@ Common forms:
|
|
|
38
38
|
- `resume`: continue the current feature on its existing branch.
|
|
39
39
|
|
|
40
40
|
If the requested target conflicts with a feature already in progress, stop and
|
|
41
|
-
ask which one should win. Do not overwrite
|
|
41
|
+
ask which one should win. Do not overwrite task workspaces
|
|
42
42
|
silently.
|
|
43
43
|
|
|
44
44
|
Rollback is intentionally excluded from Autopilot. If the request is a rollback
|
|
45
|
-
or
|
|
45
|
+
or active spec is marked `Type: Rollback`, stop and direct the user to
|
|
46
46
|
the reviewed `/implement` path. Reversing completed work requires the explicit
|
|
47
47
|
dependency and conflict gates in `/rollback` and `/implement`.
|
|
48
48
|
|
|
@@ -54,8 +54,8 @@ Read the same state `/status` reads:
|
|
|
54
54
|
- `devflow/project-plan.md`
|
|
55
55
|
- `devflow/build-plan.md`
|
|
56
56
|
- `devflow/context/project-overview.md`
|
|
57
|
-
- `devflow/context/
|
|
58
|
-
- `devflow/context/findings.md`
|
|
57
|
+
- `devflow/context/{xxx-slug}/spec.md` (when present)
|
|
58
|
+
- `devflow/context/{xxx-slug}/findings.md` (when present)
|
|
59
59
|
- `devflow/context/coding-standards.md`
|
|
60
60
|
- `devflow/context/ai-interaction.md`
|
|
61
61
|
- git branch, status, and recent log
|
|
@@ -67,7 +67,7 @@ Stop before changing files when:
|
|
|
67
67
|
- The repo is not a git repo.
|
|
68
68
|
- The working tree is dirty and there is no current feature tying those changes
|
|
69
69
|
to this run.
|
|
70
|
-
-
|
|
70
|
+
- Active task spec has real work and the user requested a different target.
|
|
71
71
|
- `project-overview.md` is missing or stale and the planning docs are not clear
|
|
72
72
|
enough to regenerate it.
|
|
73
73
|
- The next feature is visual or replication-heavy and no design reference exists.
|
|
@@ -80,14 +80,14 @@ final packet.
|
|
|
80
80
|
|
|
81
81
|
## Step 2 - choose or write the spec
|
|
82
82
|
|
|
83
|
-
If `devflow/context/
|
|
83
|
+
If `devflow/context/{xxx-slug}/spec.md` already contains an active spec,
|
|
84
84
|
resume it. Read checked steps and continue from the first unchecked step.
|
|
85
85
|
|
|
86
86
|
If there is no active spec:
|
|
87
87
|
|
|
88
88
|
1. Use the `/feature` behavior for a planned feature, or `/fix` behavior for a
|
|
89
89
|
requested fix.
|
|
90
|
-
2.
|
|
90
|
+
2. Create workspace and write `devflow/context/{xxx-slug}/spec.md`.
|
|
91
91
|
3. Red-team the spec before building:
|
|
92
92
|
- missing unhappy paths
|
|
93
93
|
- oversized steps
|
|
@@ -101,32 +101,22 @@ If there is no active spec:
|
|
|
101
101
|
Autopilot may continue past this spec gate because the user explicitly invoked
|
|
102
102
|
Autopilot. Still report what the critique changed in the final packet.
|
|
103
103
|
|
|
104
|
-
## Step 3 -
|
|
104
|
+
## Step 3 - branch
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
Create or check out the branch for the work:
|
|
107
107
|
|
|
108
|
-
-
|
|
109
|
-
-
|
|
108
|
+
- `feature/{xxx-slug}` for a planned feature
|
|
109
|
+
- `fix/{xxx-slug}` for an ad-hoc fix
|
|
110
110
|
|
|
111
|
-
If the branch already exists,
|
|
112
|
-
If switching branches would strand unrelated dirty work, stop and report the
|
|
113
|
-
problem.
|
|
111
|
+
If the branch already exists, check it out and verify it matches the spec.
|
|
114
112
|
|
|
115
|
-
## Step 4 -
|
|
113
|
+
## Step 4 - build in small steps with review gates
|
|
116
114
|
|
|
117
|
-
Work through the spec's
|
|
118
|
-
Unlike `/implement`, do not pause for user approval after each passing step. The
|
|
119
|
-
review happens at the final packet unless a hard stop is hit.
|
|
115
|
+
Work through the spec's steps in order:
|
|
120
116
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
2. Run the relevant verification:
|
|
125
|
-
- the exact `Verify` command from `AGENTS.md`, when declared
|
|
126
|
-
- otherwise the build, relevant test, lint, and typecheck commands already
|
|
127
|
-
documented by the project
|
|
128
|
-
- browser, CLI, API, or app-level evidence for behavioral done-whens
|
|
129
|
-
3. If UI is involved, inspect the running app when possible. Prefer Playwright if
|
|
117
|
+
1. Keep each change small and focused on the current step.
|
|
118
|
+
2. Run the declared `test` command when logic changed.
|
|
119
|
+
3. If the step has visual or browser-visible behavior, drive the browser when
|
|
130
120
|
it is already installed or declared. Capture screenshots when they add useful
|
|
131
121
|
evidence. Check for console errors and failed requests.
|
|
132
122
|
4. Self-review the diff for the step:
|
|
@@ -136,15 +126,15 @@ For every step:
|
|
|
136
126
|
- did it follow `coding-standards.md`?
|
|
137
127
|
- are tests present for new in-scope logic when the test gate is on?
|
|
138
128
|
5. Fix obvious issues and rerun the failed checks.
|
|
139
|
-
6. Mark the step checked in `
|
|
129
|
+
6. Mark the step checked in `devflow/context/{xxx-slug}/spec.md` only after the step passes.
|
|
140
130
|
7. Create a checkpoint commit on the feature or fix branch for the passing step.
|
|
141
|
-
Include the code, tests, and the updated `
|
|
131
|
+
Include the code, tests, and the updated `spec.md` checkbox. Use a
|
|
142
132
|
conventional message such as `feat: checkpoint mock snapshot route` or
|
|
143
133
|
`fix: checkpoint stale service filter`. Keep the message about the step, not
|
|
144
134
|
about Autopilot.
|
|
145
135
|
|
|
146
136
|
Do not batch the whole feature into one large diff. If a step gets too large,
|
|
147
|
-
split the step in `
|
|
137
|
+
split the step in `devflow/context/{xxx-slug}/spec.md` and continue with the first smaller step.
|
|
148
138
|
|
|
149
139
|
## Step 5 - acceptance check
|
|
150
140
|
|
|
@@ -159,7 +149,7 @@ may be enough. Be explicit about the evidence used.
|
|
|
159
149
|
After the acceptance check, apply the `/audit current` behavior to the active
|
|
160
150
|
feature, its diff, and the nearby code affected by the change. This is a targeted
|
|
161
151
|
feature audit, not a repository-wide cleanup pass. Findings are recorded in
|
|
162
|
-
`devflow/context/findings.md` with durable IDs and statuses, as `/audit`
|
|
152
|
+
`devflow/context/{xxx-slug}/findings.md` with durable IDs and statuses, as `/audit`
|
|
163
153
|
defines; the ledger reports status and never scopes what the audit examines.
|
|
164
154
|
|
|
165
155
|
For every finding:
|
|
@@ -173,35 +163,21 @@ For every finding:
|
|
|
173
163
|
3. Report P2 and P3 findings in the final packet. Fix them only when the change
|
|
174
164
|
is small, directly caused by the current feature, and clearly required by the
|
|
175
165
|
project standards.
|
|
176
|
-
4. If a
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
1. Rerun the documented `Verify` command when present; otherwise rerun the
|
|
182
|
-
affected build, lint, typecheck, and test commands.
|
|
183
|
-
2. Rerun the acceptance evidence affected by the repair.
|
|
184
|
-
3. Recheck the repaired area using the same targeted audit criteria. When that
|
|
185
|
-
recheck confirms the original defect is gone and the repair introduced no
|
|
186
|
-
new one, move the `fixed` finding to `closed` under the `/audit` close
|
|
187
|
-
conditions and name it in the packet. An unrelated new finding gets its own
|
|
188
|
-
ledger entry and does not keep the repaired one open.
|
|
189
|
-
4. Create a checkpoint commit only after the repair and its checks pass.
|
|
166
|
+
4. If a finding cannot be resolved safely in-scope, leave it `open` and describe
|
|
167
|
+
it in the final packet. A finding that is wrong goes back to `/audit` to
|
|
168
|
+
invalidate with recorded evidence; Autopilot never marks findings `invalid`
|
|
169
|
+
or `accepted`.
|
|
190
170
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
step into a full-project hardening pass. A broader cleanup remains a separate
|
|
194
|
-
`/audit` followed by planned `/fix` work.
|
|
171
|
+
Re-run the build, tests, and any affected checks after repairs. If a repair fails
|
|
172
|
+
twice, stop and report the blocker.
|
|
195
173
|
|
|
196
|
-
## Step 7 -
|
|
174
|
+
## Step 7 - compile the review packet
|
|
197
175
|
|
|
198
|
-
Stop
|
|
199
|
-
a full audit report:
|
|
176
|
+
Stop and produce a concise review packet:
|
|
200
177
|
|
|
201
|
-
- branch name
|
|
202
178
|
- target feature or fix
|
|
203
|
-
-
|
|
204
|
-
- what
|
|
179
|
+
- branch name
|
|
180
|
+
- what was built
|
|
205
181
|
- changed files and why each changed
|
|
206
182
|
- build/test/check commands run, with pass or fail
|
|
207
183
|
- screenshots or output paths, when relevant
|
|
@@ -210,7 +186,7 @@ a full audit report:
|
|
|
210
186
|
- self-review findings
|
|
211
187
|
- targeted audit scope and findings
|
|
212
188
|
- audit repairs made and checks rerun
|
|
213
|
-
- P0/P1 findings still `open` or `fixed` in `devflow/context/findings.md`,
|
|
189
|
+
- P0/P1 findings still `open` or `fixed` in `devflow/context/{xxx-slug}/findings.md`,
|
|
214
190
|
which block `/complete`
|
|
215
191
|
- unresolved risks or skipped checks
|
|
216
192
|
- exact next action
|
|
@@ -240,11 +216,11 @@ Stop immediately and report instead of continuing when Autopilot would need to:
|
|
|
240
216
|
- Autopilot creates checkpoint commits on the feature or fix branch after passing
|
|
241
217
|
steps.
|
|
242
218
|
- Autopilot audits the active feature and affected code, not the entire project.
|
|
243
|
-
- A P0 or P1 finding left `open` or `fixed` in `devflow/context/findings.md`
|
|
219
|
+
- A P0 or P1 finding left `open` or `fixed` in `devflow/context/{xxx-slug}/findings.md`
|
|
244
220
|
blocks readiness for `/complete`. The ledger is what makes this enforceable.
|
|
245
221
|
- Autopilot stops before `/complete`. It never merges.
|
|
246
222
|
- The Blueprint files remain the state machine. Keep
|
|
247
|
-
`
|
|
223
|
+
`devflow/context/{xxx-slug}/spec.md` accurate as steps complete.
|
|
248
224
|
- Follow `coding-standards.md`, `ai-interaction.md`, and `AGENTS.md`.
|
|
249
225
|
- Prefer fewer, higher-quality changes over broad coverage.
|
|
250
226
|
- Report uncertainty plainly. A blocked run is useful if it tells the truth.
|
|
@@ -82,7 +82,7 @@ plans aren't ready, `/prototype` if it's UI-facing and the look isn't locked, or
|
|
|
82
82
|
## Rules
|
|
83
83
|
|
|
84
84
|
- **Read-only, always.** Never write a file, never edit `build-plan.md` or
|
|
85
|
-
`
|
|
85
|
+
specs in `devflow/context/`, never branch, commit, install, or build. To act on the
|
|
86
86
|
briefing, the user runs `/feature` next.
|
|
87
87
|
- **Explain, don't spec.** Size, dependencies, and a likely sub-split are the
|
|
88
88
|
value here; the actual build steps are `/feature`'s job. Don't write step lists.
|
|
@@ -28,7 +28,7 @@ It changes no source and commits nothing — it executes, inspects, and reports
|
|
|
28
28
|
|
|
29
29
|
## Step 1 - Build the Dual-Axis Review Matrix
|
|
30
30
|
|
|
31
|
-
Read the target spec from `devflow/context/{xxx-slug}/spec.md`
|
|
31
|
+
Read the target spec from `devflow/context/{xxx-slug}/spec.md` and `devflow/context/coding-standards.md`. Prepare the inspection criteria across two independent axes:
|
|
32
32
|
|
|
33
33
|
1. **Axis 1 (Standards & Architecture Criteria)**:
|
|
34
34
|
- Coding conventions in `coding-standards.md`
|
|
@@ -36,7 +36,7 @@ Read the target spec from `devflow/context/{xxx-slug}/spec.md` (or `devflow/cont
|
|
|
36
36
|
- Baseline 12 Fowler Code Smells (Primitive obsession, Feature envy, Shotgun surgery, Speculative generality, etc.)
|
|
37
37
|
- Multi-lane technical gates (Typecheck, test suites, zero secrets, zero P0/P1 findings)
|
|
38
38
|
2. **Axis 2 (Spec Fidelity & Behavioral Observables)**:
|
|
39
|
-
- Line-by-line Acceptance Criteria (ACs) and "Done When" observables from `
|
|
39
|
+
- Line-by-line Acceptance Criteria (ACs) and "Done When" observables from `devflow/context/{xxx-slug}/spec.md`
|
|
40
40
|
- Scope Creep detection (Unrequested behavior in the diff)
|
|
41
41
|
- Missing Requirements detection (Unimplemented edge cases)
|
|
42
42
|
|
|
@@ -69,7 +69,7 @@ Format the report into two distinct, un-merged review axes:
|
|
|
69
69
|
- [pass] Type Safety: `tsc --noEmit` (0 errors)
|
|
70
70
|
- [pass] Automated Tests: `npm test` (All tests green)
|
|
71
71
|
- [pass] Security & Hygiene: Zero secrets, sanitized inputs
|
|
72
|
-
- [pass] Findings Ledger: 0 blocking P0/P1 in `devflow/context/findings.md`
|
|
72
|
+
- [pass] Findings Ledger: 0 blocking P0/P1 in `devflow/context/{xxx-slug}/findings.md`
|
|
73
73
|
- **Deep Modules & Architecture**:
|
|
74
74
|
- [pass] Seam Integrity: Public interfaces remain small, implementation details hidden.
|
|
75
75
|
- [pass] The Deletion Test: Complexity is concentrated inside the module, not scattered across callers.
|
|
@@ -78,7 +78,7 @@ Format the report into two distinct, un-merged review axes:
|
|
|
78
78
|
|
|
79
79
|
## 🎯 Axis 2: Spec Fidelity & Behavioral Acceptance Gate
|
|
80
80
|
|
|
81
|
-
Line-by-line verification against `
|
|
81
|
+
Line-by-line verification against `devflow/context/{xxx-slug}/spec.md`:
|
|
82
82
|
- [pass] **AC-1 (<title>)**: <Observed empirical evidence / screenshot path>
|
|
83
83
|
- [pass] **AC-2 (<title>)**: <Observed empirical evidence / terminal output>
|
|
84
84
|
- [fail] **AC-3 (<title>)**: <Exact observed failure with reproduction command>
|
|
@@ -24,7 +24,7 @@ passes.
|
|
|
24
24
|
|
|
25
25
|
## Before you start
|
|
26
26
|
|
|
27
|
-
Confirm the target work is actually finished: `devflow/context/{xxx-slug}/spec.md`
|
|
27
|
+
Confirm the target work is actually finished: `devflow/context/{xxx-slug}/spec.md`
|
|
28
28
|
holds a real spec, its steps are built on a branch, and `Verify`, or the fallback
|
|
29
29
|
build and tests, passes. If any of the
|
|
30
30
|
spec's done-whens are behavioral, `/check` should have proven them against the
|
|
@@ -36,9 +36,8 @@ the steps to be pre-committed.
|
|
|
36
36
|
|
|
37
37
|
Before logging or committing, run a short safety pass and report blockers only:
|
|
38
38
|
|
|
39
|
-
- active spec exists and the work is not being completed directly from `main` or `master`
|
|
40
|
-
- changed files are tied to the active spec, with no unrelated dirty work mixed
|
|
41
|
-
in (a dirty `devflow/context/findings.md` is expected, since `/audit` writes it)
|
|
39
|
+
- active spec exists in `devflow/context/{xxx-slug}/spec.md` and the work is not being completed directly from `main` or `master`
|
|
40
|
+
- changed files are tied to the active spec, with no unrelated dirty work mixed in
|
|
42
41
|
- the exact `Verify` command from `AGENTS.md` passed in this session, when one is
|
|
43
42
|
declared; otherwise the build passed, and tests passed when the project has a
|
|
44
43
|
declared test command and the change touched logic
|
|
@@ -46,7 +45,7 @@ Before logging or committing, run a short safety pass and report blockers only:
|
|
|
46
45
|
a clear manual try path
|
|
47
46
|
- if workflow files changed, `.agents` and `.claude` stayed in sync where both
|
|
48
47
|
adapters exist
|
|
49
|
-
- no P0 or P1 finding in `devflow/context/findings.md` is `open` or `fixed`.
|
|
48
|
+
- no P0 or P1 finding in `devflow/context/{xxx-slug}/findings.md` is `open` or `fixed`.
|
|
50
49
|
`fixed` still blocks on purpose: the repair exists but no review has looked at
|
|
51
50
|
it - run `/audit` to close it. The only waivers are `accepted` (the user's
|
|
52
51
|
explicit decision in the current chat, reason recorded; never set it for
|
|
@@ -64,48 +63,16 @@ Check whether the spec is a feature, fix, or rollback. A fix is marked
|
|
|
64
63
|
`Type: Fix` and has no build-plan number. A rollback is marked `Type: Rollback`
|
|
65
64
|
and records the exact target feature, archive, commit, and parent.
|
|
66
65
|
|
|
67
|
-
- **Feature** - archive `devflow/context/
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
- **Rollback** - archive it to
|
|
73
|
-
`devflow/history/rollbacks/YYYY-MM-DD-NN-name.md`, preserving the original
|
|
74
|
-
completed feature archive. Create `devflow/history/rollbacks/` first if an
|
|
75
|
-
older Blueprint installation does not have it yet. Uncheck the exact target item in
|
|
76
|
-
`devflow/build-plan.md` and its parent when applicable, then append a concise
|
|
77
|
-
note to the target line with the rollback date and archive path. Keep the
|
|
78
|
-
feature number stable. If the user later decides the feature is permanently
|
|
79
|
-
abandoned rather than pending rebuild, that roadmap decision is a separate
|
|
80
|
-
plan edit.
|
|
81
|
-
|
|
82
|
-
**Archive resolved findings.** If `devflow/context/findings.md` holds any
|
|
66
|
+
- **Feature** - archive `devflow/context/{xxx-slug}/spec.md` to `devflow/history/features/{xxx-slug}.md`, check it off in `devflow/build-plan.md` (and its parent item once all sub-items are checked), and record an entry into `devflow/history/HISTORY.md`.
|
|
67
|
+
- **Fix** - archive `devflow/context/{xxx-slug}/spec.md` to `devflow/history/fixes/{xxx-slug}.md`, and record an entry into `devflow/history/HISTORY.md`.
|
|
68
|
+
- **Rollback** - archive `devflow/context/{xxx-slug}/spec.md` to `devflow/history/rollbacks/YYYY-MM-DD-{xxx-slug}.md`, preserving the original completed feature archive. Uncheck the target item in `devflow/build-plan.md` and record in `devflow/history/HISTORY.md`.
|
|
69
|
+
|
|
70
|
+
**Archive resolved findings.** If `devflow/context/{xxx-slug}/findings.md` holds any
|
|
83
71
|
findings, append a `## Findings` section to the archive file just written with
|
|
84
72
|
every `closed`, `accepted`, or `invalid` entry at its final status (`accepted`
|
|
85
|
-
entries keep their recorded reason).
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
work archives with the item that resolved it; its **Found** line preserves
|
|
89
|
-
where it came from. Then remove the archived entries from the ledger. Unresolved entries (`open` or `fixed` P2/P3, and `unverified`
|
|
90
|
-
leads) stay in the ledger with their IDs so they are never silently dropped.
|
|
91
|
-
When nothing remains, reset the ledger to exactly this stub, and create it the
|
|
92
|
-
same way if the file is missing (an older install):
|
|
93
|
-
|
|
94
|
-
# Findings
|
|
95
|
-
|
|
96
|
-
> **Generated file.** The findings ledger: review findings raised by `/audit`
|
|
97
|
-
> against the work in progress, each with a durable ID, severity (P0-P3), and
|
|
98
|
-
> status. `/implement` marks repaired findings `fixed`, a later `/audit` pass
|
|
99
|
-
> moves them to `closed`, and `/complete` refuses to merge while any P0 or P1
|
|
100
|
-
> finding is `open` or `fixed`, then archives resolved findings with the work
|
|
101
|
-
> and resets this file.
|
|
102
|
-
|
|
103
|
-
_No findings recorded. `/audit` appends findings here when it finds them._
|
|
104
|
-
|
|
105
|
-
Then reset `devflow/context/current-feature.md` to its current stub ("nothing
|
|
106
|
-
in progress"), including `/rollback` alongside `/feature` and `/fix`. Don't
|
|
107
|
-
commit yet; the next step makes one work commit covering the code and these doc
|
|
108
|
-
changes. The archive is the build history.
|
|
73
|
+
entries keep their recorded reason).
|
|
74
|
+
|
|
75
|
+
**Clean up run workspace.** Delete the task directory `devflow/context/{xxx-slug}/`. In Pure Multi-Run architecture, completed work leaves zero residual stubs in `devflow/context/`.
|
|
109
76
|
|
|
110
77
|
**Discard consumed prototypes.** If this feature built the look from `prototypes/`
|
|
111
78
|
- its Design reference pointed there and an early step ported `prototypes/theme.css`
|
|
@@ -159,7 +126,7 @@ Finish with a concise **How to try it** note for the completed work. For a
|
|
|
159
126
|
rollback, explain how to confirm the removed behavior is gone and name one
|
|
160
127
|
unaffected regression path. If the
|
|
161
128
|
manual path is more than a couple of steps, tell the user to run `/try latest`;
|
|
162
|
-
that command can read the archived feature
|
|
129
|
+
that command can read the archived feature from history.
|
|
163
130
|
|
|
164
131
|
## Rules
|
|
165
132
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: continuous
|
|
3
|
-
description: "[devflow] Autonomous multi-feature delivery loop in Nexus-DevFlow: completes planned features serially from devflow/build-plan.md without review pauses. Maintains safety boundaries,
|
|
3
|
+
description: "[devflow] Autonomous multi-feature delivery loop in Nexus-DevFlow: completes planned features serially from devflow/build-plan.md without review pauses. Maintains safety boundaries, Task-Isolated Living Spec, branch isolation, TDD verification, quality gates, and local squash-merges into main. Use when running /continuous, $continuous, or executing Continuous Mode."
|
|
4
4
|
argument-hint: "[{resume, max-features, or start-feature}]"
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ Where this sits in the workflow:
|
|
|
15
15
|
Gates ➔ Merge)
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
`/continuous` (หรือ `$continuous`) คือโหมดการทำงานแบบ Autonomous Multi-Feature Delivery Loop สำหรับจัดส่งฟีเจอร์ที่อยู่ใน `devflow/build-plan.md` ต่อเนื่องทีละฟีเจอร์ในเครื่อง Local โดยไม่ต้องหยุดรอ Manual Review Prompts ในแต่ละขั้นตอนย่อย แต่ยังคงรักษาความเข้มงวดของ **The 3-Pillars Model &
|
|
18
|
+
`/continuous` (หรือ `$continuous`) คือโหมดการทำงานแบบ Autonomous Multi-Feature Delivery Loop สำหรับจัดส่งฟีเจอร์ที่อยู่ใน `devflow/build-plan.md` ต่อเนื่องทีละฟีเจอร์ในเครื่อง Local โดยไม่ต้องหยุดรอ Manual Review Prompts ในแต่ละขั้นตอนย่อย แต่ยังคงรักษาความเข้มงวดของ **The 3-Pillars Model & Task-Isolated Living Spec (`devflow/context/{xxx-slug}/spec.md`)**, การทำ TDD, การตรวจ Quality Gates, การบันทึก Findings Ledger, และการ Squash-merge ลง Local Main Commit ทีละฟีเจอร์อย่างปลอดภัย 100%
|
|
19
19
|
|
|
20
20
|
### ขอบเขตสิทธิ์ที่ได้รับอนุญาตเฉพาะในเครื่อง Local:
|
|
21
21
|
- สร้างและสลับ Feature Branch ในเครื่อง Local
|
|
@@ -36,7 +36,7 @@ Where this sits in the workflow:
|
|
|
36
36
|
## Input & Target Selection
|
|
37
37
|
|
|
38
38
|
- **ไม่ระบุ Argument (`/continuous`)**:
|
|
39
|
-
1. หากมีฟีเจอร์ค้างอยู่ใน `devflow/context/
|
|
39
|
+
1. หากมีฟีเจอร์ค้างอยู่ใน `devflow/context/{xxx-slug}/` ให้ทำต่อจากขั้นตอนย่อยแรกที่ยังไม่ได้เช็ค (`- [ ]`)
|
|
40
40
|
2. หากไม่มี ให้เลือกฟีเจอร์แรกที่ยังไม่ได้เช็ค (`- [ ]`) ใน `devflow/build-plan.md`
|
|
41
41
|
3. วนลูปทำต่อเนื่องตามลำดับใน `build-plan.md` จนกว่าจะหมด หรือครบตามจำนวน `continuous.maxFeatures` ใน `devflow/config.json`
|
|
42
42
|
- **ระบุ `resume` (`/continuous resume`)**: ทำงานต่อจากฟีเจอร์และขั้นตอนย่อยที่ค้างอยู่ทันที
|
|
@@ -51,8 +51,7 @@ Where this sits in the workflow:
|
|
|
51
51
|
- `devflow/config.json` (หากไม่มี ให้ใช้ค่า Defaults อย่างปลอดภัย; หาก Invalid ให้หยุดและชี้ไปที่ `/doctor`)
|
|
52
52
|
- `devflow/project-plan.md` และ `devflow/build-plan.md`
|
|
53
53
|
- `devflow/context/project-overview.md`
|
|
54
|
-
- `devflow/context/
|
|
55
|
-
- `devflow/context/findings.md`
|
|
54
|
+
- `devflow/context/{xxx-slug}/` (ถ้ามีงานค้างอยู่)
|
|
56
55
|
- `devflow/context/coding-standards.md` และ `devflow/context/ai-interaction.md`
|
|
57
56
|
- สถานะ Git (`git status`, `git branch`, recent log)
|
|
58
57
|
|
|
@@ -69,11 +68,11 @@ Where this sits in the workflow:
|
|
|
69
68
|
ดำเนินงานวนลูปทีละ 1 ฟีเจอร์ตามลำดับ:
|
|
70
69
|
|
|
71
70
|
### 2.1 Select & Spec (เลือกและร่างสเปก)
|
|
72
|
-
- หาก Resuming: ใช้ Spec เดิมใน `
|
|
73
|
-
- หากเป็นฟีเจอร์ใหม่: ถอดความต้องการจาก `build-plan.md` และสร้าง
|
|
71
|
+
- หาก Resuming: ใช้ Spec เดิมใน `devflow/context/{xxx-slug}/spec.md`
|
|
72
|
+
- หากเป็นฟีเจอร์ใหม่: ถอดความต้องการจาก `build-plan.md` และสร้าง Task Workspace ที่ `devflow/context/{xxx-slug}/` พร้อมเขียน `spec.md`, `stage.md`, `findings.md` และวิเคราะห์ Red-team ก่อนเริ่มโค้ด
|
|
74
73
|
|
|
75
74
|
### 2.2 Create / Resume Feature Branch
|
|
76
|
-
- สร้าง Branch ตาม Prefix ใน Config (เช่น `feature/
|
|
75
|
+
- สร้าง Branch ตาม Prefix ใน Config (เช่น `feature/061-slug`) จาก Default Branch
|
|
77
76
|
|
|
78
77
|
### 2.3 Implement Small Steps with Strict TDD
|
|
79
78
|
- ดำเนินการสร้างฟังก์ชันทีละ Task ตาม Checklist ใน Spec:
|
|
@@ -96,7 +95,7 @@ Where this sits in the workflow:
|
|
|
96
95
|
- รัน Verification ขั้นสุดท้าย
|
|
97
96
|
- ย้ายและ Archive เอกสารไปที่ `devflow/history/features/{xxx-slug}.md`
|
|
98
97
|
- อัปเดตเช็คบ็อกซ์ใน `devflow/build-plan.md`
|
|
99
|
-
-
|
|
98
|
+
- ลบโฟลเดอร์รัน `devflow/context/{xxx-slug}/`
|
|
100
99
|
- Squash-merge Feature Branch เข้าสู่ Local Main และลบ Feature Branch ใน Local
|
|
101
100
|
- นับจำนวนฟีเจอร์ที่สำเร็จเพิ่มขึ้น 1
|
|
102
101
|
|
|
@@ -9,14 +9,14 @@ Use this skill to guide the user on what to do next, inspect current workspace s
|
|
|
9
9
|
|
|
10
10
|
## Input
|
|
11
11
|
|
|
12
|
-
- **No argument (`devflow`, `/devflow`, `$devflow`, or `status`)**: Inspect current workspace state (active
|
|
12
|
+
- **No argument (`devflow`, `/devflow`, `$devflow`, or `status`)**: Inspect current workspace state (active tasks in `devflow/context/{xxx-slug}/`, active discovery in `devflow/discoveries/`, pending ideas in `devflow/ideas.md`, and project overview in `devflow/context/project-overview.md`) and recommend the exact next action.
|
|
13
13
|
- **With user request (`devflow "<request>"`)**: Classify the user's intent and guide them to the matching DevFlow workflow stage or companion command path.
|
|
14
14
|
|
|
15
|
-
## The
|
|
15
|
+
## The Task-Isolated Living Spec Architecture
|
|
16
16
|
|
|
17
|
-
Nexus-DevFlow uses a **
|
|
17
|
+
Nexus-DevFlow uses a **Task-Isolated Living Spec Model**:
|
|
18
18
|
- **The 4-Stage Lifecycle**: `/feature` (or `/fix`) ➔ `/implement` ➔ `/check` ➔ `/complete`
|
|
19
|
-
- Driven by a **
|
|
19
|
+
- Driven by a **Task-Isolated Living Spec (`devflow/context/{xxx-slug}/spec.md`)** that integrates architectural depth (Define, Spec, Plan, Execution Log, Multi-Lane QA, and Release Digest) into dedicated task workspaces without root bottleneck.
|
|
20
20
|
- **Pre-Flight Inception Engine**: Companion skills (`/discovery`, `/idea`, `/grill`, `/brainstorm`) feed directly into `/feature`.
|
|
21
21
|
|
|
22
22
|
---
|
|
@@ -26,13 +26,13 @@ Nexus-DevFlow uses a **Single Unified Living Spec Model**:
|
|
|
26
26
|
When invoked without an argument (or when determining the next step), inspect:
|
|
27
27
|
|
|
28
28
|
1. **Project Setup Baseline**: Read `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`. If empty or default placeholders, recommend `onboard` (for fresh projects) or `adopt` (for existing codebases).
|
|
29
|
-
2. **Active Delivery
|
|
30
|
-
- If `
|
|
31
|
-
- If all tasks are completed (`- [x]`) but no passing verification evidence in Section 5 -> Recommend `/check`.
|
|
32
|
-
- If verification evidence passed in Section 5 -> Recommend `/complete`.
|
|
29
|
+
2. **Active Delivery Runs**: Scan `devflow/context/{xxx-slug}/` subdirectories.
|
|
30
|
+
- If active `spec.md` has incomplete checklist tasks (`- [ ]`) -> Recommend `/implement [id]`.
|
|
31
|
+
- If all tasks are completed (`- [x]`) but no passing verification evidence in Section 5 -> Recommend `/check [id]`.
|
|
32
|
+
- If verification evidence passed in Section 5 -> Recommend `/complete [id]`.
|
|
33
33
|
3. **Active Discovery**: Check `devflow/discoveries/` for open discovery notes.
|
|
34
34
|
4. **Pending Ideas Inbox**: Check `devflow/ideas.md`. If items exist under `## 📌 Pending Ideas`, summarize them in a **💡 Pending Ideas (Inbox)** list with their IDs (`[IDEA-xxx]`), feasibility, and mention that they can be started with `/feature IDEA-xxx` or `/discovery IDEA-xxx`.
|
|
35
|
-
5. **Audit Findings Ledger**: Check `devflow/context/findings.md` for open high-severity findings.
|
|
35
|
+
5. **Audit Findings Ledger**: Check `devflow/context/{xxx-slug}/findings.md` for open high-severity findings.
|
|
36
36
|
|
|
37
37
|
### Default State Recommendations
|
|
38
38
|
- If no run is active and user wants to start a feature -> Recommend `/feature <name>`.
|
|
@@ -55,7 +55,8 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
55
55
|
| **"Execute implementation tasks"** | `implement` | `/implement` | **Core Loop**: `/implement` -> `/check` |
|
|
56
56
|
| **"Run QA verification & check"** | `check` | `/check` | **Core Loop**: `/check` -> `/complete` |
|
|
57
57
|
| **"Complete run & git merge"** | `complete` | `/complete` | **Core Loop**: `/complete` |
|
|
58
|
-
| **"Generate HTML dashboard report"**| `report-html` | `/report:html` | **Standalone**: Converts
|
|
58
|
+
| **"Generate HTML dashboard report"**| `report-html` | `/report:html` | **Standalone**: Converts living spec or archive to HTML |
|
|
59
|
+
| **"Create editorial diagram / flowchart"**| `diagram-design`| `/diagram-design` | **Third-Party**: 39 visual diagrams (HTML/SVG) |
|
|
59
60
|
| "Setup DevFlow on fresh/new project" | `onboard` | `onboard` / `setup` | `onboard` -> `/feature` |
|
|
60
61
|
| "Adopt DevFlow on existing codebase" | `adopt` | `adopt` / `bootstrap` | `adopt` -> `/feature` |
|
|
61
62
|
| "Check setup health & diagnostics" | `doctor` | `doctor` / `health` | `doctor` |
|
|
@@ -72,8 +73,8 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
72
73
|
## Available Skills Sitemap
|
|
73
74
|
|
|
74
75
|
### 1. Mainline Living Spec Loop (4 Steps)
|
|
75
|
-
- `feature` (`/feature`, `/spec`) - Define, spec, and plan in `
|
|
76
|
-
- `fix` (`/fix`) - Document an ad-hoc bug or change in `
|
|
76
|
+
- `feature` (`/feature`, `/spec`) - Define, spec, and plan in `devflow/context/{xxx-slug}/spec.md`
|
|
77
|
+
- `fix` (`/fix`) - Document an ad-hoc bug or change in `devflow/context/{xxx-slug}/spec.md`
|
|
77
78
|
- `implement` (`/implement`) - Execute planned checklist tasks with TDD
|
|
78
79
|
- `check` (`/check`) - Senior QA review, multi-lane verification, record evidence
|
|
79
80
|
- `complete` (`/complete`) - Safety pass, release digest, git merge, close run
|
|
@@ -94,4 +95,8 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
94
95
|
- `report-html` - Standalone interactive HTML report dashboard
|
|
95
96
|
- `debug` - Root-cause investigation without editing code
|
|
96
97
|
- `rollback` - Safe reversal of completed features
|
|
97
|
-
- `release` - Deployment readiness check
|
|
98
|
+
- `release` - Deployment readiness check
|
|
99
|
+
|
|
100
|
+
### 4. Installed Third-Party Skills & Extensions
|
|
101
|
+
- `diagram-design` (`/diagram-design`) - 39 editorial visual diagram types (HTML/SVG) for system architecture, sequence flows, ER models, data platform pipelines, and journeys.
|
|
102
|
+
- *Use `nexus-devflow skill add <url>` to install more third-party skills.*
|
|
@@ -57,7 +57,7 @@ devflow/discoveries/{DISCOVERY_ID}-{slug}/discovery.md
|
|
|
57
57
|
```
|
|
58
58
|
*(A Discovery ID uses the namespace `DISC-YYYYMMDD-NNN`. It is not a Running ID and does not reserve a numeric delivery run.)*
|
|
59
59
|
|
|
60
|
-
###
|
|
60
|
+
### 6 Supporting Routes & Built-in Lenses:
|
|
61
61
|
|
|
62
62
|
1. **Brainstorming Lens (Divergent & Convergent)**:
|
|
63
63
|
- Formulate 2-3 viable options with trade-offs.
|
|
@@ -72,11 +72,16 @@ devflow/discoveries/{DISCOVERY_ID}-{slug}/discovery.md
|
|
|
72
72
|
5. **Socratic Grilling & Domain Alignment Lens (`grill`)**:
|
|
73
73
|
- Codebase-grounded interactive inquiry to clarify entity boundaries, data flows, and edge cases.
|
|
74
74
|
- Record agreed terminology in `devflow/context/glossary.md` and major architecture decisions in `devflow/decisions/ADR-xxx-{slug}.md`.
|
|
75
|
+
6. **🎨 Visual Architecture & Diagram Design Lens (`diagram-design`)**:
|
|
76
|
+
- When exploring system topologies, legacy IT modernizations, sequence flows, data platform pipelines, or user journeys, check if the third-party skill `diagram-design` is installed in `.agents/skills/diagram-design/`.
|
|
77
|
+
- If available: Read `.agents/skills/diagram-design/SKILL.md` and load the matching type reference (e.g. `references/type-architecture.md`, `references/type-data-flow.md`, `references/type-sequence.md`, `references/type-journey.md`).
|
|
78
|
+
- Strictly follow the genuine design rules: editorial palette, style guide gate, target density 4/10, and self-contained HTML/SVG output.
|
|
79
|
+
- Save diagram artifacts to `devflow/discoveries/{DISCOVERY_ID}-{slug}/diagrams/{name}.html` and reference them directly in `discovery.md`.
|
|
75
80
|
|
|
76
81
|
### Decision & Approval Gate:
|
|
77
82
|
Set one visible decision:
|
|
78
83
|
- `Proceed`: Enough value and evidence exist to define delivery work:
|
|
79
|
-
- Handoff to `/feature {discovery_id}` or `/fix {discovery_id}` to create the
|
|
84
|
+
- Handoff to `/feature {discovery_id}` or `/fix {discovery_id}` to create the Task-Isolated Living Spec in `devflow/context/{xxx-slug}/spec.md`.
|
|
80
85
|
- `Defer`: The idea remains relevant but timing or evidence is not ready.
|
|
81
86
|
- `Reject`: The idea should not proceed under current framing.
|
|
82
87
|
|
|
@@ -85,5 +90,5 @@ Set one visible decision:
|
|
|
85
90
|
## Next Workflow Recommendations
|
|
86
91
|
|
|
87
92
|
- **From Macro Project Mode**: Run `/overview` to compile context into `devflow/context/project-overview.md`.
|
|
88
|
-
- **From Micro Pre-Flight (Approved Proceed)**: Run `/feature {discovery_id}` or `/fix {discovery_id}` to start the
|
|
93
|
+
- **From Micro Pre-Flight (Approved Proceed)**: Run `/feature {discovery_id}` or `/fix {discovery_id}` to start the Task-Isolated Living Spec lifecycle.
|
|
89
94
|
- **From Micro Pre-Flight (Defer / Reject)**: No next command needed.
|
|
@@ -30,10 +30,10 @@ Gather these, then summarize. Do not dump file contents.
|
|
|
30
30
|
1. **Required DevFlow files**
|
|
31
31
|
- Confirm `AGENTS.md`, `devflow/project-plan.md`,
|
|
32
32
|
`devflow/build-plan.md`, and `devflow/context/` exist.
|
|
33
|
-
- Confirm `devflow/context/
|
|
34
|
-
`devflow/context/
|
|
35
|
-
`devflow/context/
|
|
36
|
-
`devflow/context/
|
|
33
|
+
- Confirm `devflow/context/project-overview.md`,
|
|
34
|
+
`devflow/context/coding-standards.md`,
|
|
35
|
+
`devflow/context/ai-interaction.md`, and
|
|
36
|
+
`devflow/context/glossary.md` exist.
|
|
37
37
|
- Confirm `devflow/history/features/` and `devflow/history/fixes/` exist.
|
|
38
38
|
When the rollback skill is installed, also check
|
|
39
39
|
`devflow/history/rollbacks/`. A missing rollback folder on a legacy
|
|
@@ -129,16 +129,12 @@ Gather these, then summarize. Do not dump file contents.
|
|
|
129
129
|
- If either planning file appears newer than the overview by filesystem time,
|
|
130
130
|
call the overview possibly stale and suggest `/overview` before feature work.
|
|
131
131
|
7. **Current workflow state**
|
|
132
|
-
-
|
|
133
|
-
active feature, fix, or rollback spec.
|
|
132
|
+
- Scan `devflow/context/{xxx-slug}/` for active task directories and specs.
|
|
134
133
|
- If a spec is active, report checked and unchecked implementation steps.
|
|
135
|
-
- If
|
|
134
|
+
- If no active task directory exists in `devflow/context/` but git has source or workflow
|
|
136
135
|
changes, warn that work is happening without an active spec.
|
|
137
136
|
- Flag active spec on `main`, all spec steps checked but no completion, or a
|
|
138
|
-
branch that does not match `feature
|
|
139
|
-
type. For a feature, also flag a mismatch with the next unchecked
|
|
140
|
-
build-plan item. For a rollback, confirm its target is a checked item and do
|
|
141
|
-
not compare it to the next unchecked item.
|
|
137
|
+
branch that does not match `feature/{xxx-slug}`, `fix/{xxx-slug}`, or `rollback/{xxx-slug}`.
|
|
142
138
|
8. **Git**
|
|
143
139
|
- Report current branch, clean vs dirty working tree, rough changed-file count,
|
|
144
140
|
last commit subject, and whether the branch is ahead of upstream.
|
|
@@ -116,9 +116,8 @@ build plan starts high-level.
|
|
|
116
116
|
|
|
117
117
|
## Step 3 - write the spec
|
|
118
118
|
|
|
119
|
-
For the one (sub-)feature being built now,
|
|
120
|
-
`devflow/context/
|
|
121
|
-
`reference/feature-spec-template.md`. Fill every section:
|
|
119
|
+
For the one (sub-)feature being built now, allocate sequential ID (`xxx-slug`) and create a dedicated workspace at `devflow/context/{xxx-slug}/`. Write the full living spec to
|
|
120
|
+
`devflow/context/{xxx-slug}/spec.md`, following `reference/feature-spec-template.md`. Also initialize `stage.md` and `findings.md` in that folder. Fill every section:
|
|
122
121
|
- Goal, Problem Statement, and In/Out of scope
|
|
123
122
|
- Acceptance Criteria (AC-1, AC-2, ...)
|
|
124
123
|
- Small build steps as atomic 2-5 min checklist items (`- [ ]`, supporting `[TDD-Red]`, `[TDD-Green]`, `[TDD-Refactor]` triplets for functional logic)
|
|
@@ -178,7 +177,7 @@ code exists. Run the draft against these questions:
|
|
|
178
177
|
test when a `test` command is declared in `AGENTS.md`, UI/integration rides on
|
|
179
178
|
screenshot + build?
|
|
180
179
|
|
|
181
|
-
Apply the fixes to `
|
|
180
|
+
Apply the fixes to `devflow/context/{xxx-slug}/spec.md`. Then stop and present the spec, leading
|
|
182
181
|
with a short **"what the critique changed"** note - the splits, gaps, or scope
|
|
183
182
|
cuts you made (or "nothing - the draft held up"). That note is the point: it shows
|
|
184
183
|
the gate working before a line of code is written.
|
|
@@ -201,8 +200,8 @@ Tell the user to review and adjust. This skill plans; it never starts building.
|
|
|
201
200
|
## When a (sub-)feature is done
|
|
202
201
|
|
|
203
202
|
Check its box in `build-plan.md` (and the parent item once all its sub-items are
|
|
204
|
-
checked), archive the finished `devflow/context/
|
|
205
|
-
`devflow/history/features/
|
|
203
|
+
checked), archive the finished `devflow/context/{xxx-slug}/spec.md` to
|
|
204
|
+
`devflow/history/features/{xxx-slug}.md`, delete the run workspace `devflow/context/{xxx-slug}/`, then run `/feature` again for the next one.
|
|
206
205
|
|
|
207
206
|
## Formatting
|
|
208
207
|
|
|
@@ -21,14 +21,14 @@ it creates a dedicated run folder at `devflow/context/{xxx-slug}/` (e.g. `059-fi
|
|
|
21
21
|
A description of the bug or change, for example `/fix "password reset email never
|
|
22
22
|
sends"`. If the user just reported the problem in chat, use that.
|
|
23
23
|
|
|
24
|
-
The input may also be a finding ID from `devflow/context/findings.md
|
|
24
|
+
The input may also be a finding ID from `devflow/context/{xxx-slug}/findings.md` (or previous findings), alone
|
|
25
25
|
or with a description, for example `/fix F-03`.
|
|
26
26
|
|
|
27
27
|
## Step 1 - write the fix spec
|
|
28
28
|
|
|
29
29
|
Pull context from `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`,
|
|
30
30
|
calculate the next sequential running ID (e.g. `059-fix-slug`),
|
|
31
|
-
then write a short spec to `devflow/context/{xxx-slug}/spec.md`
|
|
31
|
+
then write a short spec to `devflow/context/{xxx-slug}/spec.md`. Also initialize `stage.md` and `findings.md` in that folder. Keep it lighter than a feature spec:
|
|
32
32
|
|
|
33
33
|
- **Title** - the bug or change in a few words.
|
|
34
34
|
- **Type:** Fix (so `/complete` logs it to `devflow/history/fixes/`, not `devflow/history/features/`).
|