houmao-mgr agents mailbox¶
Late filesystem mailbox registration for local managed agents. These commands register, inspect, or remove filesystem mailbox bindings on existing local managed agents without requiring relaunch.
Commands¶
register¶
Register one filesystem mailbox binding for an existing local managed agent.
| Option | Description |
|---|---|
--mailbox-root DIRECTORY |
Filesystem mailbox root override. Defaults to HOUMAO_GLOBAL_MAILBOX_DIR or the active project mailbox root. |
--principal-id TEXT |
Optional mailbox principal id override. Defaults from the managed-agent identity. |
--address TEXT |
Optional full mailbox address override. Defaults to the ordinary mailbox address derived from the managed-agent identity, such as research@houmao.localhost. |
--mode [safe\|force\|stash] |
Filesystem mailbox registration mode. Default: safe. |
--yes |
Confirm destructive replacement without prompting. |
--agent-id TEXT |
Authoritative managed-agent id. |
--agent-name TEXT |
Raw creation-time friendly managed-agent name. Do not include the HOUMAO- prefix. |
When register would replace existing shared mailbox state, it prompts before destructive replacement on interactive terminals. In automation or other non-interactive contexts, rerun with --yes to confirm the overwrite explicitly.
When both --principal-id and --address are omitted for an ordinary managed agent, late binding derives principal id HOUMAO-<agent-name> and mailbox address <agent-name>@houmao.localhost. Mailbox local parts beginning with HOUMAO- under houmao.localhost are reserved for Houmao-owned system principals rather than ordinary managed-agent mailbox addresses.
unregister¶
Remove one filesystem mailbox binding from an existing local managed agent.
| Option | Description |
|---|---|
--mode [deactivate\|purge] |
Filesystem mailbox deregistration mode. Default: deactivate. |
--agent-id TEXT |
Authoritative managed-agent id. |
--agent-name TEXT |
Raw creation-time friendly managed-agent name. |
status¶
Report late mailbox registration posture for one local managed agent.
| Option | Description |
|---|---|
--agent-id TEXT |
Authoritative managed-agent id. |
--agent-name TEXT |
Raw creation-time friendly managed-agent name. |
Workflow¶
The preferred local serverless mailbox workflow is:
houmao-mgr mailbox inithoumao-mgr agents launch ...orhoumao-mgr agents join ...houmao-mgr agents mailbox register --agent-name <name>houmao-mgr agents mail ...
When you run that flow from a repo with an active .houmao/ overlay, steps 1 and 3 now default to <active-overlay>/mailbox. Use --mailbox-root or HOUMAO_GLOBAL_MAILBOX_DIR only when you intentionally want a different mailbox authority.
For supported tmux-backed managed sessions, including sessions adopted through houmao-mgr agents join, agents mailbox register and agents mailbox unregister update the durable manifest-backed mailbox binding without requiring relaunch. That remains true even when a joined session is controllable but non-relaunchable, as long as Houmao can still update the session manifest and validate the resulting mailbox binding safely.
See Also¶
- houmao-mgr — parent CLI reference
- agents mail — managed-agent mailbox follow-up commands
- Mailbox Reference — mailbox subsystem details