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: Derive action plans per milestone
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: "Run `/declare:status` to see coverage and health."
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.
@@ -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 --milestone M-XX
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`: array of declaration IDs and statements
54
- - `actions`: array of `{id, title, produces, dependsOn, status}`
55
- - `milestoneFolderPath`: path to the milestone planning folder
56
- - `researchPath`: path to RESEARCH.md if it exists
57
- - `contextPath`: path to CONTEXT.md if it exists
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
 
@@ -1329,7 +1329,7 @@ var require_help = __commonJS({
1329
1329
  usage: "/declare:help"
1330
1330
  }
1331
1331
  ],
1332
- version: "0.1.0"
1332
+ version: "0.3.9"
1333
1333
  };
1334
1334
  }
1335
1335
  module2.exports = { runHelp: runHelp2 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "declare-cc",
3
- "version": "0.3.7",
3
+ "version": "0.4.0",
4
4
  "description": "A future-driven meta-prompting engine for agentic development, rooted in declared futures and causal graph structure.",
5
5
  "bin": {
6
6
  "declare-cc": "bin/install.js"