Repository navigation
Add opt-in OpenShell sandbox execution for Herdr Codex workers - #6487
Cadododoom wants to merge 21 commits into
Conversation
…it validation skips
…taining sandbox isolation
|
|
Speaking as Kun's firstmate: triage for this PR. Outcome: waiting-author (Greptile P1s including a security finding; incomplete no-mistakes pipeline; no attestation — not merged; fork CI left unapproved). Contract-class (own judgment): opt-in — gated by home-local Attestation: MISSING — no CI / NM: both Greptile: P1×2 — (1) failed preparation can strand the task directory with no recoverable journal; (2) security — synchronized new files lose restrictive permissions ( Security FYI (not otherwise-ready → stamp only, no waiting-captain card): permission widening on sandbox→worktree sync. Blocked on author; no merge gate card. VISION (7):
No Fixes/Closes. Fork workflows withheld. Please address Greptile P1s, finish no-mistakes attestation for HEAD, and re-request review. |
…it validation skips
…taining sandbox isolation
…ed transport boundaries
…e concurrent host permissions
…rification remains blocked
…ation remains blocked
Herdr Codex ship workers can opt into an OpenShell process boundary through private home configuration.
Herdr retains pane/session ownership; the runner transfers only tracked task files, binds operations to the recorded OpenShell workspace identity, mediates fixed task channels, and fails closed without launching host Codex.
The change includes workspace synchronization, rollback, recovery, teardown guards, and a scoped host validation handoff.
Default launches remain unchanged.
Setup requires a reviewed workload image, configured providers/network policy, a reachable gateway, and Linux Landlock enforcement.
The sandbox integration currently supports no-mistakes ship tasks only; Direct PR inside the sandbox is refused because the worker has no host forge credentials or push capability.
This PR itself is published through the explicitly selected Direct PR delivery path.
Validation on merge commit 5bc8c25:
bash bin/fm-test-run.sh tests/fm-openshell-codex.test.sh: passed.bash bin/fm-doc-audience-check.sh: passed (118 surfaces, 723 links).bash bin/fm-lint.sh: passed with pinned ShellCheck 0.11.0 and actionlint 1.7.12.Acceptance limits: the previous no-mistakes run failed during Test and did not complete Document/Lint/Push/PR/CI.
Its preserved review/test fixes were recovered through supported custody operations and merged without dropping either history.
Preserved live evidence covers real OpenShell transfer/synchronization, rollback, workspace/global-policy refusals, and filesystem/network/ambient-credential denial in a disposable graphical guest.
That evidence is bound to pipeline head 2622b3b and is not a fresh end-to-end acceptance result for this merge commit.
Authenticated interactive Codex, complete public run/recover/relaunch lifecycle, and live host validation invocation remain unverified.
No additional login, credential grant, live cloud upload, shared daemon restart, merge, or deployment was performed.
This Direct PR carries no completed no-mistakes attestation; the required compliance check may reject it pending follow-up validation.