Skip to main content

Module memory_adopt

Module memory_adopt 

Source
Expand description

memoryadopt service — the paired CEF host calls this, host→srv, once a human has confirmed in the host’s window which of an agent’s earlier accounts’ memory folders to adopt (SPEC_MEMORY_FOLLOWS_THE_AGENT_2026_09_24.md §2.1.4, phase M3c).

Host-only, like credential: every method requires args[1] to be this srv instance’s AGENTMUX_HOST_REG_SECRET. The shared X-AuthKey is in every agent’s environment, so an RPC an agent can reach can’t stand for a human’s confirmation (see credential.rs’s module doc for the incident that established this). The choices themselves are only (list_id, index, dir_hash) from a list the server issued (agent:memory:adoption_list) — never a path.

Structs§

AdoptArgs 🔒
Choice 🔒
ReleaseArgs 🔒

Functions§

handle_adopt 🔒
handle_memory_adopt_service 🔒
handle_release 🔒
Release an agent’s claim on a folder from its agent:memory:claims list — a human confirmed it in the host window (spec §2.1.2).