agileflow 2.49.0 → 2.50.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/package.json +1 -1
- package/src/core/agents/accessibility.md +1 -1
- package/src/core/agents/adr-writer.md +1 -1
- package/src/core/agents/analytics.md +1 -1
- package/src/core/agents/api.md +1 -1
- package/src/core/agents/ci.md +1 -1
- package/src/core/agents/compliance.md +1 -1
- package/src/core/agents/configuration/archival.md +6 -6
- package/src/core/agents/configuration/attribution.md +1 -1
- package/src/core/agents/configuration/ci.md +1 -1
- package/src/core/agents/configuration/git-config.md +1 -1
- package/src/core/agents/configuration/hooks.md +16 -16
- package/src/core/agents/configuration/precompact.md +4 -4
- package/src/core/agents/configuration/status-line.md +10 -10
- package/src/core/agents/configuration/verify.md +2 -2
- package/src/core/agents/database.md +1 -1
- package/src/core/agents/datamigration.md +1 -1
- package/src/core/agents/design.md +1 -1
- package/src/core/agents/devops.md +1 -1
- package/src/core/agents/documentation.md +1 -1
- package/src/core/agents/epic-planner.md +1 -1
- package/src/core/agents/integrations.md +1 -1
- package/src/core/agents/mentor.md +1 -1
- package/src/core/agents/mobile.md +1 -1
- package/src/core/agents/monitoring.md +1 -1
- package/src/core/agents/multi-expert.md +1 -1
- package/src/core/agents/performance.md +1 -1
- package/src/core/agents/product.md +1 -1
- package/src/core/agents/qa.md +1 -1
- package/src/core/agents/readme-updater.md +1 -1
- package/src/core/agents/refactor.md +1 -1
- package/src/core/agents/research.md +1 -1
- package/src/core/agents/security.md +1 -1
- package/src/core/agents/testing.md +1 -1
- package/src/core/agents/ui.md +1 -1
- package/src/core/commands/adr.md +1 -1
- package/src/core/commands/agent.md +1 -1
- package/src/core/commands/assign.md +1 -1
- package/src/core/commands/auto.md +1 -1
- package/src/core/commands/babysit.md +4 -4
- package/src/core/commands/baseline.md +1 -1
- package/src/core/commands/blockers.md +1 -1
- package/src/core/commands/board.md +1 -1
- package/src/core/commands/compress.md +7 -7
- package/src/core/commands/configure.md +21 -21
- package/src/core/commands/deps.md +1 -1
- package/src/core/commands/diagnose.md +2 -2
- package/src/core/commands/docs.md +1 -1
- package/src/core/commands/epic.md +1 -1
- package/src/core/commands/help.md +1 -1
- package/src/core/commands/metrics.md +1 -1
- package/src/core/commands/packages.md +1 -1
- package/src/core/commands/pr.md +1 -1
- package/src/core/commands/readme-sync.md +1 -1
- package/src/core/commands/research.md +1 -1
- package/src/core/commands/retro.md +1 -1
- package/src/core/commands/sprint.md +1 -1
- package/src/core/commands/status.md +1 -1
- package/src/core/commands/story-validate.md +1 -1
- package/src/core/commands/story.md +1 -1
- package/src/core/commands/template.md +1 -1
- package/src/core/commands/tests.md +1 -1
- package/src/core/commands/update.md +1 -1
- package/src/core/commands/validate-expertise.md +3 -3
- package/src/core/commands/velocity.md +1 -1
- package/src/core/commands/verify.md +1 -1
- package/src/core/experts/devops/expertise.yaml +2 -2
- package/src/core/experts/monitoring/expertise.yaml +1 -1
- package/src/core/templates/agileflow-configure.js +12 -12
- package/src/core/templates/agileflow-welcome.js +1 -1
- package/src/core/templates/claude-settings.advanced.example.json +2 -2
- package/src/core/templates/claude-settings.example.json +1 -1
- package/tools/cli/installers/core/installer.js +2 -2
|
@@ -27,7 +27,7 @@ End-to-end mentor for implementing features.
|
|
|
27
27
|
**Before doing ANYTHING else, run the context script to gather all project state in one shot:**
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
node scripts/obtain-context.js babysit
|
|
30
|
+
node .agileflow/scripts/obtain-context.js babysit
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
This single command gathers:
|
|
@@ -70,7 +70,7 @@ Keep this section under 150 lines - it contains the critical behavioral rules an
|
|
|
70
70
|
### TodoWrite Tracking
|
|
71
71
|
|
|
72
72
|
**CRITICAL**: Track progress with TodoWrite tool. Typical workflow:
|
|
73
|
-
1. Run context script (`node scripts/obtain-context.js babysit`)
|
|
73
|
+
1. Run context script (`node .agileflow/scripts/obtain-context.js babysit`)
|
|
74
74
|
2. Present suggestions using AskUserQuestion
|
|
75
75
|
3. Read task-specific docs based on user's choice
|
|
76
76
|
4. Plan implementation steps with file paths
|
|
@@ -145,7 +145,7 @@ ROLE: Babysitter (Mentor + Orchestrator)
|
|
|
145
145
|
TODO LIST TRACKING
|
|
146
146
|
**CRITICAL**: Immediately create a todo list using TodoWrite tool to track mentoring workflow:
|
|
147
147
|
```
|
|
148
|
-
1. Run context script (node scripts/obtain-context.js babysit)
|
|
148
|
+
1. Run context script (node .agileflow/scripts/obtain-context.js babysit)
|
|
149
149
|
2. Present intelligent suggestions using AskUserQuestion
|
|
150
150
|
3. Read task-specific docs (based on what user chooses)
|
|
151
151
|
4. Validate story readiness and architecture context
|
|
@@ -173,7 +173,7 @@ GOAL
|
|
|
173
173
|
**Run the context script IMMEDIATELY - DO NOT SKIP:**
|
|
174
174
|
|
|
175
175
|
```bash
|
|
176
|
-
node scripts/obtain-context.js babysit
|
|
176
|
+
node .agileflow/scripts/obtain-context.js babysit
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
This single command gathers all essential context:
|
|
@@ -10,7 +10,7 @@ Create a verified checkpoint representing a known-good state of the project.
|
|
|
10
10
|
## STEP 0: Gather Context
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
node scripts/obtain-context.js baseline
|
|
13
|
+
node .agileflow/scripts/obtain-context.js baseline
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
<!-- COMPACT_SUMMARY_START -->
|
|
@@ -10,7 +10,7 @@ Generate a visual kanban board from current story statuses.
|
|
|
10
10
|
## STEP 0: Gather Context
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
node scripts/obtain-context.js board
|
|
13
|
+
node .agileflow/scripts/obtain-context.js board
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -202,8 +202,8 @@ When user runs `/agileflow:compress`:
|
|
|
202
202
|
- After major epic completion (many stories with verbose records)
|
|
203
203
|
|
|
204
204
|
**Combine with archival**:
|
|
205
|
-
1. First run archival to move old completed stories: `/agileflow:compress` → runs `bash scripts/archive-completed-stories.sh`
|
|
206
|
-
2. If still too large, run compression: `/agileflow:compress` → runs `bash scripts/compress-status.sh`
|
|
205
|
+
1. First run archival to move old completed stories: `/agileflow:compress` → runs `bash .agileflow/scripts/archive-completed-stories.sh`
|
|
206
|
+
2. If still too large, run compression: `/agileflow:compress` → runs `bash .agileflow/scripts/compress-status.sh`
|
|
207
207
|
3. Result: status.json under 25000 tokens
|
|
208
208
|
|
|
209
209
|
## Safety
|
|
@@ -224,7 +224,7 @@ When user runs `/agileflow:compress`:
|
|
|
224
224
|
## Implementation
|
|
225
225
|
|
|
226
226
|
```bash
|
|
227
|
-
bash scripts/compress-status.sh
|
|
227
|
+
bash .agileflow/scripts/compress-status.sh
|
|
228
228
|
```
|
|
229
229
|
|
|
230
230
|
## Related Commands
|
|
@@ -321,7 +321,7 @@ fi
|
|
|
321
321
|
|
|
322
322
|
**Step 2: Run compression**
|
|
323
323
|
```bash
|
|
324
|
-
bash scripts/compress-status.sh
|
|
324
|
+
bash .agileflow/scripts/compress-status.sh
|
|
325
325
|
```
|
|
326
326
|
|
|
327
327
|
**Step 3: Verify and advise**
|
|
@@ -346,14 +346,14 @@ if [ ! -f scripts/compress-status.sh ]; then
|
|
|
346
346
|
fi
|
|
347
347
|
|
|
348
348
|
# Run compression
|
|
349
|
-
bash scripts/compress-status.sh
|
|
349
|
+
bash .agileflow/scripts/compress-status.sh
|
|
350
350
|
```
|
|
351
351
|
|
|
352
352
|
**If compression isn't enough**:
|
|
353
353
|
```bash
|
|
354
354
|
# Combine with aggressive archival
|
|
355
|
-
bash scripts/archive-completed-stories.sh 3 # Archive stories >3 days old
|
|
356
|
-
bash scripts/compress-status.sh # Then compress remaining
|
|
355
|
+
bash .agileflow/scripts/archive-completed-stories.sh 3 # Archive stories >3 days old
|
|
356
|
+
bash .agileflow/scripts/compress-status.sh # Then compress remaining
|
|
357
357
|
```
|
|
358
358
|
|
|
359
359
|
**Always**:
|
|
@@ -11,19 +11,19 @@ Configuration management with **profiles**, **enable/disable**, and **format mig
|
|
|
11
11
|
|
|
12
12
|
### Workflow (MUST FOLLOW)
|
|
13
13
|
|
|
14
|
-
1. **Run detection**: `node scripts/agileflow-configure.js --detect`
|
|
14
|
+
1. **Run detection**: `node .agileflow/scripts/agileflow-configure.js --detect`
|
|
15
15
|
2. **If ⚠️ INVALID FORMAT shown**: Ask user to fix with `--migrate` BEFORE anything else
|
|
16
16
|
3. **Present options**: Profiles, enable/disable, or check status
|
|
17
17
|
|
|
18
18
|
### Quick Commands
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
node scripts/agileflow-configure.js --detect # Check status
|
|
22
|
-
node scripts/agileflow-configure.js --migrate # Fix format issues
|
|
23
|
-
node scripts/agileflow-configure.js --profile=full # Enable all
|
|
24
|
-
node scripts/agileflow-configure.js --profile=none # Disable all
|
|
25
|
-
node scripts/agileflow-configure.js --enable=stop # Enable specific
|
|
26
|
-
node scripts/agileflow-configure.js --disable=archival # Disable specific
|
|
21
|
+
node .agileflow/scripts/agileflow-configure.js --detect # Check status
|
|
22
|
+
node .agileflow/scripts/agileflow-configure.js --migrate # Fix format issues
|
|
23
|
+
node .agileflow/scripts/agileflow-configure.js --profile=full # Enable all
|
|
24
|
+
node .agileflow/scripts/agileflow-configure.js --profile=none # Disable all
|
|
25
|
+
node .agileflow/scripts/agileflow-configure.js --enable=stop # Enable specific
|
|
26
|
+
node .agileflow/scripts/agileflow-configure.js --disable=archival # Disable specific
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
### Features
|
|
@@ -49,7 +49,7 @@ ROLE: Configuration Manager
|
|
|
49
49
|
## STEP 1: Always Run Detection First
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
node scripts/agileflow-configure.js --detect
|
|
52
|
+
node .agileflow/scripts/agileflow-configure.js --detect
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
**CRITICAL**: Check the output for format issues (⚠️ INVALID FORMAT).
|
|
@@ -74,7 +74,7 @@ If you see `⚠️ INVALID FORMAT` in the detection output, **immediately ask us
|
|
|
74
74
|
|
|
75
75
|
If user says yes:
|
|
76
76
|
```bash
|
|
77
|
-
node scripts/agileflow-configure.js --migrate
|
|
77
|
+
node .agileflow/scripts/agileflow-configure.js --migrate
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
## STEP 3: Configuration Options
|
|
@@ -104,32 +104,32 @@ After fixing issues (or if no issues), present main options:
|
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
106
|
# Full - all features
|
|
107
|
-
node scripts/agileflow-configure.js --profile=full
|
|
107
|
+
node .agileflow/scripts/agileflow-configure.js --profile=full
|
|
108
108
|
|
|
109
109
|
# Basic - essential hooks + archival
|
|
110
|
-
node scripts/agileflow-configure.js --profile=basic
|
|
110
|
+
node .agileflow/scripts/agileflow-configure.js --profile=basic
|
|
111
111
|
|
|
112
112
|
# Minimal - welcome + archival
|
|
113
|
-
node scripts/agileflow-configure.js --profile=minimal
|
|
113
|
+
node .agileflow/scripts/agileflow-configure.js --profile=minimal
|
|
114
114
|
|
|
115
115
|
# None - disable all AgileFlow features
|
|
116
|
-
node scripts/agileflow-configure.js --profile=none
|
|
116
|
+
node .agileflow/scripts/agileflow-configure.js --profile=none
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
**Option B: Enable/disable specific features**
|
|
120
120
|
|
|
121
121
|
```bash
|
|
122
122
|
# Enable features
|
|
123
|
-
node scripts/agileflow-configure.js --enable=sessionstart,precompact,stop
|
|
123
|
+
node .agileflow/scripts/agileflow-configure.js --enable=sessionstart,precompact,stop
|
|
124
124
|
|
|
125
125
|
# Disable features
|
|
126
|
-
node scripts/agileflow-configure.js --disable=statusline
|
|
126
|
+
node .agileflow/scripts/agileflow-configure.js --disable=statusline
|
|
127
127
|
|
|
128
128
|
# Both at once
|
|
129
|
-
node scripts/agileflow-configure.js --enable=stop --disable=archival
|
|
129
|
+
node .agileflow/scripts/agileflow-configure.js --enable=stop --disable=archival
|
|
130
130
|
|
|
131
131
|
# With custom archival days
|
|
132
|
-
node scripts/agileflow-configure.js --enable=archival --archival-days=14
|
|
132
|
+
node .agileflow/scripts/agileflow-configure.js --enable=archival --archival-days=14
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
## Profile Details
|
|
@@ -198,19 +198,19 @@ The script handles these migrations automatically:
|
|
|
198
198
|
**Hook string format:**
|
|
199
199
|
```json
|
|
200
200
|
// OLD (invalid)
|
|
201
|
-
"PreCompact": "
|
|
201
|
+
"PreCompact": "./.agileflow/scripts/precompact-context.sh"
|
|
202
202
|
|
|
203
203
|
// NEW (valid)
|
|
204
|
-
"PreCompact": [{"matcher": "", "hooks": [{"type": "command", "command": "bash
|
|
204
|
+
"PreCompact": [{"matcher": "", "hooks": [{"type": "command", "command": "bash ./.agileflow/scripts/precompact-context.sh"}]}]
|
|
205
205
|
```
|
|
206
206
|
|
|
207
207
|
**StatusLine missing type:**
|
|
208
208
|
```json
|
|
209
209
|
// OLD (invalid)
|
|
210
|
-
"statusLine": {"command": "
|
|
210
|
+
"statusLine": {"command": "./.agileflow/scripts/statusline.sh", "refreshInterval": 5000}
|
|
211
211
|
|
|
212
212
|
// NEW (valid)
|
|
213
|
-
"statusLine": {"type": "command", "command": "
|
|
213
|
+
"statusLine": {"type": "command", "command": "./.agileflow/scripts/statusline.sh", "padding": 0}
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
## Metadata Tracking
|
|
@@ -13,7 +13,7 @@ Visualize and analyze story/epic dependency graphs with critical path analysis a
|
|
|
13
13
|
## STEP 0: Gather Context
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
node scripts/obtain-context.js deps
|
|
16
|
+
node .agileflow/scripts/obtain-context.js deps
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -212,7 +212,7 @@ if [ -f docs/09-agents/status.json ]; then
|
|
|
212
212
|
if [ $STATUS_SIZE -gt 102400 ]; then
|
|
213
213
|
echo " ⚠️ WARNING: status.json exceeds 100KB"
|
|
214
214
|
echo " Recommendation: Run archival to reduce file size"
|
|
215
|
-
echo " Command: bash scripts/archive-completed-stories.sh 7"
|
|
215
|
+
echo " Command: bash .agileflow/scripts/archive-completed-stories.sh 7"
|
|
216
216
|
elif [ $STATUS_SIZE -gt 51200 ]; then
|
|
217
217
|
echo " ℹ️ status.json is getting large (>50KB)"
|
|
218
218
|
echo " Consider running archival soon"
|
|
@@ -244,7 +244,7 @@ else
|
|
|
244
244
|
echo "Next steps:"
|
|
245
245
|
echo "1. Fix JSON validation errors using: jq empty <file> to check, then repair manually"
|
|
246
246
|
echo "2. Add missing files to .gitignore if needed"
|
|
247
|
-
echo "3. Run archival if status.json is too large: bash scripts/archive-completed-stories.sh"
|
|
247
|
+
echo "3. Run archival if status.json is too large: bash .agileflow/scripts/archive-completed-stories.sh"
|
|
248
248
|
echo "4. Re-run diagnostics after fixes: /agileflow:diagnose"
|
|
249
249
|
exit 1
|
|
250
250
|
fi
|
|
@@ -10,7 +10,7 @@ argument-hint: EPIC=<EP-ID> TITLE=<text> OWNER=<id> GOAL=<text> [STORIES=<list>]
|
|
|
10
10
|
## STEP 0: Gather Context
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
node scripts/obtain-context.js epic
|
|
13
|
+
node .agileflow/scripts/obtain-context.js epic
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
package/src/core/commands/pr.md
CHANGED
|
@@ -8,7 +8,7 @@ argument-hint: STORY=<US-ID> [TITLE=<text>] [TEST_EVIDENCE=<text>]
|
|
|
8
8
|
## STEP 0: Gather Context
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
node scripts/obtain-context.js pr
|
|
11
|
+
node .agileflow/scripts/obtain-context.js pr
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -71,7 +71,7 @@ Intelligent sprint planning with capacity-based story selection, dependency vali
|
|
|
71
71
|
## STEP 0: Gather Context
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
node scripts/obtain-context.js sprint
|
|
74
|
+
node .agileflow/scripts/obtain-context.js sprint
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -12,7 +12,7 @@ Update story status and broadcast to agents via message bus.
|
|
|
12
12
|
## STEP 0: Gather Context
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node scripts/obtain-context.js status
|
|
15
|
+
node .agileflow/scripts/obtain-context.js status
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -13,7 +13,7 @@ Validate agent expertise files to ensure they haven't drifted from the codebase.
|
|
|
13
13
|
## STEP 0: Gather Context
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
node scripts/obtain-context.js validate-expertise
|
|
16
|
+
node .agileflow/scripts/obtain-context.js validate-expertise
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
---
|
|
@@ -155,10 +155,10 @@ EXECUTION
|
|
|
155
155
|
Run the validation script:
|
|
156
156
|
```bash
|
|
157
157
|
# All domains
|
|
158
|
-
bash scripts/validate-expertise.sh
|
|
158
|
+
bash .agileflow/scripts/validate-expertise.sh
|
|
159
159
|
|
|
160
160
|
# Specific domain
|
|
161
|
-
bash scripts/validate-expertise.sh database
|
|
161
|
+
bash .agileflow/scripts/validate-expertise.sh database
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
Or manually check using Read tool on expertise files in:
|
|
@@ -12,7 +12,7 @@ Track team velocity, calculate trends, and forecast completion dates.
|
|
|
12
12
|
## STEP 0: Gather Context
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node scripts/obtain-context.js velocity
|
|
15
|
+
node .agileflow/scripts/obtain-context.js velocity
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -12,7 +12,7 @@ Execute project tests and update test status for stories.
|
|
|
12
12
|
## STEP 0: Gather Context
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node scripts/obtain-context.js verify
|
|
15
|
+
node .agileflow/scripts/obtain-context.js verify
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
This gathers git status, stories/epics, session state, and registers for PreCompact.
|
|
@@ -13,7 +13,7 @@ files:
|
|
|
13
13
|
- "Commit and push to main"
|
|
14
14
|
- "Create and push git tag v*.*.*"
|
|
15
15
|
- "Create GitHub release with gh CLI"
|
|
16
|
-
usage: "
|
|
16
|
+
usage: "./.agileflow/scripts/release.sh 2.32.0 'Feature Name'"
|
|
17
17
|
|
|
18
18
|
scripts:
|
|
19
19
|
- path: scripts/agileflow-statusline.sh
|
|
@@ -63,7 +63,7 @@ relationships:
|
|
|
63
63
|
patterns:
|
|
64
64
|
- name: Automated Release
|
|
65
65
|
description: "Use release.sh for all releases - never manual"
|
|
66
|
-
command: "
|
|
66
|
+
command: "./.agileflow/scripts/release.sh <version> 'Title'"
|
|
67
67
|
|
|
68
68
|
- name: Version Sync
|
|
69
69
|
description: "Version in 2 files: packages/cli/package.json and package.json"
|
|
@@ -145,7 +145,7 @@ learnings:
|
|
|
145
145
|
context: "AgileFlow monitoring patterns"
|
|
146
146
|
learning: |
|
|
147
147
|
Session hooks run on SessionStart via .claude/settings.json hooks configuration.
|
|
148
|
-
The default SessionStart hook executes 'node scripts/get-env.js' to display
|
|
148
|
+
The default SessionStart hook executes 'node .agileflow/scripts/get-env.js' to display
|
|
149
149
|
project info, git status, and system details at session start. This provides
|
|
150
150
|
immediate context about the development environment.
|
|
151
151
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - RECONFIGURE: Change settings (archival days, etc.)
|
|
12
12
|
*
|
|
13
13
|
* Usage:
|
|
14
|
-
* node scripts/agileflow-configure.js [options]
|
|
14
|
+
* node .agileflow/scripts/agileflow-configure.js [options]
|
|
15
15
|
*
|
|
16
16
|
* Options:
|
|
17
17
|
* --profile=full|basic|minimal|none Apply a preset
|
|
@@ -476,7 +476,7 @@ CHANGES=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ')
|
|
|
476
476
|
if (!hasArchival) {
|
|
477
477
|
settings.hooks.SessionStart[0].hooks.push({
|
|
478
478
|
type: 'command',
|
|
479
|
-
command: 'bash scripts/archive-completed-stories.sh --quiet'
|
|
479
|
+
command: 'bash .agileflow/scripts/archive-completed-stories.sh --quiet'
|
|
480
480
|
});
|
|
481
481
|
}
|
|
482
482
|
}
|
|
@@ -504,7 +504,7 @@ echo "[$MODEL] AgileFlow"
|
|
|
504
504
|
|
|
505
505
|
settings.statusLine = {
|
|
506
506
|
type: 'command',
|
|
507
|
-
command: 'bash scripts/agileflow-statusline.sh',
|
|
507
|
+
command: 'bash .agileflow/scripts/agileflow-statusline.sh',
|
|
508
508
|
padding: 0
|
|
509
509
|
};
|
|
510
510
|
success('Status line enabled');
|
|
@@ -765,7 +765,7 @@ function printHelp() {
|
|
|
765
765
|
${c.bold}AgileFlow Configure${c.reset} - Manage AgileFlow features
|
|
766
766
|
|
|
767
767
|
${c.cyan}Usage:${c.reset}
|
|
768
|
-
node scripts/agileflow-configure.js [options]
|
|
768
|
+
node .agileflow/scripts/agileflow-configure.js [options]
|
|
769
769
|
|
|
770
770
|
${c.cyan}Profiles:${c.reset}
|
|
771
771
|
--profile=full All features (hooks, archival, statusline)
|
|
@@ -796,28 +796,28 @@ ${c.cyan}Maintenance:${c.reset}
|
|
|
796
796
|
|
|
797
797
|
${c.cyan}Examples:${c.reset}
|
|
798
798
|
# Quick setup with all features
|
|
799
|
-
node scripts/agileflow-configure.js --profile=full
|
|
799
|
+
node .agileflow/scripts/agileflow-configure.js --profile=full
|
|
800
800
|
|
|
801
801
|
# Enable specific features
|
|
802
|
-
node scripts/agileflow-configure.js --enable=sessionstart,precompact,stop
|
|
802
|
+
node .agileflow/scripts/agileflow-configure.js --enable=sessionstart,precompact,stop
|
|
803
803
|
|
|
804
804
|
# Disable a feature
|
|
805
|
-
node scripts/agileflow-configure.js --disable=statusline
|
|
805
|
+
node .agileflow/scripts/agileflow-configure.js --disable=statusline
|
|
806
806
|
|
|
807
807
|
# Show only agileflow branding and context in statusline
|
|
808
|
-
node scripts/agileflow-configure.js --hide=model,story,epic,wip,cost,git
|
|
808
|
+
node .agileflow/scripts/agileflow-configure.js --hide=model,story,epic,wip,cost,git
|
|
809
809
|
|
|
810
810
|
# Re-enable git branch in statusline
|
|
811
|
-
node scripts/agileflow-configure.js --show=git
|
|
811
|
+
node .agileflow/scripts/agileflow-configure.js --show=git
|
|
812
812
|
|
|
813
813
|
# List component status
|
|
814
|
-
node scripts/agileflow-configure.js --components
|
|
814
|
+
node .agileflow/scripts/agileflow-configure.js --components
|
|
815
815
|
|
|
816
816
|
# Fix format issues
|
|
817
|
-
node scripts/agileflow-configure.js --migrate
|
|
817
|
+
node .agileflow/scripts/agileflow-configure.js --migrate
|
|
818
818
|
|
|
819
819
|
# Check current status
|
|
820
|
-
node scripts/agileflow-configure.js --detect
|
|
820
|
+
node .agileflow/scripts/agileflow-configure.js --detect
|
|
821
821
|
`);
|
|
822
822
|
}
|
|
823
823
|
|
|
@@ -152,7 +152,7 @@ function runArchival(rootDir) {
|
|
|
152
152
|
if (toArchiveCount > 0) {
|
|
153
153
|
// Run archival
|
|
154
154
|
try {
|
|
155
|
-
execSync('bash scripts/archive-completed-stories.sh', {
|
|
155
|
+
execSync('bash .agileflow/scripts/archive-completed-stories.sh', {
|
|
156
156
|
cwd: rootDir,
|
|
157
157
|
encoding: 'utf8',
|
|
158
158
|
stdio: 'pipe'
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"type": "command",
|
|
13
|
-
"command": "echo '📁 Project: $(node scripts/get-env.js PROJECT_NAME \"Unnamed Project\")'"
|
|
13
|
+
"command": "echo '📁 Project: $(node .agileflow/scripts/get-env.js PROJECT_NAME \"Unnamed Project\")'"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"type": "command",
|
|
17
|
-
"command": "echo '👤 Developer: $(node scripts/get-env.js USER_NAME \"Developer\")'"
|
|
17
|
+
"command": "echo '👤 Developer: $(node .agileflow/scripts/get-env.js USER_NAME \"Developer\")'"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"type": "command",
|
|
@@ -599,7 +599,7 @@ class Installer {
|
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
/**
|
|
602
|
-
* Install all scripts from packages/cli/scripts/ to
|
|
602
|
+
* Install all scripts from packages/cli/scripts/ to .agileflow/scripts/
|
|
603
603
|
* Copies everything automatically - no manual list to maintain
|
|
604
604
|
* @param {string} directory - Project directory
|
|
605
605
|
* @param {Object} options - Installation options
|
|
@@ -608,7 +608,7 @@ class Installer {
|
|
|
608
608
|
async installScripts(directory, options = {}) {
|
|
609
609
|
const { force = false } = options;
|
|
610
610
|
const scriptsSourceDir = path.join(this.packageRoot, 'scripts');
|
|
611
|
-
const scriptsDestDir = path.join(directory, 'scripts');
|
|
611
|
+
const scriptsDestDir = path.join(directory, '.agileflow', 'scripts');
|
|
612
612
|
|
|
613
613
|
// Skip if source scripts directory doesn't exist
|
|
614
614
|
if (!(await fs.pathExists(scriptsSourceDir))) {
|