Skip to content

Preserve Zellij targeting metadata through Safehouse#499

Merged
clkao merged 3 commits into
mainfrom
spacedock-ensign/safehouse-zellij-env-pass
Jul 12, 2026
Merged

Preserve Zellij targeting metadata through Safehouse#499
clkao merged 3 commits into
mainfrom
spacedock-ensign/safehouse-zellij-env-pass

Conversation

@clkao

@clkao clkao commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Safehouse-wrapped sessions preserve Zellij target metadata with one small wrapper-owned default, while leaving generic operator configuration to Safehouse.

What changed

  • terminalTargetingEnvArgs() conditionally constructs one static --env-pass=ZELLIJ,ZELLIJ_PANE_ID,ZELLIJ_SESSION_NAME argument.
  • Safehouse, not Spacedock, composes repeated named-env flags and SAFEHOUSE_ENV_PASS.
  • Claude, Codex, and Pi front doors are unchanged; there is no broad environment inheritance.

Evidence

  • Exact-forwarding, scrubbed-absence, and SAFEHOUSE_ENV_PASS composition controls pass.
  • A detached mutation that returns no targeting argument breaks the forwarding smoke and wrapper test.
  • ZELLIJ=0 go test ./... -count=1 and ZELLIJ=0 go test ./... -race -count=1 each passed 2,168 tests across 17 packages.

6j state record

@clkao clkao merged commit fd32446 into main Jul 12, 2026
6 of 8 checks passed
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