mirror of
https://github.com/khodges42/nightShift.git
synced 2026-06-14 18:18:36 +00:00
863 B
863 B
Phase 19 Devlog: Stronger Command Execution
Implemented
- Added command stage
shelloption, defaulting to true for backward compatibility. - Added command stage
timeout_secondsoverride. - Added command stage
working_dirrestricted to the project root. - Added
safety.allowed_envfor optional environment variable pass-through. - Added argv-style execution path when
shell: false. - Added tests for shell-free execution and working-directory restrictions.
Decisions Made
- Existing string command config remains valid.
shell: falsestill uses the same exact allowlist check before splitting into argv.PATHis preserved when an environment allowlist is configured so common executables remain discoverable.
Notes
- Future hardening can move toward structured command definitions, but this phase avoids breaking current configs.