@crewx/wi 0.1.10-rc.149 → 0.1.10-rc.150

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.
Files changed (2) hide show
  1. package/SKILL.md +7 -16
  2. package/package.json +4 -4
package/SKILL.md CHANGED
@@ -175,20 +175,14 @@ Deliver an approved Work Instruction to the assigned agent.
175
175
  crewx memory index {impl_agent}
176
176
  ```
177
177
 
178
- 3. Invoke `crewx x` with the entire WI content in the prompt and `--thread="WI-ID"` (replace `WI-ID` with the actual identifier). A prompt containing only a file path is insufficient.
178
+ 3. Set the recipient with `--to` and send the complete WI as the body. Put a long WI in a file; its path and first line never select the recipient.
179
179
  ```bash
180
- crewx x "@{impl_agent} Execute Work Instruction WI-{ID}.
181
-
182
- Full WI:
183
- {paste the entire WI file content here}
184
-
185
- Report in the specified format when done." \
186
- --thread="WI-{ID}" \
187
- --out=".crewx/result/WI-{ID}-impl.txt"
180
+ crewx x --to {impl_agent} -f wi-body.md --thread="WI-{ID}" --out=".crewx/result/WI-{ID}-impl.txt"
188
181
  ```
189
- For `crewx x`, `--wait` requests synchronous execution; this differs from the `--wait=N` polling limit used by `crewx result` in the next step.
190
- The prompt must contain the complete WI, not merely `docs/wi/WI-{ID}.md` or another file path.
182
+ `wi-body.md` must contain the complete Work Instruction text. A bare file path as the whole prompt is insufficient.
183
+ The file supplies only the body; the recipient is specified by `--to`.
191
184
 
185
+ For `crewx x`, `--wait` requests synchronous execution; this differs from the `--wait=N` polling limit used by `crewx result` in the next step.
192
186
  4. In agent context, the immediate task ID returned by `crewx x` is a receipt, not completion. Recover the terminal result from the foreground with:
193
187
  ```bash
194
188
  crewx result <task-id> --wait=N
@@ -231,12 +225,9 @@ There is no implemented CLI route for `review`; request lead review manually bef
231
225
  Request a review from the `consultant` before issuing.
232
226
 
233
227
  ```bash
234
- $CREWX_CLI q "@{consultant} Review this Work Instruction.
235
- Check feasibility, missing items, and risks.
236
-
237
- {entire WI file content}" \
238
- --thread="WI-{ID}-review" --out=".crewx/result/WI-{ID}-review.txt"
228
+ $CREWX_CLI q --to {consultant} -f review-body.md --thread="WI-{ID}-review" --out=".crewx/result/WI-{ID}-review.txt"
239
229
  ```
230
+ `review-body.md` must contain the review request, review criteria, and complete WI text.
240
231
 
241
232
  ---
242
233
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/wi",
3
- "version": "0.1.10-rc.149",
3
+ "version": "0.1.10-rc.150",
4
4
  "description": "Work Instruction engine for CrewX - structured task delegation",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cli.js",
@@ -25,9 +25,9 @@
25
25
  "templates/"
26
26
  ],
27
27
  "dependencies": {
28
- "@crewx/workflow": "0.3.22-rc.175",
29
- "@crewx/shared": "0.0.6-rc.44",
30
- "@crewx/sdk": "0.9.0-rc.129"
28
+ "@crewx/sdk": "0.9.0-rc.130",
29
+ "@crewx/shared": "0.0.6-rc.45",
30
+ "@crewx/workflow": "0.3.22-rc.176"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "better-sqlite3": ">=12.0.0"