agileflow 2.45.0 → 2.46.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/commands/assign.md +1 -1
- package/src/core/commands/diagnose.md +2 -10
- package/src/core/commands/help.md +1 -1
- package/src/core/commands/packages.md +1 -1
- package/src/core/commands/readme-sync.md +1 -1
- package/src/core/commands/research.md +1 -1
- package/src/core/commands/status.md +3 -3
- package/src/core/commands/story-validate.md +1 -1
- package/src/core/commands/validate-expertise.md +2 -2
package/package.json
CHANGED
|
@@ -82,7 +82,7 @@ ACTIONS
|
|
|
82
82
|
# Validate status.json after modification
|
|
83
83
|
if ! jq empty docs/09-agents/status.json 2>/dev/null; then
|
|
84
84
|
echo "❌ ERROR: status.json is now invalid JSON!"
|
|
85
|
-
echo "
|
|
85
|
+
echo "Fix: Use jq to validate and repair the JSON structure"
|
|
86
86
|
exit 1
|
|
87
87
|
fi
|
|
88
88
|
```
|
|
@@ -4,14 +4,6 @@ description: System health diagnostics
|
|
|
4
4
|
|
|
5
5
|
# diagnose
|
|
6
6
|
|
|
7
|
-
<!-- STEP 0: ACTIVATION -->
|
|
8
|
-
<function_calls>
|
|
9
|
-
<invoke name="Bash">
|
|
10
|
-
<parameter name="command">node /home/coder/AgileFlow/scripts/activate-command.js diagnose</parameter>
|
|
11
|
-
<parameter name="description">Activate diagnose command and show compact summary</parameter>
|
|
12
|
-
</invoke>
|
|
13
|
-
</function_calls>
|
|
14
|
-
|
|
15
7
|
Run comprehensive AgileFlow system health checks to identify potential issues before they cause failures.
|
|
16
8
|
|
|
17
9
|
## Prompt
|
|
@@ -250,9 +242,9 @@ else
|
|
|
250
242
|
echo "⚠️ Found $JSON_ERRORS issue(s) that need attention."
|
|
251
243
|
echo ""
|
|
252
244
|
echo "Next steps:"
|
|
253
|
-
echo "1. Fix JSON validation errors using:
|
|
245
|
+
echo "1. Fix JSON validation errors using: jq empty <file> to check, then repair manually"
|
|
254
246
|
echo "2. Add missing files to .gitignore if needed"
|
|
255
|
-
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 scripts/archive-completed-stories.sh"
|
|
256
248
|
echo "4. Re-run diagnostics after fixes: /agileflow:diagnose"
|
|
257
249
|
exit 1
|
|
258
250
|
fi
|
|
@@ -21,7 +21,7 @@ node scripts/obtain-context.js help
|
|
|
21
21
|
**PURPOSE**: Immediately load full context before executing any logic.
|
|
22
22
|
|
|
23
23
|
**ACTIONS**:
|
|
24
|
-
1. Read
|
|
24
|
+
1. Read this command file (`.agileflow/commands/help.md`) in its entirety
|
|
25
25
|
2. Absorb all instructions, rules, and examples
|
|
26
26
|
3. Proceed to execution phase with complete context
|
|
27
27
|
|
|
@@ -21,7 +21,7 @@ node scripts/obtain-context.js packages
|
|
|
21
21
|
**PURPOSE**: Immediately load full context before executing any logic.
|
|
22
22
|
|
|
23
23
|
**ACTIONS**:
|
|
24
|
-
1. Read
|
|
24
|
+
1. Read this command file (`.agileflow/commands/packages.md`) in its entirety
|
|
25
25
|
2. Absorb all instructions, rules, and examples
|
|
26
26
|
3. Proceed to execution phase with complete context
|
|
27
27
|
|
|
@@ -22,7 +22,7 @@ node scripts/obtain-context.js readme-sync
|
|
|
22
22
|
**PURPOSE**: Immediately load full context before executing any logic.
|
|
23
23
|
|
|
24
24
|
**ACTIONS**:
|
|
25
|
-
1. Read
|
|
25
|
+
1. Read this command file (`.agileflow/commands/readme-sync.md`) in its entirety
|
|
26
26
|
2. Absorb all instructions, rules, and examples
|
|
27
27
|
3. Proceed to execution phase with complete context
|
|
28
28
|
|
|
@@ -21,7 +21,7 @@ node scripts/obtain-context.js research
|
|
|
21
21
|
**PURPOSE**: Immediately load full context before executing any logic.
|
|
22
22
|
|
|
23
23
|
**ACTIONS**:
|
|
24
|
-
1. Read
|
|
24
|
+
1. Read this command file (`.agileflow/commands/research.md`) in its entirety
|
|
25
25
|
2. Absorb all instructions, rules, and examples
|
|
26
26
|
3. Proceed to execution phase with complete context
|
|
27
27
|
|
|
@@ -24,7 +24,7 @@ This gathers git status, stories/epics, session state, and registers for PreComp
|
|
|
24
24
|
**PURPOSE**: Immediately load full context before executing any logic.
|
|
25
25
|
|
|
26
26
|
**ACTIONS**:
|
|
27
|
-
1. Read
|
|
27
|
+
1. Read this command file (`.agileflow/commands/status.md`) in its entirety
|
|
28
28
|
2. Absorb all instructions, rules, and examples
|
|
29
29
|
3. Proceed to execution phase with complete context
|
|
30
30
|
|
|
@@ -48,7 +48,7 @@ This gathers git status, stories/epics, session state, and registers for PreComp
|
|
|
48
48
|
- **Backup**: Restore from docs/09-agents/status.json.backup if validation fails
|
|
49
49
|
- **Output**: Diff-first, then YES/NO confirmation
|
|
50
50
|
- **Critical**: User text automatically escaped by jq
|
|
51
|
-
- **Related**: docs/09-agents/status.json, bus/log.jsonl
|
|
51
|
+
- **Related**: docs/09-agents/status.json, bus/log.jsonl
|
|
52
52
|
<!-- COMPACT_SUMMARY_END -->
|
|
53
53
|
|
|
54
54
|
---
|
|
@@ -69,7 +69,7 @@ ACTIONS
|
|
|
69
69
|
# Validate status.json after modification
|
|
70
70
|
if ! jq empty docs/09-agents/status.json 2>/dev/null; then
|
|
71
71
|
echo "❌ ERROR: status.json is now invalid JSON after update!"
|
|
72
|
-
echo "
|
|
72
|
+
echo "Fix: Use jq to validate and repair the JSON structure"
|
|
73
73
|
exit 1
|
|
74
74
|
fi
|
|
75
75
|
```
|
|
@@ -22,7 +22,7 @@ node scripts/obtain-context.js story-validate
|
|
|
22
22
|
**PURPOSE**: Immediately load full context before executing any logic.
|
|
23
23
|
|
|
24
24
|
**ACTIONS**:
|
|
25
|
-
1. Read
|
|
25
|
+
1. Read this command file (`.agileflow/commands/story-validate.md`) in its entirety
|
|
26
26
|
2. Absorb all instructions, rules, and examples
|
|
27
27
|
3. Proceed to execution phase with complete context
|
|
28
28
|
|
|
@@ -155,10 +155,10 @@ EXECUTION
|
|
|
155
155
|
Run the validation script:
|
|
156
156
|
```bash
|
|
157
157
|
# All domains
|
|
158
|
-
bash
|
|
158
|
+
bash scripts/validate-expertise.sh
|
|
159
159
|
|
|
160
160
|
# Specific domain
|
|
161
|
-
bash
|
|
161
|
+
bash scripts/validate-expertise.sh database
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
Or manually check using Read tool on expertise files in:
|