
seat-continuity-and-handover
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.
- Installs
- 0
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/mvschwarz/openrig --skill seat-continuity-and-handover- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads seat-continuity-and-handover automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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.
rig seat handover's receipt reports it under sideEffects:
provenanceRecordWritten says whether this handover's lineage record (its
occupant tenure) exists, and departingProcess says how the old process
ended (ended-graceful, ended-forced, or not-touched for a discovered
successor). If provenanceRecordWritten is false, the seat is already bound
to the successor and only its lineage record is missing: check the daemon
log, which names the first such failure since the daemon started, and don't
run the handover again, which would replace the occupant a second time.
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 (or missing, when the receipt says so: see failure mode 3)
- 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 the lineage record didn't write — disk/db error; the receipt says
provenanceRecordWritten: false. Action: the binding is committed and the successor is the occupant; only its lineage record is missing. Report it as bound with the record missing, check the daemon log (it names the first such failure since the daemon started), and don't run the handover again. - 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 so the system can describe what actually happened. -
Do NOT introduce successor-suffix seat names (
lead2/lead3). Stable seat identity is the architectural goal. The live address stays stable. A retired tenure is distinguished by its ledger generation and exact history token; preserving it does not require a renamed live pane. -
Do NOT report a handover's provenance record as written unless its receipt says
provenanceRecordWritten: true; a bound seat whose record is missing is reported as exactly that (failure mode 3). -
Do NOT auto-rollback a half-completed handover by re-attaching the old occupant unless detach completed cleanly first.
Composition and current command surface
A fork can create a candidate occupant; handover binds it into an existing seat.
The continuity outcome is forked; the binding outcome is independent.
The packaged rig handover <seat> and rig seat handover <seat> accept fresh,
discovered:<id>, fork:<seat> and rebuild sources. Use --dry-run to request
planning only. Without it, these surfaces can execute; do not infer read-only
behavior from the shorter seat command's planning-oriented description.
rig seat status <seat> is the read-only observability surface.
Source support is declared by the running daemon and depends on actual identity, history and artifact prerequisites. Read the returned source, continuity, binding and provenance results independently. A help listing or dry-run is not proof of a successful transition. The linked cutover SOP supplies the operator mechanics and required effect checks after the named owner authorizes the action.
Write the seat's recap before a handover
A rebuild primes the successor from the seat's durable artifacts, highest trust
first:
- the authored
RECAP.md; LEARNED.md;- the latest restore packet, when one is marked.
The superseded recaps follow, newest first, as optional history: the successor reads them only when it needs the seat's history.
A missing RECAP.md is recorded as a gap. The successor is directed to the remaining
available artifacts in that order. So before a handover, a compaction or a long pause,
the sitting occupant writes its recap alongside LEARNED.md:
rig context recap-write --file <draft.md>
- Without
--rigand--seatit writes the calling seat's recap (fromOPENRIG_SESSION_NAME). For another seat,--seatis its folder underrigs/<rig>/seats/, the part of its session name before@. A seat's recorded logical id or member id maps to its folder when the daemon can check it against the rig's seats. - The command reads
topology.rootand doesn't need the daemon. - Each write moves the previous recap into the seat's
recap-superseded/chain, which later rebuilds list as history. Write through this command, not a file tool, so the chain is kept.
The store refuses the write, and writes nothing, when a section can't be
addressed. Only H2 and H3 headings are sections. Addresses lowercase the title,
remove Markdown formatting markers, replace remaining runs outside a-z/0-9 with
a hyphen, and trim edge hyphens. Duplicate section paths, a nonblank H2/H3 title
that normalizes to an empty slug, and an unclosed code fence are refused. A
duplicate path is two H2s with the same address, or two H3s with the same address
under one H2. Blank headings are retained as scope boundaries.
It writes, with an advisory on stderr, when:
- no H2 or H3 title contains "decision";
- a line mentions "unverified" without the exact marker
UNVERIFIED:.
A recap that passes the first time has:
- a short summary;
- a
## Decisions, with reasonssection, each decision with its reason; - what's in flight and who owns the next step;
- an
UNVERIFIED:line for each fact you haven't checked yourself.
Why load-bearing for RSI
Any recursive seat-refresh loop must be able to replace an occupant while keeping topology stable. Without these primitives, RSI loops will either accumulate suffixed seat names (lineage leaking into identity) or destabilize topology references on each cycle. Provenance must be durable AND queryable so RSI loops can decide whether a seat is fresh enough to receive new work or needs re-handover.
Managed binding and retained history
A retired advisor's history can remain available without a managed node or live
pane. Query current binding and the lineage ledger separately: one answers who
holds the seat, the other identifies the retained history and exact resume token.
Do not infer that a predecessor is unreachable from registry absence alone, or
that a preserved token proves a successful resume. Check the actual runtime and
history when consultation is needed; see retiring-and-inheriting-a-seat.
See also
references/apprentice-successor-seat-cutover.md— the portable mechanic SOP used only after the owner-worded gatereferences/orchestrator-role.md— the orchestration judgment, authority, custody, and receipt contractreferences/apprentice-evidence-toolkit.md— optional evidence apparatus selected only when the stakes earn itsession-source-forkskill —forkoccupant-creation primitive (sibling)agent-startersskill — composes occupant-creation + binding into named reusable starting pointscross-host-rig-commandsskill — remote addressing and transport; verify lifecycle support on the target
FAQ
What does the seat-continuity-and-handover skill do?
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.
How do I install seat-continuity-and-handover?
Run npx skills add https://github.com/mvschwarz/openrig --skill seat-continuity-and-handover in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/seat-continuity-and-handover/ (personal) or .claude/skills/seat-continuity-and-handover/ (project).
Which AI agents can use seat-continuity-and-handover?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is seat-continuity-and-handover safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains seat-continuity-and-handover?
It is published by mvschwarz in mvschwarz/openrig. It has 0 recorded installs.
More from mvschwarz/openrig
rigs
mvschwarz/openrig
Use when a person in their own Claude Code or Codex session mentions OpenRig, rigs or the rig command, or wants a team of coding agents (Claude Code, Codex) on their project. That includes installing, setting up, starting or updating OpenRig, seeing, getting back to or re-attaching to their OpenRig agents (including bringing a stopped team back), TUI or operator, starting or sharing a team, and joining this session to one. Operating a running rig from inside it (fleet recovery, seat handover, watchdog wakes, in-rig upgrades) is the openrig-skills skill.
agent-operated-workflows
mvschwarz/openrig
Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable, or partially knowable state; when an operation must resume from verified evidence; or when deciding whether agent judgment or ordinary code should own a procedure's control loop.
applying-a-permission-policy
mvschwarz/openrig
Use before launching a team during agent-guided setup, or when a user asks to configure OpenRig command permissions, reduce repeated native approval prompts, or apply a selected rig/seat permission policy.
delegating-work
mvschwarz/openrig
Use when you have a task and must decide WHO does it — yourself, a spawned subagent, or another agent in the topology that already holds the context — or how to brief the agent you hand it to, which depends on the model it runs. The rule: how much would a blank slate have to read in to do this correctly? A lot → route to a context-holding agent; a little → subagent; unsure → a real agent or yourself. NOT the mechanics of fanning out (that's dispatching-parallel-agents / subagent-driven-development) — this is the who/whether decision, and the failure mode that makes teams abandon subagents. Also use it to decide how far to trust a delegated result.
forming-an-openrig-mental-model
mvschwarz/openrig
Use when the system around you does not make sense yet: you just booted into a seat and do not know how the pieces fit; someone said rig, pod, seat, fleet, topology, or slice and you are not certain what they mean here; you are unsure what kind of rig you are in or what it is for; you do not know how skills reach you or where context comes from; or you are about to act on a guess about how OpenRig works. Gives the runtime mental model fast, so you stop guessing.
agent-operated-software
mvschwarz/openrig
Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.