agileflow 2.77.0 → 2.79.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.
Files changed (128) hide show
  1. package/README.md +6 -6
  2. package/package.json +6 -1
  3. package/scripts/agileflow-configure.js +174 -2
  4. package/scripts/agileflow-statusline.sh +171 -78
  5. package/scripts/agileflow-welcome.js +88 -64
  6. package/scripts/auto-self-improve.js +23 -45
  7. package/scripts/check-update.js +35 -42
  8. package/scripts/damage-control/bash-tool-damage-control.js +257 -0
  9. package/scripts/damage-control/edit-tool-damage-control.js +279 -0
  10. package/scripts/damage-control/patterns.yaml +227 -0
  11. package/scripts/damage-control/write-tool-damage-control.js +274 -0
  12. package/scripts/damage-control-bash.js +232 -0
  13. package/scripts/damage-control-edit.js +243 -0
  14. package/scripts/damage-control-write.js +243 -0
  15. package/scripts/obtain-context.js +22 -3
  16. package/scripts/ralph-loop.js +191 -63
  17. package/scripts/screenshot-verifier.js +213 -0
  18. package/scripts/session-manager.js +12 -33
  19. package/src/core/agents/accessibility.md +124 -53
  20. package/src/core/agents/adr-writer.md +192 -52
  21. package/src/core/agents/analytics.md +139 -60
  22. package/src/core/agents/api.md +173 -63
  23. package/src/core/agents/ci.md +139 -57
  24. package/src/core/agents/compliance.md +159 -68
  25. package/src/core/agents/configuration/damage-control.md +356 -0
  26. package/src/core/agents/configuration-damage-control.md +248 -0
  27. package/src/core/agents/database.md +162 -61
  28. package/src/core/agents/datamigration.md +179 -66
  29. package/src/core/agents/design.md +179 -57
  30. package/src/core/agents/devops.md +160 -3
  31. package/src/core/agents/documentation.md +204 -60
  32. package/src/core/agents/epic-planner.md +147 -55
  33. package/src/core/agents/integrations.md +197 -69
  34. package/src/core/agents/mentor.md +158 -57
  35. package/src/core/agents/mobile.md +159 -67
  36. package/src/core/agents/monitoring.md +154 -65
  37. package/src/core/agents/multi-expert.md +115 -43
  38. package/src/core/agents/orchestrator.md +77 -24
  39. package/src/core/agents/performance.md +130 -75
  40. package/src/core/agents/product.md +151 -55
  41. package/src/core/agents/qa.md +162 -74
  42. package/src/core/agents/readme-updater.md +178 -76
  43. package/src/core/agents/refactor.md +148 -95
  44. package/src/core/agents/research.md +143 -72
  45. package/src/core/agents/security.md +154 -65
  46. package/src/core/agents/testing.md +176 -97
  47. package/src/core/agents/ui.md +170 -79
  48. package/src/core/commands/adr/list.md +171 -0
  49. package/src/core/commands/adr/update.md +235 -0
  50. package/src/core/commands/adr/view.md +252 -0
  51. package/src/core/commands/adr.md +207 -50
  52. package/src/core/commands/agent.md +16 -0
  53. package/src/core/commands/assign.md +148 -44
  54. package/src/core/commands/auto.md +18 -1
  55. package/src/core/commands/babysit.md +391 -38
  56. package/src/core/commands/baseline.md +14 -0
  57. package/src/core/commands/blockers.md +170 -51
  58. package/src/core/commands/board.md +144 -66
  59. package/src/core/commands/changelog.md +15 -0
  60. package/src/core/commands/ci.md +179 -69
  61. package/src/core/commands/compress.md +18 -0
  62. package/src/core/commands/configure.md +16 -0
  63. package/src/core/commands/context/export.md +193 -4
  64. package/src/core/commands/context/full.md +191 -18
  65. package/src/core/commands/context/note.md +248 -4
  66. package/src/core/commands/debt.md +17 -0
  67. package/src/core/commands/deploy.md +208 -65
  68. package/src/core/commands/deps.md +15 -0
  69. package/src/core/commands/diagnose.md +16 -0
  70. package/src/core/commands/docs.md +196 -64
  71. package/src/core/commands/epic/list.md +170 -0
  72. package/src/core/commands/epic/view.md +242 -0
  73. package/src/core/commands/epic.md +192 -69
  74. package/src/core/commands/feedback.md +191 -71
  75. package/src/core/commands/handoff.md +162 -48
  76. package/src/core/commands/help.md +9 -0
  77. package/src/core/commands/ideate.md +446 -0
  78. package/src/core/commands/impact.md +16 -0
  79. package/src/core/commands/metrics.md +141 -37
  80. package/src/core/commands/multi-expert.md +77 -0
  81. package/src/core/commands/packages.md +16 -0
  82. package/src/core/commands/pr.md +161 -67
  83. package/src/core/commands/readme-sync.md +16 -0
  84. package/src/core/commands/research/analyze.md +568 -0
  85. package/src/core/commands/research/ask.md +345 -20
  86. package/src/core/commands/research/import.md +562 -19
  87. package/src/core/commands/research/list.md +173 -5
  88. package/src/core/commands/research/view.md +181 -8
  89. package/src/core/commands/retro.md +135 -48
  90. package/src/core/commands/review.md +219 -47
  91. package/src/core/commands/session/end.md +209 -0
  92. package/src/core/commands/session/history.md +210 -0
  93. package/src/core/commands/session/init.md +116 -0
  94. package/src/core/commands/session/new.md +296 -0
  95. package/src/core/commands/session/resume.md +166 -0
  96. package/src/core/commands/session/status.md +166 -0
  97. package/src/core/commands/setup/visual-e2e.md +462 -0
  98. package/src/core/commands/skill/create.md +115 -17
  99. package/src/core/commands/skill/delete.md +117 -0
  100. package/src/core/commands/skill/edit.md +104 -0
  101. package/src/core/commands/skill/list.md +128 -0
  102. package/src/core/commands/skill/test.md +135 -0
  103. package/src/core/commands/skill/upgrade.md +542 -0
  104. package/src/core/commands/sprint.md +17 -1
  105. package/src/core/commands/status.md +133 -21
  106. package/src/core/commands/story/list.md +176 -0
  107. package/src/core/commands/story/view.md +265 -0
  108. package/src/core/commands/story-validate.md +101 -1
  109. package/src/core/commands/story.md +204 -51
  110. package/src/core/commands/template.md +16 -1
  111. package/src/core/commands/tests.md +226 -64
  112. package/src/core/commands/update.md +17 -1
  113. package/src/core/commands/validate-expertise.md +16 -0
  114. package/src/core/commands/velocity.md +140 -36
  115. package/src/core/commands/verify.md +14 -0
  116. package/src/core/commands/whats-new.md +30 -0
  117. package/src/core/skills/_learnings/README.md +91 -0
  118. package/src/core/skills/_learnings/_template.yaml +106 -0
  119. package/src/core/skills/_learnings/code-review.yaml +118 -0
  120. package/src/core/skills/_learnings/commit.yaml +69 -0
  121. package/src/core/skills/_learnings/story-writer.yaml +71 -0
  122. package/src/core/templates/damage-control-patterns.yaml +234 -0
  123. package/src/core/templates/skill-template.md +53 -11
  124. package/tools/cli/commands/start.js +180 -0
  125. package/tools/cli/installers/ide/claude-code.js +127 -0
  126. package/tools/cli/tui/Dashboard.js +66 -0
  127. package/tools/cli/tui/StoryList.js +69 -0
  128. package/tools/cli/tui/index.js +16 -0
