Executive summary
Harden model-driven tool execution in aien-drive and the aien-cli approval gate. Drake approved the work on PR #900.
Owner
crates/aien-drive and crates/aien-cli.
Dependencies
None outside those crates. bubblewrap/landlock, an argv allowlist in place of bash -c, Cortex recall trust, mail versus Cortex, and cortex.rs multibyte slicing stay follow-ups.
Acceptance gates
- cargo test -p aien-drive
- cargo test -p aien-cli
- cargo clippy -p aien-drive -p aien-cli --all-targets -- -D warnings
- bash scripts/agent-preflight.sh with CI=true AIEN_PROOF_OFF=1 AIEN_DEV_FALLBACK=1 AIEN_PREFLIGHT_CONTEXT=developer
Evidence
PR https://github.com/aien-dev/aien-sovereign-core-mv/pull/900 records the commands and exit codes.