@jakkrichm/create-nexus-devflow 2.9.0 → 2.9.4
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/dist/bin/create-nexus-devflow.d.ts +7 -2
- package/dist/bin/create-nexus-devflow.js +231 -23
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/dashboard-page.d.ts +1 -1
- package/dist/lib/dashboard-page.js +76 -0
- package/dist/lib/dashboard-page.js.map +1 -1
- package/dist/lib/project-config.d.ts +1 -1
- package/dist/lib/project-config.js +4 -1
- package/dist/lib/project-config.js.map +1 -1
- package/dist/lib/run-state.d.ts +39 -0
- package/dist/lib/run-state.js +203 -0
- package/dist/lib/run-state.js.map +1 -0
- package/dist/lib/skill-manager.d.ts +40 -1
- package/dist/lib/skill-manager.js +270 -68
- package/dist/lib/skill-manager.js.map +1 -1
- package/dist/lib/status.d.ts +4 -1
- package/dist/lib/status.js +49 -3
- package/dist/lib/status.js.map +1 -1
- package/dist/lib/webview-studio.js +169 -47
- package/dist/lib/webview-studio.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/adopt/SKILL.md +4 -0
- package/template/.agents/skills/audit/SKILL.md +4 -0
- package/template/.agents/skills/autopilot/SKILL.md +4 -0
- package/template/.agents/skills/check/SKILL.md +4 -0
- package/template/.agents/skills/ci/SKILL.md +4 -0
- package/template/.agents/skills/complete/SKILL.md +7 -1
- package/template/.agents/skills/continuous/SKILL.md +4 -0
- package/template/.agents/skills/debug/SKILL.md +4 -0
- package/template/.agents/skills/discovery/SKILL.md +8 -4
- package/template/.agents/skills/feature/SKILL.md +4 -0
- package/template/.agents/skills/fix/SKILL.md +4 -0
- package/template/.agents/skills/implement/SKILL.md +4 -0
- package/template/.agents/skills/onboard/SKILL.md +4 -0
- package/template/.agents/skills/overview/SKILL.md +4 -0
- package/template/.agents/skills/prototype/SKILL.md +4 -0
- package/template/.agents/skills/release/SKILL.md +4 -0
- package/template/.agents/skills/rollback/SKILL.md +18 -5
- package/template/.agents/skills/status/SKILL.md +7 -0
- package/template/.agents/skills/tests/SKILL.md +4 -0
- package/template/.claude/skills/adopt/SKILL.md +4 -0
- package/template/.claude/skills/audit/SKILL.md +4 -0
- package/template/.claude/skills/autopilot/SKILL.md +4 -0
- package/template/.claude/skills/check/SKILL.md +4 -0
- package/template/.claude/skills/ci/SKILL.md +4 -0
- package/template/.claude/skills/complete/SKILL.md +7 -1
- package/template/.claude/skills/continuous/SKILL.md +4 -0
- package/template/.claude/skills/debug/SKILL.md +4 -0
- package/template/.claude/skills/discovery/SKILL.md +8 -4
- package/template/.claude/skills/feature/SKILL.md +4 -0
- package/template/.claude/skills/fix/SKILL.md +4 -0
- package/template/.claude/skills/implement/SKILL.md +4 -0
- package/template/.claude/skills/onboard/SKILL.md +4 -0
- package/template/.claude/skills/overview/SKILL.md +4 -0
- package/template/.claude/skills/prototype/SKILL.md +4 -0
- package/template/.claude/skills/release/SKILL.md +4 -0
- package/template/.claude/skills/rollback/SKILL.md +18 -5
- package/template/.claude/skills/status/SKILL.md +7 -0
- package/template/.claude/skills/tests/SKILL.md +4 -0
- package/template/AGENTS.md +24 -5
- package/template/devflow/build-plan.md +24 -0
- package/template/devflow/context/ai-interaction.md +4 -4
|
@@ -6,6 +6,10 @@ argument-hint: "[{number, name, DISC-id, or IDEA-id}]"
|
|
|
6
6
|
|
|
7
7
|
# feature - turn a build-plan feature into a buildable spec
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
project-overview.md + build-plan.md -> [this skill] -> build
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{title or issue-description}]"
|
|
|
6
6
|
|
|
7
7
|
# fix - document an ad-hoc fix, then build it like anything else
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
/fix -> /implement -> /complete -> back to your features
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{run-id, number, or name}]"
|
|
|
6
6
|
|
|
7
7
|
# implement - build the target spec, one reviewed step at a time
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
/feature, /fix, or /rollback -> [implement] -> /complete -> next
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Set up the Blueprint after overlaying it onto a freshly
|
|
|
5
5
|
|
|
6
6
|
# onboard - finish the Blueprint overlay setup
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
scaffold app -> overlay Blueprint -> [onboard] -> project-plan + build-plan -> /overview
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Distill user-owned planning docs into `devflow/context/p
|
|
|
5
5
|
|
|
6
6
|
# overview - dynamic project overview compiler
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
## Position in workflow
|
|
9
13
|
|
|
10
14
|
```text
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Interactively prototype the look of a project. Asks abou
|
|
|
5
5
|
|
|
6
6
|
# prototype - lock the look before you build
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
plan -> /overview -> [prototype] -> /feature -> build
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Prepare a Blueprint project for deployment to Render or
|
|
|
5
5
|
|
|
6
6
|
# release - deployment readiness for Render and Vercel
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
/complete -> [release] -> deploy with explicit approval
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Plan a safe reversal of a completed Blueprint feature us
|
|
|
5
5
|
|
|
6
6
|
# rollback - safely reverse a completed feature
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
completed feature + git history -> [rollback] -> /implement -> /check -> /complete
|
|
@@ -57,10 +61,16 @@ Use the archive path to locate the commit that added it:
|
|
|
57
61
|
git log --diff-filter=A --format="%H %s" HEAD -- <archive-path>
|
|
58
62
|
|
|
59
63
|
Use the newest matching commit reachable from the current branch. Confirm the
|
|
60
|
-
archive was added by that commit
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
archive was added by that commit and its subject and diff are consistent with the
|
|
65
|
+
requested feature. If the target is a merge commit, stop before Step 2 and before
|
|
66
|
+
writing or changing `devflow/context/{xxx-slug}/spec.md`. Do not record a
|
|
67
|
+
target parent or choose a mainline. Publish `blocked` to
|
|
68
|
+
`devflow/.state/run.json`, explain that DevFlow cannot safely infer which
|
|
69
|
+
merge parent represents the pre-feature state, and include the exact `/rollback`
|
|
70
|
+
command the user can rerun after choosing a safe remediation or mainline
|
|
71
|
+
strategy. `/implement` retains its merge-target stop as defense in depth. If the
|
|
72
|
+
archive was never committed, explain that git cannot reconstruct a safe rollback
|
|
73
|
+
from it.
|
|
64
74
|
|
|
65
75
|
## Step 2 - separate product changes from Blueprint history
|
|
66
76
|
|
|
@@ -108,7 +118,8 @@ remediation or explicitly plan the dependent rollbacks.
|
|
|
108
118
|
Allocate sequential ID (`xxx-slug`) and create `devflow/context/{xxx-slug}/`. Write `devflow/context/{xxx-slug}/spec.md` using
|
|
109
119
|
`reference/rollback-spec-template.md`. Also initialize `stage.md` and `findings.md` in that folder. Fill in:
|
|
110
120
|
|
|
111
|
-
- target feature
|
|
121
|
+
- target feature and archive
|
|
122
|
+
- target commit and parent commit as full 40-character SHA values
|
|
112
123
|
- user's reason
|
|
113
124
|
- product paths introduced or changed by the target
|
|
114
125
|
- protected workflow paths
|
|
@@ -142,6 +153,8 @@ spec, then run `/implement` to create the rollback branch and apply it.
|
|
|
142
153
|
- Preserve history. Never delete or rewrite the original feature archive.
|
|
143
154
|
- Plan only. This skill writes the rollback spec and nothing else.
|
|
144
155
|
- One completed feature per rollback.
|
|
156
|
+
- Record both the target commit and its parent as full 40-character SHA values.
|
|
157
|
+
Each value must resolve to the recorded commit in the current repository.
|
|
145
158
|
- Never use `git reset --hard`, force-push, history rewriting, or broad file
|
|
146
159
|
restoration.
|
|
147
160
|
- Never infer permission to cascade into later features or destroy stored data.
|
|
@@ -51,6 +51,13 @@ state.
|
|
|
51
51
|
6. **Progress drift** - flag active task on `main`, a spec in progress but no
|
|
52
52
|
matching `feature/{xxx-slug}`, `fix/{xxx-slug}`, or `rollback/{xxx-slug}` branch, all spec steps checked but
|
|
53
53
|
not completed, or disagreement between `build-plan.md` and active specs.
|
|
54
|
+
7. **Dashboard activity** - read `devflow/.state/run.json` when it exists.
|
|
55
|
+
Report the command, mode, status, progress, boundary, and safe resume command.
|
|
56
|
+
A missing file simply means no activity has been recorded. Invalid activity
|
|
57
|
+
state is a warning, not a blocker for the underlying workflow.
|
|
58
|
+
8. **Onboarding check** - Before recommending `/overview`, check whether `AGENTS.md`
|
|
59
|
+
still contains the `<!-- devflow:onboarding-required -->` marker or standard template commands.
|
|
60
|
+
When it does, onboarding is incomplete and `/onboard` is the next action.
|
|
54
61
|
|
|
55
62
|
## Output
|
|
56
63
|
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Add or normalize unit testing for a Blueprint project. D
|
|
|
5
5
|
|
|
6
6
|
# tests - add unit testing to the project
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
any time -> [tests] -> test command in AGENTS.md -> /feature + /implement use it
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Bring the blueprint into an existing (brownfield) codeba
|
|
|
5
5
|
|
|
6
6
|
# adopt - bootstrap the blueprint from an existing codebase
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
existing codebase -> [adopt] -> project-plan + build-plan + coding-standards -> /overview -> normal loop
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Read-only code audit for a Blueprint project, except for
|
|
|
5
5
|
|
|
6
6
|
# audit - review code quality against the project standards
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
/implement or /autopilot -> [audit] -> fixes or /complete
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Optional explicit Blueprint mode for one bounded spec/bu
|
|
|
5
5
|
|
|
6
6
|
# autopilot - optional Blueprint loop
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
/status -> [autopilot] -> review packet -> /complete
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{run-id, number, or name}]"
|
|
|
6
6
|
|
|
7
7
|
# check - Dual-Axis Independent Verification Engine
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
/implement -> [check] -> /complete
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Set up or normalize automatic GitHub checks for a Bluepr
|
|
|
5
5
|
|
|
6
6
|
# ci - set up automatic GitHub checks
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
/onboard or /adopt -> [ci] -> Verify locally -> GitHub runs Verify
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{run-id, number, or name}]"
|
|
|
6
6
|
|
|
7
7
|
# complete - log the finished work, make the work commit, and deliver
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
/feature, /fix, or /rollback -> /implement -> [complete] -> next
|
|
@@ -70,7 +74,9 @@ and records the exact target feature, archive, commit, and parent.
|
|
|
70
74
|
**Archive resolved findings.** If `devflow/context/{xxx-slug}/findings.md` holds any
|
|
71
75
|
findings, append a `## Findings` section to the archive file just written with
|
|
72
76
|
every `closed`, `accepted`, or `invalid` entry at its final status (`accepted`
|
|
73
|
-
entries keep their recorded reason).
|
|
77
|
+
entries keep their recorded reason). Do not archive or remove a `fixed` finding
|
|
78
|
+
at any severity; repaired findings must remain in the ledger until an `/audit`
|
|
79
|
+
re-review closes them.
|
|
74
80
|
|
|
75
81
|
**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/`.
|
|
76
82
|
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{resume, max-features, or start-feature}]"
|
|
|
6
6
|
|
|
7
7
|
# continuous - Complete the Build Plan One Local Feature at a Time
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
```text
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Diagnose a failing test, broken build, crash, error, reg
|
|
|
5
5
|
|
|
6
6
|
# debug - 6-Phase Scientific Debugging Protocol
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
reported failure -> [debug] -> /fix or /implement
|
|
@@ -8,6 +8,10 @@ argument-hint: "[{title, request, IDEA-xxx, or discovery-id}]"
|
|
|
8
8
|
|
|
9
9
|
$ARGUMENTS
|
|
10
10
|
|
|
11
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
12
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
13
|
+
contract in `AGENTS.md`.
|
|
14
|
+
|
|
11
15
|
`/discovery` is the central discovery entry point in Nexus-DevFlow. It operates in two adaptive modes based on input scope:
|
|
12
16
|
1. **🗺️ Macro Project Discovery**: Develops high-level product and build roadmap plans (`devflow/project-plan.md` & `devflow/build-plan.md`) through an adaptive conversation before `/overview`.
|
|
13
17
|
2. **🔍 Micro Feature Exploration (Pre-Flight)**: Explores a specific feature, request, or idea before committing to delivery, routes through supporting lenses, and finishes with a visible `Proceed`, `Defer`, or `Reject` decision before `/feature` or `/fix`.
|
|
@@ -72,10 +76,10 @@ devflow/discoveries/{DISCOVERY_ID}-{slug}/discovery.md
|
|
|
72
76
|
5. **Socratic Grilling & Domain Alignment Lens (`grill`)**:
|
|
73
77
|
- Codebase-grounded interactive inquiry to clarify entity boundaries, data flows, and edge cases.
|
|
74
78
|
- 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
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
+
6. **🎨 Visual Architecture & Diagram Design Lens (`archify` / `diagram-design`)**:
|
|
80
|
+
- When exploring system topologies, legacy IT modernizations, sequence flows, data platform pipelines, state machines, or user journeys, check for `archify` or `diagram-design` in `.claude/skills/`.
|
|
81
|
+
- **For interactive system architecture, dataflows, state transitions, and sequence traces**: Use `archify` (`.claude/skills/archify/SKILL.md`) to compile validated interactive HTML artifacts with dark/light themes, motion, and route probes.
|
|
82
|
+
- **For editorial, business, quadrant, or broad diagram types**: Use `diagram-design` (`.claude/skills/diagram-design/SKILL.md`).
|
|
79
83
|
- Save diagram artifacts to `devflow/discoveries/{DISCOVERY_ID}-{slug}/diagrams/{name}.html` and reference them directly in `discovery.md`.
|
|
80
84
|
|
|
81
85
|
### Decision & Approval Gate:
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{number, name, DISC-id, or IDEA-id}]"
|
|
|
6
6
|
|
|
7
7
|
# feature - turn a build-plan feature into a buildable spec
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
project-overview.md + build-plan.md -> [this skill] -> build
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{title or issue-description}]"
|
|
|
6
6
|
|
|
7
7
|
# fix - document an ad-hoc fix, then build it like anything else
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
/fix -> /implement -> /complete -> back to your features
|
|
@@ -6,6 +6,10 @@ argument-hint: "[{run-id, number, or name}]"
|
|
|
6
6
|
|
|
7
7
|
# implement - build the target spec, one reviewed step at a time
|
|
8
8
|
|
|
9
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
10
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
11
|
+
contract in `AGENTS.md`.
|
|
12
|
+
|
|
9
13
|
Where this sits in the workflow:
|
|
10
14
|
|
|
11
15
|
/feature, /fix, or /rollback -> [implement] -> /complete -> next
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Set up the Blueprint after overlaying it onto a freshly
|
|
|
5
5
|
|
|
6
6
|
# onboard - finish the Blueprint overlay setup
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
scaffold app -> overlay Blueprint -> [onboard] -> project-plan + build-plan -> /overview
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Distill user-owned planning docs into `devflow/context/p
|
|
|
5
5
|
|
|
6
6
|
# overview - dynamic project overview compiler
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
## Position in workflow
|
|
9
13
|
|
|
10
14
|
```text
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Interactively prototype the look of a project. Asks abou
|
|
|
5
5
|
|
|
6
6
|
# prototype - lock the look before you build
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
plan -> /overview -> [prototype] -> /feature -> build
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Prepare a Blueprint project for deployment to Render or
|
|
|
5
5
|
|
|
6
6
|
# release - deployment readiness for Render and Vercel
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
/complete -> [release] -> deploy with explicit approval
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Plan a safe reversal of a completed Blueprint feature us
|
|
|
5
5
|
|
|
6
6
|
# rollback - safely reverse a completed feature
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
completed feature + git history -> [rollback] -> /implement -> /check -> /complete
|
|
@@ -57,10 +61,16 @@ Use the archive path to locate the commit that added it:
|
|
|
57
61
|
git log --diff-filter=A --format="%H %s" HEAD -- <archive-path>
|
|
58
62
|
|
|
59
63
|
Use the newest matching commit reachable from the current branch. Confirm the
|
|
60
|
-
archive was added by that commit
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
archive was added by that commit and its subject and diff are consistent with the
|
|
65
|
+
requested feature. If the target is a merge commit, stop before Step 2 and before
|
|
66
|
+
writing or changing `devflow/context/{xxx-slug}/spec.md`. Do not record a
|
|
67
|
+
target parent or choose a mainline. Publish `blocked` to
|
|
68
|
+
`devflow/.state/run.json`, explain that DevFlow cannot safely infer which
|
|
69
|
+
merge parent represents the pre-feature state, and include the exact `/rollback`
|
|
70
|
+
command the user can rerun after choosing a safe remediation or mainline
|
|
71
|
+
strategy. `/implement` retains its merge-target stop as defense in depth. If the
|
|
72
|
+
archive was never committed, explain that git cannot reconstruct a safe rollback
|
|
73
|
+
from it.
|
|
64
74
|
|
|
65
75
|
## Step 2 - separate product changes from Blueprint history
|
|
66
76
|
|
|
@@ -108,7 +118,8 @@ remediation or explicitly plan the dependent rollbacks.
|
|
|
108
118
|
Allocate sequential ID (`xxx-slug`) and create `devflow/context/{xxx-slug}/`. Write `devflow/context/{xxx-slug}/spec.md` using
|
|
109
119
|
`reference/rollback-spec-template.md`. Also initialize `stage.md` and `findings.md` in that folder. Fill in:
|
|
110
120
|
|
|
111
|
-
- target feature
|
|
121
|
+
- target feature and archive
|
|
122
|
+
- target commit and parent commit as full 40-character SHA values
|
|
112
123
|
- user's reason
|
|
113
124
|
- product paths introduced or changed by the target
|
|
114
125
|
- protected workflow paths
|
|
@@ -142,6 +153,8 @@ spec, then run `/implement` to create the rollback branch and apply it.
|
|
|
142
153
|
- Preserve history. Never delete or rewrite the original feature archive.
|
|
143
154
|
- Plan only. This skill writes the rollback spec and nothing else.
|
|
144
155
|
- One completed feature per rollback.
|
|
156
|
+
- Record both the target commit and its parent as full 40-character SHA values.
|
|
157
|
+
Each value must resolve to the recorded commit in the current repository.
|
|
145
158
|
- Never use `git reset --hard`, force-push, history rewriting, or broad file
|
|
146
159
|
restoration.
|
|
147
160
|
- Never infer permission to cascade into later features or destroy stored data.
|
|
@@ -51,6 +51,13 @@ state.
|
|
|
51
51
|
6. **Progress drift** - flag active task on `main`, a spec in progress but no
|
|
52
52
|
matching `feature/{xxx-slug}`, `fix/{xxx-slug}`, or `rollback/{xxx-slug}` branch, all spec steps checked but
|
|
53
53
|
not completed, or disagreement between `build-plan.md` and active specs.
|
|
54
|
+
7. **Dashboard activity** - read `devflow/.state/run.json` when it exists.
|
|
55
|
+
Report the command, mode, status, progress, boundary, and safe resume command.
|
|
56
|
+
A missing file simply means no activity has been recorded. Invalid activity
|
|
57
|
+
state is a warning, not a blocker for the underlying workflow.
|
|
58
|
+
8. **Onboarding check** - Before recommending `/overview`, check whether `AGENTS.md`
|
|
59
|
+
still contains the `<!-- devflow:onboarding-required -->` marker or standard template commands.
|
|
60
|
+
When it does, onboarding is incomplete and `/onboard` is the next action.
|
|
54
61
|
|
|
55
62
|
## Output
|
|
56
63
|
|
|
@@ -5,6 +5,10 @@ description: "[devflow] Add or normalize unit testing for a Blueprint project. D
|
|
|
5
5
|
|
|
6
6
|
# tests - add unit testing to the project
|
|
7
7
|
|
|
8
|
+
**First action:** Before project inspection, preflight, or any other tool call,
|
|
9
|
+
publish `running` to `devflow/.state/run.json` using the dashboard activity
|
|
10
|
+
contract in `AGENTS.md`.
|
|
11
|
+
|
|
8
12
|
Where this sits in the workflow:
|
|
9
13
|
|
|
10
14
|
any time -> [tests] -> test command in AGENTS.md -> /feature + /implement use it
|
package/template/AGENTS.md
CHANGED
|
@@ -78,12 +78,31 @@ All development tasks execute through the 4-step progressive lifecycle:
|
|
|
78
78
|
|
|
79
79
|
---
|
|
80
80
|
|
|
81
|
-
##
|
|
81
|
+
## 📊 Dashboard Activity State Contract
|
|
82
|
+
|
|
83
|
+
The dashboard and status reporting can show the active or most recent substantial DevFlow command from `devflow/.state/run.json`. This file is generated local state, ignored by Git, and never part of a feature commit.
|
|
84
|
+
|
|
85
|
+
Commands with meaningful progress or a durable handoff should write it when the state directory exists: `onboard`, `adopt`, `discovery`, `overview`, `feature`, `fix`, `rollback`, `implement`, `debug`, `check`, `audit`, `tests`, `ci`, `prototype`, `autopilot`, `continuous`, `complete`, and `release`. Short read-only orientation commands such as `brief`, `try`, `status`, and `doctor` do not need activity state.
|
|
86
|
+
|
|
87
|
+
Writing the initial activity record is the first action of a tracked command, before project inspection, preflight, or other tool calls. This one generated state write does not authorize product changes or bypass any safety check. Set status to `running`, use the command name and a truthful initial summary, then replace the record at meaningful milestones. On a preflight stop or another blocker, set it to `blocked` with the exact recovery command. Leave the final state in place for the next session; the next tracked command replaces it. Use this schema:
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"schemaVersion": 1,
|
|
92
|
+
"command": "continuous",
|
|
93
|
+
"status": "running",
|
|
94
|
+
"summary": "Completing the remaining build plan",
|
|
95
|
+
"detail": "Implementing feature 3.",
|
|
96
|
+
"boundary": "local-only",
|
|
97
|
+
"startedAt": "<ISO-8601 timestamp>",
|
|
98
|
+
"updatedAt": "<ISO-8601 timestamp>",
|
|
99
|
+
"resumeCommand": "/continuous resume",
|
|
100
|
+
"progress": { "current": 2, "total": 5, "label": "features" },
|
|
101
|
+
"feature": { "id": "3", "title": "Export reports" }
|
|
102
|
+
}
|
|
103
|
+
```
|
|
82
104
|
|
|
83
|
-
|
|
84
|
-
> **No Auto-Generated HTML**: Mainline flows (`/complete`) strictly output Markdown only.
|
|
85
|
-
> When an interactive web dashboard is desired for presentation or sharing, invoke the standalone companion command:
|
|
86
|
-
> `/report:html` (or `npm run report:html -- {ID}`).
|
|
105
|
+
`status` must be `running`, `blocked`, `ready`, or `completed`. Use `ready` when the command reached its intended review handoff, such as Autopilot waiting for review before `/complete`. Use `blocked` with the exact recovery command when work can resume. `boundary` must be `read-only`, `reviewed`, or `local-only`. The progress, feature, detail, boundary, and resume fields are optional. Never put secrets, raw logs, prompts, or user content in this file. Activity tracking must not change a command's approval boundaries or turn a reporting failure into a workflow failure.
|
|
87
106
|
|
|
88
107
|
---
|
|
89
108
|
|
|
@@ -116,4 +116,28 @@
|
|
|
116
116
|
- *Dependencies*: Feature 11, Feature 12, Feature 13
|
|
117
117
|
- *Scope*: ยกเลิกไฟล์ Single Living Spec ที่ Root (`current-feature.md`, `current-stage.md`, `findings.md`) อย่างสมบูรณ์ ปรับโครงสร้างสู่ Task-Isolated Subdirectories 100% (`devflow/context/{xxx-slug}/`), อัปเกรด Agent Directives, Core Context Resolver, Scaffolding Templates และ Workflow Skills ทั้งหมด
|
|
118
118
|
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 🔄 Phase 15: Upstream AI Blueprint v1.0.0 / v1.0.1 Synchronization
|
|
122
|
+
|
|
123
|
+
- [x] **15. Sync Upstream v1.0.0 (Activity Contract, Rollback & Complete Safeguards, Local Linking)** `[Size: M]`
|
|
124
|
+
- *Dependencies*: Feature 14, DISC-20260828-001-sync-upstream-ai-blueprint-v100
|
|
125
|
+
- *Scope*: ผสาน Activity State Contract (`devflow/.state/run.json`) และ Live Dashboard Activity, เสริม Rollback 40-char SHA & Merge Commit Protection, Complete Fixed Finding Persistence, คำสั่ง `npm run link:local` / `unlink:local` พร้อม `findPackageRoot()`, Onboarding Markers และ Windows Smoke/Path Fixes
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 🖥️ Phase 16: Multi-Task Dashboard & Live Kanban Studio UI
|
|
130
|
+
|
|
131
|
+
- [x] **16. Multi-Task Dashboard & Live Kanban Studio UI (`DISC-20260828-002`)** `[Size: M]`
|
|
132
|
+
- *Dependencies*: Feature 14, Feature 15
|
|
133
|
+
- *Scope*: ปรับปรุง Full Web Dashboard (`dashboard-page.ts`) และ Live Kanban Studio (`webview-studio.ts`) ให้อ่านและวนลูปแสดงผลรายการ Task ทั้งหมดใน `status.activeRuns` จาก `devflow/context/{xxx-slug}/` พร้อม Task Progress Bar, Branch Pill, Findings Indicator และปุ่ม Quick Actions แบบเจาะจง Target Run ID
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## 🔌 Phase 17: Unified Third-Party Skills Installer & Updater
|
|
138
|
+
|
|
139
|
+
- [x] **17. Unified Third-Party Skills Installation & Update Command (`DISC-20260831-001`, `055-unified-third-party-skills-installer`)** `[Size: S]`
|
|
140
|
+
- *Dependencies*: None
|
|
141
|
+
- *Scope*: เพิ่มฟังก์ชัน `installRecommendedSkills` และ `updateRecommendedSkills` ใน `skill-manager.ts`, รองรับสวิตช์ `--recommended` ในคำสั่ง `nexus-devflow skill add` และ `nexus-devflow skill update`, พร้อมอัปเดตเอกสาร `README.md`, `README.th.md` และ Automated Tests
|
|
142
|
+
|
|
119
143
|
|
|
@@ -171,13 +171,13 @@ Nexus-DevFlow natively supports extending workflow capabilities with **Third-Par
|
|
|
171
171
|
- Installed third-party skills maintain their exact original directory structure, references, assets, scripts, and `SKILL.md`.
|
|
172
172
|
|
|
173
173
|
### 🎯 2. Cross-Command Delegation & Genuine Execution
|
|
174
|
-
- **Verbatim & Original Prompt Fidelity**: When a DevFlow stage requires specialized domain expertise (e.g., editorial diagramming, domain modeling, cloud provisioning, UI benchmarking), the AI agent must read the third-party skill's `SKILL.md` (e.g. `.agents/skills/diagram-design/SKILL.md`) and strictly follow its original instructions, philosophy, style guide gates, and complexity constraints.
|
|
174
|
+
- **Verbatim & Original Prompt Fidelity**: When a DevFlow stage requires specialized domain expertise (e.g., editorial diagramming, system mapping, domain modeling, cloud provisioning, UI benchmarking), the AI agent must read the third-party skill's `SKILL.md` (e.g. `.agents/skills/archify/SKILL.md` or `.agents/skills/diagram-design/SKILL.md`) and strictly follow its original instructions, philosophy, style guide gates, and complexity constraints.
|
|
175
175
|
- **Workflow Command Integration Map**:
|
|
176
|
-
- **`/discovery`**: When macro roadmap planning or micro pre-flight exploration involves system architecture, IT landscape, data pipelines, sequence flows, or user journeys, check for `diagram-design`
|
|
177
|
-
- **`/feature` & `/fix`**: In Section 2 (`## 📐 2. Technical Spec & Contracts`), invoke `
|
|
176
|
+
- **`/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).
|
|
177
|
+
- **`/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.
|
|
178
178
|
- **`/brainstorm` & `/grill`**: Leverage visual trade-off matrices (Quadrant, Radar spider) or domain models (UML class, ER).
|
|
179
179
|
- **`/prototype` & `/report-html`**: Embed standalone HTML/SVG assets seamlessly.
|
|
180
|
-
- **`/devflow`**: Intent router surfaces installed third-party skills (e.g. `/diagram-design`) directly to the user.
|
|
180
|
+
- **`/devflow`**: Intent router surfaces installed third-party skills (e.g. `/archify`, `/diagram-design`) directly to the user.
|
|
181
181
|
|
|
182
182
|
### 📁 3. Generated Asset Storage Hierarchy
|
|
183
183
|
- **Discovery Stage**: `devflow/discoveries/{id}/diagrams/` (referenced in `discovery.md`).
|