@@ -1,7 +1,23 @@
1
1
  ---
2
2
  description: Track and resolve blockers with actionable suggestions
3
- argument-hint: [AGENT=<id>] [SHOW_RESOLVED=true] [DETAILED=true]
3
+ argument-hint: "[AGENT=<id>] [SHOW_RESOLVED=true] [DETAILED=true]"
4
4
  model: haiku
5
+ compact_context:
6
+ priority: high
7
+ preserve_rules:
8
+ - "ACTIVE COMMAND: /agileflow:blockers - Blocker analyst and resolver (read-only analysis)"
9
+ - "MUST read docs/09-agents/status.json (extract blockers and blocked_by)"
10
+ - "MUST read docs/09-agents/bus/log.jsonl (extract blocking events)"
11
+ - "MUST categorize blockers (Technical, Coordination, Clarification, External, Capacity, Research)"
12
+ - "MUST show estimated unblock times based on dependencies"
13
+ - "MUST link to ADRs and research docs for resolution hints"
14
+ - "MUST provide actionable resolution suggestions for each blocker"
15
+ - "MUST highlight v2.7.0 cross-agent coordination (AG-API unblocking AG-UI)"
16
+ state_fields:
17
+ - blocker_count
18
+ - critical_count
19
+ - agent_filter
20
+ - show_resolved
5
21
  ---
