session-start-recovery
यह क्या करती है
यह स्किल बताती है कि Firstmate अपना startup सारांश कैसे संभालता है, जिसमें अधूरी जांचें और बहाली के कदम शामिल हैं। यह उन लोगों के लिए है जो Firstmate को दोबारा शुरू करते हैं और जानना चाहते हैं कि startup रिपोर्ट का मतलब क्या है।
कब इस्तेमाल करें
- ✓जब startup सारांश में कुछ अधूरी जांचें दिखें जिन पर ध्यान चाहिए।
- ✓जब startup रिपोर्ट में निदान पंक्तियां या बहाली विवरण हों।
- ✓जब आप समझना चाहते हैं कि startup क्रम में क्या करता है।
Skill का लिंक
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/session-start-recovery/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी Firstmate startup रिपोर्ट में कुछ अधूरी जांचें हैं। उनका मतलब क्या है और मुझे क्या करना चाहिए?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट startup सारांश पढ़ता है और हर चरण को क्रम से संभालता है, जैसे सत्र लॉक करना और टूल जांचना। नेटवर्क जांचें पृष्ठभूमि में चलती हैं, ताकि सारांश उन्हें इंतज़ार न कराए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Session-start recovery
The digest itself makes no external-network call and never waits for one.
Every network check a session start owes - GitHub auth, secondmate recovery, secondmate convergence, pending handoff delivery, and project clone refresh - runs off the digest's blocking path in a bounded worker owned by bin/fm-startup-network.sh and is reported in the digest's own NETWORK CHECKS section.
The locked startup inactive-outcome scan joins that worker so a slow local current-state read cannot block the digest; its findings use the ordinary durable wake queue.
- Lock - acquires the per-home session lock first, before anything mutates shared state, then starts the deferred startup stage above.
- Bootstrap - detect-only checks (tool/version problems, the worktree-tangle check, harness override, dispatch-profile validation, backlog-backend status) always run, but routine confirmations stay silent by default.
When the lock could not be acquired, the worktree-tangle check uses read-only advisory wording without a checkout repair command.
Home-local stale Herdr projection cleanup and the six bootstrap MUTATING sweeps - same-home backlog reconciliation, fleet sync, secondmate convergence, secondmate liveness, pending remote handoff retry, and Relay artifact writes - run only when this session actually holds the lock from step 1; the four network ones among them run in the deferred stage rather than in this section.
The secondmate liveness sweep accounts for every registered secondmate and reports skipped or failed recovery as
SECONDMATE_LIVENESS:lines. The sweep and the watcher's cadence-gated tick share the recovery contract; for T3 threads, follow the native recovery guide. - Wake queue - when locked, drains and presents the durable wake queue without running the inactive-outcome scan inline, and prints the raw records prominently as this turn's first work queue; a clearly labeled status-event annotation may follow a valid
signalrecord and includes every status line still unread at the presentation cursor, but never replaces the raw record or current-state reconciliation, and a lapsed watcher chain still surfaces here via the same guard alarm. Presented records remain durable until the handling turn runs the generation-bound acknowledgement printed by the drain. Every locked drain also prints a bounded fleet-wideOPEN DECISIONSsection when durable decision records remain open, including when the queue itself is empty; reconcile those entries before continuing. A main drain may also print a bounded, one-shotSTATUS OUTCOME BACKSTOPwhen a task's newest captain-facing status event has no covering supervision-branch outcome; handle it as a recovered wake even when no queue row remains. The same drain prints every still-unreadnote:line and pending-reply resolution since the last presentation in an unboundedUNREAD STATUSsection, so an answer buried under a later routine line is not dropped; those lines are not re-printed after that presentation. It also prints a boundedRECORD DIVERGENCEsection naming every captain call the status log reads as resolved while its backlog task is still held; nothing is closed for you, andcaptain-hold-lifecycleowns the reconciliation. When the lock could not be acquired and verified, the queue is left untouched because no session mutation is authorized, and the guard's tangle/watcher-liveness alarms still print in read-only advisory mode without drain, supervision repair, or checkout repair commands. - Supervision operating instructions - after the wake queue and before both digests, the digest emits exactly one operating block for the detected primary harness, followed by the read-once contract that governs them. The script itself never starts supervision; the emitted harness protocol owns the exact wait or wake mechanism.
- Fleet-state digest - after that read-once contract and ahead of the context digest, the compact backlog listing owned by
bin/fm-session-start.sh; everystate/<id>.meta; a bounded tail of each task'sstate/<id>.status(labeled as wake-EVENT history, not current state, with the full log path printed for a deeper read); the away or quiet posture (state/.afk-contract, plus thestate/.afkdaemon flag where a daemon runs); and one cheap alive/dead read of each task's
अक्सर पूछे जाने वाले सवाल
क्या startup सारांश इंटरनेट का इंतज़ार करता है?
नहीं। सारांश नेटवर्क जांचों का इंतज़ार नहीं करता, वे अलग से रिपोर्ट होती हैं।
क्या यह बिना पूछे कुछ बदलेगा?
नहीं। इंस्टॉल और अपग्रेड तभी होते हैं जब आप मंज़ूरी दें।
सत्र लॉक किसलिए है?
यह दो सत्रों को एक साथ साझा स्थिति बदलने से रोकता है।
जानकारी
लेखक का मूल विवरण
Load when the session-start digest reports unfinished checks, actionable diagnostics, recovery inputs, or output requiring interpretation.
repo: kunchenguid/firstmate
लोकप्रियता
- GitHub स्टार
- 8.5k
- रैंकिंग में स्थान
- #12445
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
afk
8.5kयह आपके एजेंट को आपके बाहर रहने पर काम जारी रखने देती है, फ़ैसले आपकी वापसी तक रोककर और लौटने पर आपको साफ़ सारांश भेजकर।
ahoy
8.5kयह आपके एजेंट को सत्र में हुई बातों का छोटा सार देने और अभी आपके जवाब की प्रतीक्षा कर रहे फ़ैसलों से गुज़रने में मदद करती है।
ask-user-authority
8.5kयह आपके एजेंट को समीक्षा के सवालों पर खुद फ़ैसला लेने में मदद करती है जब वे साफ़ तौर पर सहमत योजना में फिट हों, और केवल तब पूछती है जब सवाल अस्पष्ट या जोखिम भरा हो।
away-quiet-supervision
8.5kयह away या quiet मोड में काम की निगरानी के सुरक्षा नियम तय करती है, ताकि एजेंट संदेश साफ़ रखे और आपकी ज़रूरत वाले फ़ैसले रोके रखे।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।