agileflow 2.42.0 → 2.43.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 (66) hide show
  1. package/package.json +1 -1
  2. package/src/core/agents/accessibility.md +8 -0
  3. package/src/core/agents/adr-writer.md +8 -0
  4. package/src/core/agents/analytics.md +8 -0
  5. package/src/core/agents/api.md +8 -2
  6. package/src/core/agents/ci.md +8 -0
  7. package/src/core/agents/compliance.md +8 -0
  8. package/src/core/agents/configuration/archival.md +23 -1
  9. package/src/core/agents/configuration/attribution.md +22 -1
  10. package/src/core/agents/configuration/ci.md +23 -1
  11. package/src/core/agents/configuration/git-config.md +23 -1
  12. package/src/core/agents/configuration/hooks.md +22 -1
  13. package/src/core/agents/configuration/precompact.md +8 -0
  14. package/src/core/agents/configuration/status-line.md +93 -13
  15. package/src/core/agents/configuration/verify.md +23 -1
  16. package/src/core/agents/database.md +8 -2
  17. package/src/core/agents/datamigration.md +8 -0
  18. package/src/core/agents/design.md +8 -0
  19. package/src/core/agents/devops.md +8 -2
  20. package/src/core/agents/documentation.md +8 -0
  21. package/src/core/agents/epic-planner.md +8 -0
  22. package/src/core/agents/integrations.md +8 -0
  23. package/src/core/agents/mentor.md +8 -3
  24. package/src/core/agents/mobile.md +8 -0
  25. package/src/core/agents/monitoring.md +8 -0
  26. package/src/core/agents/multi-expert.md +8 -0
  27. package/src/core/agents/performance.md +8 -2
  28. package/src/core/agents/product.md +8 -0
  29. package/src/core/agents/qa.md +8 -0
  30. package/src/core/agents/readme-updater.md +8 -0
  31. package/src/core/agents/refactor.md +8 -2
  32. package/src/core/agents/research.md +8 -0
  33. package/src/core/agents/security.md +8 -2
  34. package/src/core/agents/testing.md +8 -0
  35. package/src/core/agents/ui.md +8 -2
  36. package/src/core/commands/adr.md +2 -13
  37. package/src/core/commands/agent.md +2 -13
  38. package/src/core/commands/assign.md +2 -13
  39. package/src/core/commands/auto.md +2 -13
  40. package/src/core/commands/babysit.md +94 -88
  41. package/src/core/commands/baseline.md +2 -13
  42. package/src/core/commands/blockers.md +4 -13
  43. package/src/core/commands/board.md +4 -13
  44. package/src/core/commands/deps.md +4 -15
  45. package/src/core/commands/docs.md +2 -15
  46. package/src/core/commands/epic.md +4 -15
  47. package/src/core/commands/help.md +3 -14
  48. package/src/core/commands/metrics.md +4 -15
  49. package/src/core/commands/packages.md +3 -14
  50. package/src/core/commands/pr.md +4 -13
  51. package/src/core/commands/readme-sync.md +7 -24
  52. package/src/core/commands/research.md +3 -14
  53. package/src/core/commands/retro.md +4 -15
  54. package/src/core/commands/sprint.md +8 -0
  55. package/src/core/commands/status.md +5 -14
  56. package/src/core/commands/story-validate.md +3 -14
  57. package/src/core/commands/story.md +17 -17
  58. package/src/core/commands/template.md +2 -15
  59. package/src/core/commands/tests.md +2 -15
  60. package/src/core/commands/update.md +2 -15
  61. package/src/core/commands/validate-expertise.md +2 -15
  62. package/src/core/commands/velocity.md +4 -15
  63. package/src/core/commands/verify.md +4 -15
  64. package/src/core/templates/agileflow-configure.js +123 -2
  65. package/src/core/templates/agileflow-metadata.json +12 -0
  66. package/src/core/templates/agileflow-statusline.sh +238 -44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agileflow",
3
- "version": "2.42.0",
3
+ "version": "2.43.0",
4
4
  "description": "AI-driven agile development system for Claude Code, Cursor, Windsurf, and more",
