@jakkrichm/create-nexus-devflow 2.14.0 → 2.15.1

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 (42) hide show
  1. package/dist/lib/branch-context.d.ts +1 -0
  2. package/dist/lib/branch-context.js +8 -3
  3. package/dist/lib/branch-context.js.map +1 -1
  4. package/dist/lib/dashboard-page.d.ts +5 -2
  5. package/dist/lib/dashboard-page.js +7 -388
  6. package/dist/lib/dashboard-page.js.map +1 -1
  7. package/dist/lib/dashboard-snapshot.d.ts +22 -3
  8. package/dist/lib/dashboard-snapshot.js +154 -3
  9. package/dist/lib/dashboard-snapshot.js.map +1 -1
  10. package/dist/lib/delivery-lifecycle-engine.d.ts +1 -1
  11. package/dist/lib/delivery-lifecycle-engine.js +1 -1
  12. package/dist/lib/delivery-lifecycle-engine.js.map +1 -1
  13. package/dist/lib/mcp-server-engine.d.ts +57 -0
  14. package/dist/lib/mcp-server-engine.js +678 -0
  15. package/dist/lib/mcp-server-engine.js.map +1 -0
  16. package/dist/lib/mcp.d.ts +15 -27
  17. package/dist/lib/mcp.js +20 -646
  18. package/dist/lib/mcp.js.map +1 -1
  19. package/dist/lib/project-status-engine.d.ts +110 -0
  20. package/dist/lib/project-status-engine.js +493 -0
  21. package/dist/lib/project-status-engine.js.map +1 -0
  22. package/dist/lib/skill-manager.d.ts +2 -82
  23. package/dist/lib/skill-manager.js +15 -1168
  24. package/dist/lib/skill-manager.js.map +1 -1
  25. package/dist/lib/skill-registry-engine.d.ts +121 -0
  26. package/dist/lib/skill-registry-engine.js +810 -0
  27. package/dist/lib/skill-registry-engine.js.map +1 -0
  28. package/dist/lib/status.d.ts +1 -90
  29. package/dist/lib/status.js +7 -467
  30. package/dist/lib/status.js.map +1 -1
  31. package/dist/lib/studio-view-renderer.d.ts +17 -1
  32. package/dist/lib/studio-view-renderer.js +855 -3
  33. package/dist/lib/studio-view-renderer.js.map +1 -1
  34. package/package.json +1 -1
  35. package/template/.agents/skills/complete/SKILL.md +14 -13
  36. package/template/.agents/skills/debug/SKILL.md +14 -0
  37. package/template/.agents/skills/implement/SKILL.md +36 -2
  38. package/template/.claude/skills/complete/SKILL.md +14 -13
  39. package/template/.claude/skills/debug/SKILL.md +14 -0
  40. package/template/.claude/skills/implement/SKILL.md +36 -2
  41. package/template/devflow/build-plan.md +9 -5
  42. package/template/devflow/context/ai-interaction.md +4 -2
