Chuyển đến nội dung
Skillpedia
Agent8.6k · #12397

seat-continuity-and-handover

Skill này làm gì

Skill này giải thích cách một đội agent AI đổi người trong một seat trong khi vẫn giữ vai trò của seat ổn định và lịch sử được ghi lại. Skill dành cho người vận hành thay hoặc dựng lại agent trong topology OpenRig.

Khi nào nên dùng

  • ✓Khi bạn cần thay agent của một seat qua rebuild, fork hoặc bàn giao.
  • ✓Khi bạn phải quyết định số phận của agent cũ: nghỉ việc, tư vấn hay theo dõi song song.
  • ✓Khi bạn cần một bản ghi nguồn gốc cho việc thay người trong seat.

Liên kết skill

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thay agent trong seat QA bằng một agent được dựng lại, giữ nguyên tên seat và ghi lại agent mới đến từ đâu.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tách biệt nguồn gốc của agent mới khỏi những gì xảy ra với chính seat, rồi ghi lại cả hai kết quả để thay đổi rõ ràng và trung thực.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Seat Continuity and Handover

A pair of primitive families that separate who is sitting in a seat from what the seat itself is:

  1. Occupant-creation primitives — resume, fork, rebuild, fresh — produce a candidate new occupant. Answer: "where did the new occupant come from?"
  2. 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 expand directly
  • 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)

  1. Requested — input to rebuild/fork/fresh/resume
  2. Realized — runtime/artifact path produced an occupant with managed-seat shape
  3. Failed — candidate didn't materialize; continuityOutcome: failed

Seat-binding state (per seat)

  1. Stable — current occupant attached, no in-flight binding
  2. Binding — handover in progress
  3. Bound — handover succeeded; provenance record written
  4. 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)

  1. Candidate creation failed — rebuild couldn't synthesize from artifacts; fork couldn't resolve session_source; fresh couldn't launch. Action: bind operation does not begin; seat unchanged; provenance records the failed candidate-creation step.
  2. Old occupant cannot be detached cleanly — runtime hung, tmux locked, etc. Action: bind halts mid-flight; seat enters Binding state with explicit "halted" sub-status; operator alerted. Do NOT auto-rollback by reattaching old-occupant if detach didn't complete cleanly.
  3. Bind succeeded but provenance write failed — disk/db error. Action: not durable until provenance writes; treat as Binding halted, not Bound.
  4. Old occupant disposition unfulfillable — operator requested advise (keep alive as advisor) but runtime can't keep old alive. Action: degrade to retire with explicit notification, OR fail if operator passed strict-disposition flag.
  5. 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 rebuild and seat handover into one primitive. The design specifically separates them
Câu hỏi thường gặp

Seat ổn định là gì?

Seat là một địa chỉ vai trò ổn định, còn agent ngồi trong đó có thể thay đổi theo thời gian.

Ba lựa chọn cho agent cũ có nghĩa là gì?

Skill liệt kê nghỉ việc, tư vấn và theo dõi song song như các cách xử lý người giữ seat trước đó.

Skill này có dùng cho seat mới không?

Không. Một seat mới tạo không có người giữ để thay, nên skill này không áp dụng.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
8.6k
Vị trí xếp hạng
#12397
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự