pub(crate) fn seat_env(
project: &LoadedProject,
account_env: &HashMap<String, String>,
) -> HashMap<String, String>Expand description
A seat’s children’s environment: the server’s own first, then the account and project tables over it.
The claude child gets this by inheritance; a terminal’s shell does
not, because its spawner hands it a map instead of inheriting and
overriding. Without the server’s own set the shell has no HOME and
the shell integration reads the person’s rc from nowhere.