@veewo/claw-core 0.1.34 → 0.1.35

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.
@@ -101,13 +101,13 @@
101
101
  },
102
102
  "process.allTasksDone": {
103
103
  "stage": "done",
104
- "summary": "All plan tasks are done. Clear thread progress, deposit truth, then finish retrospective and ADR closeout.",
104
+ "summary": "All plan tasks are done. Clear thread progress, then execute each returned delegateSubagents entry field-by-field for truth deposition and ADR closeout.",
105
105
  "nextsteps": [
106
106
  "1. Clear thread progress.",
107
- "2. Curate the valuable findings from the completed work into a completed subtask report, then dispatch `truth-writer` with that report.",
108
- "3. Write the retrospective summary, then dispatch `adr-writer` with the completed `plan.json`"
107
+ "2. Read `delegateSubagents`, curate the valuable findings from the completed work into a completed subtask report, then execute the returned `truth-writer` dispatch contract field-by-field. Do not treat it as a suggestion.",
108
+ "3. Write the retrospective summary, then read `delegateSubagents` again and execute the returned `adr-writer` dispatch contract field-by-field with the completed `plan.json`."
109
109
  ],
110
- "notes": "Truth doc, ADR doc generation is an essential feature in claw-kit.",
110
+ "notes": "Truth doc and ADR doc generation are essential claw-kit features. When this state returns `delegateSubagents`, each entry is a required structured contract whose fields must be honored directly.",
111
111
  "recommendedCommands": [
112
112
  "{{doneBase}} --summary \"<retrospective summary>\""
113
113
  ],
@@ -121,10 +121,10 @@
121
121
  "summary": "Execution is in progress.",
122
122
  "nextsteps": [
123
123
  "1. Sync the thread progress with our tasks.",
124
- "2. Curate the valuable findings from the completed task into a completed subtask report, then dispatch `truth-writer` with that report.",
124
+ "2. Read `delegateSubagents`, curate the valuable findings from the completed task into a completed subtask report, then execute the returned `truth-writer` dispatch contract field-by-field. Do not treat it as a suggestion.",
125
125
  "3. Continue with {{nextTaskRef}}."
126
126
  ],
127
- "notes": "In `process.active`, keep moving unless there is a real blocker or explicit user interruption.",
127
+ "notes": "In `process.active`, keep moving unless there is a real blocker or explicit user interruption. When this state returns `delegateSubagents`, each entry is a required structured contract whose fields must be honored directly.",
128
128
  "recommendedCommands": [
129
129
  "{{taskDoneCommand}}",
130
130
  "{{editBase}} --task-id <id> --task-status in_progress"
@@ -155,10 +155,10 @@
155
155
  "summary": "Execution is resuming.",
156
156
  "nextsteps": [
157
157
  "Sync the thread progress with our tasks.",
158
- "Restart Goal Mode.",
158
+ "Restore Goal Mode to the active state.",
159
159
  "Resume with {{nextTaskRef}}."
160
160
  ],
161
- "notes": "The plan is moving back from a paused status into active execution.",
161
+ "notes": "The plan is moving back from a paused status into active execution, so Goal Mode should be restored to the active state before work resumes.",
162
162
  "recommendedCommands": [
163
163
  "{{taskDoneCommand}}",
164
164
  "{{doneBase}} --summary \"<retrospective summary>\""
@@ -173,7 +173,7 @@
173
173
  "summary": "Execution is paused.",
174
174
  "nextsteps": [
175
175
  "1. Pause Goal Mode.",
176
- "2. When resuming the plan, restart Goal Mode.",
176
+ "2. When resuming the plan, restore Goal Mode to the active state.",
177
177
  "3. Resume through `process.active` when execution should continue."
178
178
  ],
179
179
  "notes": "Use `process.wait` for a real blocker or a deliberate hold. Do not keep executing while the plan is paused.",
@@ -186,7 +186,7 @@
186
186
  "summary": "The plan is paused for discussion.",
187
187
  "nextsteps": [
188
188
  "1. Pause Goal Mode.",
189
- "2. When resuming the plan, restart Goal Mode.",
189
+ "2. When resuming the plan, restore Goal Mode to the active state.",
190
190
  "3. Resolve the discussion, then resume through `process.active`."
191
191
  ],
192
192
  "notes": "Use `process.discussing` for route discussion or decision-making. Resume execution only after the discussion is settled.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veewo/claw-core",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "type": "module",
5
5
  "description": "Core .claw harness primitives for project context, plan lifecycle, search, truth ingestion, and retention.",
6
6
  "homepage": "https://github.com/chanyuenpang/claw-kit",