Skip to content

fix(codex): allow sandboxed Kanban worker handoffs#26212

Closed
hehehe0803 wants to merge 1 commit into
NousResearch:mainfrom
hehehe0803:fix/codex-kanban-writable-root
Closed

fix(codex): allow sandboxed Kanban worker handoffs#26212
hehehe0803 wants to merge 1 commit into
NousResearch:mainfrom
hehehe0803:fix/codex-kanban-writable-root

Conversation

@hehehe0803

Copy link
Copy Markdown
Contributor

Summary

  • keep Codex app-server Kanban workers inside workspace-write sandboxing
  • add the active Kanban board directory as the only extra writable root when HERMES_KANBAN_TASK is present
  • update Codex app-server runtime docs to describe the per-board SQLite DB handoff path

Fixes #26203

Test Plan

  • python -m pytest tests/agent/transports/test_codex_app_server_runtime.py -q
  • Kanban smoke board codex-runtime-orchestration-smoke-2 completed with backend-worker, frontend-worker, and fullstack-worker
  • Real-world portfolio_tracker frontend worker smoke completed in isolated worktree

Security notes

This avoids the brittle workaround of using :danger-no-sandbox. The override is scoped to Codex app-server workers with HERMES_KANBAN_TASK set, forces sandbox_mode="workspace-write", disables network, and adds only the current board directory derived from HERMES_KANBAN_DB as writable.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/agent Core agent loop, run_agent.py, prompt builder labels May 15, 2026
NishantEC

This comment was marked as outdated.

@teknium1

Copy link
Copy Markdown
Contributor

Merged via #27557 with your authorship preserved via rebase-merge. Commit 4a7cd2e16 is on main. Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent loop, run_agent.py, prompt builder P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Codex app-server Kanban workers cannot complete tasks under sandbox without board DB writable root

4 participants