一键导入
recovery
Recover orchestrator state after a session restart. Use at the start of any new session to discover running agents, pending tasks, and recent activity.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Recover orchestrator state after a session restart. Use at the start of any new session to discover running agents, pending tasks, and recent activity.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Always register VM snapshots in the commit ledger. Use when committing/snapshotting VMs, before destroying VMs, during deploys, or when creating golden images. Ensures no snapshot goes untracked.
Generate a magic login link for the agent-services dashboard UI. Use when the user wants to access the dashboard, needs a login link, says "magic link," or asks for UI access.
Shared task board for coordinating work across agents. Use when creating, assigning, tracking, or querying tasks in a swarm.
Deploy a branch to a preview VM for zero-risk change review. Snapshot infra, clone it, deploy the branch on the clone, share the link. Production untouched. Use for ALL UI changes, feature demos, and PR reviews.
Commit ledger for tracking VM snapshots. Use when recording, querying, or managing Vers VM commit history — golden images, infra snapshots, rollback points.
Append-only work log for agent sessions. Use when recording what happened, what was decided, and what's next — the log is for the next session's orchestrator.
基于 SOC 职业分类
| name | recovery |
| description | Recover orchestrator state after a session restart. Use at the start of any new session to discover running agents, pending tasks, and recent activity. |
When starting a new orchestrator session (after restart, /reload, or fresh start), follow this protocol to recover state before doing anything else.
VERS_INFRA_URL and VERS_AUTH_TOKEN must be setregistry_discover { role: "infra" }
If no infra VM found, the coordination layer is down — you'll need to restore or recreate it before proceeding.
board_list_tasks {}
Categorize tasks by status: open, in_progress, blocked, done. This is your source of truth for what work exists.
feed_list { limit: 50 }
Scan for recent agent_started, agent_stopped, blocker_found, task_completed events to understand what happened since last session.
registry_list { status: "running" }
Cross-reference with in_progress board tasks to see which agents are still alive and working.
If using swarm tools:
vers_swarm_status {}
in_progress tasks: Check if the assigned agent is still running (in registry). If not, reassign or spawn a new agent.blocked tasks: Read the blocker notes, resolve, and reassign.open tasks: Assign to available agents or spawn new ones.done tasks: Review results, merge PRs, close out.feed_publish {
agent: "orchestrator",
type: "custom",
summary: "Orchestrator recovered — N agents running, M tasks in progress"
}
The agent-services extension handles these on every agent boot — no manual action needed:
agent_started / agent_stopped to the feedVERS_VM_ID)stopped on shutdownYou only need to manually register VMs that were created outside the extension (e.g., infra VMs set up via vers_vm_use).
Additionally, the extension syncs skills from the SkillHub (/skills/*) to ~/.pi/agent/skills/_hub/ on session start and subscribes to SSE for live updates — so recovered agents automatically get the latest skill definitions.