@jakkrichm/create-nexus-devflow 2.0.12 → 2.0.14
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 +2 -0
- package/dist/bin/create-nexus-devflow.js +233 -0
- package/dist/bin/create-nexus-devflow.js.map +1 -0
- package/dist/lib/starter-templates.d.ts +6 -0
- package/dist/lib/starter-templates.js +8 -0
- package/dist/lib/starter-templates.js.map +1 -0
- package/dist/lib/update.d.ts +68 -0
- package/dist/lib/update.js +325 -0
- package/dist/lib/update.js.map +1 -0
- package/dist/scripts/clean-template.d.ts +1 -0
- package/dist/scripts/clean-template.js +14 -0
- package/dist/scripts/clean-template.js.map +1 -0
- package/dist/scripts/prepare-template.d.ts +1 -0
- package/dist/scripts/prepare-template.js +89 -0
- package/dist/scripts/prepare-template.js.map +1 -0
- package/package.json +11 -9
- package/template/.agents/skills/00-discover/SKILL.md +2 -0
- package/template/.agents/skills/60-report/SKILL.md +21 -75
- package/template/.agents/skills/70-release/SKILL.md +7 -4
- package/template/.agents/skills/check/SKILL.md +68 -0
- package/template/.agents/skills/ci/SKILL.md +25 -78
- package/template/.agents/skills/commit/SKILL.md +39 -43
- package/template/.agents/skills/complete/SKILL.md +73 -0
- package/template/.agents/skills/debug/SKILL.md +43 -104
- package/template/.agents/skills/deploy/SKILL.md +37 -65
- package/template/.agents/skills/devflow/SKILL.md +89 -80
- package/template/.agents/skills/idea/SKILL.md +57 -0
- package/template/.agents/skills/implement/SKILL.md +64 -0
- package/template/.agents/skills/insight/SKILL.md +27 -116
- package/template/.agents/skills/overview/SKILL.md +114 -0
- package/template/.agents/skills/preview/SKILL.md +24 -103
- package/template/.agents/skills/report-html/SKILL.md +45 -0
- package/template/.agents/skills/review/SKILL.md +53 -37
- package/template/.agents/skills/rollback/SKILL.md +1 -0
- package/template/.agents/skills/security-review/SKILL.md +44 -147
- package/template/.agents/skills/simplify/SKILL.md +48 -57
- package/template/.agents/skills/spec/SKILL.md +105 -0
- package/template/.agents/skills/test/SKILL.md +63 -51
- package/template/.claude/skills/00-discover/SKILL.md +2 -0
- package/template/.claude/skills/60-report/SKILL.md +21 -75
- package/template/.claude/skills/70-release/SKILL.md +7 -4
- package/template/.claude/skills/check/SKILL.md +68 -0
- package/template/.claude/skills/ci/SKILL.md +25 -78
- package/template/.claude/skills/commit/SKILL.md +39 -43
- package/template/.claude/skills/complete/SKILL.md +73 -0
- package/template/.claude/skills/debug/SKILL.md +43 -104
- package/template/.claude/skills/deploy/SKILL.md +37 -65
- package/template/.claude/skills/devflow/SKILL.md +89 -80
- package/template/.claude/skills/idea/SKILL.md +57 -0
- package/template/.claude/skills/implement/SKILL.md +64 -0
- package/template/.claude/skills/insight/SKILL.md +27 -116
- package/template/.claude/skills/overview/SKILL.md +114 -0
- package/template/.claude/skills/preview/SKILL.md +24 -103
- package/template/.claude/skills/report-html/SKILL.md +45 -0
- package/template/.claude/skills/review/SKILL.md +53 -37
- package/template/.claude/skills/rollback/SKILL.md +1 -0
- package/template/.claude/skills/security-review/SKILL.md +44 -147
- package/template/.claude/skills/simplify/SKILL.md +48 -57
- package/template/.claude/skills/spec/SKILL.md +105 -0
- package/template/.claude/skills/test/SKILL.md +63 -51
- package/template/AGENTS.md +71 -74
- package/template/devflow/context/ai-interaction.md +1 -0
- package/template/devflow/context/coding-standards.md +31 -18
- package/template/devflow/context/current-stage.md +3 -3
- package/template/devflow/context/findings.md +10 -6
- package/template/devflow/context/project-overview.md +29 -11
- package/template/devflow/discoveries/.gitkeep +0 -0
- package/template/devflow/history/HISTORY.md +31 -0
- package/template/devflow/ideas.md +15 -0
- package/template/devflow/reference/running-id-contract.md +1 -1
- package/template/devflow/runs/.gitkeep +0 -0
- package/bin/create-nexus-devflow.js +0 -287
- package/lib/starter-templates.js +0 -111
- package/lib/update.js +0 -379
- package/template/.agents/skills/9arm-skills/README.md +0 -51
- package/template/.agents/skills/9arm-skills/debug-mantra/SKILL.md +0 -86
- package/template/.agents/skills/9arm-skills/management-talk/SKILL.md +0 -79
- package/template/.agents/skills/9arm-skills/post-mortem/SKILL.md +0 -71
- package/template/.agents/skills/9arm-skills/scrutinize/SKILL.md +0 -72
- package/template/.agents/skills/browser-testing-with-devtools/SKILL.md +0 -302
- package/template/.agents/skills/ci-cd-and-automation/SKILL.md +0 -390
- package/template/.agents/skills/code-review-and-quality/SKILL.md +0 -392
- package/template/.agents/skills/code-simplification/SKILL.md +0 -331
- package/template/.agents/skills/debugging-and-error-recovery/SKILL.md +0 -298
- package/template/.agents/skills/deployment-procedures/SKILL.md +0 -241
- package/template/.agents/skills/deprecation-and-migration/SKILL.md +0 -206
- package/template/.agents/skills/diagnosing-bugs/SKILL.md +0 -93
- package/template/.agents/skills/git-workflow-and-versioning/SKILL.md +0 -300
- package/template/.agents/skills/human-review-decisions/SKILL.md +0 -74
- package/template/.agents/skills/idea-refine/SKILL.md +0 -178
- package/template/.agents/skills/idea-refine/examples.md +0 -238
- package/template/.agents/skills/idea-refine/frameworks.md +0 -99
- package/template/.agents/skills/idea-refine/refinement-criteria.md +0 -113
- package/template/.agents/skills/idea-refine/scripts/idea-refine.sh +0 -15
- package/template/.agents/skills/incremental-implementation/SKILL.md +0 -248
- package/template/.agents/skills/insight-capture/SKILL.md +0 -84
- package/template/.agents/skills/intelligent-routing/SKILL.md +0 -176
- package/template/.agents/skills/md2html/SKILL.md +0 -154
- package/template/.agents/skills/md2html/components.md +0 -505
- package/template/.agents/skills/md2html/template.html +0 -1152
- package/template/.agents/skills/planning-and-task-breakdown/SKILL.md +0 -239
- package/template/.agents/skills/pr-review/SKILL.md +0 -143
- package/template/.agents/skills/pr-review-analysis/SKILL.md +0 -89
- package/template/.agents/skills/preview-local-check/SKILL.md +0 -59
- package/template/.agents/skills/release-git-operations/SKILL.md +0 -97
- package/template/.agents/skills/review-followup-routing/SKILL.md +0 -98
- package/template/.agents/skills/security-and-hardening/SKILL.md +0 -349
- package/template/.agents/skills/security-and-hardening/security-checklist.md +0 -134
- package/template/.agents/skills/shipping-and-launch/SKILL.md +0 -311
- package/template/.agents/skills/silent-failure-audit/SKILL.md +0 -73
- package/template/.agents/skills/spec-orchestration/SKILL.md +0 -91
- package/template/.agents/skills/specialist-agent-routing/SKILL.md +0 -107
- package/template/.agents/skills/test-driven-development/SKILL.md +0 -422
- package/template/.agents/skills/test-driven-development/testing-patterns.md +0 -236
- package/template/.agents/skills/test-execution-and-coverage/SKILL.md +0 -56
- package/template/.agents/skills/using-agent-skills/SKILL.md +0 -171
- package/template/.agents/skills/verification-orchestration/SKILL.md +0 -68
- package/template/.agents/skills/vulnerability-scanner/SKILL.md +0 -276
- package/template/.agents/skills/vulnerability-scanner/checklists.md +0 -121
- package/template/.agents/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
- package/template/.agents/skills/wiki/SKILL.md +0 -149
- package/template/.agents/skills/workflow-documentation-sync/SKILL.md +0 -87
- package/template/.claude/skills/9arm-skills/README.md +0 -51
- package/template/.claude/skills/9arm-skills/debug-mantra/SKILL.md +0 -86
- package/template/.claude/skills/9arm-skills/management-talk/SKILL.md +0 -79
- package/template/.claude/skills/9arm-skills/post-mortem/SKILL.md +0 -71
- package/template/.claude/skills/9arm-skills/scrutinize/SKILL.md +0 -72
- package/template/.claude/skills/browser-testing-with-devtools/SKILL.md +0 -302
- package/template/.claude/skills/ci-cd-and-automation/SKILL.md +0 -390
- package/template/.claude/skills/code-review-and-quality/SKILL.md +0 -392
- package/template/.claude/skills/code-simplification/SKILL.md +0 -331
- package/template/.claude/skills/debugging-and-error-recovery/SKILL.md +0 -298
- package/template/.claude/skills/deployment-procedures/SKILL.md +0 -241
- package/template/.claude/skills/deprecation-and-migration/SKILL.md +0 -206
- package/template/.claude/skills/diagnosing-bugs/SKILL.md +0 -93
- package/template/.claude/skills/git-workflow-and-versioning/SKILL.md +0 -300
- package/template/.claude/skills/human-review-decisions/SKILL.md +0 -74
- package/template/.claude/skills/idea-refine/SKILL.md +0 -178
- package/template/.claude/skills/idea-refine/examples.md +0 -238
- package/template/.claude/skills/idea-refine/frameworks.md +0 -99
- package/template/.claude/skills/idea-refine/refinement-criteria.md +0 -113
- package/template/.claude/skills/idea-refine/scripts/idea-refine.sh +0 -15
- package/template/.claude/skills/incremental-implementation/SKILL.md +0 -248
- package/template/.claude/skills/insight-capture/SKILL.md +0 -84
- package/template/.claude/skills/intelligent-routing/SKILL.md +0 -176
- package/template/.claude/skills/md2html/SKILL.md +0 -154
- package/template/.claude/skills/md2html/components.md +0 -505
- package/template/.claude/skills/md2html/template.html +0 -1152
- package/template/.claude/skills/planning-and-task-breakdown/SKILL.md +0 -239
- package/template/.claude/skills/pr-review/SKILL.md +0 -143
- package/template/.claude/skills/pr-review-analysis/SKILL.md +0 -89
- package/template/.claude/skills/preview-local-check/SKILL.md +0 -59
- package/template/.claude/skills/release-git-operations/SKILL.md +0 -97
- package/template/.claude/skills/review-followup-routing/SKILL.md +0 -98
- package/template/.claude/skills/security-and-hardening/SKILL.md +0 -349
- package/template/.claude/skills/security-and-hardening/security-checklist.md +0 -134
- package/template/.claude/skills/shipping-and-launch/SKILL.md +0 -311
- package/template/.claude/skills/silent-failure-audit/SKILL.md +0 -73
- package/template/.claude/skills/spec-orchestration/SKILL.md +0 -91
- package/template/.claude/skills/specialist-agent-routing/SKILL.md +0 -107
- package/template/.claude/skills/test-driven-development/SKILL.md +0 -422
- package/template/.claude/skills/test-driven-development/testing-patterns.md +0 -236
- package/template/.claude/skills/test-execution-and-coverage/SKILL.md +0 -56
- package/template/.claude/skills/using-agent-skills/SKILL.md +0 -171
- package/template/.claude/skills/verification-orchestration/SKILL.md +0 -68
- package/template/.claude/skills/vulnerability-scanner/SKILL.md +0 -276
- package/template/.claude/skills/vulnerability-scanner/checklists.md +0 -121
- package/template/.claude/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
- package/template/.claude/skills/wiki/SKILL.md +0 -149
- package/template/.claude/skills/workflow-documentation-sync/SKILL.md +0 -87
- package/template/.nexus/nexus-devflow.json +0 -44
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec
|
|
3
|
+
description: "[Devflow] Fast-Track Spec stage in DevFlow (Blueprint Mode) - define, spec, plan, and create the single living spec.md contract."
|
|
4
|
+
argument-hint: "{feature title, bug description, IDEA-xxx, or running-id}"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Fast-Track: Spec (Blueprint Mode)
|
|
8
|
+
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
11
|
+
Fast-Track entry point combining Discovery, Definition, Specification, and Implementation Planning into one streamlined, review-gated step. Creates and maintains the **Single Living Spec (`spec.md`)** for the run. Supports intake from Idea Inbox (`IDEA-xxx`).
|
|
12
|
+
|
|
13
|
+
## Invocations & Aliases
|
|
14
|
+
|
|
15
|
+
- `/spec <title>` or `spec <title>`: Standard Fast-Track specification
|
|
16
|
+
- `/spec IDEA-xxx`: Intake and promote a pending idea from `devflow/ideas.md`
|
|
17
|
+
- `/feature <title>` or `feature <title>`: Fast-Track feature workflow
|
|
18
|
+
- `/fix <bug-description>` or `fix <bug-description>`: Fast-Track ad-hoc bugfix workflow
|
|
19
|
+
- `$spec`, `$feature`, `$fix`: Codex CLI invocation
|
|
20
|
+
|
|
21
|
+
## Fast-Track Mainline Workflow
|
|
22
|
+
|
|
23
|
+
```text
|
|
24
|
+
/spec ──▶ /implement ──▶ /check ──▶ /complete
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Behavior & Contract
|
|
28
|
+
|
|
29
|
+
When invoked:
|
|
30
|
+
|
|
31
|
+
### 1. Work Identity & Idea Intake
|
|
32
|
+
1. Inspect `devflow/context/current-stage.md` and `devflow/runs/`.
|
|
33
|
+
2. **Idea Inbox Intake**: If the argument is an idea identifier (e.g. `IDEA-001`):
|
|
34
|
+
- Read `devflow/ideas.md` and extract the idea's title, raw problem statement, AI Feasibility notes, and Quick Seed points.
|
|
35
|
+
- Use these details as the primary input for Specification & Scope.
|
|
36
|
+
- In `devflow/ideas.md`, update the item's status to `[x] Claimed ({RUNNING_ID})` and move it under `## 📦 Archived / Shipped Ideas`.
|
|
37
|
+
3. Determine or allocate the sequential Running ID (e.g. `RUN-016-{slug}`).
|
|
38
|
+
4. Identify Git branch naming:
|
|
39
|
+
- For features: `feature/{slug}-{RUNNING_ID}`
|
|
40
|
+
- For bug fixes: `fix/{slug}-{RUNNING_ID}`
|
|
41
|
+
5. Create directory `devflow/runs/{RUNNING_ID}/`.
|
|
42
|
+
|
|
43
|
+
### 2. Generate the Single Living Spec (`spec.md`)
|
|
44
|
+
Write `devflow/runs/{RUNNING_ID}/spec.md` using the structured template below in **Thai (`th`)**:
|
|
45
|
+
|
|
46
|
+
```markdown
|
|
47
|
+
# 📐 [{RUNNING_ID}] {Title} (Living Spec)
|
|
48
|
+
|
|
49
|
+
> **Status**: In-Progress
|
|
50
|
+
> **Track**: Fast-Track (Blueprint Mode)
|
|
51
|
+
> **Branch**: `{branch_name}`
|
|
52
|
+
> **Created Date**: {YYYY-MM-DD}
|
|
53
|
+
> **Owner**: {Contributor or Team}
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 1. Specification & Scope
|
|
58
|
+
- **Problem Statement**: {ปัญหาหรือที่มาที่ต้องทำ}
|
|
59
|
+
- **In-Scope**:
|
|
60
|
+
- {ขอบเขตสิ่งที่ต้องทำ}
|
|
61
|
+
- **Out-of-Scope**:
|
|
62
|
+
- {สิ่งที่ไม่ทำในรอบนี้}
|
|
63
|
+
- **Acceptance Criteria**:
|
|
64
|
+
- [ ] AC-1: {เงื่อนไขการตรวจรับข้อที่ 1}
|
|
65
|
+
- [ ] AC-2: {เงื่อนไขการตรวจรับข้อที่ 2}
|
|
66
|
+
|
|
67
|
+
## 2. Plan & Test Strategy
|
|
68
|
+
- **Files to Modify / Create**:
|
|
69
|
+
- `{path/to/file1}`: {หน้าที่ที่ต้องแก้ไข}
|
|
70
|
+
- `{path/to/file2}`: {หน้าที่ที่ต้องแก้ไข}
|
|
71
|
+
- **Test Decision**: `Required (TDD)` | `Manual/Command Only` | `Not Required`
|
|
72
|
+
- *Rationale*: {เหตุผลความจำเป็นในการเขียนเทสต์}
|
|
73
|
+
- *Planned Cases*: {กรณีทดสอบหลักตาม AAA Pattern}
|
|
74
|
+
- **Impact & Rollback Strategy**:
|
|
75
|
+
- *Impact*: {ผลกระทบต่อโมดูลอื่น}
|
|
76
|
+
- *Rollback*: {วิธีย้อนคืนการทำงานกรณีเกิดปัญหา}
|
|
77
|
+
|
|
78
|
+
## 3. Implementation Checklist
|
|
79
|
+
- [ ] Task 1.1: {งานย่อยข้อที่ 1}
|
|
80
|
+
- [ ] Task 1.2: {งานย่อยข้อที่ 2}
|
|
81
|
+
- [ ] Task 1.3: {งานย่อยข้อที่ 3}
|
|
82
|
+
|
|
83
|
+
## 4. Implementation Record
|
|
84
|
+
- *(จะถูกบันทึกเมื่อรัน /implement)*
|
|
85
|
+
|
|
86
|
+
## 5. Verification Evidence
|
|
87
|
+
- *(จะถูกบันทึกเมื่อรัน /check)*
|
|
88
|
+
|
|
89
|
+
## 6. Release & Handoff
|
|
90
|
+
- *(จะถูกบันทึกเมื่อรัน /complete)*
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### 3. Update Workspace Status
|
|
94
|
+
Update `devflow/context/current-stage.md`:
|
|
95
|
+
- `Active Running ID`: `{RUNNING_ID}`
|
|
96
|
+
- `Current Stage`: `spec (Fast-Track -> Ready for /implement)`
|
|
97
|
+
- `Last Updated`: `{YYYY-MM-DD}`
|
|
98
|
+
|
|
99
|
+
### 4. Output Summary & Next Step
|
|
100
|
+
Report to the user:
|
|
101
|
+
- Running ID and allocated branch
|
|
102
|
+
- Summary of Scope and Acceptance Criteria
|
|
103
|
+
- Living Spec path: `devflow/runs/{RUNNING_ID}/spec.md`
|
|
104
|
+
- If promoted from `IDEA-xxx`, confirm status update in `devflow/ideas.md`
|
|
105
|
+
- **Next Command**: `/implement` (or `/implement {RUNNING_ID}`)
|
|
@@ -1,82 +1,94 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: test
|
|
3
|
-
description: "[Devflow] Test
|
|
3
|
+
description: "[Devflow] Test-driven development, test generation, test execution, and coverage analysis across unit, integration, and smoke test suites."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
description: Test Generation and Execution - Generates missing tests, runs existing test suites, or checks test coverage for the project.
|
|
8
|
-
---
|
|
9
|
-
# ๐งช Test Generation and Execution
|
|
10
|
-
|
|
11
|
-
## Usage: `/13-Test [target]`
|
|
6
|
+
# Test-Driven Development, Generation & Execution
|
|
12
7
|
|
|
13
|
-
|
|
8
|
+
## Overview
|
|
14
9
|
|
|
15
|
-
|
|
10
|
+
This is the comprehensive testing master skill for Nexus-DevFlow. It drives development with tests (TDD), handles test generation, execution, coverage analysis, and bug reproduction. Tests are proof — "seems right" is not done.
|
|
16
11
|
|
|
17
12
|
```text
|
|
18
|
-
|
|
13
|
+
RED GREEN REFACTOR
|
|
14
|
+
Write a test Write minimal code Clean up the
|
|
15
|
+
that fails ──→ to make it pass ──→ implementation ──→ (repeat)
|
|
16
|
+
│ │ │
|
|
17
|
+
▼ ▼ ▼
|
|
18
|
+
Test FAILS Test PASSES Tests still PASS
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
## Usage & Sub-Commands
|
|
22
|
+
|
|
23
|
+
- `/test` - Run all project test suites
|
|
24
|
+
- `/test [file/feature]` - Generate tests for a specific target
|
|
25
|
+
- `/test coverage` - Show test coverage report
|
|
26
|
+
- `/test watch` - Run tests in watch mode
|
|
22
27
|
|
|
23
28
|
---
|
|
24
29
|
|
|
25
|
-
##
|
|
30
|
+
## 1. The TDD Cycle
|
|
31
|
+
|
|
32
|
+
### Step 1: RED — Write a Failing Test
|
|
33
|
+
Write the test first. It must fail. A test that passes immediately proves nothing.
|
|
34
|
+
|
|
35
|
+
### Step 2: GREEN — Make It Pass
|
|
36
|
+
Write the minimum code to make the test pass. Avoid premature over-engineering.
|
|
26
37
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- `/13-Test coverage` - Show test coverage report
|
|
30
|
-
- `/13-Test watch` - Run tests in watch mode
|
|
38
|
+
### Step 3: REFACTOR — Clean Up
|
|
39
|
+
Improve code readability, naming, structure, and eliminate duplication while keeping tests green.
|
|
31
40
|
|
|
32
41
|
---
|
|
33
42
|
|
|
34
|
-
##
|
|
43
|
+
## 2. The Prove-It Pattern (Bug Reproduction)
|
|
35
44
|
|
|
36
|
-
|
|
37
|
-
If the user requests tests for a target:
|
|
38
|
-
1. **Analyze**: Identify functions, edge cases, and external dependencies.
|
|
39
|
-
2. **Template Verification**: **MANDATORY:** Before generating the test plan, inspect `.agent/resources/schemas/test_report.template.md`, preserve its required layout, and replace placeholder text with concrete coverage, command output, failures, and gaps.
|
|
40
|
-
3. **Generate Cases**: Develop Happy path, Error cases, Edge cases.
|
|
41
|
-
4. **Write**: Implement the tests using the project's testing framework (Pytest, Jest, Vitest, etc.). Follow the `Arrange-Act-Assert` pattern and mock external dependencies.
|
|
42
|
-
5. **Save Test Report**: Save the test plan and results to `devflow/reports/{date}-test-report-{target}.md` (where `{date}` is today's date in `YYYY-MM-DD` format and `{target}` is a slugified version of the file or feature name).
|
|
45
|
+
When fixing any defect, **do not attempt a fix without proving the bug exists first**:
|
|
43
46
|
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
```text
|
|
48
|
+
Bug report arrives ➔ Write reproduction test (FAILS) ➔ Implement fix ➔ Test PASSES ➔ Guard regression
|
|
49
|
+
```
|
|
46
50
|
|
|
47
51
|
---
|
|
48
52
|
|
|
49
|
-
##
|
|
50
|
-
- **Test behavior, not implementation.**
|
|
51
|
-
- **One assertion per test** (when practical).
|
|
52
|
-
- **Descriptive test names.**
|
|
53
|
-
- **Arrange-Act-Assert pattern.**
|
|
54
|
-
- **Save Report**: Always save the test plan or results to disk for persistent logging.
|
|
53
|
+
## 3. The Test Pyramid & Resource Sizes
|
|
55
54
|
|
|
56
|
-
|
|
55
|
+
| Level | Size | Target % | Scope & Characteristics |
|
|
56
|
+
| :--- | :--- | :--- | :--- |
|
|
57
|
+
| **Unit** | Small | ~80% | Pure logic, in-memory, single process, milliseconds each |
|
|
58
|
+
| **Integration** | Medium | ~15% | API boundaries, database interaction, component seams |
|
|
59
|
+
| **E2E** | Large | ~5% | Critical user journeys, full workflows, browser automation |
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
Generate a summary indicating:
|
|
60
|
-
- **Test Plan**: Table of Test Case, Type, Coverage (Happy path, error case, validation)
|
|
61
|
-
- **Generated Tests**: File path and the code block
|
|
62
|
-
- **Report Location**: Confirm the report has been written to the specified workspace path.
|
|
63
|
-
- **Run command**: e.g. `npm test`
|
|
61
|
+
---
|
|
64
62
|
|
|
65
|
-
|
|
66
|
-
Display an organized output listing Passed/Failed files, and explicitly show the expectation vs received outcome for failed assertions.
|
|
63
|
+
## 4. Key Testing Principles & Best Practices
|
|
67
64
|
|
|
68
|
-
|
|
65
|
+
1. **Test behavior, not implementation details**: Assert on output and state changes, not private method call sequences.
|
|
66
|
+
2. **DAMP over DRY in tests**: Descriptive and meaningful test setup beats overly abstract shared helpers.
|
|
67
|
+
3. **Arrange-Act-Assert**: Distinct setup, action, and verification phases in every test case.
|
|
68
|
+
4. **Prefer real implementations & fakes over heavy mocks**: Mock only at boundaries where real dependencies are slow or non-deterministic.
|
|
69
|
+
5. **One assertion concept per test**: Isolate test failure reasons clearly.
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 5. Browser Testing & Runtime Verification
|
|
74
|
+
|
|
75
|
+
For browser and UI features, unit tests alone are insufficient:
|
|
76
|
+
- **Console**: Zero errors and unhandled exceptions in production code.
|
|
77
|
+
- **Network**: Accurate status codes, payload shapes, and CORS handling.
|
|
78
|
+
- **DOM & Styles**: Verified layout rendering, accessibility tree, and responsive behaviors.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 6. Test Generation & Persistent Execution Reports
|
|
74
83
|
|
|
75
|
-
|
|
84
|
+
When generating or logging test runs during `40-implement` or `50-verify`:
|
|
85
|
+
- Save summary reports to `devflow/reports/{date}-test-report-{slug}.md`
|
|
86
|
+
- Include: Target, Test Cases (Happy Path, Error, Edge Cases), Pass/Fail statistics, and gaps/risks.
|
|
76
87
|
|
|
77
|
-
|
|
78
|
-
- `.agents/skills/test-execution-and-coverage/SKILL.md`
|
|
79
|
-
- `.agent/resources/schemas/test_report.template.md`
|
|
80
|
-
- Related commands: `40-implement`, `50-verify`, `Debug`, `QA-Orchestrate`
|
|
88
|
+
---
|
|
81
89
|
|
|
90
|
+
## Relationship To DevFlow 2.0
|
|
82
91
|
|
|
92
|
+
- **Classification**: Companion command & Engineering standard
|
|
93
|
+
- **Mainline stages**: `30-plan` (TDD decisions), `40-implement` (TDD execution), `50-verify` (QA gate)
|
|
94
|
+
- **Handoff**: `50-verify`, `Debug`, `autopilot`
|
package/template/AGENTS.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
# Nexus-DevFlow 2.0 (
|
|
1
|
+
# Nexus-DevFlow 2.0 (Dual-Track Blueprint & Architect Model)
|
|
2
2
|
|
|
3
3
|
Instructions for AI coding agents working in this project. This is the cross-tool entry point: Codex, Google Antigravity, Cursor, GitHub Copilot, Gemini CLI, Aider, Zed, Windsurf, and others read `AGENTS.md`. Claude Code reads `CLAUDE.md`, which imports this file (`@AGENTS.md`), so there is a single source of truth.
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
This project uses **Nexus-DevFlow**, an agentic
|
|
7
|
+
This project uses **Nexus-DevFlow**, an agentic workflow layer supporting **Dual-Track Delivery**:
|
|
8
|
+
1. **🏎️ Fast-Track (Blueprint Mode - 4 Steps)**: High-velocity spec-driven loop driven by a **Single Living Spec (`spec.md`)**.
|
|
9
|
+
2. **🏗️ Deep-Track (Architect Mode - 8 Steps)**: Full-lifecycle delivery pipeline with modular stage artifacts (`00-70`).
|
|
10
|
+
|
|
11
|
+
To start a new project, scaffold the application first in an empty folder, then run `npx @jakkrichm/create-nexus-devflow` to overlay DevFlow onto your codebase.
|
|
8
12
|
|
|
9
13
|
## Read these for full context
|
|
10
14
|
|
|
@@ -25,66 +29,70 @@ Unused adapter families can be removed. Codex and Antigravity projects keep `.ag
|
|
|
25
29
|
|
|
26
30
|
### Universal Invocation & Agent Directives:
|
|
27
31
|
|
|
28
|
-
1. **Canonical Command Names & AI Provider Invocation**: Each workflow stage and companion tool has exactly **one Canonical Name** (e.g. `00-discover`, `10-define`, `20-spec`, `30-plan`, `40-implement`, `50-verify`, `60-report`, `70-release`, `devflow`, `onboard`, `adopt`, `doctor`, `try`, `rollback`, `ci`, `brief`, `autopilot`). The way you invoke commands depends on your AI Provider / Tool:
|
|
29
|
-
- **Canonical Name (Plain text)**: Directly invoke or prompt the command by its standard name (e.g., `
|
|
30
|
-
- **Slash Prefix (`/`)**: For tools supporting slash commands (Claude Code, Google Antigravity, Gemini CLI), e.g., `/
|
|
31
|
-
- **Dollar Prefix (`$`)**: For OpenAI Codex CLI or skill-invocation tools, e.g., `$
|
|
32
|
+
1. **Canonical Command Names & AI Provider Invocation**: Each workflow stage and companion tool has exactly **one Canonical Name** (e.g. `spec`, `implement`, `check`, `complete`, `00-discover`, `10-define`, `20-spec`, `30-plan`, `40-implement`, `50-verify`, `60-report`, `70-release`, `report-html`, `devflow`, `onboard`, `adopt`, `doctor`, `try`, `rollback`, `ci`, `brief`, `autopilot`). The way you invoke commands depends on your AI Provider / Tool:
|
|
33
|
+
- **Canonical Name (Plain text)**: Directly invoke or prompt the command by its standard name (e.g., `spec`, `devflow`).
|
|
34
|
+
- **Slash Prefix (`/`)**: For tools supporting slash commands (Claude Code, Google Antigravity, Gemini CLI), e.g., `/spec`, `/feature`, `/fix`, `/devflow`.
|
|
35
|
+
- **Dollar Prefix (`$`)**: For OpenAI Codex CLI or skill-invocation tools, e.g., `$spec`, `$devflow`.
|
|
32
36
|
2. **OpenAI Codex & Non-Native CLI Tools**: In environments without automatic background skill discovery (such as OpenAI Codex CLI, Aider, or generic terminals), **you MUST use your file reading tool to inspect `.agents/skills/<skill>/SKILL.md` before executing the stage** to strictly follow its schema, artifact contract, and quality gates.
|
|
33
37
|
3. **Google Antigravity & Claude Code**: Native skill engines automatically discover and surface `.agents/skills/` and `.claude/skills/`.
|
|
34
38
|
4. **State-Aware Inspection**: When unsure what to do next, invoke `devflow` to automatically inspect `devflow/context/current-stage.md` and active runs in `devflow/runs/`.
|
|
35
|
-
5. **Default Artifact & Communication Language (Thai)**: All generated markdown stage artifacts (`
|
|
39
|
+
5. **Default Artifact & Communication Language (Thai)**: All generated markdown stage artifacts (`spec.md`, `00-discover.md`...`70-release.md`) and user communication MUST default to **Thai (`th`)**, while code, technical terms, file paths, and identifiers remain in English.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 🏎️ Track 1: Fast-Track (Blueprint Mode - 4 Steps)
|
|
36
44
|
|
|
37
|
-
|
|
45
|
+
Recommended for 85% of daily work (features, bug fixes, UI improvements, iterative tasks):
|
|
38
46
|
|
|
39
47
|
```text
|
|
40
|
-
|
|
48
|
+
/spec (or /feature, /fix) ──▶ /implement ──▶ /check ──▶ /complete
|
|
41
49
|
```
|
|
42
50
|
|
|
43
|
-
|
|
51
|
+
1. **`spec` (`/spec`, `/feature`, `/fix`)**:
|
|
52
|
+
- **Purpose**: Combines Discover, Define, Spec, and Plan into one unified step. Allocates sequential Running ID (`RUN-xxx`) and creates the **Single Living Spec (`spec.md`)**.
|
|
53
|
+
- **Artifact**: `devflow/runs/{running-id}-{slug}/spec.md`
|
|
54
|
+
2. **`implement` (`/implement`)**:
|
|
55
|
+
- **Purpose**: Incrementally executes checklist tasks with TDD discipline and appends progress to `spec.md`.
|
|
56
|
+
3. **`check` (`/check`)**:
|
|
57
|
+
- **Purpose**: Senior QA review, multi-lane verification matrix (Typecheck, Lint, Test suites, manual proof), and records evidence into `spec.md`.
|
|
58
|
+
4. **`complete` (`/complete`)**:
|
|
59
|
+
- **Purpose**: Final safety pass, records Release Digest in `spec.md`, performs git merge, and closes the run without auto HTML generation.
|
|
44
60
|
|
|
45
|
-
|
|
46
|
-
- **Purpose**: Explore a request before delivery commitment without allocating a running ID.
|
|
47
|
-
- **Artifact**: `devflow/discoveries/{discovery-id}-{slug}/00-discover.md`
|
|
48
|
-
- **Gate**: Produces `Proceed`, `Defer`, or `Reject` decision.
|
|
61
|
+
---
|
|
49
62
|
|
|
50
|
-
2
|
|
51
|
-
- **Purpose**: Turn an approved discovery into one or more bounded delivery runs with stable scope and sequential Running IDs.
|
|
52
|
-
- **Artifact**: `devflow/runs/{running-id}-{slug}/10-define.md`
|
|
53
|
-
- **Gate**: Approved run map and explicit in-scope / out-of-scope boundaries.
|
|
63
|
+
## 🏗️ Track 2: Deep-Track (Architect Mode - 8 Steps)
|
|
54
64
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
Recommended for large architectural epics, database migrations, and multi-agent coordination:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
00-discover ──▶ 10-define ──▶ 20-spec ──▶ 30-plan ──▶ 40-implement ──▶ 50-verify ──▶ 60-report ──▶ 70-release
|
|
69
|
+
```
|
|
59
70
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
71
|
+
1. `00-discover`: Explore request before delivery commitment without allocating running ID (`00-discover.md`).
|
|
72
|
+
2. `10-define`: Turn approved discovery into bounded delivery run(s) with sequential Running IDs (`10-define.md`).
|
|
73
|
+
3. `20-spec`: Formalize markdown-first delivery contract & acceptance criteria (`20-spec.md`).
|
|
74
|
+
4. `30-plan`: Breakdown spec into executable tasks with test decisions (`30-plan.md` + checklists).
|
|
75
|
+
5. `40-implement`: Incremental task implementation behind review gates (`40-implement.md`).
|
|
76
|
+
6. `50-verify`: Senior QA review & multi-lane verification checks (`50-verify.md`).
|
|
77
|
+
7. `60-report`: Standardized markdown delivery digest (`60-report.md`).
|
|
78
|
+
8. `70-release`: Release packaging, release notes, git merge, and deployment (`70-release.md`).
|
|
64
79
|
|
|
65
|
-
|
|
66
|
-
- **Purpose**: Execute planned tasks incrementally one scoped unit at a time behind review gates.
|
|
67
|
-
- **Artifact**: `40-implement.md` (and updated checklists)
|
|
68
|
-
- **Gate**: Code changes tested, verification recorded, deviations documented.
|
|
80
|
+
---
|
|
69
81
|
|
|
70
|
-
|
|
71
|
-
- **Purpose**: Senior QA review and multi-lane validation check across functionality, regressions, and quality standards.
|
|
72
|
-
- **Artifact**: `50-verify.md` (optional `50-verify-impact.md`)
|
|
73
|
-
- **Gate**: Pass or return-to-implement decision with evidence.
|
|
82
|
+
## 🌐 Standalone HTML Reporting Policy
|
|
74
83
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
84
|
+
> [!IMPORTANT]
|
|
85
|
+
> **No Auto-Generated HTML**: Mainline flows (`/complete` and `60-report`) strictly output Markdown only.
|
|
86
|
+
> When an interactive web dashboard is desired for presentation or sharing, invoke the standalone companion command:
|
|
87
|
+
> `/report:html` (or `npm run report:html -- {RUNNING_ID}`).
|
|
79
88
|
|
|
80
|
-
|
|
81
|
-
- **Purpose**: Package verified work for delivery, git merge, pull request, changelog update, or deployment.
|
|
82
|
-
- **Artifact**: `70-release.md`
|
|
83
|
-
- **Gate**: Safe handoff, release notes, and deployment readiness.
|
|
89
|
+
---
|
|
84
90
|
|
|
85
|
-
|
|
91
|
+
## Public Companion Commands
|
|
86
92
|
|
|
87
93
|
- `devflow`: Flagship interactive guide, state inspector, and intent router.
|
|
94
|
+
- `idea` (`/idea`): Quick idea capture and AI feasibility enrichment into `devflow/ideas.md`.
|
|
95
|
+
- `report-html` (`/report:html`): Standalone interactive HTML report dashboard generator.
|
|
88
96
|
- `onboard`: Initial stack detection and baseline setup for fresh/scaffolded projects.
|
|
89
97
|
- `adopt`: Survey existing brownfield codebases and bootstrap DevFlow context.
|
|
90
98
|
- `doctor`: Read-only health check for context files, adapters, commands, and workflow drift.
|
|
@@ -92,49 +100,38 @@ Unused adapter families can be removed. Codex and Antigravity projects keep `.ag
|
|
|
92
100
|
- `rollback`: Safe feature/run reversal planner with dependency and commit risk analysis.
|
|
93
101
|
- `ci`: Automatic GitHub Actions workflow (`.github/workflows/verify.yml`) setup and alignment.
|
|
94
102
|
- `brief`: Read-only scope, dependency, and size pre-briefing before speccing a run.
|
|
95
|
-
- `autopilot`: Optional explicit mode for one bounded spec/plan/implement/verify/report pass
|
|
103
|
+
- `autopilot`: Optional explicit mode for one bounded spec/plan/implement/verify/report pass.
|
|
96
104
|
- `goal`: Route broad, open-ended goals before Discovery.
|
|
97
105
|
- `brainstorm`: Structured divergent & convergent ideation without creating running IDs.
|
|
98
106
|
- `research`: Conduct deep codebase or web research with source-backed citations.
|
|
99
107
|
- `debug`: Root cause investigation before or during implementation without editing code.
|
|
100
|
-
- `
|
|
101
|
-
- `
|
|
102
|
-
- `security-review`: High-severity vulnerability and security review.
|
|
103
|
-
- `wiki`: Knowledge base management and ingestion under `devflow/wiki/`.
|
|
108
|
+
- `overview`: Refresh `devflow/context/project-overview.md`.
|
|
109
|
+
- `wiki`: Knowledge base management under `devflow/wiki/`.
|
|
104
110
|
- `check-for-updates`: Verify or upgrade DevFlow setup.
|
|
105
111
|
- `help`: Routing and process assistance across DevFlow workflows.
|
|
106
112
|
|
|
107
|
-
|
|
113
|
+
---
|
|
108
114
|
|
|
109
|
-
|
|
115
|
+
## Invocation Reference
|
|
110
116
|
|
|
111
|
-
|
|
|
117
|
+
| Track / Category | Canonical Name | Claude / Antigravity (`/`) | OpenAI Codex (`$`) | Purpose / Action |
|
|
112
118
|
| :--- | :--- | :--- | :--- | :--- |
|
|
113
|
-
| **
|
|
114
|
-
| **
|
|
115
|
-
| **
|
|
116
|
-
| **
|
|
117
|
-
| **
|
|
118
|
-
| **
|
|
119
|
-
| **
|
|
120
|
-
| **
|
|
121
|
-
| **
|
|
122
|
-
| **
|
|
123
|
-
| **
|
|
124
|
-
| **
|
|
125
|
-
| **
|
|
126
|
-
| **
|
|
127
|
-
| **Stage 60** | `60-report` | `/60-report` | `$60-report` | Standalone markdown & HTML summary report |
|
|
128
|
-
| **Stage 70** | `70-release` | `/70-release` | `$70-release` | Package for delivery, git merge, PR, or deployment |
|
|
119
|
+
| **Fast: Spec** | `spec` | `/spec` / `/feature` / `/fix` | `$spec` / `$feature` / `$fix` | 4-step Fast-Track spec & living spec creation (supports `IDEA-xxx`) |
|
|
120
|
+
| **Fast: Implement** | `implement` | `/implement` | `$implement` | Fast-Track incremental execution with TDD |
|
|
121
|
+
| **Fast: Check** | `check` | `/check` | `$check` | Fast-Track QA review & multi-lane verification |
|
|
122
|
+
| **Fast: Complete** | `complete` | `/complete` | `$complete` | Fast-Track safety pass, release digest & git merge |
|
|
123
|
+
| **Idea Capture** | `idea` | `/idea` | `$idea` | Quick idea capture and AI feasibility enrichment |
|
|
124
|
+
| **HTML Report** | `report-html` | `/report:html` | `$report:html` | Standalone interactive HTML dashboard generator |
|
|
125
|
+
| **Deep: 00** | `00-discover` | `/00-discover` | `$00-discover` | Explore request and decide Proceed, Defer, or Reject |
|
|
126
|
+
| **Deep: 10** | `10-define` | `/10-define` | `$10-define` | Turn approved discovery into bounded delivery run(s) |
|
|
127
|
+
| **Deep: 20** | `20-spec` | `/20-spec` | `$20-spec` | Formal markdown delivery contract & acceptance criteria |
|
|
128
|
+
| **Deep: 30** | `30-plan` | `/30-plan` | `$30-plan` | Breakdown spec into executable tasks with test decisions |
|
|
129
|
+
| **Deep: 40** | `40-implement` | `/40-implement` | `$40-implement` | Implement tasks in small reviewable increments |
|
|
130
|
+
| **Deep: 50** | `50-verify` | `/50-verify` | `$50-verify` | Senior QA review & multi-lane verification checks |
|
|
131
|
+
| **Deep: 60** | `60-report` | `/60-report` | `$60-report` | Standalone markdown summary report |
|
|
132
|
+
| **Deep: 70** | `70-release` | `/70-release` | `$70-release` | Package for delivery, git merge, PR, or deployment |
|
|
129
133
|
| **Router** | `devflow` | `/devflow` | `$devflow` | Interactive guide, state inspector, and intent router |
|
|
130
134
|
|
|
131
|
-
## Mainline Rules
|
|
132
|
-
|
|
133
|
-
1. Numbered workflows exist only for the linear mainline.
|
|
134
|
-
2. Mainline numbers must move from lower to higher with no backward jump.
|
|
135
|
-
3. If a command is not a true mainline state, do not give it a number.
|
|
136
|
-
4. Companion commands may be suggested by a mainline workflow but do not replace that workflow.
|
|
137
|
-
|
|
138
135
|
## Commands
|
|
139
136
|
|
|
140
137
|
- Dev Server: `npm run dev`
|
|
@@ -32,3 +32,4 @@
|
|
|
32
32
|
- Run `/20-Spec` and `/30-Plan` to establish formal delivery specifications and execution plans.
|
|
33
33
|
- Run `/40-Implement` for step-by-step code implementation with evidence.
|
|
34
34
|
- Run `/50-Verify`, `/60-Report`, and `/70-Release` for quality verification, reporting, and release packaging.
|
|
35
|
+
- Use **Fast-Track / Quick-Fix mode** for minor hotfixes to skip heavy ceremony while keeping test evidence.
|
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
# Coding Standards
|
|
1
|
+
# Coding Standards & Guidelines
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
> Run `/onboard` (or `/adopt` for existing codebases) to tune these standards to your specific stack.
|
|
3
|
+
General engineering standards for code, tests, and documentation in Nexus-DevFlow.
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## 1. Code Quality & Architecture
|
|
7
6
|
|
|
8
|
-
- Write
|
|
9
|
-
-
|
|
10
|
-
-
|
|
7
|
+
- Write clear, self-documenting code with single-responsibility functions.
|
|
8
|
+
- Avoid unnecessary complexity (prefer simple solutions over indirect abstractions).
|
|
9
|
+
- Maintain type safety and static validation across module boundaries.
|
|
10
|
+
- Treat `project-overview.md` as the single source of truth for concrete data models and entity definitions.
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## 2. Testing & Empirical Proof Standards
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
14
|
+
- **Unit Test Mandate**: Any logic modification or bug fix must be accompanied by new or updated unit tests.
|
|
15
|
+
- **Empirical Proof Contract**: Never claim "passed", "verified", or "working" without citing exact command outputs, test run reports, route responses, logs, or screenshots.
|
|
16
|
+
- **Manual Try Guide**: Every delivery run must provide a human-testable Try Guide ("Where to go", "What to click", "What to expect") for manual validation.
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## 3. Findings Ledger & Quality Gates (`findings.md`)
|
|
19
19
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
20
|
+
- All audit, security, and verification issues must be tracked in `devflow/context/findings.md`.
|
|
21
|
+
- **Finding State Machine**:
|
|
22
|
+
- `open`: Confirmed defect not yet repaired.
|
|
23
|
+
- `fixed`: Repaired in code, pending verification.
|
|
24
|
+
- `closed`: Verified in `50-verify` as completely resolved without regressions.
|
|
25
|
+
- `accepted`: Waived with recorded user rationale.
|
|
26
|
+
- `invalid`: Proven non-issue with concrete evidence.
|
|
27
|
+
- **P0/P1 Blockers**: P0 and P1 findings in `open` or `fixed` status block `70-release` unconditionally. `fixed` status must be promoted to `closed` via `50-verify` re-examination.
|
|
23
28
|
|
|
24
|
-
##
|
|
29
|
+
## 4. Git Workflow & Release Safety
|
|
30
|
+
|
|
31
|
+
- Commit messages follow conventional/imperative format (e.g., `feat(RUN-007): ...`).
|
|
32
|
+
- Feature branches follow `feature/{slug}-{running-id}` or `fix/{slug}-{running-id}`.
|
|
33
|
+
- **2-Stage Release Approvals**: Explicit consent to merge into `main` is strictly separate from consent to `git push` to remote repositories or deploy to production.
|
|
25
34
|
|
|
26
|
-
|
|
27
|
-
|
|
35
|
+
## 5. Fast-Track & Quick-Fix Guidelines (Lean Mode)
|
|
36
|
+
|
|
37
|
+
- For trivial bug fixes, typo corrections, or single-file non-architectural changes, developers and agents may use the **Quick-Fix Fast-Track**:
|
|
38
|
+
- Consolidate Discovery, Define, and Spec into an inline fix brief (`devflow/runs/{fix-id}/fix-brief.md`).
|
|
39
|
+
- Jump directly to `40-implement` (with reproduction unit test) ➔ `50-verify` ➔ `70-release`.
|
|
40
|
+
- Avoid creating heavy redundant documentation for changes under 20 lines of code while preserving Empirical Proof and Unit Test requirements.
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
- **Active Discovery ID**: None
|
|
4
4
|
- **Active Running ID**: None
|
|
5
|
-
- **Current Stage**:
|
|
6
|
-
- **Last Completed Run**:
|
|
7
|
-
- **Last Updated**: -
|
|
5
|
+
- **Current Stage**: Ready for new work (Fast-Track: `/spec`, `/feature`, `/fix`, or Deep-Track: `00-discover`, Idea: `/idea`)
|
|
6
|
+
- **Last Completed Run**: RUN-016-idea-capture-inbox-and-status-integration (2026-08-20)
|
|
7
|
+
- **Last Updated**: 2026-08-20
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
# Findings Ledger
|
|
1
|
+
# Audit Findings Ledger
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
> Resolved findings are tracked with durable IDs.
|
|
3
|
+
Summary of audit findings, quality checks, security bugs, and debt tracked across DevFlow runs.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
- **Total Tracked**: 0
|
|
5
|
+
## Open Findings
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
| ID | Severity | Category | Title | Discovered Run | Status |
|
|
8
|
+
| :- | :--- | :--- | :--- | :--- | :--- |
|
|
9
|
+
|
|
10
|
+
## Resolved Findings
|
|
11
|
+
|
|
12
|
+
| ID | Severity | Category | Title | Resolved Run | Date |
|
|
13
|
+
| :- | :--- | :--- | :--- | :--- | :--- |
|
|
@@ -1,19 +1,37 @@
|
|
|
1
1
|
# Project Overview
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
> Single AI-facing source of truth for project architecture, stack, and shipped capabilities.
|
|
5
|
-
> Run `/onboard` (for fresh projects) or `/adopt` (for existing codebases) to populate this file automatically.
|
|
3
|
+
Primary source of truth for the project context, architecture, tech stack, and active DevFlow stage status.
|
|
6
4
|
|
|
7
|
-
##
|
|
5
|
+
## Application Summary
|
|
8
6
|
|
|
9
|
-
- **Name**:
|
|
10
|
-
- **
|
|
11
|
-
- **
|
|
7
|
+
- **Project Name**: Nexus-DevFlow
|
|
8
|
+
- **Goal**: Agent-ready DevFlow 2.0 workflow layer framework with .agents and .claude adapter tooling, living context synchronization, and automated AI Blueprint upstream monitoring.
|
|
9
|
+
- **Target Audience**: AI coding assistants (Google Antigravity, OpenAI Codex, Claude Code, Cursor) and software development teams building resilient agentic delivery workflows.
|
|
12
10
|
|
|
13
|
-
##
|
|
11
|
+
## Tech Stack
|
|
14
12
|
|
|
15
|
-
-
|
|
13
|
+
- **Core & Runtime**: Node.js (>=18.17 / Node 22), TypeScript 5.7, Node Next ESM (`"type": "module"`)
|
|
14
|
+
- **Execution & Tooling**: `tsx` (TypeScript execute/test runner), `tsc` (Typecheck & compilation)
|
|
15
|
+
- **Installer Package**: `@jakkrichm/create-nexus-devflow` (with `dist/` compilation pipeline)
|
|
16
|
+
- **Documentation**: VitePress / Astro website under `website/` (GitHub Pages)
|
|
17
|
+
- **Upstream Integration**: Automated GitHub Actions monitor (`.github/workflows/check-upstream.yml`) tracking `aiblueprinthq/ai-blueprint`
|
|
18
|
+
- **Verification Gate**: `npm run check` (TypeScript typechecking, static contract validation, TF-IDF skill routing evaluations, installer unit tests, packed smoke tests)
|
|
16
19
|
|
|
17
|
-
##
|
|
20
|
+
## Architecture & Key Modules
|
|
18
21
|
|
|
19
|
-
-
|
|
22
|
+
- **`packages/create-nexus-devflow/`**: Distribution CLI package with TypeScript compilation (`dist/bin/create-nexus-devflow.js`), atomic update engine (`lib/update.ts`), and prepack template bundler (`scripts/prepare-template.ts`).
|
|
23
|
+
- **`.agents/skills/` & `.claude/skills/`**: 72 synchronized AI agent skills covering Mainline stages (00-70) and companion tools (`devflow`, `try`, `doctor`, `overview`, `sync-upstream`, `ci`, `rollback`).
|
|
24
|
+
- **`scripts/`**: Maintainer infrastructure (`check-devflow.ts`, `validate-framework.ts`, `smoke-package.ts`, `upstream-monitor.ts`, `evals/routing.ts`).
|
|
25
|
+
- **`devflow/`**: Workspace state, discoveries, runs, context, reference contracts, and master release history ledger.
|
|
26
|
+
|
|
27
|
+
## Shipped Capabilities (Recent Milestones)
|
|
28
|
+
|
|
29
|
+
- **`RUN-014` (2026-08-20)**: Upgraded DevFlow to full TypeScript architecture (`tsconfig.json`, `tsx`, `tsc`, `dist/`), migrated AI Blueprint Upstream Monitor workflow to DevFlow, and established multi-lane verification matrix.
|
|
30
|
+
- **`RUN-013` (2026-08-20)**: Added `/overview` skill for living context scanning and synchronization.
|
|
31
|
+
- **`RUN-008` (2026-08-18)**: Lean & Clean DevFlow optimization, consolidated skill taxonomy, and safe rollback mechanisms.
|
|
32
|
+
|
|
33
|
+
## DevFlow Workspace Status
|
|
34
|
+
|
|
35
|
+
- **Active Discovery ID**: None (Idle)
|
|
36
|
+
- **Active Running ID**: None (Idle)
|
|
37
|
+
- **Last Completed Run**: `RUN-014-typescript-migration-and-upstream-monitor-for-devflow`
|
|
File without changes
|