본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)8.6k · #12411

rig-lifecycle

하는 일

이 스킬은 OpenRig 팀의 생애를 관리하는 명령을 다룹니다. 만들기와 중지부터 재부팅 후 복원까지 포함합니다. 팀을 알려진 정상 상태로 되돌려야 하는 운영자를 위한 것입니다.

사용하는 경우

  • ✓리그를 시작, 중지, 복원 또는 제거해야 할 때.
  • ✓재부팅 후 리그 상태를 읽었는데 무엇을 믿어야 할지 모를 때.
  • ✓리그 수명 주기 시나리오를 위한 테스트를 설계할 때.

스킬 링크

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/rig-lifecycle/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/rig-lifecycle/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“컴퓨터가 재부팅되었습니다. 내 리그를 복원하고, 실제로 건강한 좌석과 건강해 보이기만 하는 좌석을 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

수명 주기 명령과 복원 결과를 설명하고, 요약 화면을 믿기보다 실제 상태를 확인하도록 에이전트를 안내합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Rig Lifecycle

The family of operations that create, start, stop, resume, restore, snapshot, release, unclaim, and destroy OpenRig-managed topologies. Includes the user story after reboot: "bring my work back without turning a clean recovery into a cleanup project."

If lifecycle is brittle, every higher-level primitive inherits that brittleness. Queue, workflow, seat continuity, cross-host operation, and RSI all assume that rigs and seats can be restored into known states.

Use this when

  • Operating rig up / down / restore / resume / snapshot / release / unclaim / destroy
  • Reading rig ps after a reboot or recovery and deciding what to trust
  • Designing proof for a lifecycle scenario (clean start / warm resume / host reboot / provider auth loss / partial boot / operator recovery)
  • Reasoning about restore-outcome semantics (resumed / rebuilt / fresh / failed / attention_required)
  • Auditing whether a lifecycle proof is in-process bedrock vs requires real reboot evidence

Don't use this when

  • The operation is single-command and deterministic — use openrig-user skill for CLI surface
  • The work is operator-level configuration or troubleshooting of OpenRig itself — run rig context get help
  • The work is rig spec authoring — use openrig-architect

Failure modes (4)

  1. Auto-restore creates a partially restored rig that must be cleaned up before real recovery. Partial restore looks like recovery but isn't; cleanup-before-recovery becomes the actual workload.
  2. rig ps or lifecycle projections report a healthier state than the runtime actually has. Projections are summaries; the runtime is truth. Don't trust projections silently.
  3. Provider auth is unavailable after reboot and the system treats that as implementation work instead of a human/environment decision. Auth issues are environmental; route to human.
  4. Resume succeeds for one runtime/provider but fails for another scenario that was never tested. Per-runtime parity assumptions break silently; matrix proof catches them.

Restore-honesty rule (load-bearing)

Failed resume is FAILED loudly. No automatic fresh fallback. Fresh launch is explicit follow-up only. This is enforced architecturally at the daemon level (per architecture.md §7 rule 15).

The locked restore-outcome vocabulary:

Outcome Meaning
resumed Native runtime resumed the same conversation
rebuilt New process assembled from artifacts (session_source: mode: rebuild)
fresh New process with no prior continuity
failed Restore attempted and failed; no automatic fallback
attention_required Recoverable blocker (provider auth refused, etc.); needs operator action
n-a Not applicable (terminal nodes, etc.)

Codex auth-refusal returns attention_required (recoverable); Claude looksLikeClaudeLoginPrompt returns failed/login_required (terminal). Cross-runtime alignment is an open follow-up question.

Proof standard

Lifecycle proof should include real reboot or VM-reboot evidence, not only daemon-unit evidence. The minimum useful matrix covers:

Scenario What it proves
Clean start Boot from spec into known state
Warm resume rig down → rig up <name> resumes seats
Host reboot / tmux socket absence Recovery from lost tmux connection
Provider auth loss Codex/Claude auth refusal handled honestly
Partial boot / partial failure Some seats up, some failed; honest reporting
Intentional operator recovery Operator-initiated restore from snapshot

Tier 1: in-process bedrock (daemon-unit evidence). Tier 2: real reboot or disposable Tart VM. Tier 1 alone is not lifecycle proof; it's bedrock.

Default policy is part of the primitive

Treat default policy as part of the primitive, not an afterthought. Lifecycle defaults that are too optimistic for the reliability level actually proven create silent harm:

  • auto-restore defaults that mask failure modes
  • Implicit fresh-fallback that hides resume failure
  • Permissive verification that doesn't distinguish honest success from "appeared to work"

Total-Host Restore Product Rail v2

The rail sequences restore truth into four rungs:

  • fully_restored is a Rung 3 execution rollup
  • "fully back" is reserved for Rung 4 only

Naming discipline matters. "Fully restored" and "fully back" are different claims; don't conflate.

See also

  • openrig-user skill — CL
자주 묻는 질문

복원 결과에는 무엇이 있나요?

스킬은 resumed, rebuilt, fresh, failed, attention required 같은 결과를 나열합니다.

복구 후 상태 보기를 믿어도 되나요?

스킬은 상태 보기가 실제보다 더 건강해 보일 수 있으므로 실제 상태를 확인해야 한다고 경고합니다.

복원 후 리그가 일부만 살아날 수 있나요?

네. 스킬은 부분적으로만 복원된 리그를 지켜봐야 할 실패 유형으로 꼽습니다.

상세 정보

작성자의 원본 설명

Use when reasoning about the rig lifecycle operations family (create / start / stop / resume / restore / snapshot / release / unclaim / destroy), reading or trusting `rig ps` / lifecycle projections after recovery, or designing proof for a lifecycle scenario. Covers the 4 failure modes (auto-restore creates partial rig; projections report healthier than reality; provider auth treated as impl work; resume succeeds for one runtime fails another) plus the restore-honesty rule (failed resume is FAILED loudly — no auto fresh fallback).

repo: mvschwarz/openrig

인기도

GitHub 스타
8.6k
순위
#12411
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