Commit Graph

12 Commits (e11be576fbbbbdeae405de2890dee2e1572e5c55)

Author SHA1 Message Date
Vincent Koc b7615e0ce3
Exec/ACP: inject OPENCLAW_SHELL into child shell env (#31271)
* exec: mark runtime shell context in exec env

* tests(exec): cover OPENCLAW_SHELL in gateway exec

* tests(exec): cover OPENCLAW_SHELL in pty mode

* acpx: mark runtime shell context for spawned process

* tests(acpx): log OPENCLAW_SHELL in runtime fixture

* tests(acpx): assert OPENCLAW_SHELL in runtime prompt

* docs(env): document OPENCLAW_SHELL runtime markers

* docs(exec): describe OPENCLAW_SHELL exec marker

* docs(acp): document OPENCLAW_SHELL acp marker

* docs(gateway): note OPENCLAW_SHELL for background exec

* tui: tag local shell runs with OPENCLAW_SHELL

* tests(tui): assert OPENCLAW_SHELL in local shell runner

* acp client: tag spawned bridge env with OPENCLAW_SHELL

* tests(acp): cover acp client OPENCLAW_SHELL env helper

* docs(env): include acp-client and tui-local shell markers

* docs(acp): document acp-client OPENCLAW_SHELL marker

* docs(tui): document tui-local OPENCLAW_SHELL marker

* exec: keep shell runtime env string-only for docker args

* changelog: note OPENCLAW_SHELL runtime markers
9 months ago
Brian Mendonca 48b052322b Security: sanitize inherited host exec env 9 months ago
Peter Steinberger 204d9fb404 refactor(security): dedupe shell env probe and add path regression test 9 months ago
Peter Steinberger 278331c49c fix(exec): restore sandbox as implicit host default 9 months ago
Peter Steinberger 0b13a0286e test: preload bash exec path tool module in suite 9 months ago
Peter Steinberger c962bcba37 test: reclassify sandbox merge and exec path suites as unit tests 9 months ago
Peter Steinberger 9131b22a28 test: migrate suites to e2e coverage layout 9 months ago
Peter Steinberger a87a07ec8a fix: harden host exec env validation (#4896) (thanks @HassanFleyah) 10 months ago
Hasan FLeyah 0a5821a811
fix(security): enforce strict environment variable validation in exec tool (#4896) 10 months ago
cpojer 58f4185925
fix: Failing tests due to import sorting. 10 months ago
cpojer 5ceff756e1
chore: Enable "curly" rule to avoid single-statement if confusion/errors. 10 months ago
Peter Steinberger e45228ac37 fix: merge login shell PATH for gateway exec 10 months ago