@@ -1 +1 @@
1
- {"version":3,"file":"studio-view-renderer.js","sourceRoot":"","sources":["../../lib/studio-view-renderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAiB1D,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4X1B,CAAC;AAEF,MAAM,OAAO,kBAAkB;IACrB,YAAY,CAA4B;IAEhD,YAAY,UAAqC,EAAE;QACjD,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,MAAM,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,GAA8B;QACvC,IAAI,CAAC,GAAG;YAAE,OAAO,EAAE,CAAC;QACpB,OAAO,MAAM,CAAC,GAAG,CAAC;aACf,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;aACtB,OAAO,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AK,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;MACjF,kBAAkB;;;;;MAKlB,UAAU;;;;;;;;;;;;;;;MAeV,WAAW;;MAEX,WAAW;;;;wCAIuB,UAAU,CAAC,gBAAgB,wCAAwC,MAAM,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC;gCACtG,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,WAAW,mCAAmC,UAAU,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;QAgB/K,CAAC;IACP,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakkrichm/create-nexus-devflow",
3
- "version": "2.14.0",
3
+ "version": "2.15.1",
4
4
  "description": "Installer and workflow manager for Nexus-DevFlow agentic workflow layer.",
5
5
  "license": "MIT",
6
6
  "author": "Jakkrich",
@@ -135,26 +135,27 @@ and tests, must pass first.
135
135
 
136
136
  Present the user with two clear delivery options:
137
137
 
138
- ### 🔀 Option 1: Team MR / PR Flow (Pull latest main/master & Push dev branch) [Default for Teams]
139
- - **When to choose**: When working in a team where code reviews happen via GitLab Merge Request (MR) or GitHub Pull Request (PR), or where developers lack direct write access to protected `main`/`master` branches.
138
+ ### 🔀 Option 1: Direct Local Squash-Merge / Direct Commit (Solo Mode - For Solo Development)
139
+ - **When to choose**: When working alone (Solo Developer) or possessing direct merge/commit authority to `main` or `master` locally.
140
140
  - **Execution Actions**:
141
- 1. Detect default base branch name (`main` or `master`).
141
+ 1. If on a feature branch: Switch to `main` or `master` (`git checkout <main/master>`), squash-merge the branch (`git merge --squash <feature-branch>`), and commit the work.
142
+ 2. If working directly on local `main`/`master`: Commit the changes directly to the active branch.
143
+ 3. Delete the local feature branch only upon explicit user confirmation.
144
+ 4. **Always stop and ask separately** before pushing local `main`/`master` to the remote upstream repository. Merge approval never implies push approval.
145
+ 5. Run `git push origin <main/master>` only after separate explicit confirmation.
146
+
147
+ ### 🔀 Option 2: Team MR / PR Flow (Team Mode - For Teams / Multi-Developer)
148
+ - **When to choose**: When collaborating in a team with more than one person where code changes require peer review via GitLab Merge Request (MR) or GitHub Pull Request (PR), or where developers lack direct write access to protected `main`/`master` branches.
149
+ - **Execution Actions**:
150
+ 1. Detect the default base branch name (`main` or `master`).
142
151
  2. Run `git pull origin <main/master>` (or `git fetch origin <main/master> && git merge origin/<main/master>`) to bring the latest upstream changes into the active feature/dev branch.
143
- 3. If merge conflicts occur, highlight them clearly and help the user resolve them.
152
+ 3. If merge conflicts occur, highlight them clearly and guide the user through resolution.
144
153
  4. Run `Verify` (or build & tests) to ensure integrity after the merge.
145
154
  5. Run `git push origin <current-feature-branch>` to push the up-to-date branch to the remote repository.
146
155
  6. Stop and inform the user that the branch is synchronized and pushed, ready for them to open a Merge Request (MR / PR) on GitLab/GitHub.
147
156
  7. **Do NOT merge into local `main`/`master` and do NOT delete the branch.**
148
157
 
149
- ### 🔀 Option 2: Direct Local Squash-Merge (Solo / Direct Access Mode)
150
- - **When to choose**: Only when the user explicitly instructs that they want to merge directly into `main` or `master` locally now (e.g. solo projects or Tech Leads with merge privileges).
151
- - **Execution Actions**:
152
- 1. Switch to `main` or `master`: `git checkout <main/master>`.
153
- 2. Squash-merge the branch: `git merge --squash <feature-branch>`.
154
- 3. Commit the squash-merge.
155
- 4. Delete the local feature branch only with the user's explicit consent.
156
- 5. **Stop and ask separately** before pushing local `main`/`master` to remote upstream. The merge approval does NOT count as push approval.
157
- 6. Run `git push origin <main/master>` only after separate explicit confirmation.
158
+
158
159
 
159
160
  ---
160
161
 
@@ -32,6 +32,20 @@ With no useful symptom, ask for expected behavior, actual behavior, and smallest
32
32
 
33
33
  ---
34
34
 
35
+ ## 🧘 Phase 0: The 4 Debug Mantras (Mindset & Discipline)
36
+
37
+ Recite and apply these four ironclad discipline constraints at the start of any debugging session:
38
+
39
+ > **The 4 Mantras:**
40
+ > 1. **First is reproducibility.** Can the issue be reproduced reliably? Build a fast, deterministic pass/fail signal before hypothesizing.
41
+ > 2. **Know the fail path.** Debugger first; then source trace + knob enumeration; then in-code instrumentation.
42
+ > 3. **Question your hypothesis.** What would disprove it? Run the disproof first before chasing phantoms.
43
+ > 4. **Every run is a breadcrumb.** Maintain a running ledger of every experiment and cross-reference all observations.
44
+
45
+ Never propose a fix, edit production code, or speculate without satisfying the mantras below.
46
+
47
+ ---
48
+
35
49
  ## 🔬 The 6-Phase Scientific Debugging Loop
36
50
 
37
51
  ### Phase 1: Build a Red-Capable Feedback Loop (Golden Rule)
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: implement
3
3
  description: "[devflow] Implement or start coding the active task-isolated spec on its branch in small steps, running tests after each step and presenting the configured review handoff. Use for /implement or requests to build or resume an approved spec."
4
- argument-hint: "[{run-id, number, or name}]"
4
+ argument-hint: "[{run-id, number, or name}] [--ticket <NN | path>]"
5
5
  ---
6
6
 
7
7
  # implement - build the target spec, one reviewed step at a time
@@ -27,10 +27,30 @@ behind your approval. It builds on a branch and offers an optional commit
27
27
  checkpoint after each step; the work-level commit, merging, and logging are
28
28
  `/complete`'s job.
29
29
 
30
- ## Multi-Run Target Resolution
30
+ ## Multi-Run Target & Ticket-Driven Target Resolution
31
31
 
32
32
  - **Given an ID or name** (e.g. `/implement 12`, `/implement 012`, `/implement kanban`) -> locates the matching run folder `devflow/context/{xxx-slug}/`, checks out `feature/{xxx-slug}`, and loads only that run's `spec.md`.
33
33
  - **With no argument** (`/implement`) -> checks current git branch matching `feature/{xxx-slug}`, or auto-picks if only 1 spec is active in `devflow/context/`, or prompts the user if multiple specs are queued.
34
+ - **Ticket Input (`--ticket <NN | path>`)**: Targets a specific tracer-bullet ticket directly (e.g. `/implement 12 --ticket 01`, `/implement --ticket 02`, `/implement --ticket issues/01-auth.md`, or `/implement 01` when run-id is not ambiguous).
35
+
36
+ ### Ticket Discovery Hierarchy
37
+
38
+ When `/implement` runs, it checks for tracer-bullet tickets in the following priority order:
39
+ 1. `devflow/context/{xxx-slug}/tickets/<NN>-<slug>.md` (Recommended Task-Isolated Living Spec location)
40
+ 2. `devflow/context/{xxx-slug}/issues/<NN>-<slug>.md`
41
+ 3. `.scratch/{xxx-slug}/issues/` or `.scratch/<feature-slug>/issues/`
42
+ 4. Section `## 🎫 Tracer-Bullet Tickets (from to-tickets)` inside `spec.md`
43
+
44
+ **Backward Compatibility**: If no tickets are found in any of the above locations, `/implement` executes using the standard Checklist under `## 📋 3. Execution Plan & TDD Checklist` in `spec.md`. Existing tasks and projects experience zero breaking changes.
45
+
46
+ ### Frontier Dependency Resolution
47
+
48
+ When tickets are detected:
49
+ 1. **Dependency Analysis**: Inspect `**Blocked by:**` across all discovered tickets in the set.
50
+ - An unblocked ticket has `Blocked by: None` or all referenced blocker tickets are marked `done` (or have all checkboxes `- [x]`).
51
+ - The set of currently unblocked, incomplete tickets forms the **Unblocked Frontier**.
52
+ 2. **Auto-Frontier Selection**: If no `--ticket` flag is provided, automatically select the earliest unblocked ticket on the Frontier (sorted by ticket number `<NN>`).
53
+ 3. **Blocker Guardrail**: If the user explicitly requests a ticket (e.g. `--ticket 03`) that has unfinished dependencies (blockers), warn the user immediately, display the pending blocker tickets, and offer to switch to the earliest unblocked blocker instead.
34
54
 
35
55
  ## Before you start
36
56
 
@@ -149,6 +169,20 @@ Work through the spec's build steps in order, one at a time. For each step:
149
169
  where things stand: the branch is intact; run `/implement` again to resume, or
150
170
  `/complete` to wrap up what's built so far.
151
171
 
172
+ ### Ticket-Driven TDD Execution (when working from a Ticket)
173
+
174
+ When executing a tracer-bullet ticket (via `--ticket` or auto-frontier):
175
+ 1. **Extract Scope**: Read *What to build* and *Acceptance criteria* checklist (`- [ ]`) from the active ticket file.
176
+ 2. **Strict TDD Cycle per Criterion**:
177
+ - **🔴 RED**: Write the unit/integration test for the criterion first at the agreed seam. Execute the test command and verify the expected failing assertion.
178
+ - **🟢 GREEN**: Implement only the minimal code in the source file necessary to make the test pass. Re-run test and show passing output.
179
+ - **🔵 REFACTOR**: Refactor and format cleanly, verifying that 100% of tests remain green.
180
+ 3. **Verify Gate**: Run the project's Verify command (`npm run check` or documented test suite) to ensure whole-system health before concluding the ticket.
181
+ 4. **Bidirectional State Sync**:
182
+ - Mark each completed criterion `- [x]` in the ticket file.
183
+ - Once all criteria in the ticket pass, update the ticket status to `**Status:** done` (or `Status: done`).
184
+ - Mirror the completed work, status, and diff evidence into `devflow/context/{xxx-slug}/spec.md` (under `## 📋 3. Execution Plan & TDD Checklist` and `## ⚡ 4. Implementation Log & Evidence`) so the Living Spec remains the authoritative single source of truth for `/check`, `/audit`, and `/complete`.
185
+
152
186
  Never batch the whole thing into one diff. If a step's diff is too big to read,
153
187
  split it. The documented `Verify` command, or the fallback build and tests, must
154
188
  pass before any commit.
@@ -135,26 +135,27 @@ and tests, must pass first.
135
135
 
136
136
  Present the user with two clear delivery options:
137
137
 
138
- ### 🔀 Option 1: Team MR / PR Flow (Pull latest main/master & Push dev branch) [Default for Teams]
139
- - **When to choose**: When working in a team where code reviews happen via GitLab Merge Request (MR) or GitHub Pull Request (PR), or where developers lack direct write access to protected `main`/`master` branches.
138
+ ### 🔀 Option 1: Direct Local Squash-Merge / Direct Commit (Solo Mode - For Solo Development)
139
+ - **When to choose**: When working alone (Solo Developer) or possessing direct merge/commit authority to `main` or `master` locally.
140
140
  - **Execution Actions**:
141
- 1. Detect default base branch name (`main` or `master`).
141
+ 1. If on a feature branch: Switch to `main` or `master` (`git checkout <main/master>`), squash-merge the branch (`git merge --squash <feature-branch>`), and commit the work.
142
+ 2. If working directly on local `main`/`master`: Commit the changes directly to the active branch.
143
+ 3. Delete the local feature branch only upon explicit user confirmation.
144
+ 4. **Always stop and ask separately** before pushing local `main`/`master` to the remote upstream repository. Merge approval never implies push approval.
145
+ 5. Run `git push origin <main/master>` only after separate explicit confirmation.
146
+
147
+ ### 🔀 Option 2: Team MR / PR Flow (Team Mode - For Teams / Multi-Developer)
148
+ - **When to choose**: When collaborating in a team with more than one person where code changes require peer review via GitLab Merge Request (MR) or GitHub Pull Request (PR), or where developers lack direct write access to protected `main`/`master` branches.
149
+ - **Execution Actions**:
150
+ 1. Detect the default base branch name (`main` or `master`).
142
151
  2. Run `git pull origin <main/master>` (or `git fetch origin <main/master> && git merge origin/<main/master>`) to bring the latest upstream changes into the active feature/dev branch.
143
- 3. If merge conflicts occur, highlight them clearly and help the user resolve them.
152
+ 3. If merge conflicts occur, highlight them clearly and guide the user through resolution.
144
153
  4. Run `Verify` (or build & tests) to ensure integrity after the merge.
145
154
  5. Run `git push origin <current-feature-branch>` to push the up-to-date branch to the remote repository.
146
155
  6. Stop and inform the user that the branch is synchronized and pushed, ready for them to open a Merge Request (MR / PR) on GitLab/GitHub.
147
156
  7. **Do NOT merge into local `main`/`master` and do NOT delete the branch.**
148
157
 
149
- ### 🔀 Option 2: Direct Local Squash-Merge (Solo / Direct Access Mode)
150
- - **When to choose**: Only when the user explicitly instructs that they want to merge directly into `main` or `master` locally now (e.g. solo projects or Tech Leads with merge privileges).
151
- - **Execution Actions**:
152
- 1. Switch to `main` or `master`: `git checkout <main/master>`.
153
- 2. Squash-merge the branch: `git merge --squash <feature-branch>`.
154
- 3. Commit the squash-merge.
155
- 4. Delete the local feature branch only with the user's explicit consent.
156
- 5. **Stop and ask separately** before pushing local `main`/`master` to remote upstream. The merge approval does NOT count as push approval.
157
- 6. Run `git push origin <main/master>` only after separate explicit confirmation.
158
+
158
159
 
159
160
  ---
160
161
 
@@ -32,6 +32,20 @@ With no useful symptom, ask for expected behavior, actual behavior, and smallest
32
32
 
33
33
  ---
34
34
 
35
+ ## 🧘 Phase 0: The 4 Debug Mantras (Mindset & Discipline)
36
+
37
+ Recite and apply these four ironclad discipline constraints at the start of any debugging session:
38
+
39
+ > **The 4 Mantras:**
40
+ > 1. **First is reproducibility.** Can the issue be reproduced reliably? Build a fast, deterministic pass/fail signal before hypothesizing.
41
+ > 2. **Know the fail path.** Debugger first; then source trace + knob enumeration; then in-code instrumentation.
42
+ > 3. **Question your hypothesis.** What would disprove it? Run the disproof first before chasing phantoms.
43
+ > 4. **Every run is a breadcrumb.** Maintain a running ledger of every experiment and cross-reference all observations.
44
+
45
+ Never propose a fix, edit production code, or speculate without satisfying the mantras below.
46
+
47
+ ---
48
+
35
49
  ## 🔬 The 6-Phase Scientific Debugging Loop
36
50
 
37
51
  ### Phase 1: Build a Red-Capable Feedback Loop (Golden Rule)
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: implement
3
3
  description: "[devflow] Implement or start coding the active task-isolated spec on its branch in small steps, running tests after each step and presenting the configured review handoff. Use for /implement or requests to build or resume an approved spec."
4
- argument-hint: "[{run-id, number, or name}]"
4
+ argument-hint: "[{run-id, number, or name}] [--ticket <NN | path>]"
5
5
  ---
6
6
 
7
7
  # implement - build the target spec, one reviewed step at a time
@@ -27,10 +27,30 @@ behind your approval. It builds on a branch and offers an optional commit
27
27
  checkpoint after each step; the work-level commit, merging, and logging are
28
28
  `/complete`'s job.
29
29
 
30
- ## Multi-Run Target Resolution
30
+ ## Multi-Run Target & Ticket-Driven Target Resolution
31
31
 
32
32
  - **Given an ID or name** (e.g. `/implement 12`, `/implement 012`, `/implement kanban`) -> locates the matching run folder `devflow/context/{xxx-slug}/`, checks out `feature/{xxx-slug}`, and loads only that run's `spec.md`.
33
33
  - **With no argument** (`/implement`) -> checks current git branch matching `feature/{xxx-slug}`, or auto-picks if only 1 spec is active in `devflow/context/`, or prompts the user if multiple specs are queued.
34
+ - **Ticket Input (`--ticket <NN | path>`)**: Targets a specific tracer-bullet ticket directly (e.g. `/implement 12 --ticket 01`, `/implement --ticket 02`, `/implement --ticket issues/01-auth.md`, or `/implement 01` when run-id is not ambiguous).
35
+
36
+ ### Ticket Discovery Hierarchy
37
+
38
+ When `/implement` runs, it checks for tracer-bullet tickets in the following priority order:
39
+ 1. `devflow/context/{xxx-slug}/tickets/<NN>-<slug>.md` (Recommended Task-Isolated Living Spec location)
40
+ 2. `devflow/context/{xxx-slug}/issues/<NN>-<slug>.md`
41
+ 3. `.scratch/{xxx-slug}/issues/` or `.scratch/<feature-slug>/issues/`
42
+ 4. Section `## 🎫 Tracer-Bullet Tickets (from to-tickets)` inside `spec.md`
43
+
44
+ **Backward Compatibility**: If no tickets are found in any of the above locations, `/implement` executes using the standard Checklist under `## 📋 3. Execution Plan & TDD Checklist` in `spec.md`. Existing tasks and projects experience zero breaking changes.
45
+
46
+ ### Frontier Dependency Resolution
47
+
48
+ When tickets are detected:
49
+ 1. **Dependency Analysis**: Inspect `**Blocked by:**` across all discovered tickets in the set.
50
+ - An unblocked ticket has `Blocked by: None` or all referenced blocker tickets are marked `done` (or have all checkboxes `- [x]`).
51
+ - The set of currently unblocked, incomplete tickets forms the **Unblocked Frontier**.
52
+ 2. **Auto-Frontier Selection**: If no `--ticket` flag is provided, automatically select the earliest unblocked ticket on the Frontier (sorted by ticket number `<NN>`).
53
+ 3. **Blocker Guardrail**: If the user explicitly requests a ticket (e.g. `--ticket 03`) that has unfinished dependencies (blockers), warn the user immediately, display the pending blocker tickets, and offer to switch to the earliest unblocked blocker instead.
34
54
 
35
55
  ## Before you start
36
56
 
@@ -149,6 +169,20 @@ Work through the spec's build steps in order, one at a time. For each step:
149
169
  where things stand: the branch is intact; run `/implement` again to resume, or
150
170
  `/complete` to wrap up what's built so far.
151
171
 
172
+ ### Ticket-Driven TDD Execution (when working from a Ticket)
173
+
174
+ When executing a tracer-bullet ticket (via `--ticket` or auto-frontier):
175
+ 1. **Extract Scope**: Read *What to build* and *Acceptance criteria* checklist (`- [ ]`) from the active ticket file.
176
+ 2. **Strict TDD Cycle per Criterion**:
177
+ - **🔴 RED**: Write the unit/integration test for the criterion first at the agreed seam. Execute the test command and verify the expected failing assertion.
178
+ - **🟢 GREEN**: Implement only the minimal code in the source file necessary to make the test pass. Re-run test and show passing output.
179
+ - **🔵 REFACTOR**: Refactor and format cleanly, verifying that 100% of tests remain green.
180
+ 3. **Verify Gate**: Run the project's Verify command (`npm run check` or documented test suite) to ensure whole-system health before concluding the ticket.
181
+ 4. **Bidirectional State Sync**:
182
+ - Mark each completed criterion `- [x]` in the ticket file.
183
+ - Once all criteria in the ticket pass, update the ticket status to `**Status:** done` (or `Status: done`).
184
+ - Mirror the completed work, status, and diff evidence into `devflow/context/{xxx-slug}/spec.md` (under `## 📋 3. Execution Plan & TDD Checklist` and `## ⚡ 4. Implementation Log & Evidence`) so the Living Spec remains the authoritative single source of truth for `/check`, `/audit`, and `/complete`.
185
+
152
186
  Never batch the whole thing into one diff. If a step's diff is too big to read,
153
187
  split it. The documented `Verify` command, or the fallback build and tests, must
154
188
  pass before any commit.
@@ -230,12 +230,16 @@
230
230
 
231
231
  ---
232
232
 
233
- ## 🛡️ Phase 29: DevFlow Development Files Hygiene & Client Repo Isolation
234
-
235
- - [x] **29. DevFlow Internal Development Files Hygiene, Git Ignore Hardening, and Client Repo Isolation (`DISC-20260907-002`, `074-devflow-development-files-hygiene-and-client-isolation`)** `[Size: S]`
236
- - *Dependencies*: DISC-20260907-002
237
- - *Scope*: ปรับปรุง `.gitignore` ให้ครอบคลุม `devflow/inbox/*/raw/*`, `devflow/analysis/*`, และไฟล์ทดสอบ/แคชชั่วคราว, เสริมระบบคัดกรองใน `packages/create-nexus-devflow/scripts/prepare-template.ts` เพื่อป้องกันไม่ให้ไฟล์วิเคราะห์และข้อมูลดิบหลุดเข้า Starter Template, เพิ่มคู่มือและคำแนะนำใน `onboard/SKILL.md` และ `adopt/SKILL.md` สำหรับโหมด Local-Only (Zero-Visibility) พร้อม automated tests ตรวจสอบความสะอาดของ template ก่อน publish
233
+ ## 🖥️ Phase 30: Modernize Web Dashboard with Dynamic Archify Visualizer & Recommended Skills
238
234
 
235
+ - [x] **30. Modernize Web Dashboard with Dynamic Archify Visualizer & Recommended Skills (`DISC-20260907-003`, `080-dashboard-workflow-visualizer`)** `[Size: M]`
236
+ - *Dependencies*: Feature 28, DISC-20260907-003
237
+ - *Scope*: เพิ่ม Dynamic Archify SVG Workflow Visualizer (Macro Lifecycle Pulse Map พร้อม CSS Trace Motion และ Micro Tracer-Bullet Tickets DAG), เพิ่มการ์ด Recommended Skills & Vendors (`matt-pocock`, `bughunter`, `archify`, `diagram-design`, `9arm-skills`) พร้อมตรวจจับสถานะติดตั้งจริงและแสดงป้ายติ๊กถูก ✔, ปรับลดความรกบนแดชบอร์ด (ลบ Swarm Tab, ยุบ Doctor สรุปคลีน), เพิ่มข้อมูลใน `DashboardSnapshot` และชุดทดสอบความถูกต้องผ่าน 100%
238
+ ---
239
239
 
240
+ ## 🧹 Phase 31: Vendor Purge, Unified Debug & Headless Ticket Ingestion
240
241
 
242
+ - [x] **31. Purge Matt Pocock Vendor, Unify Debug Skill & Headless Ticket Ingestion (`081-purge-vendor-and-unify-debug`)** `[Size: S]`
243
+ - *Dependencies*: None
244
+ - *Scope*: ตัดโฟลเดอร์ vendor `devflow/.vendor/matt-pocock/`, ลบ skill wrapper ของ `matt-pocock` และ `debug-mantra`, รวมสาระสำคัญของ mantra 4 ข้อเข้าสู่ `/debug` (ทั้ง `.agents` และ `.claude`), ลบโฟลเดอร์ตกค้าง `.scratch/` และ `docs/agents/`, อัปเดต `AGENTS.md` และเอกสารเพื่อรองรับการนำเข้า external spec และ tickets จาก `devflow/context/{slug}/issues/` หรือ `tickets/` ได้ทันที
241
245
 
@@ -80,8 +80,8 @@ After the first successful `/overview`, DevFlow offers a reviewed local commit f
80
80
  - ทำการ Archive `spec.md` ไปเป็นไฟล์เดี่ยวที่ `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`
81
81
  - ลบโฟลเดอร์เฉพาะกิจ `devflow/context/{xxx-slug}/` ออกอย่างหมดจด
82
82
  - **Mandatory Delivery Gate**: บังคับถามผู้ใช้ก่อนเสมอว่าต้องการ Delivery รูปแบบใด:
83
- - **Option 1 (Team MR/PR Flow)**: Pull master/main ล่าสุดมารวมกับ Feature/Dev Branch แล้ว push branch ขึ้นไปเพื่อเปิด MR/PR (ไม่ merge เข้า main/master ในเครื่อง และไม่แตะ protected branch)
84
- - **Option 2 (Direct Squash-Merge)**: ทำการ Squash-merge เข้า main/master ในเครื่องเฉพาะเมื่อผู้ใช้สั่งโดยตรงเท่านั้น
83
+ - **Option 1 (Direct Squash-Merge / Direct Commit - Solo Mode)**: สำหรับทำงานคนเดียว ทำการ Squash-merge หรือ commit เข้า main/master ในเครื่องโดยตรง (และถามแยกต่างหากก่อน push ขึ้น remote)
84
+ - **Option 2 (Team MR/PR Flow - Team Mode)**: สำหรับทำงานเป็นทีมมากกว่า 1 คน ดึง master/main ล่าสุดมารวมกับ Feature/Dev Branch แล้ว push branch ขึ้นไปเพื่อเปิด MR/PR (ไม่ merge เข้า main/master ในเครื่อง)
85
85
  - อัปเดต `devflow/history/HISTORY.md` และ `devflow/build-plan.md` ให้เป็น `[x]` เรียบร้อย
86
86
 
87
87
  ---
@@ -102,6 +102,7 @@ During implementation in `/implement`:
102
102
  - **Show Green Phase**: Add minimal production code, re-run tests, and report pass rate.
103
103
  - **Show Refactor Phase**: Polish and clean up with zero test regression.
104
104
  - **Forbidden**: Never present functional code changes without matching test execution evidence.
105
+ - **Ticket-Driven TDD Bridge (Matt Pocock Flow)**: When implementing tracer-bullet tickets from `/to-tickets` via `/implement --ticket <NN>` or auto-frontier, each acceptance criterion executes via Red-Green-Refactor, ticking `- [x]` in the ticket file, marking status `done`, and mirroring progress into `devflow/context/{xxx-slug}/spec.md`.
105
106
 
106
107
  ### 🛡️ Two-Stage Verification Reporting
107
108
  During `/check`:
@@ -184,6 +185,7 @@ Nexus-DevFlow natively supports extending workflow capabilities with **Third-Par
184
185
  - **Workflow Command Integration Map**:
185
186
  - **`/discovery`**: When macro roadmap planning or micro pre-flight exploration involves system architecture, IT landscape, data pipelines, sequence flows, or user journeys, check for `archify` (for interactive system maps, data flows, and sequence traces) or `diagram-design` (for editorial and business layouts).
186
187
  - **`/feature` & `/fix`**: In Section 2 (`## 📐 2. Technical Spec & Contracts`), invoke `archify` for interactive component diagrams, state machines, and sequence traces, or `diagram-design` for database ER models.
188
+ - **`/implement`**: Seamlessly consumes Tracer-Bullet Tickets generated by Matt Pocock's `/to-tickets` (`.scratch/<feature>/issues/`, `devflow/context/{xxx-slug}/tickets/`), resolving the unblocked Frontier and executing with Strict TDD.
187
189
  - **`/brainstorm` & `/grill`**: Leverage visual trade-off matrices (Quadrant, Radar spider) or domain models (UML class, ER).
188
190
  - **`/prototype` & `/report-html`**: Embed standalone HTML/SVG assets seamlessly.
189
191
  - **`/devflow`**: Intent router surfaces installed third-party skills (e.g. `/archify`, `/diagram-design`) directly to the user.