6
22
 
7
23
  # blockers
@@ -17,61 +33,164 @@ This gathers git status, stories/epics, session state, and registers for PreComp
17
33
  ---
18
34
 
19
35
  <!-- COMPACT_SUMMARY_START -->
20
- ## Compact Summary
21
36
 
22
- **Purpose**: Track and resolve all blockers across AgileFlow with actionable suggestions and cross-agent coordination.
37
+ ## ⚠️ COMPACT SUMMARY - /agileflow:blockers IS ACTIVE
23
38
 
24
- **Key Features**:
25
- - Extract blockers from status.json (direct, dependency, capacity, stale)
26
- - Categorize by type (Technical, Coordination, Clarification, External, Capacity, Research)
27
- - Provide resolution suggestions with ADR/research links
28
- - Highlight v2.7.0 AG-API AG-UI cross-agent coordination
29
- - Show estimated unblock times based on in-progress dependencies
30
- - Display recently resolved blockers (optional)
31
-
32
- **Arguments** (all optional):
33
- - `AGENT`: <id> (filter by specific agent: AG-UI, AG-API, etc.)
34
- - `SHOW_RESOLVED`: true (include recently resolved blockers, last 7 days)
35
- - `DETAILED`: true (show extended details: dependencies, research links, ADRs)
36
-
37
- **Data Sources** (parsing required):
38
- 1. `status.json` - Current story statuses and blockers (JSON parsing)
39
- 2. `bus/log.jsonl` - Recent unblock/blocked messages (JSON parsing + timestamp filtering)
40
- 3. Story files (`US-*.md`) - Detailed story information (YAML frontmatter parsing)
41
- 4. ADRs (`adr-*.md`) - Architecture decisions (keyword matching)
42
- 5. Research notes (`10-research/*.md`) - Background research (keyword matching)
43
-
44
- **Blocker Types Detected**:
45
- 1. **Direct** - Stories with status="blocked" (extract from status.json)
46
- 2. **Dependency** - Stories waiting on incomplete dependencies (parse frontmatter deps_on)
47
- 3. **WIP Capacity** - Agents at WIP limit (count in-progress stories per agent)
48
- 4. **Stale** - Blocked >14 days (timestamp comparison)
49
-
50
- **Workflow**:
51
- 1. Extract all blockers from status.json → Parse bus/log.jsonl for recent activity
52
- 2. Categorize by type (Technical/Coordination/Clarification/External/Capacity/Research)
53
- 3. For each blocker: Match to ADRs/research via keyword search
54
- 4. Generate resolution suggestions (estimated unblock time, workarounds, escalation)
55
- 5. If SHOW_RESOLVED=true: Extract unblock messages from last 7 days
56
- 6. Prioritize actions and display dashboard
57
-
58
- **Example Usage**:
59
- ```bash
60
- /agileflow:blockers
61
- /agileflow:blockers AGENT=AG-UI
62
- /agileflow:blockers SHOW_RESOLVED=true DETAILED=true
39
+ **CRITICAL**: You are the Blocker Analyst. This command analyzes blocking patterns (read-only).
40
+
41
+ ---
42
+
43
+ ### 🚨 RULE #1: ALWAYS Read status.json (Extract Blocker Data)
44
+
45
+ Extract blockers by:
46
+ 1. Find stories with status="blocked"
47
+ 2. Find stories with dependencies not status="done"
48
+ 3. Count in-progress + in-review per agent (>2 = capacity blocker)
49
+ 4. Calculate blocking duration (last_update timestamp)
50
+
51
+ ### 🚨 RULE #2: ALWAYS Categorize Blockers
52
+
53
+ Classify each blocker as ONE of:
54
+ 1. **Technical** - Missing APIs, infrastructure, dependencies not done
55
+ 2. **Coordination** - Waiting on other agents, handoff needed
56
+ 3. **Clarification** - Requirements unclear, AC incomplete
57
+ 4. **External** - Third-party service, approval, access needed
58
+ 5. **Capacity** - Agent at WIP limit, no bandwidth
59
+ 6. **Research** - Need investigation before proceeding
60
+
61
+ ### 🚨 RULE #3: ALWAYS Link to Resolution
62
+
63
+ For each blocker provide:
64
+ - Category and reason
65
+ - Estimated unblock time (based on dependency progress)
66
+ - ADR links (keyword search in adr-*.md)
67
+ - Research links (keyword search in 10-research/*.md)
68
+ - Actionable next step
69
+
70
+ ### 🚨 RULE #4: ALWAYS Highlight Cross-Agent Coordination
71
+
72
+ Show v2.7.0 AG-API ↔ AG-UI coordination:
73
+ - Which AG-UI stories blocked waiting for AG-API endpoints
74
+ - Which AG-API stories in-progress that will unblock them
75
+ - Estimated unblock timeline
76
+ - Recent progress messages from bus log
77
+
78
+ ---
79
+
80
+ ## Key Files & Data
81
+
82
+ **Input Parameters** (all optional):
63
83
  ```
