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.
- package/README.md +6 -6
- package/package.json +6 -1
- package/scripts/agileflow-configure.js +174 -2
- package/scripts/agileflow-statusline.sh +171 -78
- package/scripts/agileflow-welcome.js +88 -64
- package/scripts/auto-self-improve.js +23 -45
- package/scripts/check-update.js +35 -42
- package/scripts/damage-control/bash-tool-damage-control.js +257 -0
- package/scripts/damage-control/edit-tool-damage-control.js +279 -0
- package/scripts/damage-control/patterns.yaml +227 -0
- package/scripts/damage-control/write-tool-damage-control.js +274 -0
- package/scripts/damage-control-bash.js +232 -0
- package/scripts/damage-control-edit.js +243 -0
- package/scripts/damage-control-write.js +243 -0
- package/scripts/obtain-context.js +22 -3
- package/scripts/ralph-loop.js +191 -63
- package/scripts/screenshot-verifier.js +213 -0
- package/scripts/session-manager.js +12 -33
- package/src/core/agents/accessibility.md +124 -53
- package/src/core/agents/adr-writer.md +192 -52
- package/src/core/agents/analytics.md +139 -60
- package/src/core/agents/api.md +173 -63
- package/src/core/agents/ci.md +139 -57
- package/src/core/agents/compliance.md +159 -68
- package/src/core/agents/configuration/damage-control.md +356 -0
- package/src/core/agents/configuration-damage-control.md +248 -0
- package/src/core/agents/database.md +162 -61
- package/src/core/agents/datamigration.md +179 -66
- package/src/core/agents/design.md +179 -57
- package/src/core/agents/devops.md +160 -3
- package/src/core/agents/documentation.md +204 -60
- package/src/core/agents/epic-planner.md +147 -55
- package/src/core/agents/integrations.md +197 -69
- package/src/core/agents/mentor.md +158 -57
- package/src/core/agents/mobile.md +159 -67
- package/src/core/agents/monitoring.md +154 -65
- package/src/core/agents/multi-expert.md +115 -43
- package/src/core/agents/orchestrator.md +77 -24
- package/src/core/agents/performance.md +130 -75
- package/src/core/agents/product.md +151 -55
- package/src/core/agents/qa.md +162 -74
- package/src/core/agents/readme-updater.md +178 -76
- package/src/core/agents/refactor.md +148 -95
- package/src/core/agents/research.md +143 -72
- package/src/core/agents/security.md +154 -65
- package/src/core/agents/testing.md +176 -97
- package/src/core/agents/ui.md +170 -79
- package/src/core/commands/adr/list.md +171 -0
- package/src/core/commands/adr/update.md +235 -0
- package/src/core/commands/adr/view.md +252 -0
- package/src/core/commands/adr.md +207 -50
- package/src/core/commands/agent.md +16 -0
- package/src/core/commands/assign.md +148 -44
- package/src/core/commands/auto.md +18 -1
- package/src/core/commands/babysit.md +391 -38
- package/src/core/commands/baseline.md +14 -0
- package/src/core/commands/blockers.md +170 -51
- package/src/core/commands/board.md +144 -66
- package/src/core/commands/changelog.md +15 -0
- package/src/core/commands/ci.md +179 -69
- package/src/core/commands/compress.md +18 -0
- package/src/core/commands/configure.md +16 -0
- package/src/core/commands/context/export.md +193 -4
- package/src/core/commands/context/full.md +191 -18
- package/src/core/commands/context/note.md +248 -4
- package/src/core/commands/debt.md +17 -0
- package/src/core/commands/deploy.md +208 -65
- package/src/core/commands/deps.md +15 -0
- package/src/core/commands/diagnose.md +16 -0
- package/src/core/commands/docs.md +196 -64
- package/src/core/commands/epic/list.md +170 -0
- package/src/core/commands/epic/view.md +242 -0
- package/src/core/commands/epic.md +192 -69
- package/src/core/commands/feedback.md +191 -71
- package/src/core/commands/handoff.md +162 -48
- package/src/core/commands/help.md +9 -0
- package/src/core/commands/ideate.md +446 -0
- package/src/core/commands/impact.md +16 -0
- package/src/core/commands/metrics.md +141 -37
- package/src/core/commands/multi-expert.md +77 -0
- package/src/core/commands/packages.md +16 -0
- package/src/core/commands/pr.md +161 -67
- package/src/core/commands/readme-sync.md +16 -0
- package/src/core/commands/research/analyze.md +568 -0
- package/src/core/commands/research/ask.md +345 -20
- package/src/core/commands/research/import.md +562 -19
- package/src/core/commands/research/list.md +173 -5
- package/src/core/commands/research/view.md +181 -8
- package/src/core/commands/retro.md +135 -48
- package/src/core/commands/review.md +219 -47
- package/src/core/commands/session/end.md +209 -0
- package/src/core/commands/session/history.md +210 -0
- package/src/core/commands/session/init.md +116 -0
- package/src/core/commands/session/new.md +296 -0
- package/src/core/commands/session/resume.md +166 -0
- package/src/core/commands/session/status.md +166 -0
- package/src/core/commands/setup/visual-e2e.md +462 -0
- package/src/core/commands/skill/create.md +115 -17
- package/src/core/commands/skill/delete.md +117 -0
- package/src/core/commands/skill/edit.md +104 -0
- package/src/core/commands/skill/list.md +128 -0
- package/src/core/commands/skill/test.md +135 -0
- package/src/core/commands/skill/upgrade.md +542 -0
- package/src/core/commands/sprint.md +17 -1
- package/src/core/commands/status.md +133 -21
- package/src/core/commands/story/list.md +176 -0
- package/src/core/commands/story/view.md +265 -0
- package/src/core/commands/story-validate.md +101 -1
- package/src/core/commands/story.md +204 -51
- package/src/core/commands/template.md +16 -1
- package/src/core/commands/tests.md +226 -64
- package/src/core/commands/update.md +17 -1
- package/src/core/commands/validate-expertise.md +16 -0
- package/src/core/commands/velocity.md +140 -36
- package/src/core/commands/verify.md +14 -0
- package/src/core/commands/whats-new.md +30 -0
- package/src/core/skills/_learnings/README.md +91 -0
- package/src/core/skills/_learnings/_template.yaml +106 -0
- package/src/core/skills/_learnings/code-review.yaml +118 -0
- package/src/core/skills/_learnings/commit.yaml +69 -0
- package/src/core/skills/_learnings/story-writer.yaml +71 -0
- package/src/core/templates/damage-control-patterns.yaml +234 -0
- package/src/core/templates/skill-template.md +53 -11
- package/tools/cli/commands/start.js +180 -0
- package/tools/cli/installers/ide/claude-code.js +127 -0
- package/tools/cli/tui/Dashboard.js +66 -0
- package/tools/cli/tui/StoryList.js +69 -0
- 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
|
-
|
|
37
|
+
## ⚠️ COMPACT SUMMARY - /agileflow:blockers IS ACTIVE
|
|
23
38
|
|
|
24
|
-
**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
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:
|
|
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
|
-
|
|
23
|
-
**Purpose**: Generate visual kanban board from current story statuses
|
|
37
|
+
## ⚠️ COMPACT SUMMARY - /agileflow:board IS ACTIVE
|
|
24
38
|
|
|
25
|
-
**
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
114
|
+
🟢 US-0042
|
|
115
|
+
Login form
|
|
116
|
+
AG-UI · 1d
|
|
117
|
+
EP-0010
|
|
31
118
|
```
|
|
32
119
|
|
|
33
|
-
**
|
|
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
|
-
|
|
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
|
-
**
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
126
|
+
**Blocked Indicator**:
|
|
127
|
+
```
|
|
128
|
+
🔴 BLOCKED (1)
|
|
129
|
+
US-0041: Waiting on API keys
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
74
133
|
|
|
75
|
-
|
|
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
|
-
|
|
136
|
+
After displaying board, suggest actions:
|
|
83
137
|
- "AG-UI at WIP limit. Complete US-0038 before starting new work."
|
|
84
|
-
- "US-0041 blocked.
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
|
|
160
|
+
## Confirmation & Follow-up
|
|
94
161
|
|
|
95
|
-
|
|
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
|
|
104
|
-
{"label": "
|
|
105
|
-
{"label": "
|
|
106
|
-
{"label": "
|
|
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
|