@jakkrichm/create-nexus-devflow 2.9.5 → 2.10.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.
- package/README.md +3 -3
- package/dist/lib/dashboard-page.d.ts +1 -1
- package/dist/lib/dashboard-page.js +5 -1
- package/dist/lib/dashboard-page.js.map +1 -1
- package/dist/lib/project-config.d.ts +2 -0
- package/dist/lib/project-config.js +5 -2
- package/dist/lib/project-config.js.map +1 -1
- package/dist/lib/review.d.ts +38 -0
- package/dist/lib/review.js +429 -0
- package/dist/lib/review.js.map +1 -0
- package/dist/lib/skill-manager.d.ts +10 -1
- package/dist/lib/skill-manager.js +241 -19
- package/dist/lib/skill-manager.js.map +1 -1
- package/dist/lib/status.d.ts +19 -2
- package/dist/lib/status.js +83 -15
- package/dist/lib/status.js.map +1 -1
- package/dist/scripts/prepare-template.js +7 -0
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/audit/SKILL.md +119 -144
- package/template/.agents/skills/audit/reference/independent-review.md +128 -0
- package/template/.agents/skills/autopilot/SKILL.md +22 -1
- package/template/.agents/skills/browser-tests/SKILL.md +163 -0
- package/template/.agents/skills/check/SKILL.md +32 -23
- package/template/.agents/skills/complete/SKILL.md +28 -39
- package/template/.agents/skills/continuous/SKILL.md +12 -0
- package/template/.agents/skills/doctor/SKILL.md +8 -4
- package/template/.agents/skills/feature/SKILL.md +22 -1
- package/template/.agents/skills/implement/SKILL.md +21 -1
- package/template/.agents/skills/onboard/SKILL.md +17 -1
- package/template/.agents/skills/{tests → setup-tests}/SKILL.md +8 -8
- package/template/.agents/skills/status/SKILL.md +12 -1
- package/template/.agents/skills/try/SKILL.md +9 -24
- package/template/.claude/skills/audit/SKILL.md +119 -144
- package/template/.claude/skills/audit/reference/independent-review.md +128 -0
- package/template/.claude/skills/autopilot/SKILL.md +22 -1
- package/template/.claude/skills/browser-tests/SKILL.md +163 -0
- package/template/.claude/skills/check/SKILL.md +32 -23
- package/template/.claude/skills/complete/SKILL.md +28 -39
- package/template/.claude/skills/continuous/SKILL.md +12 -0
- package/template/.claude/skills/doctor/SKILL.md +9 -4
- package/template/.claude/skills/feature/SKILL.md +22 -1
- package/template/.claude/skills/implement/SKILL.md +21 -1
- package/template/.claude/skills/onboard/SKILL.md +17 -1
- package/template/.claude/skills/{tests → setup-tests}/SKILL.md +8 -8
- package/template/.claude/skills/status/SKILL.md +12 -1
- package/template/.claude/skills/try/SKILL.md +9 -24
- package/template/AGENTS.md +8 -4
- package/template/devflow/build-plan.md +14 -0
- package/template/devflow/config.json +2 -0
- package/template/devflow/context/coding-standards.md +8 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: try
|
|
3
|
-
description: "[devflow] Generate a human manual try guide for the current or most recently completed Blueprint feature, fix, or rollback. Reads the spec, project commands, and available app context, then tells the user exactly what to start, where to go, what to click or run, what to expect, and what would count as wrong. Read-only. Use when the user runs /try, invokes $try, asks how to test manually, asks where to click, asks how to see the change, or wants a manual review path after /implement, /autopilot, /check, or /complete."
|
|
3
|
+
description: "[devflow] Generate a human manual try guide for the current or most recently completed Blueprint feature, fix, or rollback. Reads the spec, project commands, and available app context, connects with MCP browseros-neo when available for interactive previews, then tells the user exactly what to start, where to go, what to click or run, what to expect, and what would count as wrong. Read-only. Use when the user runs /try, invokes $try, asks how to test manually, asks where to click, asks how to see the change, or wants a manual review path after /implement, /autopilot, /check, or /complete."
|
|
4
|
+
argument-hint: "[{latest|step-id|path}]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# try - manual review guide
|
|
7
8
|
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
8
11
|
Where this sits in the workflow:
|
|
9
12
|
|
|
10
13
|
/implement or /complete -> [try] -> human review
|
|
@@ -58,7 +61,7 @@ include one unaffected regression path from the rollback spec.
|
|
|
58
61
|
|
|
59
62
|
Use the Commands section in `AGENTS.md`. Match the project type:
|
|
60
63
|
|
|
61
|
-
- **Web app** - dev server command, URL, and the route or screen to open.
|
|
64
|
+
- **Web app** - dev server command, URL, and the route or screen to open. If `browseros-neo` MCP server is active (`http://127.0.0.1:9010/mcp`), you can also offer to inspect or navigate in the live browser.
|
|
62
65
|
- **Server/API** - server command, base URL, endpoint, method, and expected
|
|
63
66
|
response shape.
|
|
64
67
|
- **CLI** - exact command(s), arguments, and expected output.
|
|
@@ -77,9 +80,9 @@ Produce a short guide with these sections:
|
|
|
77
80
|
2. **Open** - URLs, screens, tabs, API endpoints, or CLI commands.
|
|
78
81
|
3. **Do** - clicks, inputs, selections, or command arguments.
|
|
79
82
|
4. **Expect** - visible result, output, response, state change, file, or lack of
|
|
80
|
-
|
|
83
|
+
error.
|
|
81
84
|
5. **Watch For** - common wrong outcomes, console or network errors, stale data,
|
|
82
|
-
|
|
85
|
+
missing fields, bad empty states, layout issues, or safety warnings.
|
|
83
86
|
|
|
84
87
|
Keep it concrete. Prefer:
|
|
85
88
|
|
|
@@ -97,23 +100,5 @@ End with:
|
|
|
97
100
|
|
|
98
101
|
- **Best signal** - the one thing the user should try first.
|
|
99
102
|
- **Optional deeper checks** - only if useful.
|
|
100
|
-
- **
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
If the feature is not user-visible, say so and provide the closest manual signal,
|
|
104
|
-
such as an API response, CLI output, log line, or unit test command.
|
|
105
|
-
|
|
106
|
-
## Rules
|
|
107
|
-
|
|
108
|
-
- Read-only only. Do not edit, commit, merge, push, install, or delete.
|
|
109
|
-
- Do not run the app unless the user explicitly asks you to try it for them.
|
|
110
|
-
- Do not pretend a path is known when the spec does not say it. Give the best
|
|
111
|
-
likely path and label uncertainty.
|
|
112
|
-
- Keep the guide short enough to follow while the app is open.
|
|
113
|
-
- Match the project's commands from `AGENTS.md`.
|
|
114
|
-
|
|
115
|
-
## Formatting
|
|
116
|
-
|
|
117
|
-
Format the output to match the project's conventions in
|
|
118
|
-
`devflow/context/ai-interaction.md`: concise, scannable markdown, with numbered
|
|
119
|
-
steps for the manual path and short bullets for warnings.
|
|
103
|
+
- **MCP Visual Preview** - mention live browser inspection via MCP `browseros-neo` if active.
|
|
104
|
+
- **Gaps** - anything the guide cannot know from the docs, such as missing route or seed data.
|
package/template/AGENTS.md
CHANGED
|
@@ -18,13 +18,13 @@ To start a new project, scaffold the application first in an empty folder, then
|
|
|
18
18
|
- `devflow/context/coding-standards.md` - engineering conventions & rules to follow
|
|
19
19
|
- `devflow/context/ai-interaction.md` - how to interact with the user on this project
|
|
20
20
|
- `devflow/context/glossary.md` - domain terms & architecture definitions
|
|
21
|
-
- `devflow/context/{xxx-slug}/` - active task living spec, stage, and
|
|
21
|
+
- `devflow/context/{xxx-slug}/` - active task living spec, stage, findings ledger, and independent review receipt
|
|
22
22
|
|
|
23
23
|
## Project configuration
|
|
24
24
|
|
|
25
25
|
`devflow/config.json` is the user-owned, machine-readable workflow policy for this project. Workflow skills read the relevant settings before acting. A missing file means built-in defaults. An invalid file falls back to defaults for read-only status reporting, but mutating workflow commands stop and point to `/doctor` instead of guessing.
|
|
26
26
|
|
|
27
|
-
`qualityGates.regular` controls automatic audit, check, and try-guide behavior for the normal workflow and Autopilot. `qualityGates.continuous` controls the same per-feature gates for Continuous Mode. Every gate defaults to `manual`.
|
|
27
|
+
`qualityGates.regular` controls automatic audit, independent-review, check, and try-guide behavior for the normal workflow and Autopilot. `qualityGates.continuous` controls the same per-feature gates for Continuous Mode. Every gate defaults to `manual`. The conditional modes are `when-sensitive` for audit and independent review, `when-behavioral` for check, and `when-user-facing` for try guides. `always` runs the gate for every work item in that workflow.
|
|
28
28
|
|
|
29
29
|
## Tool-Specific Adapters & Execution Rules
|
|
30
30
|
|
|
@@ -38,7 +38,7 @@ Unused adapter families can be removed. Codex, Antigravity, GitHub Copilot, and
|
|
|
38
38
|
|
|
39
39
|
### Universal Invocation & Agent Directives:
|
|
40
40
|
|
|
41
|
-
1. **Canonical Command Names & AI Provider Invocation**: Each workflow stage and companion tool has exactly **one Canonical Name** (e.g. `feature`, `fix`, `implement`, `check`, `complete`, `continuous`, `discovery`, `idea`, `grill`, `brainstorm`, `devflow`, `doctor`, `overview`, `debug`, `onboard`, `adopt`, `try`, `rollback`, `ci`, `test`, `tests`, `autopilot`, `prototype`, `report-html`, `brief`, `audit`, `release`, `convert-any-to-md`). The way you invoke commands depends on your AI Provider / Tool:
|
|
41
|
+
1. **Canonical Command Names & AI Provider Invocation**: Each workflow stage and companion tool has exactly **one Canonical Name** (e.g. `feature`, `fix`, `implement`, `check`, `complete`, `continuous`, `discovery`, `idea`, `grill`, `brainstorm`, `devflow`, `doctor`, `overview`, `debug`, `onboard`, `adopt`, `try`, `rollback`, `ci`, `test`, `setup-tests`, `browser-tests`, `autopilot`, `prototype`, `report-html`, `brief`, `audit`, `release`, `convert-any-to-md`, `publish-devflow`). The way you invoke commands depends on your AI Provider / Tool:
|
|
42
42
|
- **Canonical Name (Plain text)**: Directly invoke or prompt the command by its standard name (e.g., `feature`, `implement`, `continuous`, `devflow`, `discovery`).
|
|
43
43
|
- **Slash Prefix (`/`)**: For tools supporting slash commands (Claude Code, Google Antigravity, Gemini CLI), e.g., `/feature`, `/fix`, `/implement`, `/continuous`, `/devflow`, `/discovery`.
|
|
44
44
|
- **Dollar Prefix (`$`)**: For OpenAI Codex CLI or skill-invocation tools, e.g., `$feature`, `$fix`, `$continuous`, `$devflow`, `$discovery`.
|
|
@@ -82,7 +82,11 @@ All development tasks execute through the 4-step progressive lifecycle:
|
|
|
82
82
|
|
|
83
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
84
|
|
|
85
|
-
|
|
85
|
+
<<<<<<< HEAD
|
|
86
|
+
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`, `browser-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.
|
|
87
|
+
=======
|
|
88
|
+
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`, `setup-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.
|
|
89
|
+
>>>>>>> feature/064-bughunter-master-skill-and-sync-engine
|
|
86
90
|
|
|
87
91
|
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
92
|
|
|
@@ -140,4 +140,18 @@
|
|
|
140
140
|
- *Dependencies*: None
|
|
141
141
|
- *Scope*: เพิ่มฟังก์ชัน `installRecommendedSkills` และ `updateRecommendedSkills` ใน `skill-manager.ts`, รองรับสวิตช์ `--recommended` ในคำสั่ง `nexus-devflow skill add` และ `nexus-devflow skill update`, พร้อมอัปเดตเอกสาร `README.md`, `README.th.md` และ Automated Tests
|
|
142
142
|
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🔄 Phase 18: Upstream AI Blueprint v1.1.0 & v1.2.0 Synchronization
|
|
146
|
+
|
|
147
|
+
- [x] **18. Sync Upstream v1.1.0 & v1.2.0 (Browser Tests & Independent Review System) (`DISC-20260901-001`)** `[Size: M]`
|
|
148
|
+
- *Dependencies*: None
|
|
149
|
+
- *Scope*: ผสานสคิล `/browser-tests` สำหรับ Playwright/E2E testing, ระบบตรวจทานอิสระ Independent Audit Review (`audit independent current` พร้อม `review.ts` และ `review.md`), อัปเกรด Config Quality Gates (`independentReview`), อัปเดต CLI Engine/Dashboard และปรับปรุงคู่มือ Scaffolding
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 🛡️ Phase 19: BugHunter Master Skill & Upstream Knowledge Sync Engine
|
|
143
154
|
|
|
155
|
+
- [x] **19. BugHunter Master Skill & Upstream Knowledge Sync Engine (`DISC-20260901-002`, `065-bughunter-master-skill-and-sync-engine`)** `[Size: M]`
|
|
156
|
+
- *Dependencies*: Feature 17, Feature 18
|
|
157
|
+
- *Scope*: พัฒนา Master Orchestrator Skill `bughunter` พร้อมระบบ Sync ดึงคลังความรู้ 83 skills และ report patterns จาก `elementalsouls/Claude-BugHunter` เก็บใน `devflow/.vendor/bughunter/`, รองรับคำสั่ง `nexus-devflow skill add/update bughunter`, อัปเดต Manifest และผสานเข้ากับ Multi-Adapter (`.agents/`, `.claude/`)
|
|
@@ -16,11 +16,13 @@
|
|
|
16
16
|
"qualityGates": {
|
|
17
17
|
"regular": {
|
|
18
18
|
"audit": "manual",
|
|
19
|
+
"independentReview": "manual",
|
|
19
20
|
"check": "manual",
|
|
20
21
|
"tryGuide": "manual"
|
|
21
22
|
},
|
|
22
23
|
"continuous": {
|
|
23
24
|
"audit": "manual",
|
|
25
|
+
"independentReview": "manual",
|
|
24
26
|
"check": "manual",
|
|
25
27
|
"tryGuide": "manual"
|
|
26
28
|
}
|
|
@@ -131,6 +131,10 @@ Testing is a core quality gate in Nexus-DevFlow, not an afterthought:
|
|
|
131
131
|
- Use isolated temporary directories (`fs.mkdtemp` in `os.tmpdir()`) and ensure cleanup in `finally` blocks.
|
|
132
132
|
- **Empirical Proof Contract**:
|
|
133
133
|
- Never claim a task is "working", "tested", or "verified" without providing concrete empirical proof (exact command executed, terminal output, pass/fail counts, exit code).
|
|
134
|
+
- **Hybrid Browser Verification Protocol**:
|
|
135
|
+
- **Dual-Layer Hierarchy**:
|
|
136
|
+
1. *Code-Driven Automation (CI/Repeatable)*: Headless Playwright (`@playwright/test`) assertions executed via `npm run test:browser`.
|
|
137
|
+
2. *Interactive AI Visual QA (MCP)*: Live DOM and styling inspection via MCP `browseros-neo` (`http://127.0.0.1:9010/mcp`) during `/check` and `/try`.
|
|
134
138
|
- **Two-Stage Review Pattern (Verification Gate)**:
|
|
135
139
|
- **Stage 1: Spec Fidelity & Acceptance Gate**:
|
|
136
140
|
- Verify 100% conformance against the Single Living Spec (`current-feature.md`).
|
|
@@ -145,7 +149,7 @@ Testing is a core quality gate in Nexus-DevFlow, not an afterthought:
|
|
|
145
149
|
|
|
146
150
|
---
|
|
147
151
|
|
|
148
|
-
## 8. Findings Ledger & Quality Gates (`findings.md`)
|
|
152
|
+
## 8. Findings Ledger & Quality Gates (`findings.md`, `review.md`)
|
|
149
153
|
|
|
150
154
|
- All quality defects, security findings, or regression issues identified during review must be logged in `devflow/context/findings.md`.
|
|
151
155
|
- **Finding State Machine**:
|
|
@@ -155,6 +159,9 @@ Testing is a core quality gate in Nexus-DevFlow, not an afterthought:
|
|
|
155
159
|
- `accepted`: Formally waived with recorded user justification.
|
|
156
160
|
- **P0/P1 Blockers**: Any P0 or P1 finding in `open` or `fixed` status unconditionally blocks `/complete`.
|
|
157
161
|
- **Allowed Waivers**: A P0 or P1 finding may only be bypassed if marked `accepted` (with explicit user justification recorded) or `invalid` (with evidence recorded by `/audit`).
|
|
162
|
+
- **Independent Review Gate (`review.md`)**:
|
|
163
|
+
- Holds immutable review request and receipt records bound to target commit SHA, merge base, and spec SHA-256 hash.
|
|
164
|
+
- When `qualityGates.regular.independentReview` is active, completion is blocked until a fresh session completes the 4-lens audit and records a valid, non-stale `passed` receipt.
|
|
158
165
|
|
|
159
166
|
---
|
|
160
167
|
|