5
5
  "keywords": [
6
6
  "agile",
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js accessibility
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  # AG-ACCESSIBILITY Quick Reference
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js adr-writer
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  # ADR-WRITER Quick Reference
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js analytics
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  # AG-ANALYTICS Quick Reference
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js api
12
+ ```
13
+
14
+ ---
15
+
8
16
  **⚡ Execution Policy**: Slash commands are autonomous (run without asking), file operations require diff + YES/NO confirmation. See CLAUDE.md Command Safety Policy for full details.
9
17
 
10
18
  <!-- COMPACT_SUMMARY_START -->
@@ -433,8 +441,6 @@ RESEARCH INTEGRATION
433
441
 
434
442
  PLAN MODE FOR COMPLEX API WORK
435
443
 
436
- **Reference**: `@docs/02-practices/plan-mode.md`
437
-
438
444
  Before implementing, evaluate complexity:
439
445
 
440
446
  | Situation | Action |
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js ci
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  # AG-CI Quick Reference
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js compliance
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  # AG-COMPLIANCE Quick Reference
10
18
 
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-archival
19
+ ```
20
+
21
+ ---
22
+
15
23
  # Configuration Agent: Auto-Archival System
16
24
 
17
25
  Configure auto-archival system to manage status.json file size.
@@ -20,7 +28,21 @@ Configure auto-archival system to manage status.json file size.
20
28
 
21
29
  ROLE: Auto-Archival Configurator
22
30
 
23
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
31
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
32
+ ```xml
33
+ <invoke name="AskUserQuestion">
34
+ <parameter name="questions">[{
35
+ "question": "How many days before archiving completed stories?",
36
+ "header": "Threshold",
37
+ "multiSelect": false,
38
+ "options": [
39
+ {"label": "7 days (Recommended)", "description": "Archive after 1 week"},
40
+ {"label": "14 days", "description": "Archive after 2 weeks"},
41
+ {"label": "30 days", "description": "Archive after 1 month"}
42
+ ]
43
+ }]</parameter>
44
+ </invoke>
45
+ ```
24
46
 
25
47
  OBJECTIVE
26
48
  Configure the auto-archival system that prevents `docs/09-agents/status.json` from exceeding Claude Code's token limit by automatically moving old completed stories to an archive.
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-attribution
19
+ ```
20
+
21
+ ---
22
+
15
23
  # Configuration Agent: Attribution Settings
16
24
 
17
25
  Configure CLAUDE.md file with git attribution preferences.
@@ -20,7 +28,20 @@ Configure CLAUDE.md file with git attribution preferences.
20
28
 
21
29
  ROLE: Attribution Configurator
22
30
 
23
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
31
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
32
+ ```xml
33
+ <invoke name="AskUserQuestion">
34
+ <parameter name="questions">[{
35
+ "question": "How should git commits be attributed?",
36
+ "header": "Attribution",
37
+ "multiSelect": false,
38
+ "options": [
39
+ {"label": "No AI attribution (Recommended)", "description": "Clean commits, no AI footers"},
40
+ {"label": "Add Co-Authored-By", "description": "Include AI co-author in commits"}
41
+ ]
42
+ }]</parameter>
43
+ </invoke>
44
+ ```
24
45
 
25
46
  OBJECTIVE
26
47
  Create or update CLAUDE.md with user's git attribution preferences. CLAUDE.md is the AI assistant's primary configuration file and controls whether Claude Code adds attribution to git commits.
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-ci
19
+ ```
20
+
21
+ ---
22
+
15
23
  # Configuration Agent: CI/CD Workflow
16
24
 
17
25
  Configure automated CI/CD workflow for testing, linting, and quality checks.
@@ -20,7 +28,21 @@ Configure automated CI/CD workflow for testing, linting, and quality checks.
20
28
 
21
29
  ROLE: CI/CD Configurator
22
30
 
23
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
31
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
32
+ ```xml
33
+ <invoke name="AskUserQuestion">
34
+ <parameter name="questions">[{
35
+ "question": "Which CI checks do you want to enable?",
36
+ "header": "CI Checks",
37
+ "multiSelect": true,
38
+ "options": [
39
+ {"label": "Lint", "description": "Run ESLint/Prettier checks"},
40
+ {"label": "Type check", "description": "Run TypeScript compiler"},
41
+ {"label": "Tests", "description": "Run test suite"}
42
+ ]
43
+ }]</parameter>
44
+ </invoke>
45
+ ```
24
46
 
25
47
  OBJECTIVE
26
48
  Set up continuous integration and deployment workflows to automate testing, linting, type checking, and build verification on every commit/PR.
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-git-config
19
+ ```
20
+
21
+ ---
22
+
15
23
  # Configuration Agent: Git Repository Setup
16
24
 
17
25
  Configure git initialization and remote repository connection.
@@ -20,7 +28,21 @@ Configure git initialization and remote repository connection.
20
28
 
21
29
  ROLE: Git Configuration Specialist
22
30
 
23
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
31
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
32
+ ```xml
33
+ <invoke name="AskUserQuestion">
34
+ <parameter name="questions">[{
35
+ "question": "Which git hosting platform?",
36
+ "header": "Platform",
37
+ "multiSelect": false,
38
+ "options": [
39
+ {"label": "GitHub", "description": "github.com repository"},
40
+ {"label": "GitLab", "description": "gitlab.com repository"},
41
+ {"label": "Other", "description": "Custom git remote"}
42
+ ]
43
+ }]</parameter>
44
+ </invoke>
45
+ ```
24
46
 
25
47
  OBJECTIVE
26
48
  Set up git repository with remote connection to enable version control, team collaboration, and backup for the AgileFlow project.
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-hooks
19
+ ```
20
+
21
+ ---
22
+
15
23
  # Configuration Agent: Hooks System
16
24
 
17
25
  Configure hooks system for event-driven automation in Claude Code.
@@ -20,7 +28,20 @@ Configure hooks system for event-driven automation in Claude Code.
20
28
 
21
29
  ROLE: Hooks System Configurator
22
30
 
23
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
31
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
32
+ ```xml
33
+ <invoke name="AskUserQuestion">
34
+ <parameter name="questions">[{
35
+ "question": "Which hooks do you want to enable?",
36
+ "header": "Hooks",
37
+ "multiSelect": true,
38
+ "options": [
39
+ {"label": "SessionStart", "description": "Display info on session start"},
40
+ {"label": "PreCompact", "description": "Preserve context before compact"}
41
+ ]
42
+ }]</parameter>
43
+ </invoke>
44
+ ```
24
45
 
25
46
  OBJECTIVE
26
47
  Set up the hooks system that enables event-driven automation in Claude Code. Hooks automatically execute shell commands when Claude Code lifecycle events occur (SessionStart, PreCompact, UserPromptSubmit, Stop).
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-precompact
19
+ ```
20
+
21
+ ---
22
+
15
23
  # PreCompact Configuration Agent
16
24
 
17
25
  Configures the PreCompact hook to preserve critical project context when Claude Code compacts conversations.
@@ -11,6 +11,14 @@ tools:
11
11
  model: haiku
12
12
  ---
13
13
 
14
+ ## STEP 0: Gather Context
15
+
16
+ ```bash
17
+ node scripts/obtain-context.js configuration-status-line
18
+ ```
19
+
20
+ ---
21
+
14
22
  # Configuration Agent: Status Line
15
23
 
16
24
  Configure a custom status line for Claude Code that displays AgileFlow project context.
@@ -19,7 +27,21 @@ Configure a custom status line for Claude Code that displays AgileFlow project c
19
27
 
20
28
  ROLE: Status Line Configurator
21
29
 
22
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper multi-select options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
30
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
31
+ ```xml
32
+ <invoke name="AskUserQuestion">
33
+ <parameter name="questions">[{
34
+ "question": "Which components do you want in the status line?",
35
+ "header": "Components",
36
+ "multiSelect": true,
37
+ "options": [
38
+ {"label": "Git branch", "description": "Show current branch name"},
39
+ {"label": "Current story", "description": "Show active story ID"},
40
+ {"label": "WIP count", "description": "Show in-progress story count"}
41
+ ]
42
+ }]</parameter>
43
+ </invoke>
44
+ ```
23
45
 
24
46
  OBJECTIVE
25
47
  Set up a custom AgileFlow status line that displays contextual information at the bottom of Claude Code. The status line shows current story, work-in-progress count, context usage, session cost, and git branch.
@@ -30,25 +52,43 @@ The status line is a customizable bar at the bottom of Claude Code (similar to h
30
52
 
31
53
  **Example AgileFlow Status Line** (when working on a story):
32
54
  ```
33
- [Opus] 📋 US-0003: Login API | 📦 EP-0001: 5/6 (83%) | WIP: 1/3 | 45% ctx | $0.42 | main
55
+ agileflow v2.42.0 │ [Opus] US-0003: Login API EP-0001 5/6 WIP 1 45% $0.42 main
34
56
  ```
35
57
 
36
58
  **Example** (when no story in progress - shows next suggestion):
37
59
  ```
38
- [Opus] 🔴 Next: US-0007 | WIP: 0/3 | 45% ctx | $0.42 | main
60
+ agileflow v2.42.0 │ [Opus] Next: US-0007 WIP 0 45% $0.42 main
61
+ ```
62
+
63
+ **Example** (with update available):
64
+ ```
65
+ agileflow v2.41.0 ↑2.42.0 │ [Opus] │ US-0003: Login API │ 45% │ main
39
66
  ```
40
67
 
41
- ## Available Data Points
68
+ ## Available Components
42
69
 
43
- The status line can display:
44
- 1. **Model name** - Current AI model (Opus, Sonnet, etc.)
45
- 2. **Current story** - From `docs/09-agents/status.json` with 📋 icon
46
- 3. **Epic progress** - Shows completion like "EP-0001: 5/6 (83%)" with 📦 icon
47
- 4. **Next story suggestion** - When idle, shows highest priority READY story with priority color (🔴 high, 🟡 medium, 🟢 low)
48
- 5. **WIP count** - Work in progress vs limit (e.g., 1/3)
49
- 6. **Context usage %** - How much context window is used
50
- 7. **Session cost** - Total cost in USD
51
- 8. **Git branch** - Current branch name
70
+ The status line can display (all individually toggleable):
71
+
72
+ | Component | Description | Example |
73
+ |-----------|-------------|---------|
74
+ | `agileflow` | AgileFlow branding with version + update check | `agileflow v2.42.0` or `agileflow v2.41.0 ↑2.42.0` |
75
+ | `model` | Current AI model | `[Opus]` |
76
+ | `story` | Current story or next suggestion | `US-0007: Login API` or `Next: US-0008` |
77
+ | `epic` | Epic progress | `EP-0001 5/6` |
78
+ | `wip` | Work in progress count | `WIP 2` |
79
+ | `context` | Context window usage % | `45%` (color-coded: green < 40%, yellow 40-60%, red > 80%) |
80
+ | `cost` | Session cost in USD | `$0.42` |
81
+ | `git` | Current branch (color-coded by type) | `main` (green), `feature/foo` (cyan), `fix/bar` (red) |
82
+
83
+ ## Color Scheme
84
+
85
+ The status line uses semantic colors:
86
+ - **Brand orange** (#e8683a): AgileFlow branding
87
+ - **Green**: main/master branch, low context usage, healthy WIP
88
+ - **Cyan**: feature branches
89
+ - **Yellow**: develop branch, medium context usage, WIP at limit
90
+ - **Red**: fix/hotfix branches, high context usage, WIP over limit
91
+ - **Magenta**: release branches, epic progress
52
92
 
53
93
  ## Configuration Steps
54
94
 
@@ -463,6 +503,46 @@ console.log('Updated metadata with statusline version 2.40.0');
463
503
  "
464
504
  ```
465
505
 
506
+ ## Component Configuration
507
+
508
+ Components can be toggled individually using the configure script:
509
+
510
+ ```bash
511
+ # List current component status
512
+ node scripts/agileflow-configure.js --components
513
+
514
+ # Show specific components
515
+ node scripts/agileflow-configure.js --show=agileflow,context,git
516
+
517
+ # Hide specific components
518
+ node scripts/agileflow-configure.js --hide=model,cost,wip
519
+
520
+ # Minimal statusline (just branding and context)
521
+ node scripts/agileflow-configure.js --hide=model,story,epic,wip,cost,git
522
+ ```
523
+
524
+ Components are stored in `docs/00-meta/agileflow-metadata.json`:
525
+
526
+ ```json
527
+ {
528
+ "features": {
529
+ "statusline": {
530
+ "enabled": true,
531
+ "components": {
532
+ "agileflow": true,
533
+ "model": true,
534
+ "story": true,
535
+ "epic": true,
536
+ "wip": true,
537
+ "context": true,
538
+ "cost": true,
539
+ "git": true
540
+ }
541
+ }
542
+ }
543
+ }
544
+ ```
545
+
466
546
  ## Rules
467
547
 
468
548
  - Always use AskUserQuestion for component selection
@@ -12,6 +12,14 @@ tools:
12
12
  model: haiku
13
13
  ---
14
14
 
15
+ ## STEP 0: Gather Context
16
+
17
+ ```bash
18
+ node scripts/obtain-context.js configuration-verify
19
+ ```
20
+
21
+ ---
22
+
15
23
  # Configuration Agent: Verification Helper
16
24
 
17
25
  Verify that configurations work and handle authentication for private repositories.
@@ -20,7 +28,21 @@ Verify that configurations work and handle authentication for private repositori
20
28
 
21
29
  ROLE: Configuration Verification Specialist
22
30
 
23
- 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options with XML invoke format. See `docs/02-practices/ask-user-question.md`.
31
+ 🔴 **AskUserQuestion Format**: NEVER ask users to "type" anything. Use proper options:
32
+ ```xml
33
+ <invoke name="AskUserQuestion">
34
+ <parameter name="questions">[{
35
+ "question": "Which configurations should we verify?",
36
+ "header": "Verify",
37
+ "multiSelect": true,
38
+ "options": [
39
+ {"label": "Hooks", "description": "Test hook scripts execute correctly"},
40
+ {"label": "Git remote", "description": "Verify git push/pull works"},
41
+ {"label": "CI workflow", "description": "Check GitHub Actions syntax"}
42
+ ]
43
+ }]</parameter>
44
+ </invoke>
45
+ ```
24
46
 
25
47
  OBJECTIVE
26
48
  Verify that configurations actually work by running test commands and checking results. Handle authentication tokens securely for private repositories.
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js database
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  ## Compact Summary
10
18
 
@@ -372,8 +380,6 @@ SLASH COMMANDS
372
380
 
373
381
  PLAN MODE FOR DATABASE CHANGES (CRITICAL)
374
382
 
375
- **Reference**: `@docs/02-practices/plan-mode.md`
376
-
377
383
  **Database changes are high-risk**. Always plan before schema modifications:
378
384
 
379
385
  | Situation | Action |
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js datamigration
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  # AG-DATAMIGRATION Quick Reference
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js design
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  COMPACT SUMMARY - AG-DESIGN (Design Specialist)
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js devops
12
+ ```
13
+
14
+ ---
15
+
8
16
  You are AG-DEVOPS, the DevOps & Automation Agent for AgileFlow projects.
9
17
 
10
18
  <!-- COMPACT_SUMMARY_START -->
@@ -352,8 +360,6 @@ RESEARCH INTEGRATION
352
360
 
353
361
  PLAN MODE FOR INFRASTRUCTURE CHANGES
354
362
 
355
- **Reference**: `@docs/02-practices/plan-mode.md`
356
-
357
363
  **Infrastructure changes affect production**. Plan before deploying:
358
364
 
359
365
  | Situation | Action |
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js documentation
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  COMPACT SUMMARY - AG-DOCUMENTATION (Documentation Specialist)
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Glob, Grep
5
5
  model: sonnet
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js epic-planner
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START
9
17
  This section is extracted by the PreCompact hook to preserve essential context across conversation compacts.
10
18
  -->
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js integrations
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  COMPACT SUMMARY - AG-INTEGRATIONS (Integration Specialist)
10
18
 
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: sonnet
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js mentor
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START
9
17
  This section is extracted by the PreCompact hook to preserve essential context across conversation compacts.
10
18
  -->
@@ -68,7 +76,6 @@ This section is extracted by the PreCompact hook to preserve essential context a
68
76
  - `packages/cli/src/core/experts/mentor/self-improve.md` - Update expertise after work
69
77
 
70
78
  **Planning**:
71
- - `docs/02-practices/plan-mode.md` - When to use EnterPlanMode/ExitPlanMode
72
79
  - `docs/08-project/{roadmap,backlog,milestones,risks}.md` - Priorities
73
80
  - `docs/05-epics/*.md` - Existing epics
74
81
  - `docs/06-stories/**/US-*.md` - User stories
@@ -318,8 +325,6 @@ IMPLEMENTATION FLOW
318
325
 
319
326
  PLAN MODE FOR COMPLEX IMPLEMENTATIONS
320
327
 
321
- **Reference**: `@docs/02-practices/plan-mode.md`
322
-
323
328
  Before implementing, evaluate task complexity:
324
329
 
325
330
  | Situation | Action |
@@ -5,6 +5,14 @@ tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  model: haiku
6
6
  ---
7
7
 
8
+ ## STEP 0: Gather Context
9
+
10
+ ```bash
11
+ node scripts/obtain-context.js mobile
12
+ ```
13
+
14
+ ---
15
+
8
16
  <!-- COMPACT_SUMMARY_START -->
9
17
  COMPACT SUMMARY - AG-MOBILE (Mobile Specialist)
10
18