agileflow 2.95.0 → 2.95.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.
- package/CHANGELOG.md +10 -0
- package/README.md +3 -3
- package/package.json +1 -1
- package/scripts/agileflow-welcome.js +1 -1
- package/scripts/babysit-context-restore.js +1 -1
- package/scripts/lib/configure-features.js +1 -1
- package/src/core/agents/configuration/precompact.md +1 -1
- package/src/core/agents/configuration-visual-e2e.md +1 -1
- package/src/core/commands/adr.md +1 -1
- package/src/core/commands/audit.md +9 -11
- package/src/core/commands/auto.md +4 -4
- package/src/core/commands/babysit.md +27 -13
- package/src/core/commands/baseline.md +4 -4
- package/src/core/commands/ci.md +5 -5
- package/src/core/commands/context/export.md +2 -2
- package/src/core/commands/context/full.md +5 -5
- package/src/core/commands/deploy.md +4 -4
- package/src/core/commands/docs.md +2 -2
- package/src/core/commands/epic.md +5 -5
- package/src/core/commands/feedback.md +2 -2
- package/src/core/commands/handoff.md +3 -3
- package/src/core/commands/packages.md +5 -5
- package/src/core/commands/pr.md +3 -3
- package/src/core/commands/research/analyze.md +1 -1
- package/src/core/commands/research/ask.md +1 -1
- package/src/core/commands/research/import.md +1 -1
- package/src/core/commands/research/synthesize.md +1 -1
- package/src/core/commands/retro.md +5 -5
- package/src/core/commands/review.md +2 -2
- package/src/core/commands/session/spawn.md +1 -1
- package/src/core/commands/sprint.md +5 -5
- package/src/core/commands/story-validate.md +3 -3
- package/src/core/commands/story.md +5 -5
- package/src/core/commands/tests.md +5 -5
- package/src/core/commands/verify.md +3 -3
- package/src/core/templates/preserve-rules-common.md +4 -4
- package/src/core/templates/preserve-rules.json +3 -3
- package/tools/cli/lib/content-injector.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.95.2] - 2026-02-01
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Fix damage control hook MODULE_NOT_FOUND error
|
|
14
|
+
|
|
15
|
+
## [2.95.1] - 2026-01-30
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fix stale doc counts and scoped npm audit
|
|
19
|
+
|
|
10
20
|
## [2.95.0] - 2026-01-30
|
|
11
21
|
|
|
12
22
|
### Added
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/agileflow)
|
|
6
|
-
[](docs/04-architecture/commands.md)
|
|
7
7
|
[](docs/04-architecture/subagents.md)
|
|
8
8
|
[](docs/04-architecture/skills.md)
|
|
9
9
|
|
|
@@ -65,7 +65,7 @@ AgileFlow combines three proven methodologies:
|
|
|
65
65
|
|
|
66
66
|
| Component | Count | Description |
|
|
67
67
|
|-----------|-------|-------------|
|
|
68
|
-
| [Commands](docs/04-architecture/commands.md) |
|
|
68
|
+
| [Commands](docs/04-architecture/commands.md) | 81 | Slash commands for agile workflows |
|
|
69
69
|
| [Agents/Experts](docs/04-architecture/subagents.md) | 34 | Specialized agents with self-improving knowledge bases |
|
|
70
70
|
| [Skills](docs/04-architecture/skills.md) | Dynamic | Generated on-demand with `/agileflow:skill:create` |
|
|
71
71
|
|
|
@@ -76,7 +76,7 @@ AgileFlow combines three proven methodologies:
|
|
|
76
76
|
Full documentation lives in [`docs/04-architecture/`](docs/04-architecture/):
|
|
77
77
|
|
|
78
78
|
### Reference
|
|
79
|
-
- [Commands](docs/04-architecture/commands.md) - All
|
|
79
|
+
- [Commands](docs/04-architecture/commands.md) - All 81 slash commands
|
|
80
80
|
- [Agents/Experts](docs/04-architecture/subagents.md) - 34 specialized agents with self-improving knowledge
|
|
81
81
|
- [Skills](docs/04-architecture/skills.md) - Dynamic skill generator with MCP integration
|
|
82
82
|
|
package/package.json
CHANGED
|
@@ -870,7 +870,7 @@ When \`/agileflow:babysit\` is active (check session-state.json), these rules ar
|
|
|
870
870
|
1. **ALWAYS end responses with the AskUserQuestion tool** - Not text like "What next?" but the ACTUAL TOOL CALL
|
|
871
871
|
2. **Use Plan Mode for non-trivial tasks** - Call \`EnterPlanMode\` before complex implementations
|
|
872
872
|
3. **Delegate complex work to domain experts** - Use \`Task\` tool with appropriate \`subagent_type\`
|
|
873
|
-
4. **Track progress with
|
|
873
|
+
4. **Track progress with TaskCreate/TaskUpdate** - For any task with 3+ steps
|
|
874
874
|
|
|
875
875
|
These rules persist across conversation compaction. Check \`docs/09-agents/session-state.json\` for active commands.
|
|
876
876
|
${marker}
|
|
@@ -66,7 +66,7 @@ function main() {
|
|
|
66
66
|
'\x1b[36m║\x1b[0m 3. Delegate complex work to domain experts \x1b[36m║\x1b[0m'
|
|
67
67
|
);
|
|
68
68
|
console.log(
|
|
69
|
-
'\x1b[36m║\x1b[0m 4. Track progress with
|
|
69
|
+
'\x1b[36m║\x1b[0m 4. Track progress with TaskCreate/TaskUpdate for 3+ step tasks \x1b[36m║\x1b[0m'
|
|
70
70
|
);
|
|
71
71
|
console.log(
|
|
72
72
|
'\x1b[36m║\x1b[0m \x1b[36m║\x1b[0m'
|
|
@@ -1157,7 +1157,7 @@ When \`/agileflow:babysit\` is active (check session-state.json), these rules ar
|
|
|
1157
1157
|
1. **ALWAYS end responses with the AskUserQuestion tool** - Not text like "What next?" but the ACTUAL TOOL CALL
|
|
1158
1158
|
2. **Use Plan Mode for non-trivial tasks** - Call \`EnterPlanMode\` before complex implementations
|
|
1159
1159
|
3. **Delegate complex work to domain experts** - Use \`Task\` tool with appropriate \`subagent_type\`
|
|
1160
|
-
4. **Track progress with
|
|
1160
|
+
4. **Track progress with TaskCreate/TaskUpdate** - For any task with 3+ steps
|
|
1161
1161
|
|
|
1162
1162
|
These rules persist across conversation compaction. Check \`docs/09-agents/session-state.json\` for active commands.
|
|
1163
1163
|
${CLAUDE_MD_MARKER}
|
|
@@ -18,7 +18,7 @@ compact_context:
|
|
|
18
18
|
- "Create screenshots/ directory for visual verification workflow"
|
|
19
19
|
- "Add test:e2e script to package.json"
|
|
20
20
|
- "All screenshots must be visually reviewed and renamed with 'verified-' prefix"
|
|
21
|
-
- "Use
|
|
21
|
+
- "Use TaskCreate/TaskUpdate to track all 8 setup steps"
|
|
22
22
|
- "Run example test after setup to verify it works"
|
|
23
23
|
state_fields:
|
|
24
24
|
- playwright_installed
|
package/src/core/commands/adr.md
CHANGED
|
@@ -205,7 +205,7 @@ Both are important - readers need full trade-off picture.
|
|
|
205
205
|
ROLE: ADR Writer
|
|
206
206
|
|
|
207
207
|
TODO LIST TRACKING
|
|
208
|
-
**CRITICAL**: Immediately create a todo list using
|
|
208
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track ADR creation:
|
|
209
209
|
```
|
|
210
210
|
1. Parse inputs (NUMBER, TITLE, CONTEXT, DECISION, CONSEQUENCES, LINKS)
|
|
211
211
|
2. Create docs/03-decisions/adr-<NUMBER>-<slug>.md from template
|
|
@@ -70,17 +70,15 @@ This gathers git status, stories/epics, session state, and registers for PreComp
|
|
|
70
70
|
|
|
71
71
|
**Tool Usage Examples**:
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
Task Tracking:
|
|
74
74
|
```xml
|
|
75
|
-
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
{"content": "Capture learnings", "status": "pending", "activeForm": "Capturing learnings"},
|
|
81
|
-
{"content": "Generate audit verdict and next steps", "status": "pending", "activeForm": "Generating verdict"}
|
|
82
|
-
]</parameter>
|
|
75
|
+
<!-- Create tasks for multi-step workflow -->
|
|
76
|
+
<invoke name="TaskCreate">
|
|
77
|
+
<parameter name="subject">Parse story ID and load story data</parameter>
|
|
78
|
+
<parameter name="description">Load story from status.json and verify it exists</parameter>
|
|
79
|
+
<parameter name="activeForm">Loading story</parameter>
|
|
83
80
|
</invoke>
|
|
81
|
+
<!-- Then use TaskUpdate with taskId to mark in_progress/completed -->
|
|
84
82
|
```
|
|
85
83
|
|
|
86
84
|
AskUserQuestion (AC Verification):
|
|
@@ -111,8 +109,8 @@ ROLE: Story Auditor
|
|
|
111
109
|
INPUTS
|
|
112
110
|
STORY=<US-ID> Required - story to audit
|
|
113
111
|
|
|
114
|
-
|
|
115
|
-
**CRITICAL**: Immediately create
|
|
112
|
+
TASK TRACKING
|
|
113
|
+
**CRITICAL**: Immediately create tasks using TaskCreate tool:
|
|
116
114
|
```
|
|
117
115
|
1. Parse story ID and load story data
|
|
118
116
|
2. Run project tests
|
|
@@ -5,7 +5,7 @@ compact_context:
|
|
|
5
5
|
priority: high
|
|
6
6
|
preserve_rules:
|
|
7
7
|
- "ACTIVE COMMAND: /agileflow:auto-story - Auto-generate stories from product artifacts"
|
|
8
|
-
- "CRITICAL: Use
|
|
8
|
+
- "CRITICAL: Use TaskCreate/TaskUpdate to track 10-step generation process immediately"
|
|
9
9
|
- "CRITICAL: Always preview BEFORE creating (AUTO_CREATE=no default)"
|
|
10
10
|
- "MUST generate stories with Given/When/Then Acceptance Criteria format"
|
|
11
11
|
- "MUST estimate using INVEST: 0.5d (simple) | 1d (standard) | 1.5d (complex) | 2d (refactor)"
|
|
@@ -46,9 +46,9 @@ node .agileflow/scripts/obtain-context.js auto
|
|
|
46
46
|
|
|
47
47
|
### Tool Usage Examples
|
|
48
48
|
|
|
49
|
-
**
|
|
49
|
+
**TaskCreate/TaskUpdate** (to track auto-generation):
|
|
50
50
|
```xml
|
|
51
|
-
<invoke name="
|
|
51
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
52
52
|
<parameter name="content">1. Read source file/URL
|
|
53
53
|
2. Identify document type (PRD, API spec, mockup, etc.)
|
|
54
54
|
3. Extract features and requirements
|
|
@@ -121,7 +121,7 @@ As a new user, I want to register with my email...
|
|
|
121
121
|
ROLE: Story Generator
|
|
122
122
|
|
|
123
123
|
TODO LIST TRACKING
|
|
124
|
-
**CRITICAL**: Immediately create a todo list using
|
|
124
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track auto-generation:
|
|
125
125
|
```
|
|
126
126
|
1. Read source file/URL
|
|
127
127
|
2. Identify document type (PRD, API spec, mockup, etc.)
|
|
@@ -52,7 +52,7 @@ This gathers: git status, stories/epics, session state, docs structure, research
|
|
|
52
52
|
**Key Rules:**
|
|
53
53
|
1. ALWAYS end responses with `AskUserQuestion` tool (not text questions)
|
|
54
54
|
2. Use `EnterPlanMode` before non-trivial implementation
|
|
55
|
-
3. Use `
|
|
55
|
+
3. Use `TaskCreate`/`TaskUpdate` to track multi-step tasks
|
|
56
56
|
|
|
57
57
|
---
|
|
58
58
|
|
|
@@ -312,9 +312,9 @@ Analysis/Review → /agileflow:multi-expert or Task(subagent_t
|
|
|
312
312
|
|
|
313
313
|
---
|
|
314
314
|
|
|
315
|
-
### 🚨 RULE #4: TRACK PROGRESS WITH
|
|
315
|
+
### 🚨 RULE #4: TRACK PROGRESS WITH Task Tools
|
|
316
316
|
|
|
317
|
-
Use
|
|
317
|
+
Use TaskCreate for any task with 3+ steps. Use TaskUpdate to mark status as you complete each step.
|
|
318
318
|
|
|
319
319
|
---
|
|
320
320
|
|
|
@@ -345,7 +345,7 @@ These rules MUST be followed during implementation:
|
|
|
345
345
|
1. **ALWAYS end your final response with AskUserQuestion tool** offering next steps
|
|
346
346
|
2. **Use EnterPlanMode** if any NEW non-trivial tasks arise during implementation
|
|
347
347
|
3. **Delegate complex work** to domain experts via Task tool
|
|
348
|
-
4. **Track progress** with
|
|
348
|
+
4. **Track progress** with TaskCreate/TaskUpdate for multi-step work
|
|
349
349
|
|
|
350
350
|
After implementation completes, you MUST call AskUserQuestion with options like:
|
|
351
351
|
- "Run tests to verify"
|
|
@@ -849,7 +849,7 @@ When stuck detection triggers:
|
|
|
849
849
|
1. ALWAYS end your final response with AskUserQuestion tool
|
|
850
850
|
2. Use EnterPlanMode if new non-trivial tasks arise
|
|
851
851
|
3. Delegate complex work to domain experts
|
|
852
|
-
4. Track progress with
|
|
852
|
+
4. Track progress with TaskCreate/TaskUpdate
|
|
853
853
|
|
|
854
854
|
After implementation, call AskUserQuestion with next step options.
|
|
855
855
|
|
|
@@ -973,18 +973,32 @@ Use AskUserQuestion at natural pause points (task completion, decision needed) b
|
|
|
973
973
|
</invoke>
|
|
974
974
|
```
|
|
975
975
|
|
|
976
|
-
###
|
|
976
|
+
### Task Tools (TaskCreate, TaskUpdate, TaskList, TaskGet)
|
|
977
977
|
|
|
978
|
-
**USE:** Track all workflow steps.
|
|
978
|
+
**USE:** Track all workflow steps. Create tasks with TaskCreate, update status with TaskUpdate.
|
|
979
979
|
|
|
980
980
|
```xml
|
|
981
|
-
|
|
982
|
-
<
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
]</parameter>
|
|
981
|
+
<!-- Create a task -->
|
|
982
|
+
<invoke name="TaskCreate">
|
|
983
|
+
<parameter name="subject">Run context script</parameter>
|
|
984
|
+
<parameter name="description">Gather project context using obtain-context.js</parameter>
|
|
985
|
+
<parameter name="activeForm">Running context script</parameter>
|
|
987
986
|
</invoke>
|
|
987
|
+
|
|
988
|
+
<!-- Mark task in progress -->
|
|
989
|
+
<invoke name="TaskUpdate">
|
|
990
|
+
<parameter name="taskId">1</parameter>
|
|
991
|
+
<parameter name="status">in_progress</parameter>
|
|
992
|
+
</invoke>
|
|
993
|
+
|
|
994
|
+
<!-- Mark task completed -->
|
|
995
|
+
<invoke name="TaskUpdate">
|
|
996
|
+
<parameter name="taskId">1</parameter>
|
|
997
|
+
<parameter name="status">completed</parameter>
|
|
998
|
+
</invoke>
|
|
999
|
+
|
|
1000
|
+
<!-- List all tasks -->
|
|
1001
|
+
<invoke name="TaskList"></invoke>
|
|
988
1002
|
```
|
|
989
1003
|
|
|
990
1004
|
### Task (Spawn Expert)
|
|
@@ -100,11 +100,11 @@ git checkout agileflow-baseline-20251222-143000
|
|
|
100
100
|
- Compare current state to baseline with `/agileflow:verify`
|
|
101
101
|
|
|
102
102
|
**Tools Used**:
|
|
103
|
-
-
|
|
103
|
+
- TaskCreate/TaskUpdate: Track 8-step baseline creation workflow
|
|
104
104
|
|
|
105
|
-
**
|
|
105
|
+
**TaskCreate/TaskUpdate Example**:
|
|
106
106
|
```xml
|
|
107
|
-
<invoke name="
|
|
107
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
108
108
|
<parameter name="content">
|
|
109
109
|
1. Run pre-flight checks (session harness, tests, git status, story tests)
|
|
110
110
|
2. Show baseline summary (what will be included)
|
|
@@ -152,7 +152,7 @@ Create a baseline marker (git tag + metadata) when all tests are passing and the
|
|
|
152
152
|
|
|
153
153
|
## TODO LIST TRACKING
|
|
154
154
|
|
|
155
|
-
**CRITICAL**: Immediately create a todo list using
|
|
155
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track baseline creation:
|
|
156
156
|
```
|
|
157
157
|
1. Run pre-flight checks (session harness, tests, git status, story tests)
|
|
158
158
|
2. Show baseline summary (what will be included)
|
package/src/core/commands/ci.md
CHANGED
|
@@ -36,11 +36,11 @@ Bootstrap minimal CI workflow and CODEOWNERS.
|
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
39
|
-
### 🚨 RULE #1: ALWAYS USE
|
|
39
|
+
### 🚨 RULE #1: ALWAYS USE TaskCreate/TaskUpdate FOR TRACKING
|
|
40
40
|
|
|
41
41
|
Track all 5 steps explicitly:
|
|
42
42
|
```xml
|
|
43
|
-
<invoke name="
|
|
43
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
44
44
|
<parameter name="content">
|
|
45
45
|
1. Parse OWNERS input (required, comma-separated)
|
|
46
46
|
2. Generate .github/workflows/ci.yml with 3 jobs
|
|
@@ -139,7 +139,7 @@ Both paths MUST include the parsed OWNERS.
|
|
|
139
139
|
✅ Include concurrency with cancel-in-progress
|
|
140
140
|
✅ Use minimal permissions (contents: read)
|
|
141
141
|
✅ Include both required path mappings
|
|
142
|
-
✅ Track with
|
|
142
|
+
✅ Track with TaskCreate/TaskUpdate for safety
|
|
143
143
|
|
|
144
144
|
---
|
|
145
145
|
|
|
@@ -208,7 +208,7 @@ Next steps:
|
|
|
208
208
|
- ALWAYS show diff-first before creating files
|
|
209
209
|
- Include lint, typecheck, test jobs
|
|
210
210
|
- Map both /src/ and /docs/03-decisions/ in CODEOWNERS
|
|
211
|
-
- Use
|
|
211
|
+
- Use TaskCreate/TaskUpdate to track 5 steps
|
|
212
212
|
- Display next steps for GitHub configuration
|
|
213
213
|
|
|
214
214
|
<!-- COMPACT_SUMMARY_END -->
|
|
@@ -218,7 +218,7 @@ Next steps:
|
|
|
218
218
|
ROLE: CI Bootstrapper
|
|
219
219
|
|
|
220
220
|
TODO LIST TRACKING
|
|
221
|
-
**CRITICAL**: Immediately create a todo list using
|
|
221
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track CI setup:
|
|
222
222
|
```
|
|
223
223
|
1. Parse input (OWNERS)
|
|
224
224
|
2. Create .github/workflows/ci.yml with lint/typecheck/test jobs
|
|
@@ -9,7 +9,7 @@ compact_context:
|
|
|
9
9
|
- "OUTPUT LIMIT: ≤300 lines maximum for easy pasting into web AI tools"
|
|
10
10
|
- "REQUIRED INPUT: docs/context.md must exist (run /agileflow:context:full first if missing)"
|
|
11
11
|
- "EXTRACT ONLY: overview, focus, tech, decisions, features, next steps (skip progress, notes)"
|
|
12
|
-
- "NO
|
|
12
|
+
- "NO TaskCreate/TaskUpdate needed - single-step read-only operation"
|
|
13
13
|
state_fields:
|
|
14
14
|
- context_file_exists
|
|
15
15
|
- output_line_count
|
|
@@ -285,7 +285,7 @@ Paste this excerpt into your web AI tool (ChatGPT, Perplexity, Gemini, etc.) to
|
|
|
285
285
|
|
|
286
286
|
- **LIMIT**: ≤300 lines total output
|
|
287
287
|
- **NO FILE WRITES**: This is read-only
|
|
288
|
-
- **NO
|
|
288
|
+
- **NO TaskCreate/TaskUpdate needed**: Simple single-step operation
|
|
289
289
|
|
|
290
290
|
---
|
|
291
291
|
|
|
@@ -5,7 +5,7 @@ compact_context:
|
|
|
5
5
|
priority: high
|
|
6
6
|
preserve_rules:
|
|
7
7
|
- "ACTIVE COMMAND: /agileflow:context:full - Generates docs/context.md for external AI tools"
|
|
8
|
-
- "ALWAYS create
|
|
8
|
+
- "ALWAYS create TaskCreate/TaskUpdate list for multi-step workflow tracking"
|
|
9
9
|
- "ALWAYS show diff BEFORE ANY file writes - wait for YES/NO confirmation"
|
|
10
10
|
- "PRESERVE user-written content - only update sections between MANAGED_SECTION markers"
|
|
11
11
|
- "REQUIRED SOURCES: status.json, bus/log.jsonl, epics, stories, ADRs, practices, architecture, CI, CHANGELOG"
|
|
@@ -56,12 +56,12 @@ node .agileflow/scripts/obtain-context.js context:full
|
|
|
56
56
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
|
-
### 🚨 RULE #1: ALWAYS START WITH
|
|
59
|
+
### 🚨 RULE #1: ALWAYS START WITH TaskCreate/TaskUpdate LIST
|
|
60
60
|
|
|
61
|
-
**Before ANY gathering, create
|
|
61
|
+
**Before ANY gathering, create TaskCreate/TaskUpdate to track workflow:**
|
|
62
62
|
|
|
63
63
|
```xml
|
|
64
|
-
<invoke name="
|
|
64
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
65
65
|
<parameter name="todos">[
|
|
66
66
|
{"content": "Read existing docs/context.md", "status": "in_progress", "activeForm": "Reading context file"},
|
|
67
67
|
{"content": "Gather sources (status.json, bus, epics, ADRs, practices, architecture, CI, CHANGELOG)", "status": "pending", "activeForm": "Gathering sources"},
|
|
@@ -234,7 +234,7 @@ Upon invocation, execute these steps:
|
|
|
234
234
|
### Step 1: Create Todo List
|
|
235
235
|
|
|
236
236
|
```xml
|
|
237
|
-
<invoke name="
|
|
237
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
238
238
|
<parameter name="todos">[
|
|
239
239
|
{"content": "Read existing docs/context.md", "status": "in_progress", "activeForm": "Reading context file"},
|
|
240
240
|
{"content": "Gather sources (status.json, bus, epics, ADRs)", "status": "pending", "activeForm": "Gathering sources"},
|
|
@@ -121,11 +121,11 @@ Both workflows deploy automatically on push.
|
|
|
121
121
|
|
|
122
122
|
---
|
|
123
123
|
|
|
124
|
-
### 🚨 RULE #6: USE
|
|
124
|
+
### 🚨 RULE #6: USE TaskCreate/TaskUpdate FOR TRACKING
|
|
125
125
|
|
|
126
126
|
Track all 8 steps explicitly:
|
|
127
127
|
```xml
|
|
128
|
-
<invoke name="
|
|
128
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
129
129
|
<parameter name="content">
|
|
130
130
|
1. Detect project type
|
|
131
131
|
2. Recommend platform
|
|
@@ -238,7 +238,7 @@ Secrets guide: docs/02-practices/secrets-management.md
|
|
|
238
238
|
- ALWAYS show preview before creating files
|
|
239
239
|
- Create BOTH staging and production (unless specified)
|
|
240
240
|
- Create .env.example template (never commit actual secrets)
|
|
241
|
-
- Use
|
|
241
|
+
- Use TaskCreate/TaskUpdate to track 8 steps
|
|
242
242
|
- Display next steps with exact commands
|
|
243
243
|
|
|
244
244
|
<!-- COMPACT_SUMMARY_END -->
|
|
@@ -248,7 +248,7 @@ Secrets guide: docs/02-practices/secrets-management.md
|
|
|
248
248
|
ROLE: Deployment Pipeline Configurator
|
|
249
249
|
|
|
250
250
|
TODO LIST TRACKING
|
|
251
|
-
**CRITICAL**: Immediately create a todo list using
|
|
251
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track deployment setup:
|
|
252
252
|
```
|
|
253
253
|
1. Detect project type (static, full-stack, mobile, containers, serverless)
|
|
254
254
|
2. Recommend platform based on project type
|
|
@@ -191,9 +191,9 @@ Returns JWT token and user profile.
|
|
|
191
191
|
|
|
192
192
|
### TOOL USAGE EXAMPLES
|
|
193
193
|
|
|
194
|
-
**
|
|
194
|
+
**TaskCreate/TaskUpdate** (to track sync process):
|
|
195
195
|
```xml
|
|
196
|
-
<invoke name="
|
|
196
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
197
197
|
<parameter name="content">1. Get git diff between BASE and BRANCH
|
|
198
198
|
2. Categorize changes (API, UI, services, config, DB)
|
|
199
199
|
3. Map to expected documentation locations
|
|
@@ -5,7 +5,7 @@ compact_context:
|
|
|
5
5
|
priority: high
|
|
6
6
|
preserve_rules:
|
|
7
7
|
- "ACTIVE COMMAND: /agileflow:epic-new - Epic creator for feature planning"
|
|
8
|
-
- "{{RULES:
|
|
8
|
+
- "{{RULES:task_tracking}}"
|
|
9
9
|
- "{{RULES:file_preview}}"
|
|
10
10
|
- "{{RULES:json_operations}}"
|
|
11
11
|
- "{{RULES:user_confirmation}}"
|
|
@@ -43,11 +43,11 @@ Create a new epic with optional child stories.
|
|
|
43
43
|
|
|
44
44
|
---
|
|
45
45
|
|
|
46
|
-
### 🚨 RULE #1: ALWAYS Create
|
|
46
|
+
### 🚨 RULE #1: ALWAYS Create TaskCreate/TaskUpdate Task List FIRST
|
|
47
47
|
|
|
48
48
|
Create a 6-step task list IMMEDIATELY:
|
|
49
49
|
```xml
|
|
50
|
-
<invoke name="
|
|
50
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
51
51
|
<parameter name="content">1. Parse inputs (EPIC, TITLE, OWNER, GOAL, STORIES)
|
|
52
52
|
2. Create epic file from template
|
|
53
53
|
3. For each story: create docs/06-stories/<EPIC>/<US_ID>-<slug>.md
|
|
@@ -183,7 +183,7 @@ RESEARCH=<file> # Research note filename (optional)
|
|
|
183
183
|
- ALWAYS parse and validate STORIES input (triplet format)
|
|
184
184
|
- ALWAYS preview before confirming (prevents mistakes)
|
|
185
185
|
- ALWAYS validate JSON after merge (prevents corruption)
|
|
186
|
-
- Use
|
|
186
|
+
- Use TaskCreate/TaskUpdate for step tracking (6 steps)
|
|
187
187
|
- Files: epic file, N story files, status.json, bus/log.jsonl
|
|
188
188
|
- **RESEARCH-FIRST**: For complex epics (3+ stories), validate research exists; suggest /agileflow:research:ask if missing
|
|
189
189
|
|
|
@@ -197,7 +197,7 @@ OBJECTIVE
|
|
|
197
197
|
Analyze feature requirements and create structured epics with associated stories. Evaluate story breakdown, assess dependencies, and consider implementation sequencing to ensure comprehensive planning.
|
|
198
198
|
|
|
199
199
|
TODO LIST TRACKING
|
|
200
|
-
**CRITICAL**: Immediately create a todo list using
|
|
200
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track epic creation:
|
|
201
201
|
```
|
|
202
202
|
1. Parse inputs (EPIC, TITLE, OWNER, GOAL, STORIES)
|
|
203
203
|
2. Create docs/05-epics/<EPIC>.md from template
|
|
@@ -180,9 +180,9 @@ Suggested Story: "US-XXXX: Improve story template with AC examples"
|
|
|
180
180
|
|
|
181
181
|
### TOOL USAGE EXAMPLES
|
|
182
182
|
|
|
183
|
-
**
|
|
183
|
+
**TaskCreate/TaskUpdate** (to track feedback process):
|
|
184
184
|
```xml
|
|
185
|
-
<invoke name="
|
|
185
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
186
186
|
<parameter name="content">1. Determine scope and required inputs
|
|
187
187
|
2. Ask for feedback (optional)
|
|
188
188
|
3. If YES: Show form with pre-filled context
|
|
@@ -178,9 +178,9 @@ Fields:
|
|
|
178
178
|
|
|
179
179
|
### TOOL USAGE EXAMPLES
|
|
180
180
|
|
|
181
|
-
**
|
|
181
|
+
**TaskCreate/TaskUpdate** (to track handoff creation):
|
|
182
182
|
```xml
|
|
183
|
-
<invoke name="
|
|
183
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
184
184
|
<parameter name="content">1. Parse inputs (STORY, FROM, TO, SUMMARY, BLOCKERS)
|
|
185
185
|
2. Generate handoff note from template
|
|
186
186
|
3. Generate bus log JSON line
|
|
@@ -223,7 +223,7 @@ Fields:
|
|
|
223
223
|
ROLE: Handoff Scribe
|
|
224
224
|
|
|
225
225
|
TODO LIST TRACKING
|
|
226
|
-
**CRITICAL**: Immediately create a todo list using
|
|
226
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track handoff documentation:
|
|
227
227
|
```
|
|
228
228
|
1. Parse inputs (STORY, FROM, TO, SUMMARY, BLOCKERS)
|
|
229
229
|
2. Create docs/09-agents/comms/<STORY>-<YYYYMMDD>-handoff.md
|
|
@@ -5,7 +5,7 @@ compact_context:
|
|
|
5
5
|
priority: high
|
|
6
6
|
preserve_rules:
|
|
7
7
|
- "Auto-detect package manager (npm, pip, cargo, etc.) from manifest files"
|
|
8
|
-
- "MUST use
|
|
8
|
+
- "MUST use TaskCreate/TaskUpdate to track 8-step workflow (inputs, detect, analyze, generate, preview, confirm, apply, save)"
|
|
9
9
|
- "ALWAYS show diff-first before applying updates (YES/NO confirmation)"
|
|
10
10
|
- "Prioritize security updates - run ACTION=audit first if vulnerabilities suspected"
|
|
11
11
|
- "For major updates: Create stories, don't auto-update (may require code changes)"
|
|
@@ -71,11 +71,11 @@ node .agileflow/scripts/obtain-context.js packages
|
|
|
71
71
|
- **Related**: Security audits, CI integration, Dependabot config
|
|
72
72
|
|
|
73
73
|
**Tools Used**:
|
|
74
|
-
-
|
|
74
|
+
- TaskCreate/TaskUpdate: Track 8-step dependency management workflow
|
|
75
75
|
|
|
76
|
-
**
|
|
76
|
+
**TaskCreate/TaskUpdate Example**:
|
|
77
77
|
```xml
|
|
78
|
-
<invoke name="
|
|
78
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
79
79
|
<parameter name="content">
|
|
80
80
|
1. Parse inputs (ACTION, SCOPE, OUTPUT, INCLUDE_DEV, SAVE_TO, AUTO_PR)
|
|
81
81
|
2. Detect package manager(s) (npm, pip, cargo, etc.)
|
|
@@ -99,7 +99,7 @@ node .agileflow/scripts/obtain-context.js packages
|
|
|
99
99
|
ROLE: Package Dependency Manager
|
|
100
100
|
|
|
101
101
|
TODO LIST TRACKING
|
|
102
|
-
**CRITICAL**: Immediately create a todo list using
|
|
102
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track package management:
|
|
103
103
|
```
|
|
104
104
|
1. Parse inputs (ACTION, SCOPE, OUTPUT, INCLUDE_DEV, SAVE_TO, AUTO_PR)
|
|
105
105
|
2. Detect package manager(s) (npm, pip, cargo, etc.)
|
package/src/core/commands/pr.md
CHANGED
|
@@ -155,9 +155,9 @@ Suggest a commit message following conventional format:
|
|
|
155
155
|
|
|
156
156
|
### TOOL USAGE EXAMPLES
|
|
157
157
|
|
|
158
|
-
**
|
|
158
|
+
**TaskCreate/TaskUpdate** (to track PR generation):
|
|
159
159
|
```xml
|
|
160
|
-
<invoke name="
|
|
160
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
161
161
|
<parameter name="content">1. Parse inputs (STORY, TITLE, AC_CHECKED, TEST_EVIDENCE, NOTES)
|
|
162
162
|
2. Read story file from docs/06-stories/
|
|
163
163
|
3. Extract: epic, summary, deps, AC
|
|
@@ -206,7 +206,7 @@ Generate a complete PR description from story and test evidence.
|
|
|
206
206
|
ROLE: PR Author
|
|
207
207
|
|
|
208
208
|
TODO LIST TRACKING
|
|
209
|
-
**CRITICAL**: Immediately create a todo list using
|
|
209
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track PR description generation:
|
|
210
210
|
```
|
|
211
211
|
1. Parse inputs (STORY, TITLE, AC_CHECKED, TEST_EVIDENCE, NOTES)
|
|
212
212
|
2. Read story file to extract epic/summary/deps
|
|
@@ -340,7 +340,7 @@ Upon invocation, execute these steps:
|
|
|
340
340
|
### Step 1: Create Todo List
|
|
341
341
|
|
|
342
342
|
```xml
|
|
343
|
-
<invoke name="
|
|
343
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
344
344
|
<parameter name="todos">[
|
|
345
345
|
{"content": "Select research note", "status": "in_progress", "activeForm": "Selecting research"},
|
|
346
346
|
{"content": "Assess file and display research summary", "status": "pending", "activeForm": "Showing summary"},
|
|
@@ -396,7 +396,7 @@ Upon invocation, execute these steps:
|
|
|
396
396
|
### Step 1: Create Todo List
|
|
397
397
|
|
|
398
398
|
```xml
|
|
399
|
-
<invoke name="
|
|
399
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
400
400
|
<parameter name="todos">[
|
|
401
401
|
{"content": "Gather codebase context", "status": "in_progress", "activeForm": "Gathering context"},
|
|
402
402
|
{"content": "Extract relevant code snippets", "status": "pending", "activeForm": "Extracting code"},
|
|
@@ -464,7 +464,7 @@ Upon invocation, execute these steps:
|
|
|
464
464
|
### Step 1: Create Todo List
|
|
465
465
|
|
|
466
466
|
```xml
|
|
467
|
-
<invoke name="
|
|
467
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
468
468
|
<parameter name="todos">[
|
|
469
469
|
{"content": "Validate TOPIC and CONTENT", "status": "in_progress", "activeForm": "Validating inputs"},
|
|
470
470
|
{"content": "Analyze and summarize content", "status": "pending", "activeForm": "Analyzing content"},
|
|
@@ -310,7 +310,7 @@ Upon invocation, execute these steps:
|
|
|
310
310
|
### Step 1: Create Todo List
|
|
311
311
|
|
|
312
312
|
```xml
|
|
313
|
-
<invoke name="
|
|
313
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
314
314
|
<parameter name="todos">[
|
|
315
315
|
{"content": "Validate TOPIC or FILES input", "status": "in_progress", "activeForm": "Validating inputs"},
|
|
316
316
|
{"content": "Search/select research files", "status": "pending", "activeForm": "Selecting files"},
|
|
@@ -6,7 +6,7 @@ compact_context:
|
|
|
6
6
|
priority: medium
|
|
7
7
|
preserve_rules:
|
|
8
8
|
- "ACTIVE COMMAND: /agileflow:retro - Retrospective facilitator (read-only analysis)"
|
|
9
|
-
- "{{RULES:
|
|
9
|
+
- "{{RULES:task_tracking}}"
|
|
10
10
|
- "MUST focus on TEAM-LEVEL patterns (never individual blame)"
|
|
11
11
|
- "MUST balance positive (Continue) with improvements (Start/Stop)"
|
|
12
12
|
- "MUST use DATA to drive insights (no opinions without evidence)"
|
|
@@ -44,11 +44,11 @@ Automated retrospective generator that analyzes patterns and surfaces insights f
|
|
|
44
44
|
|
|
45
45
|
---
|
|
46
46
|
|
|
47
|
-
### 🚨 RULE #1: ALWAYS Create
|
|
47
|
+
### 🚨 RULE #1: ALWAYS Create TaskCreate/TaskUpdate Task List FIRST
|
|
48
48
|
|
|
49
49
|
Create 9-step task list immediately:
|
|
50
50
|
```xml
|
|
51
|
-
<invoke name="
|
|
51
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
52
52
|
<parameter name="content">1. Load data sources (bus/log.jsonl, status.json, stories, velocity)
|
|
53
53
|
2. Analyze what went well (velocity, cycles, completions, estimation)
|
|
54
54
|
3. Analyze improvements (velocity drops, cycles, WIP, blockers)
|
|
@@ -159,7 +159,7 @@ After displaying retrospective:
|
|
|
159
159
|
## REMEMBER AFTER COMPACTION
|
|
160
160
|
|
|
161
161
|
- Command is read-only (analyzes data, no updates)
|
|
162
|
-
- Creates 9-step
|
|
162
|
+
- Creates 9-step TaskCreate/TaskUpdate task list (tracks progress)
|
|
163
163
|
- Focuses on TEAM-LEVEL patterns (never individual blame)
|
|
164
164
|
- Balances Continue/Start/Stop with data evidence
|
|
165
165
|
- Generates retrospective report with Start/Stop/Continue format
|
|
@@ -175,7 +175,7 @@ After displaying retrospective:
|
|
|
175
175
|
ROLE: Retrospective Facilitator
|
|
176
176
|
|
|
177
177
|
TODO LIST TRACKING
|
|
178
|
-
**CRITICAL**: Immediately create a todo list using
|
|
178
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track retrospective generation:
|
|
179
179
|
```
|
|
180
180
|
1. Load data sources (bus/log.jsonl, status.json, story data, velocity data)
|
|
181
181
|
2. Analyze what went well (velocity, cycle time, epic completion, estimation)
|
|
@@ -182,9 +182,9 @@ Include:
|
|
|
182
182
|
|
|
183
183
|
### TOOL USAGE EXAMPLES
|
|
184
184
|
|
|
185
|
-
**
|
|
185
|
+
**TaskCreate/TaskUpdate** (to track review progress):
|
|
186
186
|
```xml
|
|
187
|
-
<invoke name="
|
|
187
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
188
188
|
<parameter name="content">1. Get git diff between BASE and BRANCH
|
|
189
189
|
2. Analyze code for 6 categories
|
|
190
190
|
3. Identify issues and prioritize by severity
|
|
@@ -62,7 +62,7 @@ At least one of `--count`, `--branches`, or `--from-epic` is required.
|
|
|
62
62
|
### Step 2: Create Todo List
|
|
63
63
|
|
|
64
64
|
```xml
|
|
65
|
-
<invoke name="
|
|
65
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
66
66
|
<parameter name="todos">[
|
|
67
67
|
{"content": "Validate arguments", "status": "in_progress", "activeForm": "Validating arguments"},
|
|
68
68
|
{"content": "Create parallel sessions", "status": "pending", "activeForm": "Creating sessions"},
|
|
@@ -6,7 +6,7 @@ compact_context:
|
|
|
6
6
|
priority: critical
|
|
7
7
|
preserve_rules:
|
|
8
8
|
- "ACTIVE COMMAND: /agileflow:sprint-plan - Sprint planner with capacity analysis"
|
|
9
|
-
- "{{RULES:
|
|
9
|
+
- "{{RULES:task_tracking}}"
|
|
10
10
|
- "MUST calculate historical velocity from last 30 days (bus/log.jsonl)"
|
|
11
11
|
- "MUST respect WIP limits (max 2 in-progress per agent)"
|
|
12
12
|
- "MUST validate dependencies resolved (only select stories with all deps status=done)"
|
|
@@ -29,7 +29,7 @@ This section is extracted by the PreCompact hook to preserve essential context a
|
|
|
29
29
|
Sprint Planner that creates data-driven sprint commitments based on historical velocity, agent capacity, and dependency validation.
|
|
30
30
|
|
|
31
31
|
### Critical Behavioral Rules
|
|
32
|
-
- **ALWAYS create a
|
|
32
|
+
- **ALWAYS create a TaskCreate/TaskUpdate list** with 8 steps before starting sprint planning
|
|
33
33
|
- **Load knowledge sources silently first** (status.json, bus/log.jsonl, backlog.md, roadmap.md, milestones.md, epics, stories)
|
|
34
34
|
- **Calculate historical velocity** from last 30 days of completed stories in bus/log.jsonl before selecting stories
|
|
35
35
|
- **Respect WIP limits**: Max 2 stories in-progress per agent
|
|
@@ -80,9 +80,9 @@ Sprint Planner that creates data-driven sprint commitments based on historical v
|
|
|
80
80
|
|
|
81
81
|
**Tool Usage Examples**:
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
TaskCreate/TaskUpdate:
|
|
84
84
|
```xml
|
|
85
|
-
<invoke name="
|
|
85
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
86
86
|
<parameter name="content">1. Load knowledge sources (status.json, bus log, backlog)
|
|
87
87
|
2. Analyze agent capacity and WIP
|
|
88
88
|
3. Calculate historical velocity (last 30 days)
|
|
@@ -130,7 +130,7 @@ This gathers git status, stories/epics, session state, and registers for PreComp
|
|
|
130
130
|
ROLE: Sprint Planner
|
|
131
131
|
|
|
132
132
|
TODO LIST TRACKING
|
|
133
|
-
**CRITICAL**: Immediately create a todo list using
|
|
133
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track sprint planning:
|
|
134
134
|
```
|
|
135
135
|
1. Load knowledge sources (status.json, bus/log.jsonl, backlog, roadmap, epics, stories)
|
|
136
136
|
2. Analyze current state (agent capacity, backlog health)
|
|
@@ -70,9 +70,9 @@ node .agileflow/scripts/obtain-context.js story-validate
|
|
|
70
70
|
|
|
71
71
|
**Tool Usage Examples**:
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
TaskCreate/TaskUpdate:
|
|
74
74
|
```xml
|
|
75
|
-
<invoke name="
|
|
75
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
76
76
|
<parameter name="content">1. Parse story ID from input
|
|
77
77
|
2. Load story file from docs/06-stories/
|
|
78
78
|
3. Parse YAML frontmatter and extract sections
|
|
@@ -108,7 +108,7 @@ AskUserQuestion:
|
|
|
108
108
|
ROLE: Story Validator
|
|
109
109
|
|
|
110
110
|
TODO LIST TRACKING
|
|
111
|
-
**CRITICAL**: Immediately create a todo list using
|
|
111
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track story validation:
|
|
112
112
|
```
|
|
113
113
|
1. Parse story ID from input or ask user
|
|
114
114
|
2. Load story file from docs/06-stories/
|
|
@@ -5,7 +5,7 @@ compact_context:
|
|
|
5
5
|
priority: high
|
|
6
6
|
preserve_rules:
|
|
7
7
|
- "ACTIVE COMMAND: /agileflow:story-new - Story creator with acceptance criteria"
|
|
8
|
-
- "{{RULES:
|
|
8
|
+
- "{{RULES:task_tracking}}"
|
|
9
9
|
- "{{RULES:file_preview}}"
|
|
10
10
|
- "{{RULES:json_operations}}"
|
|
11
11
|
- "{{RULES:user_confirmation}}"
|
|
@@ -46,11 +46,11 @@ node .agileflow/scripts/obtain-context.js story
|
|
|
46
46
|
|
|
47
47
|
---
|
|
48
48
|
|
|
49
|
-
### 🚨 RULE #1: ALWAYS Create
|
|
49
|
+
### 🚨 RULE #1: ALWAYS Create TaskCreate/TaskUpdate Task List FIRST
|
|
50
50
|
|
|
51
51
|
Create a task list IMMEDIATELY (7 steps if TDD=true, 6 steps otherwise):
|
|
52
52
|
```xml
|
|
53
|
-
<invoke name="
|
|
53
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
54
54
|
<parameter name="content">1. Parse inputs (EPIC, STORY, TITLE, OWNER, ESTIMATE, AC)
|
|
55
55
|
2. Create story file from template
|
|
56
56
|
3. Create test case stub
|
|
@@ -246,7 +246,7 @@ TDD=true|false # TDD mode (smart default: true for code owners, fals
|
|
|
246
246
|
- ALWAYS create test stub referencing AC
|
|
247
247
|
- ALWAYS preview before confirming (prevents mistakes)
|
|
248
248
|
- ALWAYS validate JSON after merge (prevents corruption)
|
|
249
|
-
- Use
|
|
249
|
+
- Use TaskCreate/TaskUpdate for step tracking (6 steps, or 7 if TDD=true)
|
|
250
250
|
- Files: story file, test file, status.json, bus/log.jsonl
|
|
251
251
|
- **TDD=true**: Also create framework-specific test code in `__tests__/` with pending tests
|
|
252
252
|
|
|
@@ -272,7 +272,7 @@ ROLE: Story Creator
|
|
|
272
272
|
```
|
|
273
273
|
|
|
274
274
|
TODO LIST TRACKING
|
|
275
|
-
**CRITICAL**: Immediately create a todo list using
|
|
275
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track story creation:
|
|
276
276
|
```
|
|
277
277
|
1. Parse inputs (EPIC, STORY, TITLE, OWNER, ESTIMATE, DEPENDENCIES, AC)
|
|
278
278
|
2. Create docs/06-stories/<EPIC>/<STORY>-<slug>.md from template
|
|
@@ -5,7 +5,7 @@ compact_context:
|
|
|
5
5
|
priority: high
|
|
6
6
|
preserve_rules:
|
|
7
7
|
- "Auto-detect language/runtime and testing framework (Node.js→Jest, Python→pytest, Ruby→RSpec, etc.)"
|
|
8
|
-
- "MUST use
|
|
8
|
+
- "MUST use TaskCreate/TaskUpdate to track all 10 steps (detect, check existing, install, config, examples, structure, scripts, CI, docs, run)"
|
|
9
9
|
- "Always show diff-first preview before creating files"
|
|
10
10
|
- "Create working example tests (unit, integration, E2E if requested) - not just config"
|
|
11
11
|
- "Set reasonable coverage thresholds (70%, not 100%)"
|
|
@@ -43,11 +43,11 @@ node .agileflow/scripts/obtain-context.js tests
|
|
|
43
43
|
|
|
44
44
|
---
|
|
45
45
|
|
|
46
|
-
### 🚨 RULE #1: ALWAYS USE
|
|
46
|
+
### 🚨 RULE #1: ALWAYS USE TaskCreate/TaskUpdate FOR 10 STEPS
|
|
47
47
|
|
|
48
48
|
Track all steps explicitly:
|
|
49
49
|
```xml
|
|
50
|
-
<invoke name="
|
|
50
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
51
51
|
<parameter name="content">
|
|
52
52
|
1. Detect language/runtime and framework
|
|
53
53
|
2. Check existing test setup
|
|
@@ -264,7 +264,7 @@ tests/
|
|
|
264
264
|
- ALWAYS create working example tests (not just config)
|
|
265
265
|
- Set reasonable coverage (70%, not 100%)
|
|
266
266
|
- Run tests after setup to verify they pass
|
|
267
|
-
- Use
|
|
267
|
+
- Use TaskCreate/TaskUpdate to track 10 steps
|
|
268
268
|
- Integrate with CI immediately
|
|
269
269
|
- Create docs/02-practices/testing.md
|
|
270
270
|
|
|
@@ -290,7 +290,7 @@ ACTIONS
|
|
|
290
290
|
8) Run tests to verify setup
|
|
291
291
|
|
|
292
292
|
TODO LIST TRACKING
|
|
293
|
-
**CRITICAL**: Immediately create a todo list using
|
|
293
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track test infrastructure setup:
|
|
294
294
|
```
|
|
295
295
|
1. Detect language/runtime and framework
|
|
296
296
|
2. Check existing test setup
|
|
@@ -89,9 +89,9 @@ This gathers git status, stories/epics, session state, and registers for PreComp
|
|
|
89
89
|
|
|
90
90
|
**Tool Usage Examples**:
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
TaskCreate/TaskUpdate:
|
|
93
93
|
```xml
|
|
94
|
-
<invoke name="
|
|
94
|
+
<invoke name="TaskCreate/TaskUpdate">
|
|
95
95
|
<parameter name="content">1. Run pre-flight checks (session harness initialized)
|
|
96
96
|
2. Load test configuration from environment.json
|
|
97
97
|
3. Execute test command with timeout
|
|
@@ -135,7 +135,7 @@ Execute project tests and update `test_status` for stories in `docs/09-agents/st
|
|
|
135
135
|
|
|
136
136
|
## TODO LIST TRACKING
|
|
137
137
|
|
|
138
|
-
**CRITICAL**: Immediately create a todo list using
|
|
138
|
+
**CRITICAL**: Immediately create a todo list using TaskCreate/TaskUpdate tool to track test verification:
|
|
139
139
|
```
|
|
140
140
|
1. Run pre-flight checks (session harness initialized)
|
|
141
141
|
2. Load configuration from docs/00-meta/environment.json
|
|
@@ -43,12 +43,12 @@ Rules for using AskUserQuestion tool
|
|
|
43
43
|
- "Options: YES to confirm, NO to cancel, or specific choices"
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
###
|
|
47
|
-
Rules for using
|
|
46
|
+
### task_tracking
|
|
47
|
+
Rules for using Task management tools (TaskCreate, TaskUpdate, TaskList, TaskGet)
|
|
48
48
|
|
|
49
49
|
```
|
|
50
|
-
- "MUST
|
|
51
|
-
- "
|
|
50
|
+
- "MUST use TaskCreate for 3+ step workflows, TaskUpdate to mark progress"
|
|
51
|
+
- "Set status: in_progress when starting, completed when done"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
### bus_messaging
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"MUST use AskUserQuestion tool for user decisions (not text prompts)",
|
|
12
12
|
"Options: YES to confirm, NO to cancel, or specific choices"
|
|
13
13
|
],
|
|
14
|
-
"
|
|
15
|
-
"MUST
|
|
16
|
-
"
|
|
14
|
+
"task_tracking": [
|
|
15
|
+
"MUST use TaskCreate for 3+ step workflows, TaskUpdate to mark progress",
|
|
16
|
+
"Set status: in_progress when starting, completed when done"
|
|
17
17
|
],
|
|
18
18
|
"bus_messaging": [
|
|
19
19
|
"MUST append status update to docs/09-agents/bus/log.jsonl",
|
|
@@ -721,7 +721,7 @@ function getPlaceholderDocs() {
|
|
|
721
721
|
'{{RULES:json_operations}}': 'Rules for safe JSON file modifications',
|
|
722
722
|
'{{RULES:file_preview}}': 'Rules for showing previews before writing',
|
|
723
723
|
'{{RULES:user_confirmation}}': 'Rules for using AskUserQuestion tool',
|
|
724
|
-
'{{RULES:
|
|
724
|
+
'{{RULES:task_tracking}}': 'Rules for using TaskCreate/TaskUpdate tool',
|
|
725
725
|
'{{RULES:bus_messaging}}': 'Rules for bus message logging',
|
|
726
726
|
'{{RULES:plan_mode}}': 'Rules for using EnterPlanMode',
|
|
727
727
|
'{{RULES:commit_approval}}': 'Rules about git commits',
|