@akagilnc/pi-workflow-roles 0.1.3527 → 0.1.3531
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.
|
@@ -14147,7 +14147,6 @@ function controlledGrokChildEnv(base, grokHome) {
|
|
|
14147
14147
|
return {
|
|
14148
14148
|
...base,
|
|
14149
14149
|
...PRIVATE_COMPAT_ENV,
|
|
14150
|
-
HOME: grokHome,
|
|
14151
14150
|
GROK_HOME: grokHome,
|
|
14152
14151
|
GROK_MEMORY: "0",
|
|
14153
14152
|
GROK_SUBAGENTS: "0"
|
package/package.json
CHANGED
|
@@ -32,14 +32,9 @@ codex exec --skip-git-repo-check --ephemeral -C "$PROJECT_ROOT" "YOUR_LABOR_PROM
|
|
|
32
32
|
|
|
33
33
|
Default (non-`--json`) mode prints the session banner and progress on stderr
|
|
34
34
|
(measured on this host). Collect the labor body from stdout so that stderr log
|
|
35
|
-
noise is not mixed into the returned body.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
`turn.failed`):
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
codex exec --skip-git-repo-check --ephemeral --json "YOUR_LABOR_PROMPT"
|
|
42
|
-
```
|
|
35
|
+
noise is not mixed into the returned body. Never use `--json` for labor: its
|
|
36
|
+
JSONL event rows go back into the seat's context as noise (see `opus.md` for the
|
|
37
|
+
measured ratio).
|
|
43
38
|
|
|
44
39
|
Prefer `codex exec --help` on the host over any remembered flag set. Do not wrap
|
|
45
40
|
this engine behind `ak-role` flags.
|
|
@@ -20,7 +20,8 @@ opencode run -m opencode-go/glm-5.2 "YOUR_LABOR_PROMPT"
|
|
|
20
20
|
`opencode models` first** — provider prefixes migrate (verified 2026-08-21:
|
|
21
21
|
GLM lives under `opencode-go/`, e.g. `opencode-go/glm-5.2`; the older
|
|
22
22
|
`zai/glm-5.2` id errors with "Unexpected server error").
|
|
23
|
-
- `--format json`
|
|
24
|
-
|
|
23
|
+
- Plain text output only (never `--format json` for labor — the returned body
|
|
24
|
+
goes back into the seat's context); `--auto` auto-approves non-denied
|
|
25
|
+
permissions for unattended runs (per official docs).
|
|
25
26
|
- Output goes to stdout; long prompts may be passed via shell heredoc or a
|
|
26
27
|
file read into the argument — follow the installed CLI's actual interface.
|
|
@@ -18,8 +18,8 @@ zcode --prompt 'YOUR_LABOR_PROMPT' --cwd /path/to/worktree
|
|
|
18
18
|
|
|
19
19
|
`--prompt` defaults to permission mode `yolo` (no TTY permission stalls).
|
|
20
20
|
Useful extras measured from `zcode --help`: `--attach <path>` (repeatable),
|
|
21
|
-
`--mode build|edit|plan|yolo`, `--resume <sess_
|
|
22
|
-
|
|
21
|
+
`--mode build|edit|plan|yolo`, `--resume <sess_...>`. Never `--json` for
|
|
22
|
+
labor (the returned body goes back into the seat's context as plain text). Prefer `zcode --help` on the host over any remembered flag set.
|
|
23
23
|
|
|
24
24
|
## Realm and model traps (host-verified 2026-08-29, all three hit in sequence)
|
|
25
25
|
|
|
@@ -143,7 +143,7 @@ function childEnv(controlledHome: string, packageRoot: string): NodeJS.ProcessEn
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* Single production isolation binding: auth root, GROK_HOME
|
|
146
|
+
* Single production isolation binding: auth root, GROK_HOME, and binary
|
|
147
147
|
* resolution. Production executeTurn passes controlledHome as S6 request.home
|
|
148
148
|
* (seatbelt hang root proven separately by S6 seatbelt tests).
|
|
149
149
|
*/
|