Skip to main content

Module policy

Module policy 

Source
Expand description

Which installs publish their presence. A normal signed-in desktop does, unless the user turns off “Publish this computer to my devices” (cloud:publishpresence, [setting_on]), and so does a headless srv. A task dev build, an isolated home and a test harness don’t by default: each would leave an entry in the account’s list of computers that is not a computer anyone uses. [FORCE_ENV] turns publishing on for one of those, for testing presence itself; the setting still wins over it.

Functions§

note_isolated_home
Remember that this process runs on an isolated home, when home_override (the value of AGENTMUX_HOME_OVERRIDE) names one. Call it before removing the variable: [Install::from_env] reads it later.
off_reason_from
Why an install on channel, started with the variables var and the raw settings settings, does not publish its presence; None when it does. The rule of [Install::off_reason] over values the caller has, for what tells the person (agentmux status holds its own copy of the rule to this one in its tests).