Skip to content

Add exec harness safety scenarios#408

Merged
cbusillo merged 1 commit into
mainfrom
feat/exec-harness-safety-scenarios
Jun 6, 2026
Merged

Add exec harness safety scenarios#408
cbusillo merged 1 commit into
mainfrom
feat/exec-harness-safety-scenarios

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented Jun 6, 2026

Summary\n- add fake-response exec harness coverage for shell command round-trip behavior\n- add fake-response read-only sandbox write-denial coverage\n- extend harness expectations for command events, grouped event-count alternatives, and function-call output assertions\n- include both new scenarios in the deterministic harness smoke gate\n\nFixes #407\n\n## Validation\n- python3 -m py_compile tools/code-exec-harness/harness.py\n- python3 -m json.tool tools/code-exec-harness/scenarios/exec-shell-command-roundtrip.json\n- python3 -m json.tool tools/code-exec-harness/scenarios/exec-readonly-write-denied.json\n- git diff --check\n- python3 tools/code-exec-harness/harness.py tools/code-exec-harness/scenarios/exec-shell-command-roundtrip.json tools/code-exec-harness/scenarios/exec-readonly-write-denied.json --code-bin /Users/cbusillo/Developer/code/code-rs/target/release/code\n\n## Local Build Note\n- ./build-fast.sh was attempted twice but did not reach compilation locally because Cargo metadata stalled fetching the realtime-webrtc git dependency submodule livekit/protocol from https://github.com/juberti-oai/rust-sdks.git. An offline metadata probe confirms the missing dependency fetch path. CI should be the source of truth if its network/cache can fetch that dependency.

@cbusillo cbusillo merged commit cce567d into main Jun 6, 2026
1 check passed
@cbusillo cbusillo deleted the feat/exec-harness-safety-scenarios branch June 6, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant