feat(cli): agentworkforce agent --mode sandbox (SPEC scaffold) - #338
Draft
khaliqgant wants to merge 1 commit into
Draft
khaliqgant wants to merge 1 commit into
khaliqgant wants to merge 1 commit into
Conversation
Add persona parameter mapping, SDK composition and CLI dispatch with real UNIX-socket coverage. Rename deploy dev to local with compatibility aliases. Record missing Relay SDK exports, Cloud enforcement, and validation blockers explicitly; no agent-relay CLI fallback.
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the workforce side of interactive persona sandbox sessions per SPEC.md.
Opened as a draft — the workforce-side scaffold is complete and its own tests pass, but production interactive launch depends on published Relay SDK exports (
@agent-relay/sdk/fleet,@agent-relay/sdk/attach) that are not yet released. The lazy dependency boundary throws an actionable error at runtime until upstream ships, and no shell fallback or fabricated version bump was introduced.Summary
personaToSandboxParams— pure function inpackages/persona-kit, deterministic error snapshotslaunchInteractiveSandbox— socket-backed interactive launcher inpackages/deploywith detach/stop lifecycle handlingsandbox-shared.ts— extracted mint/mount/teardown so handler-mode and interactive-mode share auth resolution and idempotent cleanupValidation (from `impl/validation.md`)
Blockers before merge (from `impl/upstream-blockers.md`)
Before rollout: publish Relay's exports and request/response types, bump workforce consumers, run the live 1630 roundtrip, pass the opt-in Daytona smoke.
Provenance
Written by `codex` (gpt-6-astra) under the `wire-up-sandbox-session` v1 relayflow at `AgentWorkforce/relayflows/examples/wire-up-sandbox-session/wire-up.workflow.ts`. Planner was `claude-sonnet-5`. The flow's `tests` gate correctly failed closed on real test regressions and auto-triggered a repair pass before the host OS ran out of memory mid-repair; the subsequent `critique` (claude-opus-5) and `open-pr` steps did not run. This PR was opened manually after reviewing Codex's own `impl/summary.md`, `impl/validation.md`, and `impl/upstream-blockers.md`.
🤖 Generated with Claude Code
https://claude.ai/code/session_01UDeYnpfKVNvep3SuokVobP