84
+ AGENT=<id> # Filter by specific agent (e.g., AG-UI)
85
+ SHOW_RESOLVED=true # Include recently resolved (last 7 days)
86
+ DETAILED=true # Show extended details (dependencies, ADRs, research)
87
+ ```
88
+
89
+ **Data Sources** (read-only):
90
+ 1. docs/09-agents/status.json - Blocker data + blocked_by field
91
+ 2. docs/09-agents/bus/log.jsonl - Blocking events + timestamps
92
+ 3. docs/06-stories/**/US-*.md - Story dependencies
93
+ 4. docs/03-decisions/adr-*.md - Architecture decisions (keyword match)
94
+ 5. docs/10-research/*.md - Research notes (keyword match)
95
+
96
+ **Blocker Detection**:
97
+ - Direct: status="blocked"
98
+ - Dependency: deps not all status="done"
99
+ - Capacity: in-progress + in-review count >2
100
+ - Stale: blocked >14 days old
101
+
102
+ ---
103
+
104
+ ## Output Structure
105
+
106
+ **Summary Section**:
107
+ - Total active blockers
108
+ - Breakdown by category (Technical, Coordination, etc.)
109
+ - Critical count (>14 days)
110
+ - Cross-agent coordination needs
111
+
112
+ **Critical Blockers** (>14 days):
113
+ - Listed first (highest priority)
114
+ - Include story ID, owner, type, reason, duration
115
+
116
+ **Active Blockers** (grouped by category):
117
+ - Category heading
118
+ - List of stories with:
119
+ - ID, owner, blocker type
120
+ - Blocker reason
121
+ - Estimated unblock time
122
+ - Related ADR/research links
123
+ - Actionable resolution
124
+
125
+ **AG-API Coordination Status**:
126
+ - Which AG-UI stories blocked waiting for AG-API
127
+ - Which AG-API stories in-progress that will unblock them
128
+ - Recent AG-API progress messages
129
+ - Estimated unblock timeline
130
+
131
+ **Recently Resolved** (if SHOW_RESOLVED=true):
132
+ - Last 7 days of unblock events
133
+ - Who unblocked, when, what blocker
134
+
135
+ **Prioritized Actions**:
136
+ - Ranked next steps (HIGH/MEDIUM/LOW)
137
+ - Specific commands to resolve
138
+
139
+ ---
140
+
141
+ ## Anti-Patterns & Correct Usage
142
+
143
+ ❌ **DON'T**:
144
+ - Modify status.json (read-only analysis)
145
+ - Skip categorization (helps identify patterns)
146
+ - Ignore cross-agent coordination
147
+ - Hide stale blockers (>14 days)
148
+
149
+ ✅ **DO**:
150
+ - Read status.json (no updates)
151
+ - Categorize all blockers
152
+ - Show AG-API unblocking progress
153
+ - Highlight stale blockers for escalation
154
+
155
+ ---
156
+
157
+ ## Confirmation & Integration
158
+
159
+ After displaying blockers:
160
+ ```xml
161
+ <invoke name="AskUserQuestion">
162
+ <parameter name="questions">[{
163
+ "question": "What would you like to do?",
164
+ "header": "Blocker Actions",
165
+ "multiSelect": false,
166
+ "options": [
167
+ {"label": "Update blocker status", "description": "Mark blocker as resolved"},
168
+ {"label": "Create unblocking story", "description": "Create story to unblock"},
169
+ {"label": "View ADR details", "description": "See related architecture decisions"},
170
+ {"label": "Escalate blocker", "description": "Escalate for decision"}
171
+ ]
172
+ }]</parameter>
173
+ </invoke>
174
+ ```
175
+
176
+ Integration with other commands:
177
+ - `/status` - Update blocker statuses
178
+ - `/story-new` - Create unblocking stories
179
+ - `/adr-new` - Document blocker decisions
180
+ - `/board` - Visualize blocked stories
181
+
182
+ ---
183
+
184
+ ## REMEMBER AFTER COMPACTION
64
185
 
65
- **Output Sections**:
66
- - Summary Stats (count by type, critical count)
67
- - Critical Blockers (stale >14 days)
68
- - Active Blockers (grouped by category with solutions)
69
- - AG-API Unblocking Status (v2.7.0 coordination)
70
- - Capacity Analysis (agents at WIP limit)
71
- - Recently Resolved (last 7 days if requested)
72
- - Prioritized Actions (ranked next steps)
186
+ - Command is read-only (analyzes status.json, no updates)
187
+ - Extracts 4 blocker types (direct, dependency, capacity, stale)
188
+ - Categorizes by 6 types (Technical, Coordination, Clarification, External, Capacity, Research)
189
+ - Links to ADRs and research for resolution hints
190
+ - Highlights v2.7.0 AG-API ↔ AG-UI cross-agent coordination
191
+ - Shows estimated unblock times and actionable next steps
192
+ - Highlights stale blockers (>14 days) for escalation
73
193
 
74
- **Integration**: With `/status`, `/story-new`, `/handoff`, `/adr-new`, `/board`, `/validate-system`
75
194
  <!-- COMPACT_SUMMARY_END -->
76
195
 
77
196
  Comprehensive blocker tracking, resolution suggestions, and cross-agent coordination (leverages v2.7.0 AG-API unblocking capabilities).
@@ -1,7 +1,23 @@
1
1
  ---
2
2
  description: Display visual kanban board with WIP limits
3
- argument-hint: (no arguments)
3
+ argument-hint: "[EPIC=<id>] [OWNER=<id>] [FORMAT=ascii|markdown|html] [GROUP_BY=status|owner|epic]"
4
4
  model: haiku
5
+ compact_context:
6
+ priority: medium
7
+ preserve_rules:
8
+ - "ACTIVE COMMAND: /agileflow:board - Kanban board visualizer (read-only)"
9
+ - "MUST read docs/09-agents/status.json (do NOT modify)"
10
+ - "MUST organize stories by status (ready, in-progress, in-review, done, blocked)"
11
+ - "MUST show WIP limits (2 stories per agent)"
12
+ - "MUST highlight blockers and WIP violations"
13
+ - "MUST provide ASCII art board visualization"
14
+ - "MUST show statistics (throughput, velocity, completion %)"
15
+ - "MUST suggest next actions based on board state"
16
+ state_fields:
17
+ - epic_filter
18
+ - owner_filter
19
+ - format
20
+ - group_by
5
21
  ---
6
22
 
7
23
  # board
@@ -17,82 +33,133 @@ node .agileflow/scripts/obtain-context.js board
17
33
  This gathers git status, stories/epics, session state, and registers for PreCompact.
18
34
 
19
35
  <!-- COMPACT_SUMMARY_START -->
20
- ## Compact Summary
21
36
 
22
- **Command**: `board`
23
- **Purpose**: Generate visual kanban board from current story statuses
37
+ ## ⚠️ COMPACT SUMMARY - /agileflow:board IS ACTIVE
24
38
 
25
- **Quick Usage**:
39
+ **CRITICAL**: You are the Board Visualizer. This command displays project state (read-only).
40
+
41
+ ---
42
+
43
+ ### 🚨 RULE #1: ALWAYS Read status.json (NEVER Modify)
44
+
45
+ - Read-only operation (visualization only)
46
+ - NEVER update status.json from this command
47
+ - Extract story data and calculate WIP metrics
48
+ - No file writes, no state changes
49
+
50
+ ### 🚨 RULE #2: ALWAYS Show Four Columns
51
+
52
+ **Column Layout** (by default):
53
+ 1. **READY** (status="ready")
54
+ 2. **IN PROGRESS** (status="in-progress")
55
+ 3. **IN REVIEW** (status="in-review")
56
+ 4. **DONE** (status="done")
57
+
58
+ Special handling:
59
+ - Separate BLOCKED stories (show with 🔴 red)
60
+ - Show WIP limits per agent (max 2 in-progress + in-review)
61
+
62
+ ### 🚨 RULE #3: ALWAYS Calculate & Show WIP Violations
63
+
64
+ - Count in-progress + in-review per agent
65
+ - Highlight if >2 stories (WIP limit exceeded)
66
+ - Show with ⚠️ warning icon
67
+ - Suggest unblocking action
68
+
69
+ ### 🚨 RULE #4: ALWAYS Include Statistics
70
+
71
+ Show these stats:
72
+ - Total stories in each status
73
+ - WIP status per agent
74
+ - Blockers count and reasons
75
+ - Throughput (stories completed this week)
76
+ - Velocity trend (↗ ↘ →)
77
+
78
+ ---
79
+
80
+ ## Key Parameters & Output
81
+
82
+ **Input Parameters**:
83
+ ```
84
+ EPIC=<EP_ID> # Filter by specific epic (optional)
85
+ OWNER=<agent_id> # Filter by owner (optional)
86
+ FORMAT=ascii|markdown|html # Output format (default: ascii)
87
+ GROUP_BY=status|owner|epic # Grouping method (default: status)
88
+ ```
89
+
90
+ **Output Formats**:
91
+ | Format | Use Case | Visual |
92
+ |--------|----------|--------|
93
+ | ascii | Terminal viewing | Box drawing chars (╔╗╚╝) |
94
+ | markdown | Documentation/wiki | Markdown tables |
95
+ | html | Web export | Full HTML page |
96
+
97
+ **Data Source**:
98
+ - Read: docs/09-agents/status.json
99
+ - Extract: story status, owner, epic, estimate
100
+
101
+ ---
102
+
103
+ ## Board Visualization Rules
104
+
105
+ **ASCII Format** (default):
106
+ - Box drawing characters (╔═╗║╚╝├┤┬┴┼)
107
+ - Columns for each status
108
+ - Story cards with ID, title, owner, estimate, epic
109
+ - Color coded via emoji (🟢🟡🔵⚪🔴)
110
+ - Max 80 char width for terminal viewing
111
+
112
+ **Card Contents**:
26
113
  ```
