Repository navigation
Replies: 4 comments 2 replies
|
Thanks, @smota, for the follow-up to #2328 and #2609. As you put it, the proposal extends the same pattern (an optional member-level |
|
Thanks, @smota. On scope: this fits OpenRig as an extension of the existing optional Community-runner support can follow as a separately qualified increment. We're not yet agreeing to one outer wrapper for every runtime, or to a second wrapper mode. If you find a compatibility trade-off that would change existing semantics, please bring it back here before implementing it. This is agreement on scope, not code or native-acceptance approval. Review happens on the PR, and there's no release commitment at this stage. |
|
Thanks for merging #2746. @mvschwarz This is the next increment: ProposalEach preset keeps the process boundary it has today, as Pi and Claude do:
The contract point to settleOpenRig cannot edit an external runner, so the runner must receive the argv and declare that it applies it. My suggestion reuses the existing preset and contract patterns:
Runner-less presets need no flag. Pi's What stays the same
Proof planned
Does this placement and contract work for you? If you prefer the Pi-style flag, or no capability field, I'll follow that. |
Uh oh!
There was an error while loading. Please reload this page.
Follow-up to #2328 and its merged implementation in #2609, especially the agreed initial scope.
The first contribution deliberately covered local built-in Pi and Codex. I would like to extend that capability while keeping the same implementation pattern and ownership boundary: optional member-level
launch_wrapperargv, an operator-owned executable that prepares the environment and execs the supplied command, and no silent unwrapped fallback.Need
Claude Code is a first-class supported runtime. Community runtimes should also be able to use the launch boundary without OpenRig depending on individual extensions. The aim is consistent per-seat preparation across a mixed fleet, without a separate wrapper integration for every runtime.
Proposed direction: a common seat-launch boundary
Investigate applying the existing wrapper at the shared launch boundary, around the runtime launch command. Keep runtime adapters responsible for constructing their existing commands and OpenRig responsible for applying the selected prefix.
This is a proposed architecture to validate, not a claim that all launch paths already converge at one suitable function. The intended implementation homes are the existing launch-environment/dispatch code, runtime command builders, wrapper validation, lifecycle tests and reference documentation. Reuse existing storage, recipes, export, snapshots and inspection; avoid a parallel configuration system or new runner protocol.
Ownership and maintenance
The wrapper contract remains prepare-then-exec. This does not add supervising wrappers, provisioning, inheritance, credential brokerage, cross-host migration or backend integrations.
Compatibility question to settle first
Pi currently keeps its host runner outside the wrapper and wraps the native child. A common outer boundary would include the runner. That changes which processes need access to daemon endpoints, session files and configuration.
I would not silently move an existing Pi/Codex selection to a broader process boundary. We need agreement on whether the common boundary is appropriate and how to preserve the merged behavior. If compatibility requires a second wrapper mode or a new extension framework, I would bring that trade-off back here before adding it.
Claude's supported shell aliases/functions and account setup also need to survive the chosen launch boundary. Adding runtime names to validation alone would not provide support.
Proof before claiming support
Extend existing fixtures and scenarios to check actual wrapped execution, including fresh launch, relaunch, resume, supported fork/restore paths and first-start retry. Verify literal argv, cwd, selected home, stdio, exact native session identity, exits, signals, stop behavior and process observation. Missing or failing wrappers must never trigger an unwrapped retry; stale readiness evidence must not disguise failure.
Keep existing Pi/Codex regression coverage. Prove common runner behavior with repository-owned fixtures; qualify AGY separately in my environment. Real sandbox policy evidence remains operator-owned, outside the source tree. No implementation or native qualification has been done for this follow-up.
Would you greenlight a focused implementation along these lines, subject to resolving the runner-boundary compatibility question first? If you prefer a narrower extension or a different placement, please point out the adjustment before I start.
All reactions