flow-cc 0.5.8 → 0.6.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/CHANGELOG.md CHANGED
@@ -1,131 +1,150 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [0.5.8] - 2026-02-14
9
-
10
- ### Fixed
11
- - `/flow:go` Step 7 now enforces mandatory `/flow:done` suggestion in every phase completion output
12
- - Added STOP RULE to prevent autonomous post-phase work (PR creation, comment resolution, cleanup)
13
- - Separated "next flow commands" from project-specific actions so `/flow:done` never gets dropped
14
-
15
- ## [0.5.0] - 2026-02-13
16
-
17
- ### Added
18
- - Multi-PRD support PRDs now live at `.planning/prds/{version-slug}.md` instead of a single root `PRD.md`
19
- - 5-step PRD resolution logic across all skills: user argument → STATE.md Active PRD slug derivation legacy fallback → not found
20
- - `**Milestone:**` header field in PRDs for ROADMAP correlation
21
- - `Active PRD` field in STATE.md tracking the current milestone's PRD path
22
- - Milestone Targeting in `/flow:spec` — pass a milestone name to pre-spec future milestones in parallel
23
- - PRD inventory display in `/flow:status` showing active/ready tags per PRD file
24
- - `/flow:setup` now creates `.planning/prds/` directory during project scaffolding
25
-
26
- ### Changed
27
- - `/flow:spec` writes PRDs to `.planning/prds/{version-slug}.md` (was root `PRD.md`)
28
- - `/flow:go` resolves PRDs via 5-step resolution instead of hardcoded `PRD.md`
29
- - `/flow:done` archives PRDs from `.planning/prds/` to `.planning/archive/PRD-{slug}.md`
30
- - `/flow:status` lists all PRDs in `.planning/prds/` with active/ready status
31
- - `/flow:task` reads active PRD from `.planning/prds/` via STATE.md
32
- - All templates and docs updated to reflect new PRD paths
33
- - Legacy root `PRD.md` still consumed transparently migration happens organically
34
-
35
- ## [0.4.3] - 2026-02-12
36
-
37
- ### Changed
38
- - Lessons system refactored to 2-stage with hard caps — `tasks/lessons.md` max 10 active one-liners, `CLAUDE.md ## Learned Rules` max 15 permanent one-liners
39
- - Replaced verbose PATTERN/CAUSE/FIX/RULE format with compact one-liner format: `- **[topic]** The rule`
40
- - Removed 4-stage lifecycle (Capture Refine Promote Global → Promote CLAUDE.md), replaced with 2-stage (Capture → Promote to CLAUDE.md when full)
41
- - Removed all references to `~/.claude/lessons.md` global lessons file
42
- - `/flow:done` now enforces cap: promotes most battle-tested lesson to CLAUDE.md when lessons.md hits 10
43
- - `/flow:status` shows `[N]/10 active` instead of `[N] rules`
44
- - Agent prompts section renamed from "Anti-Patterns to Avoid" to "Lessons (Rules to Follow)"
45
- - CLAUDE.md template now includes `## Learned Rules` placeholder section
46
- - Updated DESIGN.md, README.md, and all skill files to reflect 2-stage system
47
-
48
- ## [0.4.2] - 2026-02-11
49
-
50
- ### Fixed
51
- - `/flow:spec` Phase 1 codebase scan now delegates to 3 parallel Explore subagents instead of reading files into main context — saves 200-500 lines of context before the interview starts
52
- - Added plan mode warnings to `/flow:spec` and `/flow:go` plan mode's read-only constraint breaks both skills
53
- - Added Plan Mode Compatibility section to DESIGN.md documenting the design philosophy
54
-
55
- ## [0.4.1] - 2026-02-11
56
-
57
- ### Fixed
58
- - `/flow:update` changelog display — `require.resolve` fails under npx; replaced with `--changelog` flag on install.js
59
-
60
- ## [0.4.0] - 2026-02-11
61
-
62
- ### Added
63
- - Multi-milestone roadmap input in `/flow:setup` capture your full roadmap upfront (paste a list or build one at a time)
64
- - Auto-transition between milestones in `/flow:done` when a milestone completes and the next is planned, it transitions automatically
65
- - Two-path milestone input (paste/describe or guided) in both `/flow:setup` and `/flow:milestone`
66
-
67
- ### Changed
68
- - `/flow:milestone` purpose shifted from "archive + start next" to "add new milestones to the roadmap" — archive logic moved to `/flow:done`
69
- - `/flow:done` handoff prompt now has three cases: next phase, next milestone (auto-transitioned), or all milestones complete
70
- - `/flow:status` routing updated — recommends `/flow:done` (not `/flow:milestone`) when next milestone exists, since transition is automatic
71
- - `/flow:setup` Question 4 changed from "first milestone" to full roadmap input
72
- - ROADMAP.md template supports multiple milestones with `{{ADDITIONAL_MILESTONES_TABLE}}` and `{{ADDITIONAL_MILESTONES_SECTIONS}}` placeholders
73
- - Updated lifecycle diagrams in README and `/flow:intro` to show pre-planned milestone flow
74
- - Updated command descriptions across intro, README, and install.js
75
-
76
- ## [0.3.0] - 2026-02-11
77
-
78
- ### Added
79
- - `/flow:setup` command — replaces `/flow:init` for project scaffolding only. Adds overwrite protection (stops if project already initialized).
80
- - `/flow:milestone` command — extracted from `/flow:init` for milestone transitions. Adds guard for pending phases before archiving.
81
- - Codebase scan exclusions in `/flow:spec` — explicitly excludes `node_modules/`, `.git/`, `dist/`, `build/`, `.next/`, `__pycache__/`, `*.min.js`, `*.map`, `*.lock`. Uses targeted glob patterns instead of bare `**/*`.
82
- - Minimum viable PRD check in `/flow:spec` — validates at least 3 user stories, 1 phase, and 1 verification command before finalizing.
83
- - Agent timeout + progress indicators in `/flow:go` — prints wave spawn/completion status, checks stuck agents after 10 minutes.
84
- - Max retry limit (3 attempts) for verification in `/flow:go` — stops after 3 failures with user options instead of looping forever.
85
- - Wave failure handling in `/flow:go` detects all-failed vs partial-failed waves, asks user how to proceed.
86
-
87
- ### Changed
88
- - `/flow:init` split into `/flow:setup` (project scaffolding) and `/flow:milestone` (milestone transitions)
89
- - Skill count: 9 skills (was 8 setup replaces init, milestone is new)
90
- - All cross-references updated: intro, done, status, go, task, README, install.js, DESIGN.md, templates
91
-
92
- ### Removed
93
- - `/flow:init` command replaced by `/flow:setup` and `/flow:milestone`
94
-
95
- ## [0.2.0] - 2026-02-11
96
-
97
- ### Added
98
- - `CHANGELOG.md` in Keep a Changelog format
99
- - `CONTRIBUTING.md` with skill file format docs and testing expectations
100
- - Example lesson in `templates/lessons.md.template` showing PATTERN/CAUSE/FIX/RULE format
101
- - Node.js version check (requires >= 18) with clear error message
102
- - Write permission check before install starts
103
- - Rollback on install failuretracks created files and cleans up
104
- - Post-install verificationchecks key files exist after copy
105
- - `--verify` flag for install health check without modifying anything
106
- - `engines` field in package.json (`node >= 18`)
107
- - Error logging for hooks writes to `~/.claude/hooks/flow-error.log` (capped at 50KB)
108
- - Context size limits in `/flow:spec`caps codebase scan at 50 files, focused mode for 500+ file repos
109
-
110
- ### Fixed
111
- - `.gitignore` now has proper Node.js entries (was just `nul`)
112
- - `/flow:done` archive step now creates `.planning/archive/` if missing and skips gracefully when no `.planning/` exists
113
- - `/flow:update` now shows changelog for the new version before confirming update
114
-
115
- ## [0.1.1] - 2025-05-01
116
-
117
- ### Changed
118
- - Updated package.json metadata (description, keywords, repository links)
119
- - Polished README with badges and install instructions
120
- - Added MIT license file
121
-
122
- ## [0.1.0] - 2025-05-01
123
-
124
- ### Added
125
- - Initial release of Flow plugin for Claude Code
126
- - 8 skills: init, spec, go, done, status, task, intro, update
127
- - 2 hooks: statusline display, background update checker
128
- - 4 templates: CLAUDE.md, STATE.md, ROADMAP.md, lessons.md
129
- - One-command installer via `npx flow-cc`
130
- - Automatic statusLine configuration
131
- - Uninstall support via `npx flow-cc --uninstall`
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.6.0] - 2026-02-14
9
+
10
+ ### New
11
+ - `/flow:triage` brain dump categorized Linear issues, ROADMAP entries, and lessons
12
+ - `session.md.template` per-developer session state (gitignored)
13
+ - Linear MCP integration optional issue creation from /flow:spec, progress comments from /flow:done
14
+ - Developer identity detection via `git config user.name`
15
+ - PRD `Assigned To` field for phase-level developer assignment
16
+
17
+ ### Changed
18
+ - `/flow:done`writes session.md instead of replacing STATE.md every session. STATE.md updates only at milestone boundaries.
19
+ - `/flow:go` reads session.md, respects PRD assignment (advisory), updates session.md on phase completion
20
+ - `/flow:spec` adds assignability probing during interview, creates Linear issues for phases (optional)
21
+ - `/flow:status` shows developer identity and session state
22
+ - `/flow:task` — writes to session.md, posts Linear comment (optional)
23
+
24
+ ### Design
25
+ - Linear integration is optional — all skills degrade gracefully without Linear MCP
26
+ - STATE.md becomes project-level (milestone boundaries only), session.md is per-developer (every session, gitignored)
27
+
28
+ ## [0.5.8] - 2026-02-14
29
+
30
+ ### Fixed
31
+ - `/flow:go` Step 7 now enforces mandatory `/flow:done` suggestion in every phase completion output
32
+ - Added STOP RULE to prevent autonomous post-phase work (PR creation, comment resolution, cleanup)
33
+ - Separated "next flow commands" from project-specific actions so `/flow:done` never gets dropped
34
+
35
+ ## [0.5.0] - 2026-02-13
36
+
37
+ ### Added
38
+ - Multi-PRD support PRDs now live at `.planning/prds/{version-slug}.md` instead of a single root `PRD.md`
39
+ - 5-step PRD resolution logic across all skills: user argument STATE.md Active PRD → slug derivation → legacy fallback → not found
40
+ - `**Milestone:**` header field in PRDs for ROADMAP correlation
41
+ - `Active PRD` field in STATE.md tracking the current milestone's PRD path
42
+ - Milestone Targeting in `/flow:spec` pass a milestone name to pre-spec future milestones in parallel
43
+ - PRD inventory display in `/flow:status` showing active/ready tags per PRD file
44
+ - `/flow:setup` now creates `.planning/prds/` directory during project scaffolding
45
+
46
+ ### Changed
47
+ - `/flow:spec` writes PRDs to `.planning/prds/{version-slug}.md` (was root `PRD.md`)
48
+ - `/flow:go` resolves PRDs via 5-step resolution instead of hardcoded `PRD.md`
49
+ - `/flow:done` archives PRDs from `.planning/prds/` to `.planning/archive/PRD-{slug}.md`
50
+ - `/flow:status` lists all PRDs in `.planning/prds/` with active/ready status
51
+ - `/flow:task` reads active PRD from `.planning/prds/` via STATE.md
52
+ - All templates and docs updated to reflect new PRD paths
53
+ - Legacy root `PRD.md` still consumed transparently migration happens organically
54
+
55
+ ## [0.4.3] - 2026-02-12
56
+
57
+ ### Changed
58
+ - Lessons system refactored to 2-stage with hard caps — `tasks/lessons.md` max 10 active one-liners, `CLAUDE.md ## Learned Rules` max 15 permanent one-liners
59
+ - Replaced verbose PATTERN/CAUSE/FIX/RULE format with compact one-liner format: `- **[topic]** The rule`
60
+ - Removed 4-stage lifecycle (Capture → Refine → Promote Global → Promote CLAUDE.md), replaced with 2-stage (Capture → Promote to CLAUDE.md when full)
61
+ - Removed all references to `~/.claude/lessons.md` global lessons file
62
+ - `/flow:done` now enforces cap: promotes most battle-tested lesson to CLAUDE.md when lessons.md hits 10
63
+ - `/flow:status` shows `[N]/10 active` instead of `[N] rules`
64
+ - Agent prompts section renamed from "Anti-Patterns to Avoid" to "Lessons (Rules to Follow)"
65
+ - CLAUDE.md template now includes `## Learned Rules` placeholder section
66
+ - Updated DESIGN.md, README.md, and all skill files to reflect 2-stage system
67
+
68
+ ## [0.4.2] - 2026-02-11
69
+
70
+ ### Fixed
71
+ - `/flow:spec` Phase 1 codebase scan now delegates to 3 parallel Explore subagents instead of reading files into main context — saves 200-500 lines of context before the interview starts
72
+ - Added plan mode warnings to `/flow:spec` and `/flow:go` — plan mode's read-only constraint breaks both skills
73
+ - Added Plan Mode Compatibility section to DESIGN.md documenting the design philosophy
74
+
75
+ ## [0.4.1] - 2026-02-11
76
+
77
+ ### Fixed
78
+ - `/flow:update` changelog display — `require.resolve` fails under npx; replaced with `--changelog` flag on install.js
79
+
80
+ ## [0.4.0] - 2026-02-11
81
+
82
+ ### Added
83
+ - Multi-milestone roadmap input in `/flow:setup` — capture your full roadmap upfront (paste a list or build one at a time)
84
+ - Auto-transition between milestones in `/flow:done` — when a milestone completes and the next is planned, it transitions automatically
85
+ - Two-path milestone input (paste/describe or guided) in both `/flow:setup` and `/flow:milestone`
86
+
87
+ ### Changed
88
+ - `/flow:milestone` purpose shifted from "archive + start next" to "add new milestones to the roadmap" — archive logic moved to `/flow:done`
89
+ - `/flow:done` handoff prompt now has three cases: next phase, next milestone (auto-transitioned), or all milestones complete
90
+ - `/flow:status` routing updated recommends `/flow:done` (not `/flow:milestone`) when next milestone exists, since transition is automatic
91
+ - `/flow:setup` Question 4 changed from "first milestone" to full roadmap input
92
+ - ROADMAP.md template supports multiple milestones with `{{ADDITIONAL_MILESTONES_TABLE}}` and `{{ADDITIONAL_MILESTONES_SECTIONS}}` placeholders
93
+ - Updated lifecycle diagrams in README and `/flow:intro` to show pre-planned milestone flow
94
+
95
+ ## [0.3.0] - 2026-02-11
96
+
97
+ ### Added
98
+ - `/flow:setup` command — replaces `/flow:init` for project scaffolding only. Adds overwrite protection (stops if project already initialized).
99
+ - `/flow:milestone` command — extracted from `/flow:init` for milestone transitions. Adds guard for pending phases before archiving.
100
+ - Codebase scan exclusions in `/flow:spec` — explicitly excludes `node_modules/`, `.git/`, `dist/`, `build/`, `.next/`, `__pycache__/`, `*.min.js`, `*.map`, `*.lock`. Uses targeted glob patterns instead of bare `**/*`.
101
+ - Minimum viable PRD check in `/flow:spec` validates at least 3 user stories, 1 phase, and 1 verification command before finalizing.
102
+ - Agent timeout + progress indicators in `/flow:go` — prints wave spawn/completion status, checks stuck agents after 10 minutes.
103
+ - Max retry limit (3 attempts) for verification in `/flow:go` stops after 3 failures with user options instead of looping forever.
104
+ - Wave failure handling in `/flow:go` detects all-failed vs partial-failed waves, asks user how to proceed.
105
+
106
+ ### Changed
107
+ - `/flow:init` split into `/flow:setup` (project scaffolding) and `/flow:milestone` (milestone transitions)
108
+ - Skill count: 9 skills (was 8 setup replaces init, milestone is new)
109
+ - All cross-references updated: intro, done, status, go, task, README, install.js, DESIGN.md, templates
110
+
111
+ ### Removed
112
+ - `/flow:init` command replaced by `/flow:setup` and `/flow:milestone`
113
+
114
+ ## [0.2.0] - 2026-02-11
115
+
116
+ ### Added
117
+ - `CHANGELOG.md` in Keep a Changelog format
118
+ - `CONTRIBUTING.md` with skill file format docs and testing expectations
119
+ - Example lesson in `templates/lessons.md.template` showing PATTERN/CAUSE/FIX/RULE format
120
+ - Node.js version check (requires >= 18) with clear error message
121
+ - Write permission check before install starts
122
+ - Rollback on install failure — tracks created files and cleans up
123
+ - Post-install verification — checks key files exist after copy
124
+ - `--verify` flag for install health check without modifying anything
125
+ - `engines` field in package.json (`node >= 18`)
126
+ - Error logging for hooks writes to `~/.claude/hooks/flow-error.log` (capped at 50KB)
127
+ - Context size limits in `/flow:spec` caps codebase scan at 50 files, focused mode for 500+ file repos
128
+
129
+ ### Fixed
130
+ - `.gitignore` now has proper Node.js entries (was just `nul`)
131
+ - `/flow:done` archive step now creates `.planning/archive/` if missing and skips gracefully when no `.planning/` exists
132
+ - `/flow:update` now shows changelog for the new version before confirming update
133
+
134
+ ## [0.1.1] - 2025-05-01
135
+
136
+ ### Changed
137
+ - Updated package.json metadata (description, keywords, repository links)
138
+ - Polished README with badges and install instructions
139
+ - Added MIT license file
140
+
141
+ ## [0.1.0] - 2025-05-01
142
+
143
+ ### Added
144
+ - Initial release of Flow plugin for Claude Code
145
+ - 8 skills: init, spec, go, done, status, task, intro, update
146
+ - 2 hooks: statusline display, background update checker
147
+ - 4 templates: CLAUDE.md, STATE.md, ROADMAP.md, lessons.md
148
+ - One-command installer via `npx flow-cc`
149
+ - Automatic statusLine configuration
150
+ - Uninstall support via `npx flow-cc --uninstall`
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "flow-cc",
3
- "version": "0.5.8",
4
- "description": "Structured workflow system for Claude Code — spec interviews, agent-team execution, session handoffs, compounding knowledge",
5
- "author": "Troy Hoffman",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/troyhoffman-oss/flow-plugin.git"
10
- },
11
- "homepage": "https://github.com/troyhoffman-oss/flow-plugin",
12
- "bugs": {
13
- "url": "https://github.com/troyhoffman-oss/flow-plugin/issues"
14
- },
15
- "keywords": [
16
- "claude-code",
17
- "claude",
18
- "workflow",
19
- "ai-agents",
20
- "developer-tools",
21
- "cli",
22
- "skills",
23
- "anthropic"
24
- ],
25
- "bin": {
26
- "flow-cc": "bin/install.js"
27
- },
28
- "engines": {
29
- "node": ">=18"
30
- },
31
- "files": [
32
- "bin",
33
- "skills",
34
- "hooks",
35
- "templates",
36
- "VERSION",
37
- "CHANGELOG.md",
38
- "CONTRIBUTING.md"
39
- ]
40
- }
1
+ {
2
+ "name": "flow-cc",
3
+ "version": "0.6.0",
4
+ "description": "Structured workflow system for Claude Code — spec interviews, agent-team execution, session handoffs, compounding knowledge",
5
+ "author": "Troy Hoffman",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/troyhoffman-oss/flow-plugin.git"
10
+ },
11
+ "homepage": "https://github.com/troyhoffman-oss/flow-plugin",
12
+ "bugs": {
13
+ "url": "https://github.com/troyhoffman-oss/flow-plugin/issues"
14
+ },
15
+ "keywords": [
16
+ "claude-code",
17
+ "claude",
18
+ "workflow",
19
+ "ai-agents",
20
+ "developer-tools",
21
+ "cli",
22
+ "skills",
23
+ "anthropic"
24
+ ],
25
+ "bin": {
26
+ "flow-cc": "bin/install.js"
27
+ },
28
+ "engines": {
29
+ "node": ">=18"
30
+ },
31
+ "files": [
32
+ "bin",
33
+ "skills",
34
+ "hooks",
35
+ "templates",
36
+ "VERSION",
37
+ "CHANGELOG.md",
38
+ "CONTRIBUTING.md"
39
+ ]
40
+ }