session-start-recovery
Fungsinya
Skill ini menjelaskan cara Firstmate menangani ringkasan startup-nya, termasuk pemeriksaan yang belum selesai dan langkah pemulihan. Skill ini untuk orang yang memulai ulang Firstmate dan ingin tahu arti laporan startup.
Kapan dipakai
- ✓Saat ringkasan startup mencantumkan pemeriksaan yang belum selesai dan perlu perhatian.
- ✓Saat laporan startup berisi baris diagnostik atau detail pemulihan.
- ✓Saat Anda ingin memahami apa yang dilakukan urutan startup, secara berurutan.
Link skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/session-start-recovery/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Laporan startup Firstmate saya mencantumkan beberapa pemeriksaan yang belum selesai. Apa artinya dan apa yang sebaiknya saya lakukan?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca ringkasan startup dan menjalankan setiap langkah secara berurutan, misalnya mengunci sesi dan memeriksa alat. Pemeriksaan jaringan berjalan di latar belakang agar tidak menahan ringkasan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah ringkasan startup menunggu koneksi internet?
Tidak. Ringkasan tidak menunggu pemeriksaan jaringan, yang dilaporkan secara terpisah.
Apakah ia akan mengubah sesuatu tanpa bertanya?
Tidak. Pemasangan dan peningkatan hanya dilakukan setelah Anda menyetujuinya.
Untuk apa kunci sesi?
Kunci itu mencegah dua sesi mengubah status bersama pada waktu yang sama.
Detail
Deskripsi asli dari pembuat
Load when the session-start digest reports unfinished checks, actionable diagnostics, recovery inputs, or output requiring interpretation.
repo: kunchenguid/firstmate
Popularitas
- Bintang GitHub
- 8.5k
- Peringkat
- #12445
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
afk
8.5kMemungkinkan agent Anda tetap bekerja saat Anda pergi, menyimpan keputusan untuk saat Anda kembali, dan mengirim ringkasan yang jelas ketika Anda kembali.
ahoy
8.5kMemungkinkan agent Anda memberi rekap singkat tentang apa yang terjadi di sesi dan memandu Anda melewati keputusan yang masih menunggu Anda.
ask-user-authority
8.5kMembantu agent Anda memutuskan sendiri pertanyaan tinjauan yang jelas sesuai rencana yang disepakati, dan bertanya kepada Anda hanya bila tidak jelas atau berisiko.
away-quiet-supervision
8.5kMenetapkan aturan keselamatan untuk mengawasi pekerjaan dalam mode away atau quiet, agar pesan tetap jelas dan keputusan yang butuh Anda ditahan.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.