@jakkrichm/create-nexus-devflow 2.6.0 → 2.6.2
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/lib/branch-context.d.ts +61 -8
- package/dist/lib/branch-context.js +370 -125
- package/dist/lib/branch-context.js.map +1 -1
- package/dist/lib/current-work.js +15 -108
- package/dist/lib/current-work.js.map +1 -1
- package/dist/lib/discoveries.js +4 -15
- package/dist/lib/discoveries.js.map +1 -1
- package/dist/lib/history.js +1 -1
- package/dist/lib/history.js.map +1 -1
- package/dist/lib/status.d.ts +2 -0
- package/dist/lib/status.js +9 -16
- package/dist/lib/status.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/adopt/SKILL.md +1 -1
- package/template/.agents/skills/audit/SKILL.md +1 -1
- package/template/.agents/skills/autopilot/SKILL.md +1 -1
- package/template/.agents/skills/brainstorm/SKILL.md +2 -2
- package/template/.agents/skills/brief/SKILL.md +1 -1
- package/template/.agents/skills/check/SKILL.md +5 -3
- package/template/.agents/skills/ci/SKILL.md +1 -1
- package/template/.agents/skills/complete/SKILL.md +9 -3
- package/template/.agents/skills/convert-any-to-md/SKILL.md +1 -1
- package/template/.agents/skills/debug/SKILL.md +1 -1
- package/template/.agents/skills/devflow/SKILL.md +1 -1
- package/template/.agents/skills/discovery/SKILL.md +1 -1
- package/template/.agents/skills/doctor/SKILL.md +1 -1
- package/template/.agents/skills/feature/SKILL.md +10 -5
- package/template/.agents/skills/fix/SKILL.md +6 -8
- package/template/.agents/skills/grill/SKILL.md +3 -3
- package/template/.agents/skills/idea/SKILL.md +3 -3
- package/template/.agents/skills/implement/SKILL.md +10 -4
- package/template/.agents/skills/onboard/SKILL.md +1 -1
- package/template/.agents/skills/overview/SKILL.md +1 -1
- package/template/.agents/skills/prototype/SKILL.md +1 -1
- package/template/.agents/skills/release/SKILL.md +1 -1
- package/template/.agents/skills/report-html/SKILL.md +13 -13
- package/template/.agents/skills/rollback/SKILL.md +1 -1
- package/template/.agents/skills/status/SKILL.md +1 -1
- package/template/.agents/skills/test/SKILL.md +5 -5
- package/template/.agents/skills/tests/SKILL.md +1 -1
- package/template/.agents/skills/try/SKILL.md +1 -1
- package/template/.claude/skills/adopt/SKILL.md +1 -1
- package/template/.claude/skills/audit/SKILL.md +1 -1
- package/template/.claude/skills/autopilot/SKILL.md +1 -1
- package/template/.claude/skills/brainstorm/SKILL.md +2 -2
- package/template/.claude/skills/brief/SKILL.md +1 -1
- package/template/.claude/skills/check/SKILL.md +5 -3
- package/template/.claude/skills/ci/SKILL.md +1 -1
- package/template/.claude/skills/complete/SKILL.md +9 -3
- package/template/.claude/skills/convert-any-to-md/SKILL.md +1 -1
- package/template/.claude/skills/debug/SKILL.md +1 -1
- package/template/.claude/skills/devflow/SKILL.md +1 -1
- package/template/.claude/skills/discovery/SKILL.md +1 -1
- package/template/.claude/skills/doctor/SKILL.md +1 -1
- package/template/.claude/skills/feature/SKILL.md +10 -5
- package/template/.claude/skills/fix/SKILL.md +6 -8
- package/template/.claude/skills/grill/SKILL.md +3 -3
- package/template/.claude/skills/idea/SKILL.md +3 -3
- package/template/.claude/skills/implement/SKILL.md +10 -4
- package/template/.claude/skills/onboard/SKILL.md +1 -1
- package/template/.claude/skills/overview/SKILL.md +1 -1
- package/template/.claude/skills/prototype/SKILL.md +1 -1
- package/template/.claude/skills/release/SKILL.md +1 -1
- package/template/.claude/skills/report-html/SKILL.md +13 -13
- package/template/.claude/skills/rollback/SKILL.md +1 -1
- package/template/.claude/skills/status/SKILL.md +1 -1
- package/template/.claude/skills/test/SKILL.md +5 -5
- package/template/.claude/skills/tests/SKILL.md +1 -1
- package/template/.claude/skills/try/SKILL.md +1 -1
- package/template/AGENTS.md +1 -1
- package/template/devflow/build-plan.md +13 -1
- package/template/devflow/context/ai-interaction.md +1 -1
- package/template/devflow/context/coding-standards.md +2 -2
- package/template/devflow/decisions/README.md +1 -1
- package/template/devflow/history/features/README.md +1 -1
- package/template/devflow/history/fixes/README.md +1 -1
- package/template/devflow/history/rollbacks/README.md +1 -1
- package/template/devflow/reference/mockup.html +16 -31
- package/template/devflow/reference/running-id-contract.md +24 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# DevFlow 2.
|
|
1
|
+
# DevFlow 2.6.0 Running ID & 3-Pillars Multi-Run Context Contract
|
|
2
2
|
|
|
3
3
|
## The 3-Pillars Workspace Architecture
|
|
4
4
|
|
|
@@ -7,15 +7,23 @@ All DevFlow framework assets are organized into three clean pillars representing
|
|
|
7
7
|
```text
|
|
8
8
|
devflow/
|
|
9
9
|
├── 🔮 ideas.md # [1. Future / Backlog] Centralized Idea Inbox with AI scoring
|
|
10
|
+
├── 🗺️ project-plan.md # [1. Future] Master product roadmap and system vision
|
|
11
|
+
├── 📋 build-plan.md # [1. Future] User-owned feature queue and sizing
|
|
10
12
|
│
|
|
11
|
-
├── ⚡ context/ # [2. Present / Active] Living Source of Truth &
|
|
13
|
+
├── ⚡ context/ # [2. Present / Active] Living Source of Truth & Multi-Run Contexts
|
|
12
14
|
│ ├── project-overview.md # Primary source of truth for project architecture and tech stack
|
|
13
15
|
│ ├── coding-standards.md # Engineering, code quality, TDD, and testing standards
|
|
14
16
|
│ ├── ai-interaction.md # AI agent interaction rules, unified living spec flow, and Thai defaults
|
|
15
|
-
│ ├── findings.md # Open and resolved audit findings ledger (P0-P3)
|
|
16
17
|
│ ├── glossary.md # Domain glossary and architecture vocabulary
|
|
18
|
+
│ ├── current-feature.md # Active Living Spec pointer / legacy fallback
|
|
17
19
|
│ ├── current-stage.md # Active state pointer and run tracker
|
|
18
|
-
│
|
|
20
|
+
│ ├── findings.md # Shared/default audit findings ledger (P0-P3)
|
|
21
|
+
│ │
|
|
22
|
+
│ ├── {xxx-slug}/ # Active Run Workspace & Spec Queue (Multi-Run Active Task)
|
|
23
|
+
│ │ ├── spec.md # Living Spec + Checklist for this run
|
|
24
|
+
│ │ ├── stage.md # Runtime stage, track, and branch pointer
|
|
25
|
+
│ │ └── findings.md # Dedicated audit findings ledger for this run
|
|
26
|
+
│ └── ...
|
|
19
27
|
│
|
|
20
28
|
├── 📦 history/ # [3. Past / Completed] Permanent Delivery & Release Archives
|
|
21
29
|
│ ├── features/ # Completed features, architecture migrations, tooling (xxx-slug.md)
|
|
@@ -32,9 +40,9 @@ devflow/
|
|
|
32
40
|
## Running ID Naming Convention
|
|
33
41
|
|
|
34
42
|
### 1. Standard Running IDs
|
|
35
|
-
- **Format**: `xxx-slug` (e.g. `001-setup-auth`, `
|
|
43
|
+
- **Format**: `xxx-slug` (e.g. `001-setup-auth`, `058-multi-run-context-architecture`)
|
|
36
44
|
- **Prefix Removal**: The legacy `RUN-` prefix is discontinued in favor of clean 3-digit sequential numbering.
|
|
37
|
-
- **Git Branch Standard**: `feature/{xxx-slug}` or `fix/{xxx-slug}` (or specific release branches such as `2.
|
|
45
|
+
- **Git Branch Standard**: `feature/{xxx-slug}` or `fix/{xxx-slug}` (or specific release branches such as `2.6.0`).
|
|
38
46
|
|
|
39
47
|
### 2. Sub-Feature Running IDs (`xxx[a-z]-slug`)
|
|
40
48
|
- **Format**: `xxx[a-z]-slug` (e.g. `038a-backend-schema-and-api`, `038b-frontend-ui-and-state`)
|
|
@@ -44,19 +52,15 @@ devflow/
|
|
|
44
52
|
|
|
45
53
|
---
|
|
46
54
|
|
|
47
|
-
## Multi-
|
|
55
|
+
## Multi-Run Spec Queue & Selective Execution Rule
|
|
48
56
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
1. **Spec-Ahead & Non-blocking Drafting**:
|
|
58
|
+
- `/feature [id / title]` and `/fix [title]` create dedicated run folders at `devflow/context/{xxx-slug}/`.
|
|
59
|
+
- Creating a spec does **not block** drafting additional specs. Multiple specs can reside in `devflow/context/` simultaneously.
|
|
60
|
+
2. **Selective Execution (`/implement [id]`)**:
|
|
61
|
+
- Spec execution can be invoked targeting a specific ID (e.g. `/implement 12`, `/implement 012`, or `/implement kanban`).
|
|
62
|
+
- The AI checks out the matching git branch `feature/{xxx-slug}`, loads only that run's `spec.md` and global context, and executes tasks with Strict TDD.
|
|
63
|
+
3. **Dedicated Quality Ledger & Safe Archival (`/complete [id]`)**:
|
|
64
|
+
- Each run maintains its own `findings.md` within `devflow/context/{xxx-slug}/`.
|
|
65
|
+
- `/complete` compiles the living spec, archives it to `devflow/history/{features|fixes|rollbacks}/{xxx-slug}.md`, removes `devflow/context/{xxx-slug}/`, updates `HISTORY.md` and `build-plan.md`, and prompts for squash-merge/PR.
|
|
53
66
|
|
|
54
|
-
When detected during `/feature` or `/brief`, the AI triggers the **Interactive Split Gate**, proposing a clean `4a`, `4b` sub-feature breakdown before opening the first spec.
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
## Single Active Run Rule (One Thing at a Time)
|
|
59
|
-
|
|
60
|
-
1. Only **one active run** is permitted at any given time in `current-feature.md`.
|
|
61
|
-
2. Before opening a new run (`/feature` or `/fix`), the AI checks `current-stage.md` and `current-feature.md`.
|
|
62
|
-
3. If an active run is in progress, the AI **blocks** starting a new task and requires closing the active run via `/complete` (or explicitly cancelling/rolling back).
|