Skip to content

feat(pty): arena mode with shared Docker primitives#90

Merged
veeso merged 2 commits intomainfrom
feat/pty-arena
Mar 11, 2026
Merged

feat(pty): arena mode with shared Docker primitives#90
veeso merged 2 commits intomainfrom
feat/pty-arena

Conversation

@veeso
Copy link
Copy Markdown
Collaborator

@veeso veeso commented Mar 11, 2026

Summary

  • Extract Docker container primitives from pty/adapters/test_container/ into shared pty/docker/ module (Container, SharedContainer, DockerExecSession, IO bridges)
  • Add DockerExecSession replacing both ArenaPtySession and TestContainerPtySession (~80 lines of duplication removed)
  • Add arena feature flag (arenadockerbollard) with ArenaScenario enum, ScenarioManifest parsing, and --arena CLI flag
  • Introduce ContainerConfig for flexible container creation (cmd, tty, open_stdin)
  • Remove simulation fixture code from agent/adapters/rig/shell.rs

Test plan

  • cargo check / cargo check --features arena / cargo check --features pty-test_container / cargo check --all-features — all compile cleanly
  • cargo clippy --all-features -- -D warnings — no warnings
  • cargo test --all-features — 383 tests pass
  • cargo run --features arena -- --arena the-502-cascade — pulls scenario image, displays prompt, interactive shell works
  • cargo run --features pty-test_container -- --use-pty-test-container — existing test container backend still works
  • cargo run — default local PTY unaffected

🤖 Generated with Claude Code

veeso added 2 commits March 11, 2026 14:54
Extract Docker container/shared-container/IO bridges from
pty/adapters/test_container/ into reusable pty/docker/ module.
Add DockerExecSession replacing both ArenaPtySession and
TestContainerPtySession. Introduce arena feature flag with
ArenaScenario enum, ScenarioManifest parsing, and CLI --arena
flag. Remove simulation fixture code from shell.rs.
Reflect the Docker module extraction (pty/docker/), DockerExecSession
unification, arena feature flag hierarchy, and scenario-based CLI.
@veeso veeso merged commit d700165 into main Mar 11, 2026
5 checks passed
@veeso veeso deleted the feat/pty-arena branch March 11, 2026 14:40
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