27
- /agileflow:board
28
- /agileflow:board EPIC=EP-0010
29
- /agileflow:board OWNER=AG-UI FORMAT=markdown
30
- /agileflow:board GROUP_BY=owner
114
+ 🟢 US-0042
115
+ Login form
116
+ AG-UI · 1d
117
+ EP-0010
31
118
  ```
32
119
 
33
- **What It Does**:
34
- 1. Reads `docs/09-agents/status.json` for story data
35
- 2. Organizes stories by status (or owner/epic if specified)
36
- 3. Calculates WIP limits and identifies violations
37
- 4. Renders visual board with color coding
38
- 5. Shows statistics (throughput, velocity, blockers)
39
- 6. Suggests actions based on board state
40
-
41
- **Input Options**:
42
- - `EPIC=<EP_ID>` - Filter by specific epic
43
- - `OWNER=<agent_id>` - Filter by owner
44
- - `FORMAT=ascii|markdown|html` - Output format (default: ascii)
45
- - `GROUP_BY=status|owner|epic` - Grouping method (default: status)
46
-
47
- **Board Layout** (ASCII):
120
+ **WIP Indicator**:
48
121
  ```
49
- ╔══════════════════════════════════════════════════════════════╗
50
- ║ AGILEFLOW KANBAN BOARD ║
51
- ║ Updated: 2025-12-22 14:30 ║
52
- ╠══════════════════════════════════════════════════════════════╣
53
- ║ 📊 Summary: 15 stories | 3 ready | 4 in-progress | 6 done ║
54
- ║ ⚠️ WIP Limit: 2/agent (AG-UI: 2/2 ⚠️, AG-API: 1/2 ✓) ║
55
- ╚══════════════════════════════════════════════════════════════╝
56
-
57
- ┌──────────────┬──────────────┬──────────────┬──────────────┐
58
- │ 📋 READY (3) │ 🔄 IN PROG │ 👀 REVIEW │ ✅ DONE (6) │
59
- │ │ (4) WIP: 4/6 │ (2) │ │
60
- ├──────────────┼──────────────┼──────────────┼──────────────┤
61
- │ 🟢 US-0042 │ 🟡 US-0038 │ 🔵 US-0035 │ ⚪ US-0030 │
62
- │ Login form │ OAuth flow │ Pwd reset │ User reg │
63
- │ AG-UI · 1d │ AG-API · 1.5d│ AG-API · 1d │ AG-API · 1d │
64
- └──────────────┴──────────────┴──────────────┴──────────────┘
122
+ 🔄 IN PROGRESS (4)
123
+ WIP: 4/6 ⚠️ (at limit)
65
124
  ```
66
125
 
67
- **Color Coding**:
68
- - 🟢 Green: High priority / ready to start
69
- - 🟡 Yellow: In progress / medium priority
70
- - 🔵 Blue: In review / low priority
71
- - ⚪ White: Done
72
- - 🔴 Red: Blocked
73
- - ⚠️ Warning: WIP limit exceeded
126
+ **Blocked Indicator**:
127
+ ```
128
+ 🔴 BLOCKED (1)
129
+ US-0041: Waiting on API keys
130
+ ```
131
+
132
+ ---
74
133
 
75
- **Statistics Provided**:
76
- - Throughput (stories completed per week)
77
- - Velocity (points per week)
78
- - Status distribution
79
- - Owner workload
80
- - Blockers and warnings
134
+ ## Action Suggestions
81
135
 
82
- **Action Suggestions**:
136
+ After displaying board, suggest actions:
83
137
  - "AG-UI at WIP limit. Complete US-0038 before starting new work."
84
- - "US-0041 blocked. Unblock by reviewing US-0035?"
138
+ - "US-0041 blocked >3 days. Escalate for API access?"
85
139
  - "3 stories ready. Which should we prioritize?"
140
+ - "AG-DEVOPS has no work. Assign unblocking tasks?"
86
141
 
87
- **Best Practices**:
88
- - Review board daily to identify bottlenecks
89
- - Keep WIP limits respected (default: 2/agent)
90
- - Export board snapshots to track velocity over time
91
- - Use GROUP_BY=owner to balance workload
142
+ ---
143
+
144
+ ## Anti-Patterns & Correct Usage
145
+
146
+ **DON'T**:
147
+ - Modify status.json (read-only command)
148
+ - Hide blockers or WIP violations
149
+ - Skip statistics and trend data
150
+ - Make board too wide (>80 chars)
151
+
152
+ ✅ **DO**:
153
+ - Read status.json (no updates)
154
+ - Highlight WIP violations clearly
155
+ - Include statistics and trends
156
+ - Suggest next actions based on board state
157
+
158
+ ---
92
159
 
93
- **Tool Usage Examples**:
160
+ ## Confirmation & Follow-up
94
161
 
95
- AskUserQuestion (for actions after displaying board):
162
+ After displaying board:
96
163
  ```xml
