Skip to main content

Module agent_migrate_ids

Module agent_migrate_ids 

Source
Expand description

The Agents spawn action’s route (SPEC_AGENT_WORKERS_2026_10_15.md). Agents migrate_ids (POST /api/v1/agent/migrate-ids): an agent runs the agent id update for the person, the same steps Settings › Agents › Outdated agent ids runs (agents.migrateForkSlugs, agent_handlers/fork_slugs.rs): plan reads and changes nothing, stop asks every pane running an affected agent to stop (each with its user’s 30 s override, and the answer says how long to wait), apply migrates, rollback undoes a run from its journal (always the latest finished run: an agent names no journal file). The caller is the agent its token names; a request without one is refused, so a change is never attributed to the operator. Every step but plan is recorded in the audit log under the calling agent’s slug.

Structs§

MigrateIdsRequest 🔒

Constants§

AUDIT_ACTION 🔒
The audit entry’s action for a step.

Functions§

audit 🔒
handle_agent_migrate_ids 🔒
mode_of 🔒
What the migration does for step, if it is one an agent may ask for.
refuse 🔒