stefano
017eb1b410
fix: pipe and close stdin for codex to prevent hang on stdin read
...
When codex exec receives a prompt as a positional argument, it still
tries to read additional input from stdin (prints 'Reading additional
input from stdin...'). With stdio stdin set to 'ignore' or default,
codex blocks indefinitely waiting for stdin that never comes.
Fix: use stdio ['pipe', 'pipe', 'pipe'] and immediately close stdin
via child.stdin.end() in both execute.ts (sync) and jobs.ts (async).
This signals EOF to codex so it proceeds with the positional prompt.
2026-05-20 13:47:32 -05:00
stefano
afac143cb3
fix: filter codex ReasoningSummary stderr noise on exit code 0
...
Codex writes informational ERROR messages about ReasoningSummaryDelta
to stderr even on successful execution (exit code 0). The OpenClaw
agent misinterprets this non-empty stderr as a failure.
- Add filterStderrNoise() to strip known codex noise patterns from
stderr when exit code is 0
- Preserve raw stderr in DebugInfo.rawStderr when --debug is active
- Add 5 new tests covering noise filtering, preservation on failure,
debug raw output, and non-codex client passthrough
2026-05-20 13:37:21 -05:00
stefano
edb6611b74
merge M4 into implement/2026-05-19-ai-cli-dispatch-fixes
2026-05-19 22:49:05 -05:00
stefano
7b886a7b33
feat(M4): Documentation & Final Integration
2026-05-19 22:49:05 -05:00
stefano
48bef5cc7c
merge S-402 into M4
2026-05-19 22:45:38 -05:00
stefano
e6f2908624
merge S-401 into M4
2026-05-19 22:45:38 -05:00
stefano
601f7cce89
feat(S-402): Update docs/ai-cli-dispatch.md and docs/architecture.md
2026-05-19 22:45:38 -05:00
stefano
6655e2e1e8
feat(S-401): Update SKILL.md for async-first usage
2026-05-19 22:42:16 -05:00
stefano
bd88df7dd2
merge M3 into implement/2026-05-19-ai-cli-dispatch-fixes
2026-05-19 22:22:54 -05:00
stefano
591829369c
feat(M3): Async CLI Integration
2026-05-19 22:22:54 -05:00
stefano
a2c2b8bf6d
merge S-303 into M3
2026-05-19 22:04:19 -05:00
stefano
51f978db4c
feat(S-303): Update --help output and add CLI integration smoke tests
2026-05-19 22:04:19 -05:00
stefano
d061244121
merge S-302 into M3
2026-05-19 22:00:11 -05:00
stefano
4fe99b8c57
feat(S-302): Test-drive and implement job lifecycle subcommands
2026-05-19 22:00:11 -05:00
stefano
816374cef8
merge S-301 into M3
2026-05-19 21:42:58 -05:00
stefano
62840b908e
feat(S-301): Test-drive and implement async default for run and dispatch
2026-05-19 21:42:58 -05:00
stefano
e11c36b7d8
merge M2 into implement/2026-05-19-ai-cli-dispatch-fixes
2026-05-19 20:29:35 -05:00
stefano
e7b01612c8
feat(M2): Background Job Manager
2026-05-19 20:29:35 -05:00
stefano
9c7d9cbaee
merge S-202 into M2
2026-05-19 20:17:15 -05:00
stefano
3b9ed0cc38
feat(S-202): Test-drive and implement src/jobs.ts (write)
2026-05-19 20:17:15 -05:00
stefano
aa860a6afd
merge S-201 into M2
2026-05-19 19:58:48 -05:00
stefano
abf7726071
feat(S-201): Define job types and storage interfaces
2026-05-19 19:58:48 -05:00
stefano
21c13562a7
merge M1 into implement/2026-05-19-ai-cli-dispatch-fixes
2026-05-19 19:54:27 -05:00
stefano
bcddb42608
feat(M1): Codex Reliability Fix
2026-05-19 19:54:27 -05:00
stefano
5b78889b09
merge S-104 into M1
2026-05-19 19:51:10 -05:00
stefano
1983dd82e7
feat(S-104): Add stderr-length and exit-code correlation diagnostics
2026-05-19 19:51:10 -05:00
stefano
106c7d6425
merge S-103 into M1
2026-05-19 19:48:40 -05:00
stefano
94389df6f1
feat(S-103): Test-drive and implement --debug diagnostic mode
2026-05-19 19:48:40 -05:00
stefano
32964bf994
merge S-102 into M1
2026-05-19 19:39:46 -05:00
stefano
dc3fe8d6eb
feat(S-102): Test-drive and implement --timeout flag, config layering, and default in
2026-05-19 19:39:46 -05:00
stefano
5375c83c77
merge S-101 into M1
2026-05-19 19:20:53 -05:00
stefano
476dd317b3
feat(S-101): Extend types.ts with ExecResult metadata, timeout config shape, and debu
2026-05-19 19:20:53 -05:00
stefano
e523b34d1b
fix: codex uses --yolo not --full-auto
2026-05-18 19:15:59 -05:00
stefano
fd1d2c3e92
fix: invoke all CLI clients in full-access/yolo mode
...
- codex: --full-auto
- claude: --dangerously-skip-permissions
- opencode: --dangerously-skip-permissions
2026-05-18 19:15:04 -05:00
stefano
d3aa92be0d
fix: use 'opencode run' instead of bare prompt for OpenCode client
2026-05-18 19:06:34 -05:00
stefano
0e273b59ec
chore: add ai_plan/ to .gitignore
2026-05-18 18:51:32 -05:00
stefano
2e884e49c8
merge M6 into implement/2026-05-18-stef-openclaw-skills
2026-05-18 18:44:07 -05:00
stefano
775a665eaa
feat(M6): Documentation
2026-05-18 18:44:07 -05:00
stefano
2103c424f4
merge S-604 into M6
2026-05-18 18:43:58 -05:00
stefano
32f8a23700
merge S-603 into M6
2026-05-18 18:43:58 -05:00
stefano
480958f12e
feat(S-603): Create docs/architecture.md
2026-05-18 18:43:58 -05:00
stefano
c188f09684
feat(S-604): Update README.md and docs/README.md
2026-05-18 18:43:08 -05:00
stefano
7818e78244
merge S-602 into M6
2026-05-18 18:41:58 -05:00
stefano
c35ffe8af5
merge S-601 into M6
2026-05-18 18:41:58 -05:00
stefano
a6f855c9d9
feat(S-602): Create docs/installation.md
2026-05-18 18:41:58 -05:00
stefano
52675f6dc1
feat(S-601): Create docs/ai-cli-dispatch.md
2026-05-18 18:41:58 -05:00
stefano
d87038204b
merge M5 into implement/2026-05-18-stef-openclaw-skills
2026-05-18 18:39:33 -05:00
stefano
4f59258b20
feat(M5): CLI Integration
2026-05-18 18:39:33 -05:00
stefano
0879ffe39f
merge M4 into implement/2026-05-18-stef-openclaw-skills
2026-05-18 18:14:48 -05:00
stefano
fe7a015ca4
feat(M4): Natural Language Dispatch
2026-05-18 18:14:48 -05:00