97
164
  <invoke name="AskUserQuestion">
98
165
  <parameter name="questions">[{
@@ -100,15 +167,26 @@ AskUserQuestion (for actions after displaying board):
100
167
  "header": "Board Actions",
101
168
  "multiSelect": false,
102
169
  "options": [
103
- {"label": "Update a story status", "description": "Change story status on board"},
104
- {"label": "Export board", "description": "Save board snapshot to file"},
105
- {"label": "View story details", "description": "See full story information"},
106
- {"label": "Filter board", "description": "Filter by epic/owner"}
170
+ {"label": "Update story status", "description": "Change status on board"},
171
+ {"label": "View blockers", "description": "See blocker details"},
172
+ {"label": "Filter board", "description": "Filter by epic/owner"},
173
+ {"label": "Export snapshot", "description": "Save board to file"}
107
174
  ]
108
175
  }]</parameter>
109
176
  </invoke>
110
177
  ```
111
178
 
179
+ ---
180
+
181
+ ## REMEMBER AFTER COMPACTION
182
+
183
+ - Command is read-only (displays status.json, doesn't modify)
184
+ - Shows kanban board with 4 columns (ready, in-progress, in-review, done)
185
+ - Highlights blockers and WIP violations
186
+ - Includes statistics (throughput, velocity, trends)
187
+ - Suggests actionable next steps
188
+ - No file writes, no state changes
189
+
112
190
  <!-- COMPACT_SUMMARY_END -->
113
191
 
114
192
  ## Prompt
@@ -1,5 +1,20 @@
1
1
  ---
2
2
  description: Auto-generate changelog from commit history
3
+ compact_context:
4
+ priority: high
5
+ preserve_rules:
6
+ - "Auto-detect version from latest git tag if VERSION not provided"
7
+ - "Parse conventional commits (feat:→Added, fix:→Fixed, perf:→Changed, security:→Security)"
8
+ - "Detect BREAKING CHANGES (! suffix or BREAKING CHANGE: footer)"
9
+ - "Follow Keep a Changelog format strictly (standard markdown structure)"
10
+ - "Include PR/issue numbers for traceability (#123)"
11
+ - "ALWAYS show diff-first preview before updating CHANGELOG.md"
12
+ - "Suggest semantic version bump based on changes (major/minor/patch)"
13
+ - "Never remove old changelog entries"
14
+ state_fields:
15
+ - next_version
16
+ - version_suggestion_accepted
17
+ - changelog_updated
3
18
  ---
4
19
 
5
20
  # generate-changelog