@jakkrichm/create-nexus-devflow 2.6.2 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/lib/antigravity-artifacts.d.ts +52 -0
- package/dist/lib/antigravity-artifacts.js +170 -0
- package/dist/lib/antigravity-artifacts.js.map +1 -0
- package/dist/lib/antigravity-hooks.d.ts +31 -0
- package/dist/lib/antigravity-hooks.js +85 -0
- package/dist/lib/antigravity-hooks.js.map +1 -0
- package/dist/lib/antigravity-plugin.d.ts +51 -0
- package/dist/lib/antigravity-plugin.js +179 -0
- package/dist/lib/antigravity-plugin.js.map +1 -0
- package/dist/lib/antigravity-scheduler.d.ts +39 -0
- package/dist/lib/antigravity-scheduler.js +95 -0
- package/dist/lib/antigravity-scheduler.js.map +1 -0
- package/dist/lib/branch-context.d.ts +1 -0
- package/dist/lib/branch-context.js +14 -9
- package/dist/lib/branch-context.js.map +1 -1
- package/dist/lib/current-work.js +10 -22
- package/dist/lib/current-work.js.map +1 -1
- package/dist/lib/doctor.js +34 -6
- package/dist/lib/doctor.js.map +1 -1
- package/dist/lib/findings.js +14 -10
- package/dist/lib/findings.js.map +1 -1
- package/dist/lib/mcp.js +3 -3
- package/dist/lib/mcp.js.map +1 -1
- package/dist/lib/openai-tools.d.ts +34 -0
- package/dist/lib/openai-tools.js +57 -0
- package/dist/lib/openai-tools.js.map +1 -0
- package/dist/lib/project-config.d.ts +55 -0
- package/dist/lib/project-config.js +228 -0
- package/dist/lib/project-config.js.map +1 -0
- package/dist/lib/status.d.ts +7 -0
- package/dist/lib/status.js +23 -1
- package/dist/lib/status.js.map +1 -1
- package/dist/lib/swarm-orchestrator.js +14 -8
- package/dist/lib/swarm-orchestrator.js.map +1 -1
- package/dist/lib/visual-subagent.d.ts +32 -0
- package/dist/lib/visual-subagent.js +98 -0
- package/dist/lib/visual-subagent.js.map +1 -0
- package/dist/lib/workflow-state.js +3 -1
- package/dist/lib/workflow-state.js.map +1 -1
- package/dist/scripts/prepare-template.js +0 -19
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/audit/SKILL.md +7 -7
- package/template/.agents/skills/autopilot/SKILL.md +34 -58
- package/template/.agents/skills/brief/SKILL.md +1 -1
- package/template/.agents/skills/check/SKILL.md +4 -4
- package/template/.agents/skills/complete/SKILL.md +13 -46
- package/template/.agents/skills/continuous/SKILL.md +117 -0
- package/template/.agents/skills/convert-any-to-md/scripts/__pycache__/convert_any_to_md.cpython-314.pyc +0 -0
- package/template/.agents/skills/devflow/SKILL.md +12 -12
- package/template/.agents/skills/discovery/SKILL.md +2 -2
- package/template/.agents/skills/doctor/SKILL.md +15 -11
- package/template/.agents/skills/feature/SKILL.md +5 -6
- package/template/.agents/skills/fix/SKILL.md +2 -2
- package/template/.agents/skills/implement/SKILL.md +11 -12
- package/template/.agents/skills/release/SKILL.md +1 -1
- package/template/.agents/skills/report-html/SKILL.md +3 -3
- package/template/.agents/skills/rollback/SKILL.md +4 -6
- package/template/.agents/skills/status/SKILL.md +20 -27
- package/template/.agents/skills/try/SKILL.md +5 -6
- package/template/.claude/skills/audit/SKILL.md +7 -7
- package/template/.claude/skills/autopilot/SKILL.md +34 -58
- package/template/.claude/skills/brief/SKILL.md +1 -1
- package/template/.claude/skills/check/SKILL.md +4 -4
- package/template/.claude/skills/complete/SKILL.md +13 -46
- package/template/.claude/skills/continuous/SKILL.md +117 -0
- package/template/.claude/skills/convert-any-to-md/scripts/__pycache__/convert_any_to_md.cpython-314.pyc +0 -0
- package/template/.claude/skills/devflow/SKILL.md +12 -12
- package/template/.claude/skills/discovery/SKILL.md +2 -2
- package/template/.claude/skills/doctor/SKILL.md +15 -11
- package/template/.claude/skills/feature/SKILL.md +5 -6
- package/template/.claude/skills/fix/SKILL.md +2 -2
- package/template/.claude/skills/implement/SKILL.md +11 -12
- package/template/.claude/skills/release/SKILL.md +1 -1
- package/template/.claude/skills/report-html/SKILL.md +3 -3
- package/template/.claude/skills/rollback/SKILL.md +4 -6
- package/template/.claude/skills/status/SKILL.md +20 -27
- package/template/.claude/skills/try/SKILL.md +5 -6
- package/template/AGENTS.md +29 -23
- package/template/LICENSE +21 -21
- package/template/devflow/build-plan.md +18 -0
- package/template/devflow/config.json +33 -0
- package/template/devflow/context/ai-interaction.md +30 -16
- package/template/devflow/reference/feature-spec-template.md +2 -2
- package/template/devflow/reference/running-id-contract.md +0 -3
- package/template/devflow/context/current-feature.md +0 -3
- package/template/devflow/context/current-stage.md +0 -11
- package/template/devflow/context/findings.md +0 -10
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"workflow": {
|
|
4
|
+
"stepReview": "every",
|
|
5
|
+
"checkpointCommits": "enabled"
|
|
6
|
+
},
|
|
7
|
+
"git": {
|
|
8
|
+
"featureBranchPrefix": "feature/",
|
|
9
|
+
"fixBranchPrefix": "fix/",
|
|
10
|
+
"rollbackBranchPrefix": "rollback/"
|
|
11
|
+
},
|
|
12
|
+
"verification": {
|
|
13
|
+
"logicTests": "when-configured",
|
|
14
|
+
"uiEvidence": "when-available"
|
|
15
|
+
},
|
|
16
|
+
"qualityGates": {
|
|
17
|
+
"regular": {
|
|
18
|
+
"audit": "manual",
|
|
19
|
+
"check": "manual",
|
|
20
|
+
"tryGuide": "manual"
|
|
21
|
+
},
|
|
22
|
+
"continuous": {
|
|
23
|
+
"audit": "manual",
|
|
24
|
+
"check": "manual",
|
|
25
|
+
"tryGuide": "manual"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"continuous": {
|
|
29
|
+
"maxFeatures": null,
|
|
30
|
+
"maxRepairAttempts": 2,
|
|
31
|
+
"finalIntegrationAudit": false
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -27,46 +27,60 @@ Format every response for fast scanning and readability:
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
-
## 3. The 3-Pillars Unified Architecture
|
|
30
|
+
## 3. The 3-Pillars Unified Architecture
|
|
31
31
|
|
|
32
32
|
```text
|
|
33
33
|
devflow/
|
|
34
|
-
├── 🔮 ideas.md
|
|
35
|
-
├──
|
|
36
|
-
|
|
34
|
+
├── 🔮 ideas.md # [Future] Idea Inbox with AI Feasibility Scoring
|
|
35
|
+
├── 🗺️ project-plan.md # [Future] Master Roadmap
|
|
36
|
+
├── 📋 build-plan.md # [Future] Master Build Plan & Sizing
|
|
37
|
+
│
|
|
38
|
+
├── ⚡ context/ # [Present] Living Source of Truth & Active Tasks
|
|
39
|
+
│ ├── project-overview.md # 🌐 Global Architecture & Stack
|
|
40
|
+
│ ├── coding-standards.md # 🌐 Global Coding & TDD Standards
|
|
41
|
+
│ ├── ai-interaction.md # 🌐 Global AI Interaction Rules
|
|
42
|
+
│ ├── glossary.md # 🌐 Domain Terms & Glossary
|
|
43
|
+
│ │
|
|
44
|
+
│ └── {xxx-slug}/ # ⚡ Active Task Workspace
|
|
45
|
+
│ ├── spec.md # Living Spec + TDD Checklist
|
|
46
|
+
│ ├── stage.md # Runtime Stage & Branch Reference
|
|
47
|
+
│ └── findings.md # Dedicated Audit Ledger (P0-P3)
|
|
48
|
+
│
|
|
49
|
+
└── 📦 history/ # [Past] features/, fixes/, rollbacks/, and HISTORY.md
|
|
37
50
|
```
|
|
38
51
|
|
|
39
|
-
### ⚡ The Unified 4-Stage Living Spec Lifecycle
|
|
40
|
-
|
|
52
|
+
### ⚡ The Unified 4-Stage Task-Isolated Living Spec Lifecycle
|
|
53
|
+
*ขับเคลื่อนการพัฒนาทุกระดับด้วย **Task-Isolated Living Spec (`devflow/context/{xxx-slug}/spec.md`)** ที่รวมความลึกระดับ Architect Mode เข้ากับความคล่องตัวระดับ Lean Velocity โดยแยก Workspace ของแต่ละงานออกจากกัน 100%:*
|
|
41
54
|
|
|
42
55
|
```text
|
|
43
56
|
/feature (หรือ /fix) ──▶ /implement ──▶ /check ──▶ /complete
|
|
44
57
|
```
|
|
45
58
|
|
|
46
59
|
1. **Stage 1: Spec (`/feature` หรือ `/fix`)**:
|
|
47
|
-
- ตรวจสอบ **Single Active Run Guardrail** (บล็อกการเปิดงานซ้อนถ้ามีงานที่ยังไม่เสร็จ)
|
|
48
60
|
- ดึงบริบทจาก `devflow/discoveries/`, `devflow/ideas.md`, หรือคำขอของผู้ใช้
|
|
49
|
-
- จัดสรร Running ID (`xxx-slug`)
|
|
50
|
-
- เขียน **
|
|
61
|
+
- จัดสรร Running ID (`xxx-slug`) และสร้างโฟลเดอร์ `devflow/context/{xxx-slug}/`
|
|
62
|
+
- เขียน **Task-Isolated Living Spec (`spec.md`)**, `stage.md`, และ `findings.md` ครอบคลุม:
|
|
51
63
|
- `## 🎯 1. Define & Boundaries` (Problem, In/Out Scope, Risks, Success Criteria)
|
|
52
64
|
- `## 📐 2. Technical Spec & Contracts` (Architecture, Models, Interface Contracts, Non-functional, ACs)
|
|
53
65
|
- `## 📋 3. Execution Plan & TDD Checklist` (Atomic tasks, `[TDD-Red/Green/Refactor]` Triplets)
|
|
54
66
|
|
|
55
|
-
2. **Stage 2: Implement (`/implement`)**:
|
|
67
|
+
2. **Stage 2: Implement (`/implement [id]`)**:
|
|
68
|
+
- สลับไปยัง Branch `feature/{xxx-slug}` (หรือ Auto-detect จาก Current Branch / Task Queue)
|
|
56
69
|
- ดำเนินการ Task-by-task ตาม Checklist อย่างเคร่งครัดด้วย **TDD (Red-Green-Refactor)**
|
|
57
|
-
- ติ๊กเครื่องหมาย `- [x]` และบันทึก `## ⚡ 4. Implementation Log & Evidence` (Diff summary, Checkpoints) ลงใน `
|
|
70
|
+
- ติ๊กเครื่องหมาย `- [x]` และบันทึก `## ⚡ 4. Implementation Log & Evidence` (Diff summary, Checkpoints) ลงใน `devflow/context/{xxx-slug}/spec.md`
|
|
58
71
|
|
|
59
|
-
3. **Stage 3: Check (`/check`)**:
|
|
72
|
+
3. **Stage 3: Check (`/check [id]`)**:
|
|
60
73
|
- Senior QA Multi-Lane Verification (Typecheck, Lint, Test Suites, Manual Proof)
|
|
61
|
-
- บันทึกผลการพิสูจน์เชิงประจักษ์ลงใน `## 🧪 5. Multi-Lane Verification Matrix` ใน `
|
|
74
|
+
- บันทึกผลการพิสูจน์เชิงประจักษ์ลงใน `## 🧪 5. Multi-Lane Verification Matrix` ใน `spec.md` และบันทึก Finding ลงใน `findings.md` เฉพาะงาน
|
|
62
75
|
|
|
63
|
-
4. **Stage 4: Complete (`/complete`)**:
|
|
76
|
+
4. **Stage 4: Complete (`/complete [id]`)**:
|
|
64
77
|
- สรุปผล `## 📦 6. Release Digest & Retrospective` (Changelog, Lessons Learned, ADRs)
|
|
65
|
-
- ทำการ Archive `
|
|
78
|
+
- ทำการ Archive `spec.md` ไปเป็นไฟล์เดี่ยวที่ `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`
|
|
79
|
+
- ลบโฟลเดอร์เฉพาะกิจ `devflow/context/{xxx-slug}/` ออกอย่างหมดจด
|
|
66
80
|
- **Mandatory Delivery Gate**: บังคับถามผู้ใช้ก่อนเสมอว่าต้องการ Delivery รูปแบบใด:
|
|
67
81
|
- **Option 1 (Team MR/PR Flow)**: Pull master/main ล่าสุดมารวมกับ Feature/Dev Branch แล้ว push branch ขึ้นไปเพื่อเปิด MR/PR (ไม่ merge เข้า main/master ในเครื่อง และไม่แตะ protected branch)
|
|
68
82
|
- **Option 2 (Direct Squash-Merge)**: ทำการ Squash-merge เข้า main/master ในเครื่องเฉพาะเมื่อผู้ใช้สั่งโดยตรงเท่านั้น
|
|
69
|
-
-
|
|
83
|
+
- อัปเดต `devflow/history/HISTORY.md` และ `devflow/build-plan.md` ให้เป็น `[x]` เรียบร้อย
|
|
70
84
|
|
|
71
85
|
---
|
|
72
86
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# [ID-slug] Feature Title
|
|
2
2
|
|
|
3
|
-
> **Template Type**:
|
|
4
|
-
> **Active Location**: `devflow/context/
|
|
3
|
+
> **Template Type**: Task-Isolated Living Spec
|
|
4
|
+
> **Active Location**: `devflow/context/{xxx-slug}/spec.md`
|
|
5
5
|
> **Archive Location**: `devflow/history/{features|fixes|rollbacks}/{ID-slug}.md`
|
|
6
6
|
|
|
7
7
|
- **Feature ID**: `{xxx-slug}`
|
|
@@ -15,9 +15,6 @@ devflow/
|
|
|
15
15
|
│ ├── coding-standards.md # Engineering, code quality, TDD, and testing standards
|
|
16
16
|
│ ├── ai-interaction.md # AI agent interaction rules, unified living spec flow, and Thai defaults
|
|
17
17
|
│ ├── glossary.md # Domain glossary and architecture vocabulary
|
|
18
|
-
│ ├── current-feature.md # Active Living Spec pointer / legacy fallback
|
|
19
|
-
│ ├── current-stage.md # Active state pointer and run tracker
|
|
20
|
-
│ ├── findings.md # Shared/default audit findings ledger (P0-P3)
|
|
21
18
|
│ │
|
|
22
19
|
│ ├── {xxx-slug}/ # Active Run Workspace & Spec Queue (Multi-Run Active Task)
|
|
23
20
|
│ │ ├── spec.md # Living Spec + Checklist for this run
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Current Stage
|
|
2
|
-
|
|
3
|
-
- Active Discovery ID: `None`
|
|
4
|
-
- Active Running ID: `None`
|
|
5
|
-
- Track: `idle`
|
|
6
|
-
- Current Stage: `idle`
|
|
7
|
-
- Active Branch: `main`
|
|
8
|
-
- Living Spec: `devflow/context/current-feature.md`
|
|
9
|
-
- Next Action: `Run /feature, /fix, or /discovery to start new work.`
|
|
10
|
-
- Last Completed Run: `None`
|
|
11
|
-
- Last Updated: `None`
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# Findings
|
|
2
|
-
|
|
3
|
-
> **Generated file.** The findings ledger: review findings raised by `/audit`
|
|
4
|
-
> against the work in progress, each with a durable ID, severity (P0-P3), and
|
|
5
|
-
> status. `/implement` marks repaired findings `fixed`, a later `/audit` pass
|
|
6
|
-
> moves them to `closed`, and `/complete` refuses to merge while any P0 or P1
|
|
7
|
-
> finding is `open` or `fixed`, then archives resolved findings with the work
|
|
8
|
-
> and resets this file.
|
|
9
|
-
|
|
10
|
-
_No findings recorded. `/audit` appends findings here when it finds them._
|