@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.
Files changed (79) hide show
  1. package/dist/lib/branch-context.d.ts +61 -8
  2. package/dist/lib/branch-context.js +370 -125
  3. package/dist/lib/branch-context.js.map +1 -1
  4. package/dist/lib/current-work.js +15 -108
  5. package/dist/lib/current-work.js.map +1 -1
  6. package/dist/lib/discoveries.js +4 -15
  7. package/dist/lib/discoveries.js.map +1 -1
  8. package/dist/lib/history.js +1 -1
  9. package/dist/lib/history.js.map +1 -1
  10. package/dist/lib/status.d.ts +2 -0
  11. package/dist/lib/status.js +9 -16
  12. package/dist/lib/status.js.map +1 -1
  13. package/package.json +1 -1
  14. package/template/.agents/skills/adopt/SKILL.md +1 -1
  15. package/template/.agents/skills/audit/SKILL.md +1 -1
  16. package/template/.agents/skills/autopilot/SKILL.md +1 -1
  17. package/template/.agents/skills/brainstorm/SKILL.md +2 -2
  18. package/template/.agents/skills/brief/SKILL.md +1 -1
  19. package/template/.agents/skills/check/SKILL.md +5 -3
  20. package/template/.agents/skills/ci/SKILL.md +1 -1
  21. package/template/.agents/skills/complete/SKILL.md +9 -3
  22. package/template/.agents/skills/convert-any-to-md/SKILL.md +1 -1
  23. package/template/.agents/skills/debug/SKILL.md +1 -1
  24. package/template/.agents/skills/devflow/SKILL.md +1 -1
  25. package/template/.agents/skills/discovery/SKILL.md +1 -1
  26. package/template/.agents/skills/doctor/SKILL.md +1 -1
  27. package/template/.agents/skills/feature/SKILL.md +10 -5
  28. package/template/.agents/skills/fix/SKILL.md +6 -8
  29. package/template/.agents/skills/grill/SKILL.md +3 -3
  30. package/template/.agents/skills/idea/SKILL.md +3 -3
  31. package/template/.agents/skills/implement/SKILL.md +10 -4
  32. package/template/.agents/skills/onboard/SKILL.md +1 -1
  33. package/template/.agents/skills/overview/SKILL.md +1 -1
  34. package/template/.agents/skills/prototype/SKILL.md +1 -1
  35. package/template/.agents/skills/release/SKILL.md +1 -1
  36. package/template/.agents/skills/report-html/SKILL.md +13 -13
  37. package/template/.agents/skills/rollback/SKILL.md +1 -1
  38. package/template/.agents/skills/status/SKILL.md +1 -1
  39. package/template/.agents/skills/test/SKILL.md +5 -5
  40. package/template/.agents/skills/tests/SKILL.md +1 -1
  41. package/template/.agents/skills/try/SKILL.md +1 -1
  42. package/template/.claude/skills/adopt/SKILL.md +1 -1
  43. package/template/.claude/skills/audit/SKILL.md +1 -1
  44. package/template/.claude/skills/autopilot/SKILL.md +1 -1
  45. package/template/.claude/skills/brainstorm/SKILL.md +2 -2
  46. package/template/.claude/skills/brief/SKILL.md +1 -1
  47. package/template/.claude/skills/check/SKILL.md +5 -3
  48. package/template/.claude/skills/ci/SKILL.md +1 -1
  49. package/template/.claude/skills/complete/SKILL.md +9 -3
  50. package/template/.claude/skills/convert-any-to-md/SKILL.md +1 -1
  51. package/template/.claude/skills/debug/SKILL.md +1 -1
  52. package/template/.claude/skills/devflow/SKILL.md +1 -1
  53. package/template/.claude/skills/discovery/SKILL.md +1 -1
  54. package/template/.claude/skills/doctor/SKILL.md +1 -1
  55. package/template/.claude/skills/feature/SKILL.md +10 -5
  56. package/template/.claude/skills/fix/SKILL.md +6 -8
  57. package/template/.claude/skills/grill/SKILL.md +3 -3
  58. package/template/.claude/skills/idea/SKILL.md +3 -3
  59. package/template/.claude/skills/implement/SKILL.md +10 -4
  60. package/template/.claude/skills/onboard/SKILL.md +1 -1
  61. package/template/.claude/skills/overview/SKILL.md +1 -1
  62. package/template/.claude/skills/prototype/SKILL.md +1 -1
  63. package/template/.claude/skills/release/SKILL.md +1 -1
  64. package/template/.claude/skills/report-html/SKILL.md +13 -13
  65. package/template/.claude/skills/rollback/SKILL.md +1 -1
  66. package/template/.claude/skills/status/SKILL.md +1 -1
  67. package/template/.claude/skills/test/SKILL.md +5 -5
  68. package/template/.claude/skills/tests/SKILL.md +1 -1
  69. package/template/.claude/skills/try/SKILL.md +1 -1
  70. package/template/AGENTS.md +1 -1
  71. package/template/devflow/build-plan.md +13 -1
  72. package/template/devflow/context/ai-interaction.md +1 -1
  73. package/template/devflow/context/coding-standards.md +2 -2
  74. package/template/devflow/decisions/README.md +1 -1
  75. package/template/devflow/history/features/README.md +1 -1
  76. package/template/devflow/history/fixes/README.md +1 -1
  77. package/template/devflow/history/rollbacks/README.md +1 -1
  78. package/template/devflow/reference/mockup.html +16 -31
  79. package/template/devflow/reference/running-id-contract.md +24 -20
@@ -1,4 +1,4 @@
1
- # DevFlow 2.5.0 Running ID & 3-Pillars Workspace Contract
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 & Active Work
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
- └── current-feature.md # Single Living Spec (Active work / stub when idle)
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`, `053-unify-deep-and-fast-track-model`)
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.5.0`).
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-Factor Sizing Heuristic & Splitting Engine
55
+ ## Multi-Run Spec Queue & Selective Execution Rule
48
56
 
49
- A feature is considered **Oversized (`L` or `XL`)** and recommended for sub-feature splitting when any of the following conditions are met:
50
- 1. **Files Touched**: Predicted to modify or create $\ge 6$ files.
51
- 2. **Architectural Layers**: Crosses $\ge 3$ distinct layers (e.g. Database Migrations + Backend APIs + Frontend UI + State Store).
52
- 3. **Task Complexity**: Contains $\ge 6$ checklist tasks or involves heavy multi-service integrations.
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).