Appearance
Enrolment
Enrolment creates the binding that every later session checks: practice, customer, device, and the enrolled agent's identity.
What enrolment establishes
- A
local_agent-source device row with a stablermm_devicesid. - A peer identity for the engine (
engine_peer_id) — stable across restarts and re-application. - The managed credential slot, fetched, applied and reported through the device-authenticated path.
Behaviour you can rely on
- Standby: a standby engine defers to the installed daemon; swapping engines re-applies the managed state.
- Re-enrolment after an engine swap restores the managed configuration without re-pairing by hand.
- Revocation is explicit and permanent: a revoked device gets
410on the wire paths, and a sustained410makes the agent uninstall itself — nothing re-enrols silently.
Scope
Every session the endpoint takes part in is bound to the enrolled customer (hesper_entity_id with its override). A session request outside that scope fails closed.
Next: Sessions.