Skip to content

feat(api-rs): launch persona sandboxes#431

Open
goksu wants to merge 1 commit into
gt/codex/api-persona-sessionsfrom
gt/codex/api-persona-sandbox-launch
Open

feat(api-rs): launch persona sandboxes#431
goksu wants to merge 1 commit into
gt/codex/api-persona-sessionsfrom
gt/codex/api-persona-sandbox-launch

Conversation

@goksu
Copy link
Copy Markdown
Collaborator

@goksu goksu commented Jun 5, 2026

Summary:

  • pass persisted harness_type and persona_id into sandbox spec creation
  • set AGENT_PERSONA and CENTAUR_HARNESS_TYPE for app-server sandboxes
  • choose codex, amp, or claude wrapper from the session's stored HarnessType
  • keep warm-pool claims limited to profileless Codex sessions so prestarted pods are not reused with the wrong persona or wrapper

Tests:

  • rustfmt --edition 2024 --check services/api-rs/crates/centaur-session-runtime/src/lib.rs
  • cargo test -p centaur-session-runtime
  • just build-one api-rs
  • local Helm deploy with iron-control disabled for arm64 validation
  • created amp persona session and executed once; launched pod had args=["amp-wrapper"], AGENT_PERSONA=eng, CENTAUR_HARNESS_TYPE=amp, and matching CENTAUR_THREAD_KEY

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