मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)8.6k · #12409

openrig-upgrade

यह क्या करती है

यह स्किल AI एजेंट को OpenRig अपग्रेड के दौरान हर कदम जांचते हुए आगे बढ़ाती है। यह उन ऑपरेटरों के लिए है जिन्हें काम कर रही एजेंट seats खोए बिना अपग्रेड करना है।

कब इस्तेमाल करें

  • ✓जब आप OpenRig कमांड-लाइन टूल या daemon अपग्रेड की तैयारी कर रहे हैं।
  • ✓जब अपग्रेड के दौरान चालू एजेंट seats चलते रहने चाहिए।
  • ✓जब managed plugin या skill फ़ाइलों को स्थानीय बदलाव खोए बिना मिलाना हो।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस मशीन पर OpenRig अपग्रेड कीजिए, मेरी चालू एजेंट seats चलती रखते हुए, और हर कदम जांचिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह अपग्रेड को एक बार में एक कदम करके आगे बढ़ाती है, हर बदलाव का असर देखती है, और कुछ अप्रत्याशित होने पर रुक जाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Upgrade OpenRig

An upgrade is an observed agent workflow, not a transaction hidden behind one command. Hosts differ, process state drifts, local plugin files accumulate, and the useful response to a failed step depends on what is still alive.

The agent owns the sequence. Stop after every mutation and observe the actual effect before choosing the next step. There is deliberately no end-to-end upgrade subcommand.

Safety model

Keep these planes separate:

  • Seats normally live in tmux and can survive a daemon restart.
  • The daemon, database, wrappers, and managed plugin projection are the control plane being changed.
  • rig down tears down seats. It is not part of a continuity-preserving upgrade.

Before acting, name the rigs and seats whose continuity matters. On a production host, use the host's normal operator ceremony. On a recovery-friendly build VM, the orchestrator may adopt a tested runtime directly, but still observes each step and stops on unexplained drift.

When recovery crosses an instance boundary

Before either lane changes runtime state, record one host-qualified executor and explicitly select the queue store that owns the recovery ruling. State whether the original owner continues, waits, or transfers; an open obligation in another store is not exclusive custody of this ruling. If the original store is down, retain its owner's disposition in the surviving ruling and communicate it to that owner before a competing executor acts.

A refused claim means reconcile ownership with the ruling owner before any further runtime action; it does not authorize continuing under a separate older row. A return names the full executor address and deliberately selected store. Read the resulting row there, including source, destination, body, and the original owner's disposition, before resuming. Receipt creation alone does not establish that a waiting lane received or accepted the transfer.

The loop

For every step:

  1. Inspect. Derive current facts from the live host.
  2. Decide. Choose one bounded mutation and state its expected effect.
  3. Act once. Do not bundle the next mutation with it.
  4. Observe. Check the process, listener, database, plugin, and seat surfaces that the step could have changed.
  5. Continue, adapt, or stop. A failed expectation is information for the agent, not permission for a blind retry.

Bounded helpers

Let SKILL_DIR be the directory containing this SKILL.md. These scripts emit JSON and do not decide the upgrade sequence.

Inspect current facts

node "$SKILL_DIR/scripts/inspect-upgrade.mjs"

This asks the installed rig for its version, daemon status, node inventory, and plugin inventory. A missing surface remains visible with a suggested next probe. ready: false means the agent must resolve or consciously bound the gap; it does not mean the script should mutate anything.

Back up SQLite

Take continuity snapshots first:

rig snapshot <rig-id>
node "$SKILL_DIR/scripts/backup-sqlite.mjs" \
  --source "$OPENRIG_HOME/openrig.sqlite" \
  --destination "/safe/path/openrig-before-upgrade.sqlite"

The helper refuses to overwrite a destination, uses SQLite's backup operation, and verifies the backup with PRAGMA integrity_check. It does not stop the daemon or restore a database.

Plan or apply safe managed-plugin refreshes

Plugin trees may contain skills as well as hooks and metadata. Compare the last packaged ancestor, the target package, and the live installed tree:

node "$SKILL_DIR/scripts/refresh-managed-plugin.mjs" \
  --ancestor /path/to/previous/package/plugin \
  --target /path/to/target/package/plugin \
  --live "$OPENRIG_HOME/plugins/<plugin>"

Review the sorted decisions. To apply only refresh-safe and add-safe files:

node "$SKILL_DIR/scripts/refresh-managed-plugin.mjs" \
  --ancestor /path/to/previous/package/plugin \
  --target /path/to/target/package/plugin \
  --live "$OPENRIG_HOME/plugins/<plugin>" \
  --apply-safe

The helper never deletes a live file and never overwrites a local modification. Local deletions, live-only files, target removals, and ambiguous types are reported for the agent to resolve. Re-run the plan after any manual resolution.

Migrate a pre-0.5.9 instance layout

Version 0.5.9 puts context-usage telemetry in $OPENRIG_HOME/state/context-usage, provider telemetry in state/provider-usage, the addressable library under context/, and the

अक्सर पूछे जाने वाले सवाल

क्या एक कमांड से अपग्रेड होता है?

नहीं, स्किल कहती है कि अपग्रेड जानबूझकर देखे गए चरणों का क्रम है।

क्या daemon रीस्टार्ट से एजेंट रुक जाते हैं?

स्किल समझाती है कि daemon रीस्टार्ट पर seats आम तौर पर बच जाती हैं, पर rig down उन्हें हटा देता है।

क्या यह मेरी स्थानीय फ़ाइलें ओवरराइट करेगी?

स्किल कहती है कि यह managed plugin और skill फ़ाइलों को स्थानीय काम ओवरराइट किए बिना मिलाती है।

जानकारी

लेखक का मूल विवरण

Use when an agent is preparing or performing an OpenRig CLI/daemon upgrade and must preserve live seats, verify each mutation, or reconcile managed plugin and skill files without overwriting local work.

repo: mvschwarz/openrig

लोकप्रियता

GitHub स्टार
8.6k
रैंकिंग में स्थान
#12409
लाइसेंस
Apache-2.0
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-operated-software

8.6k

यह आपके एजेंट को ऐसे चालू ऐप को डिज़ाइन, बनाने या डीबग करने में मदद करती है जिसके लाइव बैकएंड में AI एजेंट शामिल हैं, जैसे Markdown या JSON control plane।

AI और एजेंटएजेंट

agent-operated-workflows

8.6k

यह आपके एजेंट को तय करने में मदद करती है कि कोई सीमित प्रक्रिया AI एजेंट चलाए या साधारण कोड, और सत्यापित सबूत से उसे कैसे फिर से शुरू करे।

AI और एजेंटएजेंट

applying-a-permission-policy

8.6k

यह आपके एजेंट को टीम सेटअप के दौरान AI coding एजेंट की कमांड अनुमतियां सेट करने में मदद करती है, ताकि रोज़ के कमांड कम मंज़ूरी प्रॉम्प्ट के साथ चलें।

AI और एजेंटएजेंट

claude-compaction-restore

8.6k

यह Claude Code एजेंट को compact होने के बाद सहेजे restore map, उसके transcript और छुई गई फ़ाइलों से अपनी कार्य-समझ फिर बनाने में मदद करती है।

AI और एजेंटएजेंट

मिलती-जुलती skills