@akagilnc/pi-workflow-roles 0.1.2130 → 0.1.2135
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
CHANGED
|
@@ -24,10 +24,20 @@ grok --prompt-file /path/to/labor-prompt.md -m grok-4.6 --always-approve --outpu
|
|
|
24
24
|
- Official docs list `-p/--single` as the canonical headless prompt input;
|
|
25
25
|
`--prompt-file` exists in the installed CLI (`--help`) and is smoke-verified
|
|
26
26
|
on this host — prefer it for long prompts, fall back to `-p` if absent.
|
|
27
|
-
- `--output-format plain` keeps stdout clean for capture
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
- `--output-format plain` keeps stdout clean for capture — but it stays
|
|
28
|
+
silent until the run finishes. **For labor longer than ~2 minutes use
|
|
29
|
+
`--output-format streaming-json` instead**: it emits NDJSON events
|
|
30
|
+
(thought/text deltas) continuously from the first second, which keeps the
|
|
31
|
+
package idle watchdog fed (verified live 2026-08-21; a plain-format judge
|
|
32
|
+
run was killed by the 183s idle timeout). Reconstruct the final answer by concatenating each NDJSON
|
|
33
|
+
object's `data` where `type == "text"`, in stream order; `type == "end"`
|
|
34
|
+
(stopReason end_turn) marks completion. Do not treat `thought` events as
|
|
35
|
+
the answer (live-verified stream shape 2026-08-21).
|
|
36
|
+
- **Always pass `--reasoning-effort <low|medium|high>`** matching the effort
|
|
37
|
+
tier ordered in the labor mandate (verified live 2026-08-21: flag exists,
|
|
38
|
+
alias `--effort`; a low-tier run completed correctly). If the mandate names
|
|
39
|
+
no tier, use the seat's ordered thinking tier; never omit the flag — the
|
|
40
|
+
CLI default is not guaranteed to match the ordered tier.
|
|
31
41
|
|
|
32
42
|
## Failure handling
|
|
33
43
|
|