declare-cc 0.3.7 → 0.4.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Define actions per milestone — what must be done and what each produces (creates PLAN.md)
|
|
3
3
|
allowed-tools:
|
|
4
4
|
- Read
|
|
5
5
|
- Write
|
|
@@ -96,4 +96,13 @@ node dist/declare-tools.cjs load-graph
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
2. Show summary: milestones processed, plans created, total actions derived.
|
|
99
|
-
3. Suggest
|
|
99
|
+
3. Suggest the next step clearly:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
Actions defined. Next: create executable plans.
|
|
103
|
+
|
|
104
|
+
/declare:plan M-XX — research + planner + checker loop → EXEC-PLAN files
|
|
105
|
+
/declare:execute M-XX — once plans exist, execute with wave scheduling
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
If multiple milestones were planned, list each one with its suggested next command.
|
package/commands/declare/plan.md
CHANGED
|
@@ -45,16 +45,16 @@ Check if `--skip-research` is present in `$ARGUMENTS`.
|
|
|
45
45
|
**Step 2: Load milestone data.**
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
node dist/declare-tools.cjs load-graph
|
|
48
|
+
node dist/declare-tools.cjs load-graph
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Parse the JSON output. Extract:
|
|
52
|
-
- `milestone`: milestone ID and title
|
|
53
|
-
- `declarations`:
|
|
54
|
-
- `actions`:
|
|
55
|
-
- `milestoneFolderPath`:
|
|
56
|
-
- `researchPath`:
|
|
57
|
-
- `contextPath`:
|
|
51
|
+
Parse the JSON output. Find the milestone matching the ID. Extract:
|
|
52
|
+
- `milestone`: milestone ID and title (from `milestones` array)
|
|
53
|
+
- `declarations`: upstream declarations that realize this milestone (trace via `realizes` field)
|
|
54
|
+
- `actions`: all actions whose `causes` array includes this milestone ID
|
|
55
|
+
- `milestoneFolderPath`: derive as `.planning/milestones/M-XX-<slug>/`
|
|
56
|
+
- `researchPath`: `.planning/milestones/M-XX-<slug>/RESEARCH.md` if it exists
|
|
57
|
+
- `contextPath`: `.planning/milestones/M-XX-<slug>/CONTEXT.md` if it exists
|
|
58
58
|
|
|
59
59
|
If no actions found, display: "No actions found for M-XX. Run `/declare:actions M-XX` first to create the milestone plan." and exit.
|
|
60
60
|
|
package/dist/declare-tools.cjs
CHANGED
package/package.json
CHANGED