Commit Graph

19 Commits (2cdbadee1f8fcaa93302d7debbfc529e19868ea4)

Author SHA1 Message Date
Peter Steinberger 2cdbadee1f fix(security): block startup-file env injection across host execution paths 9 months ago
Peter Steinberger fec48a5006 refactor(exec): split host flows and harden safe-bin trust 9 months ago
Peter Steinberger b8b43175c5 style: align formatting with oxfmt 0.33 9 months ago
Peter Steinberger 31f9be126c style: run oxfmt and fix gate failures 9 months ago
cpojer d0cb8c19b2
chore: wtf. 9 months ago
Sebastian ed11e93cf2 chore(format) 9 months ago
cpojer 6b8c0bc697
chore: Format files. 9 months ago
Sebastian 6070116382 revert(exec): undo accidental merge of PR #18521 9 months ago
cpojer 90ef2d6bdf
chore: Update formatting. 9 months ago
misterdas 312a7f7880 fix: make tool exit code handling less aggressive
Treat normal process exits (even with non-zero codes) as completed tool results.
This prevents standard exit codes (like grep exit 1) from being surfaced
as 'Tool Failure' warnings in the UI. The exit code is still appended
to the tool output for assistant awareness.
9 months ago
saurav470 d2dd282034 docs(exec): document pty for TTY-only CLIs (gog) 9 months ago
Onur cd44a0d01e
fix: codex and similar processes keep dying on pty, solved by refactoring process spawning (#14257)
* exec: clean up PTY resources on timeout and exit

* cli: harden resume cleanup and watchdog stalled runs

* cli: productionize PTY and resume reliability paths

* docs: add PTY process supervision architecture plan

* docs: rewrite PTY supervision plan as pre-rewrite baseline

* docs: switch PTY supervision plan to one-go execution

* docs: add one-line root cause to PTY supervision plan

* docs: add OS contracts and test matrix to PTY supervision plan

* docs: define process-supervisor package placement and scope

* docs: tie supervisor plan to existing CI lanes

* docs: place PTY supervisor plan under src/process

* refactor(process): route exec and cli runs through supervisor

* docs(process): refresh PTY supervision plan

* wip

* fix(process): harden supervisor timeout and PTY termination

* fix(process): harden supervisor adapters env and wait handling

* ci: avoid failing formal conformance on comment permissions

* test(ui): fix cron request mock argument typing

* fix(ui): remove leftover conflict marker

* fix: supervise PTY processes (#14257) (openclaw#14257) (thanks @onutc)
9 months ago
Peter Steinberger 85b267aae9 refactor(agents): dedupe exec spawn and process failures 9 months ago
Peter Steinberger a14d275b2a refactor(agents): dedupe exec spawn fallback wiring 9 months ago
Peter Steinberger f1a76e1a36 refactor: dedupe PATH prepend helpers 9 months ago
Charlie Greenman dec6859702
agents: reduce prompt token bloat from exec and context (#16539)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 8e1635fa3fdfb199a58bd53e816abc41cd400d44
Co-authored-by: CharlieGreenman <8540141+CharlieGreenman@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
9 months ago
Peter Steinberger d73f3336de fix(exec): close stdin for non-pty runs 9 months ago
Peter Steinberger 77b89719d5 fix(security): block safeBins shell expansion 9 months ago
Peter Steinberger b47fa9e715 refactor(exec): extract bash tool runtime internals 9 months ago