Skip to content

Block test_run for Octo#101

Merged
pmbstyle merged 1 commit into
mainfrom
codex/fix-octo-test-run-bypass
May 17, 2026
Merged

Block test_run for Octo#101
pmbstyle merged 1 commit into
mainfrom
codex/fix-octo-test-run-bypass

Conversation

@pmbstyle
Copy link
Copy Markdown
Owner

Summary

  • block test_run in the default Octo tool policy alongside exec_run
  • cover the block in CLI resolution, runtime tool selection, and tool-call policy tests

Why

A fresh security fix blocked exec_run for Octo, but test_run still remained reachable through the regular Octo tool surface. Since test_run still launches local test or lint commands, that left a practical bypass for the new direct-exec restriction.

Verification

  • python -m py_compile src/octopal/cli/main.py src/octopal/runtime/octo/router.py tests/test_cli_tools_resolve.py tests/test_octo_tool_loop.py tests/test_router_tool_budget.py
  • full pytest could not be completed in this environment because the local uv and .venv launcher chain points at a broken interpreter path under AppData\\Roaming\\uv\\python

@pmbstyle pmbstyle added the codex label May 17, 2026
@pmbstyle pmbstyle self-assigned this May 17, 2026
@pmbstyle pmbstyle marked this pull request as ready for review May 17, 2026 13:17
@pmbstyle pmbstyle merged commit 92e6876 into main May 17, 2026
4 checks passed
@pmbstyle pmbstyle deleted the codex/fix-octo-test-run-bypass branch May 17, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant