flow-cc 0.5.7 → 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,124 +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.0] - 2026-02-13
9
-
10
- ### Added
11
- - Multi-PRD support PRDs now live at `.planning/prds/{version-slug}.md` instead of a single root `PRD.md`
12
- - 5-step PRD resolution logic across all skills: user argument → STATE.md Active PRD slug derivation → legacy fallback → not found
13
- - `**Milestone:**` header field in PRDs for ROADMAP correlation
14
- - `Active PRD` field in STATE.md tracking the current milestone's PRD path
15
- - Milestone Targeting in `/flow:spec` pass a milestone name to pre-spec future milestones in parallel
16
- - PRD inventory display in `/flow:status` showing active/ready tags per PRD file
17
- - `/flow:setup` now creates `.planning/prds/` directory during project scaffolding
18
-
19
- ### Changed
20
- - `/flow:spec` writes PRDs to `.planning/prds/{version-slug}.md` (was root `PRD.md`)
21
- - `/flow:go` resolves PRDs via 5-step resolution instead of hardcoded `PRD.md`
22
- - `/flow:done` archives PRDs from `.planning/prds/` to `.planning/archive/PRD-{slug}.md`
23
- - `/flow:status` lists all PRDs in `.planning/prds/` with active/ready status
24
- - `/flow:task` reads active PRD from `.planning/prds/` via STATE.md
25
- - All templates and docs updated to reflect new PRD paths
26
- - Legacy root `PRD.md` still consumed transparently migration happens organically
27
-
28
- ## [0.4.3] - 2026-02-12
29
-
30
- ### Changed
31
- - 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
32
- - Replaced verbose PATTERN/CAUSE/FIX/RULE format with compact one-liner format: `- **[topic]** The rule`
33
- - Removed 4-stage lifecycle (Capture Refine → Promote Global → Promote CLAUDE.md), replaced with 2-stage (Capture Promote to CLAUDE.md when full)
34
- - Removed all references to `~/.claude/lessons.md` global lessons file
35
- - `/flow:done` now enforces cap: promotes most battle-tested lesson to CLAUDE.md when lessons.md hits 10
36
- - `/flow:status` shows `[N]/10 active` instead of `[N] rules`
37
- - Agent prompts section renamed from "Anti-Patterns to Avoid" to "Lessons (Rules to Follow)"
38
- - CLAUDE.md template now includes `## Learned Rules` placeholder section
39
- - Updated DESIGN.md, README.md, and all skill files to reflect 2-stage system
40
-
41
- ## [0.4.2] - 2026-02-11
42
-
43
- ### Fixed
44
- - `/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
45
- - Added plan mode warnings to `/flow:spec` and `/flow:go` — plan mode's read-only constraint breaks both skills
46
- - Added Plan Mode Compatibility section to DESIGN.md documenting the design philosophy
47
-
48
- ## [0.4.1] - 2026-02-11
49
-
50
- ### Fixed
51
- - `/flow:update` changelog display `require.resolve` fails under npx; replaced with `--changelog` flag on install.js
52
-
53
- ## [0.4.0] - 2026-02-11
54
-
55
- ### Added
56
- - Multi-milestone roadmap input in `/flow:setup` — capture your full roadmap upfront (paste a list or build one at a time)
57
- - Auto-transition between milestones in `/flow:done` — when a milestone completes and the next is planned, it transitions automatically
58
- - Two-path milestone input (paste/describe or guided) in both `/flow:setup` and `/flow:milestone`
59
-
60
- ### Changed
61
- - `/flow:milestone` purpose shifted from "archive + start next" to "add new milestones to the roadmap" — archive logic moved to `/flow:done`
62
- - `/flow:done` handoff prompt now has three cases: next phase, next milestone (auto-transitioned), or all milestones complete
63
- - `/flow:status` routing updated — recommends `/flow:done` (not `/flow:milestone`) when next milestone exists, since transition is automatic
64
- - `/flow:setup` Question 4 changed from "first milestone" to full roadmap input
65
- - ROADMAP.md template supports multiple milestones with `{{ADDITIONAL_MILESTONES_TABLE}}` and `{{ADDITIONAL_MILESTONES_SECTIONS}}` placeholders
66
- - Updated lifecycle diagrams in README and `/flow:intro` to show pre-planned milestone flow
67
- - Updated command descriptions across intro, README, and install.js
68
-
69
- ## [0.3.0] - 2026-02-11
70
-
71
- ### Added
72
- - `/flow:setup` command — replaces `/flow:init` for project scaffolding only. Adds overwrite protection (stops if project already initialized).
73
- - `/flow:milestone` command extracted from `/flow:init` for milestone transitions. Adds guard for pending phases before archiving.
74
- - 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 `**/*`.
75
- - Minimum viable PRD check in `/flow:spec` — validates at least 3 user stories, 1 phase, and 1 verification command before finalizing.
76
- - Agent timeout + progress indicators in `/flow:go` — prints wave spawn/completion status, checks stuck agents after 10 minutes.
77
- - Max retry limit (3 attempts) for verification in `/flow:go` — stops after 3 failures with user options instead of looping forever.
78
- - Wave failure handling in `/flow:go` — detects all-failed vs partial-failed waves, asks user how to proceed.
79
-
80
- ### Changed
81
- - `/flow:init` split into `/flow:setup` (project scaffolding) and `/flow:milestone` (milestone transitions)
82
- - Skill count: 9 skills (was 8 — setup replaces init, milestone is new)
83
- - All cross-references updated: intro, done, status, go, task, README, install.js, DESIGN.md, templates
84
-
85
- ### Removed
86
- - `/flow:init` command — replaced by `/flow:setup` and `/flow:milestone`
87
-
88
- ## [0.2.0] - 2026-02-11
89
-
90
- ### Added
91
- - `CHANGELOG.md` in Keep a Changelog format
92
- - `CONTRIBUTING.md` with skill file format docs and testing expectations
93
- - Example lesson in `templates/lessons.md.template` showing PATTERN/CAUSE/FIX/RULE format
94
- - Node.js version check (requires >= 18) with clear error message
95
- - Write permission check before install starts
96
- - Rollback on install failure — tracks created files and cleans up
97
- - Post-install verification — checks key files exist after copy
98
- - `--verify` flag for install health check without modifying anything
99
- - `engines` field in package.json (`node >= 18`)
100
- - Error logging for hookswrites to `~/.claude/hooks/flow-error.log` (capped at 50KB)
101
- - Context size limits in `/flow:spec` — caps codebase scan at 50 files, focused mode for 500+ file repos
102
-
103
- ### Fixed
104
- - `.gitignore` now has proper Node.js entries (was just `nul`)
105
- - `/flow:done` archive step now creates `.planning/archive/` if missing and skips gracefully when no `.planning/` exists
106
- - `/flow:update` now shows changelog for the new version before confirming update
107
-
108
- ## [0.1.1] - 2025-05-01
109
-
110
- ### Changed
111
- - Updated package.json metadata (description, keywords, repository links)
112
- - Polished README with badges and install instructions
113
- - Added MIT license file
114
-
115
- ## [0.1.0] - 2025-05-01
116
-
117
- ### Added
118
- - Initial release of Flow plugin for Claude Code
119
- - 8 skills: init, spec, go, done, status, task, intro, update
120
- - 2 hooks: statusline display, background update checker
121
- - 4 templates: CLAUDE.md, STATE.md, ROADMAP.md, lessons.md
122
- - One-command installer via `npx flow-cc`
123
- - Automatic statusLine configuration
124
- - 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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.7
1
+ 0.5.8
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "flow-cc",
3
- "version": "0.5.7",
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
+ }