मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट8.5k · #12448

stuck-crewmate-recovery

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

यह स्किल Firstmate में अटके helper एजेंट को फिर चलाने का तरीका बताती है। यह उन लोगों के लिए है जो ऐसे helper एजेंट चलाते हैं जो रुकते, लूप करते या जवाब देना बंद कर देते हैं।

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

  • ✓जब कोई helper एजेंट पुराना हो गया हो, लूप कर रहा हो, या जवाब देना बंद कर चुका हो।
  • ✓जब कोई helper ऐसा सवाल पूछे जिसका जवाब उसके मूल निर्देशों में पहले से हो।
  • ✓जब helper को भेजा steer संदेश पहुंचा हुआ न लगे।

Skill का लिंक

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/stuck-crewmate-recovery/SKILL.md

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

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

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

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

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

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

“मेरा helper एजेंट एक ही कदम पर लूप कर रहा है। उसका काम खोए बिना उसे आगे बढ़वाने में मदद कीजिए।”

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

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

एजेंट नियंत्रण कमांड से helper को बाधित, बंद या फिर चालू करता है, और हर कार्रवाई की जांच करता है। बहाली ऐसी बनी है कि कभी काम न मिटाए या न छोड़े, और पूरे हुए pull requests पर जबरन cleanup से बचती है।

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

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

stuck-crewmate-recovery

Use this playbook when the session-start digest reports an ordinary direct report's endpoint dead or its metadata has no window, or when a direct report is stale, looping, repeatedly confused, asking a question its brief already answers, unresponsive, or when a steer failed to land. A stale or dead-endpoint report for a worker whose pull request has already landed is not a recovery case: the work is finished, so close the task through ordinary teardown (AGENTS.md section 7 for firstmate, the landed-work rule in bin/fm-branch-prompt.sh for the supervision branch) instead of this playbook, never with --force.

Follow the crew-hosted Lavish board contract in docs/configuration.md when recovering a worker that hosts a board.

Interrupt, stop, and relaunch a worker through bin/fm-control.sh <task-id> interrupt|exit|relaunch, which resolves the recorded runtime itself, verifies each action, and never tears down or discards anything (docs/agent-control.md). That plane covers workers running in this home; a remotely placed secondmate is refused by name and reconciled through secondmate-provisioning instead. Load harness-adapters before a resume command or a harness-specific skill invocation, and whenever the adapter's own quirks matter. The target window's harness is recorded as harness= in state/<id>.meta.

Managed approval failover

After observing a Codex command-approval prompt under bypass or a Claude policy refusal of a bypass session, ask the captain for explicit approval to change the owning home's worker permission posture and relaunch the worker. Only after that explicit word, load harness-adapters and use FM_HOME=<owning-home> bin/fm-approval-failover.sh apply <id>; its header owns persistent configuration and guarded recovery, with no automatic detection. Report the saved model-reviewed remedy and actual recovery result, preserving explicit settings and work rather than changing vendor policy or answering approval or hook-trust prompts. A backend=t3code worker already runs at T3's full-access runtime mode, so the command refuses it before changing anything; approve its pending request in T3 Code itself (T3 pending-request procedure) or move the work to another backend.

Session-start reconciliation for a dead ordinary direct report

This procedure covers ordinary kind=ship and kind=scout direct reports. Load secondmate-provisioning instead for kind=secondmate recovery.

For a REMOTE secondmate, fm-crew-state and fm-peek read the actual remote endpoint over fm-on.sh, and fm-send reports a delivered-with-pending-confirmation steer as delivered (their headers own the contracts); an unknown-remote read or unreachable-host failure means the remote state could not be read, never that the mate is dead or the send failed. Recover a genuinely stuck remote mate only through bin/fm-spawn.sh <id> --secondmate, never raw herdr pane close/kill surgery, which strands the endpoint binding.

Treat the digest's endpoint result as a presence signal, not proof that the task's work or validation run is gone. Read the targeted current state with bin/fm-crew-state.sh <id> before deciding to relaunch. A no-mistakes run matched to the crew's branch and current code remains authoritative when the endpoint is dead: handle a terminal or parked run through the normal lifecycle, and keep supervising an active run instead of creating a duplicate worker.

When no authoritative run accounts for the task, inspect only its recorded backend and worktree inventory. Use treehouse status for treehouse-backed tmux, herdr, zellij, cmux, Paseo, Rex, t3code, tern, or hc tasks, and use the recorded orca_worktree_id= and terminal= for Orca tasks. Do not sweep another home's endpoints or infer ownership from a matching window label.

Before relaunch, prove that no live agent still owns the recorded task and that the existing worktree remains available. Preserve its uncommitted changes and commits, keep the same task identity, and resume or relaunch the recorded harness in that existing worktree with the same brief plus a concise progress note. A HERDR endpoint that is not merely idle but destroyed - a pane or workspace removed in Herdr churn - is recovered by that same relaunch, which creates one fresh en

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

क्या बहाली helper का काम मिटा देगी?

नहीं। नियंत्रण कदम कभी कुछ मिटाने या छोड़ने के लिए नहीं बने हैं।

अगर helper का काम पहले ही land हो गया हो तो?

कार्य को सामान्य cleanup से बंद करना चाहिए, बहाली से नहीं।

क्या एजेंट को हर टूल का विवरण जानना होगा?

कभी-कभी। किसी भी resume कमांड से पहले वह टूल के नोट्स लोड करता है।

जानकारी

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

Load when the session-start digest reports an ordinary direct report's endpoint dead or its metadata has no window, after a stale wake, looping pane, repeated confusion, an answered-by-brief question, an unresponsive crewmate, or a failed steer, after observing a defeated Claude or Codex bypass, and when a live crewmate reports its no-mistakes pipeline dead, unreachable, or timed out.

repo: kunchenguid/firstmate

लोकप्रियता

GitHub स्टार
8.5k
रैंकिंग में स्थान
#12448
लाइसेंस
MIT
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

afk

8.5k

यह आपके एजेंट को आपके बाहर रहने पर काम जारी रखने देती है, फ़ैसले आपकी वापसी तक रोककर और लौटने पर आपको साफ़ सारांश भेजकर।

प्रोडक्टिविटीऑटोमेशन

ahoy

8.5k

यह आपके एजेंट को सत्र में हुई बातों का छोटा सार देने और अभी आपके जवाब की प्रतीक्षा कर रहे फ़ैसलों से गुज़रने में मदद करती है।

प्रोडक्टिविटीईमेल और मैसेज

ask-user-authority

8.5k

यह आपके एजेंट को समीक्षा के सवालों पर खुद फ़ैसला लेने में मदद करती है जब वे साफ़ तौर पर सहमत योजना में फिट हों, और केवल तब पूछती है जब सवाल अस्पष्ट या जोखिम भरा हो।

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

away-quiet-supervision

8.5k

यह away या quiet मोड में काम की निगरानी के सुरक्षा नियम तय करती है, ताकि एजेंट संदेश साफ़ रखे और आपकी ज़रूरत वाले फ़ैसले रोके रखे।

प्रोडक्टिविटीऑटोमेशन

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