@jakkrichm/create-nexus-devflow 2.0.15 → 2.0.18
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 +15 -1
- package/dist/bin/create-nexus-devflow.js +125 -9
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/current-work.d.ts +29 -0
- package/dist/lib/current-work.js +235 -0
- package/dist/lib/current-work.js.map +1 -0
- package/dist/lib/findings.d.ts +26 -0
- package/dist/lib/findings.js +110 -0
- package/dist/lib/findings.js.map +1 -0
- package/dist/lib/git-status.d.ts +13 -0
- package/dist/lib/git-status.js +98 -0
- package/dist/lib/git-status.js.map +1 -0
- package/dist/lib/project-metadata.d.ts +22 -0
- package/dist/lib/project-metadata.js +84 -0
- package/dist/lib/project-metadata.js.map +1 -0
- package/dist/lib/project-root.d.ts +3 -0
- package/dist/lib/project-root.js +76 -0
- package/dist/lib/project-root.js.map +1 -0
- package/dist/lib/status.d.ts +62 -0
- package/dist/lib/status.js +273 -0
- package/dist/lib/status.js.map +1 -0
- package/dist/lib/uninstall.d.ts +20 -0
- package/dist/lib/uninstall.js +129 -0
- package/dist/lib/uninstall.js.map +1 -0
- package/dist/scripts/prepare-template.js +120 -10
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +4 -3
- package/template/.agents/skills/00-discover/SKILL.md +2 -2
- package/template/.agents/skills/10-define/SKILL.md +24 -140
- package/template/.agents/skills/20-spec/SKILL.md +2 -2
- package/template/.agents/skills/30-plan/SKILL.md +2 -2
- package/template/.agents/skills/50-verify/SKILL.md +2 -2
- package/template/.agents/skills/60-report/SKILL.md +1 -1
- package/template/.agents/skills/70-release/SKILL.md +19 -143
- package/template/.agents/skills/check/SKILL.md +10 -10
- package/template/.agents/skills/ci/SKILL.md +1 -1
- package/template/.agents/skills/complete/SKILL.md +49 -28
- package/template/.agents/skills/deploy/SKILL.md +1 -1
- package/template/.agents/skills/devflow/SKILL.md +5 -5
- package/template/.agents/skills/feature/SKILL.md +25 -20
- package/template/.agents/skills/fix/SKILL.md +25 -19
- package/template/.agents/skills/implement/SKILL.md +10 -10
- package/template/.agents/skills/insight/SKILL.md +1 -1
- package/template/.agents/skills/overview/SKILL.md +3 -3
- package/template/.agents/skills/report-html/SKILL.md +3 -3
- package/template/.agents/skills/security-review/SKILL.md +1 -1
- package/template/.agents/skills/spec/SKILL.md +7 -6
- package/template/.agents/skills/spec-driven-development/SKILL.md +2 -2
- package/template/.agents/skills/test/SKILL.md +1 -1
- package/template/.claude/skills/00-discover/SKILL.md +2 -2
- package/template/.claude/skills/10-define/SKILL.md +24 -140
- package/template/.claude/skills/20-spec/SKILL.md +2 -2
- package/template/.claude/skills/30-plan/SKILL.md +2 -2
- package/template/.claude/skills/50-verify/SKILL.md +2 -2
- package/template/.claude/skills/60-report/SKILL.md +1 -1
- package/template/.claude/skills/70-release/SKILL.md +19 -143
- package/template/.claude/skills/check/SKILL.md +10 -10
- package/template/.claude/skills/ci/SKILL.md +1 -1
- package/template/.claude/skills/complete/SKILL.md +49 -28
- package/template/.claude/skills/deploy/SKILL.md +1 -1
- package/template/.claude/skills/devflow/SKILL.md +5 -5
- package/template/.claude/skills/feature/SKILL.md +25 -20
- package/template/.claude/skills/fix/SKILL.md +25 -19
- package/template/.claude/skills/implement/SKILL.md +10 -10
- package/template/.claude/skills/insight/SKILL.md +1 -1
- package/template/.claude/skills/overview/SKILL.md +3 -3
- package/template/.claude/skills/report-html/SKILL.md +3 -3
- package/template/.claude/skills/security-review/SKILL.md +1 -1
- package/template/.claude/skills/spec/SKILL.md +7 -6
- package/template/.claude/skills/spec-driven-development/SKILL.md +2 -2
- package/template/.claude/skills/test/SKILL.md +1 -1
- package/template/AGENTS.md +15 -59
- package/template/devflow/context/ai-interaction.md +110 -23
- package/template/devflow/context/coding-standards.md +123 -32
- package/template/devflow/context/current-feature.md +3 -0
- package/template/devflow/context/current-stage.md +6 -6
- package/template/devflow/context/findings.md +10 -10
- package/template/devflow/context/project-overview.md +18 -32
- package/template/devflow/history/HISTORY.md +10 -24
- package/template/devflow/ideas.md +9 -5
- package/template/devflow/reference/running-id-contract.md +39 -39
- package/template/devflow/runs/.gitkeep +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Current DevFlow Run Status
|
|
2
2
|
|
|
3
|
-
- **Active Discovery ID**: None
|
|
4
|
-
- **Active Running ID**: None
|
|
5
|
-
- **Current Stage**: Idle (Ready for
|
|
6
|
-
- **Living Spec**: None
|
|
7
|
-
- **Last Completed Run**:
|
|
8
|
-
- **Last Updated**:
|
|
3
|
+
- **Active Discovery ID**: `None`
|
|
4
|
+
- **Active Running ID**: `None`
|
|
5
|
+
- **Current Stage**: `Idle (Ready for new /feature, /fix, /00-discover, or /10-define)`
|
|
6
|
+
- **Living Spec**: `None`
|
|
7
|
+
- **Last Completed Run**: `None`
|
|
8
|
+
- **Last Updated**: `None`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Findings Ledger
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Generated Ledger File.** Tracks quality findings, security vulnerabilities, regression risks, and architectural debt raised during review and QA passes.
|
|
4
|
+
>
|
|
5
|
+
> **Finding Format**:
|
|
6
|
+
> `### <ID> [<SEVERITY>] <STATUS> - <Title>`
|
|
7
|
+
> - **Severities**: `P0` (Critical Blocker), `P1` (High Blocker), `P2` (Medium), `P3` (Low / Polish)
|
|
8
|
+
> - **Statuses**: `unverified`, `open`, `fixed`, `closed`, `accepted`, `invalid`
|
|
9
|
+
> - **Release Gate Rule**: Any `P0` or `P1` finding in `open` or `fixed` status unconditionally blocks `/complete` and `70-release`.
|
|
4
10
|
|
|
5
|
-
|
|
11
|
+
---
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
| :- | :--- | :--- | :--- | :--- | :--- |
|
|
9
|
-
|
|
10
|
-
## Resolved Findings
|
|
11
|
-
|
|
12
|
-
| ID | Severity | Category | Title | Resolved Run | Date |
|
|
13
|
-
| :- | :--- | :--- | :--- | :--- | :--- |
|
|
13
|
+
_No active findings recorded. QA and audit passes append findings here as they are discovered._
|
|
@@ -1,41 +1,27 @@
|
|
|
1
|
-
# Project Overview
|
|
1
|
+
# Project Overview & Source of Truth
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Living context artifact automatically synchronized with codebase reality and DevFlow delivery history.
|
|
4
|
+
> Run `/onboard` (for new projects) or `/adopt` (for existing codebases) to populate this file.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
---
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
- **Target Audience**: AI coding assistants (Google Antigravity, OpenAI Codex, Claude Code, Cursor) and software development teams building resilient agentic delivery workflows.
|
|
8
|
+
## 1. Project Purpose & Target Users
|
|
9
|
+
- Describe what this application does, who it is for, and the problems it solves.
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## 2. Architecture & Directory Layout
|
|
12
|
+
- Visual directory layout and overview of core modules.
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
-
|
|
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)
|
|
14
|
+
## 3. Technology Stack & Key Tooling
|
|
15
|
+
- Frameworks, languages, databases, ORMs, package managers, and runtime environment.
|
|
19
16
|
|
|
20
|
-
##
|
|
17
|
+
## 4. Concrete Data Models & Entities
|
|
18
|
+
- Core entities, database schemas, API interfaces, and types.
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- **Deep-Track (Architect Mode — 8 Steps)**: Full-lifecycle delivery pipeline (`00-discover` ➔ `10-define` ➔ `20-spec` ➔ `30-plan` ➔ `40-execute` ➔ `50-verify` ➔ `60-report` ➔ `70-release`).
|
|
25
|
-
- **`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`).
|
|
26
|
-
- **`.agents/skills/` & `.claude/skills/`**: 80 synchronized AI agent skills covering Dual-Track workflows and companion tools (`devflow`, `idea`, `report-html`, `try`, `doctor`, `overview`, `sync-upstream`, `ci`, `rollback`).
|
|
27
|
-
- **`scripts/`**: Maintainer infrastructure (`check-devflow.ts`, `validate-framework.ts`, `smoke-package.ts`, `upstream-monitor.ts`, `evals/routing.ts`).
|
|
28
|
-
- **`devflow/`**: Workspace state, discoveries, runs, ideas, context, reference contracts, and master release history ledger.
|
|
20
|
+
## 5. Shipped Capabilities & Milestones
|
|
21
|
+
- Verified features and components currently functional in the codebase.
|
|
29
22
|
|
|
30
|
-
##
|
|
23
|
+
## 6. Verified Commands & Developer Workflow
|
|
24
|
+
- Dev Server, Build, Test, Lint, and Verify commands.
|
|
31
25
|
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
- **`RUN-015` (2026-08-20)**: Dual-Track Architecture (Fast-Track 4 Steps & Deep-Track 8 Steps) + Living Spec (`spec.md`) + Standalone HTML Reporting Policy.
|
|
35
|
-
- **`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.
|
|
36
|
-
|
|
37
|
-
## DevFlow Workspace Status
|
|
38
|
-
|
|
39
|
-
- **Active Discovery ID**: None (Idle)
|
|
40
|
-
- **Active Running ID**: `RUN-018-update-documentation-and-guides`
|
|
41
|
-
- **Last Completed Run**: `RUN-017-split-spec-and-rename-40-execute`
|
|
26
|
+
## 7. Known Architectural Focus Areas
|
|
27
|
+
- Upcoming priorities, refactoring targets, or known technical considerations.
|
|
@@ -1,33 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Master Release History Ledger
|
|
2
2
|
|
|
3
|
-
This master ledger tracks all released delivery runs, milestones, and rollbacks in chronological order. Each entry is recorded during
|
|
3
|
+
This master ledger tracks all released delivery runs, milestones, and rollbacks in chronological order. Each entry is recorded during `/complete` or `70-release` and links to its exact Git commit hash, release status, category, and archived delivery artifacts.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
## 📜 Release Log
|
|
7
|
+
## 📜 Master Release Log
|
|
8
8
|
|
|
9
|
-
|
|
|
10
|
-
| :--- | :--- | :--- | :--- | :--- | :--- |
|
|
11
|
-
|
|
|
12
|
-
| 2026-08-20 | `RUN-017` | แยกคำสั่ง Fast-Track เป็น `/feature`, `/fix` และเปลี่ยน Deep-Track สเตจ 40 เป็น `40-execute` | `HEAD` | `Released` | [`spec.md`](../runs/RUN-017-split-spec-and-rename-40-execute/spec.md) |
|
|
13
|
-
| 2026-08-20 | `RUN-016` | ระบบบันทึกไอเดียพร้อม AI วิเคราะห์ความเป็นไปได้ (`/idea`) และเชื่อมต่อกับ Status Backlog | `HEAD` | `Released` | [`spec.md`](../runs/RUN-016-idea-capture-inbox-and-status-integration/spec.md) |
|
|
14
|
-
| 2026-08-20 | `RUN-015` | Dual-Track Architecture (Fast-Track 4 Steps & Deep-Track 8 Steps) + Living Spec (`spec.md`) + Standalone HTML Report Policy | `HEAD` | `Released` | [`spec.md`](../runs/RUN-015-fast-track-and-living-blueprint/spec.md) |
|
|
15
|
-
| 2026-08-20 | `RUN-014` | ยกระดับสถาปัตยกรรม DevFlow สู่ TypeScript และย้ายระบบ Check AI Blueprint Upstream Monitor | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-014-typescript-migration-and-upstream-monitor-for-devflow/60-report.md) |
|
|
16
|
-
| 2026-08-20 | `RUN-013` | เพิ่ม Skill `/overview` และระบบ Living Context Sync สำหรับ Nexus-DevFlow | `e30375b` | `Released` | [`60-report.md`](../runs/RUN-013-add-overview-and-context-sync-skill/60-report.md) |
|
|
17
|
-
| 2026-08-18 | `RUN-008` | ปรับปรุงโครงสร้าง Nexus-DevFlow ให้ Lean & Clean ยุบรวม Skills บริหารจัดการ History และ Safe Rollback | `be713ea` | `Released` | [`60-report.md`](../runs/RUN-008-lean-and-clean-devflow-optimization/60-report.md) |
|
|
18
|
-
| 2026-08-18 | `RUN-007` | ยกระดับระบบ Nexus-DevFlow ด้วยวินัยและกลไกสำคัญจาก Blueprint | `e79528b` | `Released` | [`60-report.md`](../runs/RUN-007-integrate-blueprint-skills-enhancements/60-report.md) |
|
|
19
|
-
| 2026-08-18 | `RUN-006` | Standardize Command Naming and Provider Invocation | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-006-standardize-command-naming-and-provider-invocation/60-report.md) |
|
|
20
|
-
| 2026-08-18 | `RUN-005` | Add DevFlow Prefix to Skill Descriptions | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-005-add-devflow-prefix-to-skill-descriptions/60-report.md) |
|
|
21
|
-
| 2026-08-18 | `RUN-004` | Add Autopilot Skill | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-004-add-autopilot-skill/60-report.md) |
|
|
22
|
-
| 2026-08-18 | `RUN-003` | Add Try, Rollback, CI, Brief Skills | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-003-add-try-rollback-ci-brief-skills/60-report.md) |
|
|
23
|
-
| 2026-08-18 | `RUN-002` | Add Onboard, Adopt, Doctor Skills | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-002-add-onboard-adopt-doctor-skills/60-report.md) |
|
|
24
|
-
| 2026-08-18 | `RUN-001` | Align DevFlow with Blueprint Architecture | `HEAD` | `Released` | [`60-report.md`](../runs/RUN-001-align-devflow-blueprint/60-report.md) |
|
|
9
|
+
| Completed Date | Run ID | Category | Title | Git Commit | Status | Archive Link |
|
|
10
|
+
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
|
11
|
+
| _No shipped runs yet_ | - | - | Run `/feature` or `/00-discover` to start your first delivery run | - | - | - |
|
|
25
12
|
|
|
26
13
|
---
|
|
27
14
|
|
|
28
|
-
## 🗄️
|
|
15
|
+
## 🗄️ History Categories (The Core 3 Model)
|
|
29
16
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
- **Rolled Back**: Features safely reversed via `/rollback` with documented post-reversal verification.
|
|
17
|
+
- **`features/`**: New user-facing features, enhancements, architecture migrations, refactoring, and tooling/infra.
|
|
18
|
+
- **`fixes/`**: Bug fixes, hotfixes, regressions, security patches, and performance optimizations.
|
|
19
|
+
- **`rollbacks/`**: Safe feature reversal and rollback execution records.
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 🔮 Centralized Idea Inbox & Backlog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Record, analyze, and prioritize feature ideas before starting active delivery.
|
|
4
|
+
> Use the `/idea` command to quickly capture and evaluate new ideas.
|
|
4
5
|
|
|
5
6
|
---
|
|
6
7
|
|
|
7
|
-
##
|
|
8
|
+
## 💡 Active Idea Inbox
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
| ID | Title | Value (1-5) | Feasibility (1-5) | Status | Notes |
|
|
11
|
+
| :--- | :--- | :---: | :---: | :--- | :--- |
|
|
12
|
+
| _No pending ideas_ | - | - | - | Use `/idea <your idea>` to capture | - |
|
|
10
13
|
|
|
11
14
|
---
|
|
12
15
|
|
|
13
16
|
## 📦 Archived / Shipped Ideas
|
|
14
17
|
|
|
15
|
-
|
|
18
|
+
| ID | Title | Shipped In | Completed Date |
|
|
19
|
+
| :--- | :--- | :--- | :--- |
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
# DevFlow 2.0 Running ID & Workspace Contract
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
All DevFlow framework
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- **
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
##
|
|
36
|
-
|
|
37
|
-
1.
|
|
38
|
-
2.
|
|
39
|
-
3.
|
|
1
|
+
# DevFlow 2.0 Running ID & 3-Pillars Workspace Contract
|
|
2
|
+
|
|
3
|
+
## The 3-Pillars Workspace Architecture
|
|
4
|
+
|
|
5
|
+
All DevFlow framework assets are organized into three clean pillars representing Future, Present, and Past:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
devflow/
|
|
9
|
+
├── 🔮 ideas.md # [1. Future / Backlog] Centralized Idea Inbox with AI scoring
|
|
10
|
+
│
|
|
11
|
+
├── ⚡ context/ # [2. Present / Active] Living Source of Truth & Active Work
|
|
12
|
+
│ ├── project-overview.md # Primary source of truth for project architecture and tech stack
|
|
13
|
+
│ ├── coding-standards.md # Engineering, code quality, TDD, and testing standards
|
|
14
|
+
│ ├── ai-interaction.md # AI agent interaction rules, dual-track flow, and Thai defaults
|
|
15
|
+
│ ├── findings.md # Open and resolved audit findings ledger (P0-P3)
|
|
16
|
+
│ ├── current-stage.md # Active state pointer and run tracker
|
|
17
|
+
│ ├── current-feature.md # Fast-Track Single Living Spec (Active work / stub when idle)
|
|
18
|
+
│ └── current-run/ # Deep-Track Active Run folder (Temporary during 10-70 execution)
|
|
19
|
+
│
|
|
20
|
+
├── 📦 history/ # [3. Past / Completed] Permanent Delivery & Release Archives
|
|
21
|
+
│ ├── features/ # Completed features, architecture migrations, tooling (xxx-slug.md or xxx-slug/)
|
|
22
|
+
│ ├── fixes/ # Completed bug fixes, hotfixes, security patches (xxx-slug.md)
|
|
23
|
+
│ ├── rollbacks/ # Completed feature reversals (YYYY-MM-DD-xxx-slug.md)
|
|
24
|
+
│ └── HISTORY.md # Master release ledger summary table
|
|
25
|
+
│
|
|
26
|
+
└── 🔍 discoveries/ # Pre-delivery discovery records (DISC-YYYYMMDD-NNN-slug/00-discover.md)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Running ID Naming Convention
|
|
30
|
+
|
|
31
|
+
- **Format**: `xxx-slug` (e.g. `001-setup-auth`, `021-categorized-history-and-clean-living-spec-architecture`)
|
|
32
|
+
- **Prefix Removal**: The legacy `RUN-` prefix is discontinued in favor of clean 3-digit sequential numbering.
|
|
33
|
+
- **Git Branch Standard**: `feature/{xxx-slug}` or `fix/{xxx-slug}`.
|
|
34
|
+
|
|
35
|
+
## Single Active Run Rule (One Thing at a Time)
|
|
36
|
+
|
|
37
|
+
1. Only **one active run** is permitted at any given time across both Fast-Track and Deep-Track.
|
|
38
|
+
2. Before opening a new run (`/feature`, `/fix`, or `10-define`), the AI checks `current-stage.md` and `current-feature.md`.
|
|
39
|
+
3. If an active run is in progress, the AI **blocks** starting a new task and requires closing the active run via `/complete` or `70-release` (or explicitly cancelling/rolling back).
|
|
File without changes
|