seat-continuity-and-handover
它能做什么
这个技能说明一组 AI 智能体如何在保持席位角色稳定、历史有记录的同时,更换席位上的执行者。适合在 OpenRig 拓扑中重建或替换智能体的运维人员。
适用场景
- ✓你需要通过重建、分叉或交接来替换席位的智能体的时候。
- ✓你必须决定旧智能体的去向:退役、提供建议或旁观的时候。
- ✓你需要为执行者变更提供来源记录的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用重建好的智能体替换 QA 席位的智能体,保留席位名称,并记录新智能体的来源。”
每周 5 个新技能,1 分钟读完。
工作原理
它把新智能体来自哪里,与席位本身发生什么区分开来,并记录这两项结果,使变更清楚而诚实。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Seat Continuity and Handover
A pair of primitive families that separate who is sitting in a seat from what the seat itself is:
- Occupant-creation primitives —
resume,fork,rebuild,fresh— produce a candidate new occupant. Answer: "where did the new occupant come from?" - Seat-binding operations — handover binds a candidate occupant into the topology. Answer: "what happened to the stable seat identity?" Inspect the current CLI for executable operations; design vocabulary alone does not establish a command.
Core architectural decision: stable seat identity, fluid occupant identity, explicit provenance. Do not encode successive occupants into live seat names. Keep the stable address and record lineage separately.
Use this when
- Replacing a seat's occupant via rebuild, fork, fresh, or seat-handover
- Choosing old-occupant disposition: retire / advise / shadow
- Reasoning about whether a seat's lineage is stable or has drifted
- Reading or writing the provenance record for a seat
- Designing or auditing topology stability across an occupant change
Don't use this when
- The seat is freshly created (no occupant to replace) — use
rig launch/rig expanddirectly - The intent is to change topology shape (add/remove seats), not replace an occupant — use topology-mutation primitives
The two-outcome honesty model
Every seat-binding operation produces two independent outcomes:
continuityOutcome: rebuilt | resumed | forked | fresh | failed
seatBindingOutcome: handed_over | partial | failed | unchanged
These can disagree honestly. Examples:
continuityOutcome: failed+seatBindingOutcome: unchanged— new occupant didn't materialize; seat correctly retains old occupant.continuityOutcome: rebuilt+seatBindingOutcome: failed— candidate created OK; bind failed mid-flight; provenance records the gap.
Don't collapse these into one outcome. The system can describe what actually happened only if the two are recorded independently.
Provenance record (durable, queryable)
Every handover writes:
- seat id
- old occupant id
- new occupant id
- creation mode (
resume/fork/rebuild/fresh) - source artifacts used
- whether old occupant remains alive as advisor/shadow
- operator or loop that initiated the motion
- timestamp
- result (
handed_over/partial/failed)
This is the system's truth-source for "how did the current occupant get there." Without it, the control plane shows the current occupant but not the legitimacy of the transition.
State models — independent
Occupant-creation state (per candidate)
- Requested — input to rebuild/fork/fresh/resume
- Realized — runtime/artifact path produced an occupant with managed-seat shape
- Failed — candidate didn't materialize;
continuityOutcome: failed
Seat-binding state (per seat)
- Stable — current occupant attached, no in-flight binding
- Binding — handover in progress
- Bound — handover succeeded; provenance record written
- Unchanged — bind failed before completion; seat retains old occupant
A seat stays Stable even if multiple candidate-occupants were produced and discarded.
Failure modes (5)
- Candidate creation failed —
rebuildcouldn't synthesize from artifacts;forkcouldn't resolvesession_source;freshcouldn't launch. Action: bind operation does not begin; seat unchanged; provenance records the failed candidate-creation step. - Old occupant cannot be detached cleanly — runtime hung, tmux locked, etc. Action: bind halts mid-flight; seat enters
Bindingstate with explicit "halted" sub-status; operator alerted. Do NOT auto-rollback by reattaching old-occupant if detach didn't complete cleanly. - Bind succeeded but provenance write failed — disk/db error. Action: not durable until provenance writes; treat as
Bindinghalted, notBound. - Old occupant disposition unfulfillable — operator requested
advise(keep alive as advisor) but runtime can't keep old alive. Action: degrade toretirewith explicit notification, OR fail if operator passed strict-disposition flag. - Concurrent handover attempts — two operations target the same seat. Action: serialize by seat-id lock; second attempt refuses with clear error.
Hard boundaries (do-not list; verbatim)
- Do NOT collapse
rebuildandseat handoverinto one primitive. The design specifically separates them
常见问题
稳定的席位是什么?
席位是稳定的角色地址,而坐在其中的智能体可以随时间变化。
旧智能体的几种选项是什么意思?
技能列出退役、提供建议和旁观,作为处理前任执行者的几种方式。
这适用于新建的席位吗?
不适用。新建的席位没有需要替换的执行者,因此不需要这项技能。
详情
作者的原始描述
Use when replacing a seat's occupant (rebuild/handover/swap), reasoning about stable-seat-identity vs fluid-occupant-identity, choosing an old-occupant disposition (retire/advise/shadow), or recording provenance for an occupant change. Two independent outcomes (continuityOutcome + seatBindingOutcome) and the 5 failure modes that prevent silent dishonesty.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12397
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-software
8.6k帮你的智能体设计、构建或调试一个后端包含 AI 智能体的持续运行应用,例如基于 Markdown 或 JSON 的智能体控制层。
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。