fn cwd_state_key(env: &HashMap<String, String>, agent_id: &str) -> StringExpand description
The key bashwrap names an agent’s cwd state file by: the block’s
AGENTMUX_INSTANCE_SLUG, else its AGENTMUX_AGENT_ID, else the
registered agent id; sanitized the way bashwrap does.