Skip to content

agent/codex: split websocket protocol, wire approvals, and harden tests#1054

Draft
jlewi wants to merge 5 commits intomainfrom
dev/jlewi/codexapp
Draft

agent/codex: split websocket protocol, wire approvals, and harden tests#1054
jlewi wants to merge 5 commits intomainfrom
dev/jlewi/codexapp

Conversation

@jlewi
Copy link
Contributor

@jlewi jlewi commented Feb 24, 2026

Summary

Implements the backend side of the Codex app-server integration in runme, including protocol separation, execution approval wiring, and notebook/session bootstrap behavior from the design.

What changed

  • Added a dedicated Codex websocket protocol package and generated artifacts under api/proto/agent/codex/v1 (kept separate from cell-execution websocket APIs).
  • Wired Codex turn execution and MCP execution approval handling in the agent server path.
  • Added session/bootstrap plumbing for Codex app flows.
  • Hardened tests for environment/tooling variability and shell startup noise:
    • runtime-gated tests for deno, rust-script, and working bb
    • conditional direnv expectations
    • robust TTY output assertions that strip known shell init noise
    • stabilized txtar and autoconfig tests for local/dev environments

Validation

  • runme run lint test

Related

Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
@jlewi jlewi changed the title Dev/jlewi/codexapp agent/codex: split websocket protocol, wire approvals, and harden tests Feb 24, 2026
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
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