Expand description
The spawn environment of a persistent-controller CLI process.
Functions§
- build_
persistent_ spawn_ env - Builds the full spawn environment for a persistent-controller CLI
process:
cmd:envbase → Layer 3 identity/credential gate → the two RESERVED wrapper variables (unconditionally overwritten —AGENTMUX_AUTH_KEY/AGENTMUX_BLOCKID) → the two agent-identity variables and per-agent git identity (from the row’s slug when it has one,identity_env) → bundled/user tools PATH → the reserved guards (gh_guard,account_login_guard: no agent gets a human’sghlogin or the account’s cloud login).