[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M759WTZ7Z6PWTTSWAHV3RCN3":3,"skill-same:01M759WTZ7Z6PWTTSWAHV3RCN3":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M759WTZ7Z6PWTTSWAHV3RCN3","troubleshoot-fleet",null,"Diagnose and repair a researcher's Amicode fleet when something is wrong — the machines have stopped acting like one studio, a link dropped, sessions went missing, or a boot warning fired. Reads the fleet's real state, gives ONE plain-language diagnosis and ONE next action, prefers the in-app repair, and escalates only genuinely deep\u002Frare surgery to the internal fleet playbook. Use when the sidebar \"Troubleshoot\" button or the boot-time fleet warning lands here, or when a user says their fleet is broken \u002F \"works on one machine but not the other.\"","harmoniqs\u002Famicode","harmoniqs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199011497?v=4","01M759PQCJ9Y093EC5HC3344DW","Harmoniqs","01M759PQD5S85W68FZKV3XD1X0",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Fskills\u002Ftroubleshoot-fleet\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: troubleshoot-fleet\ndescription: Diagnose and repair a researcher's Amicode fleet when something is wrong — the machines have stopped acting like one studio, a link dropped, sessions went missing, or a boot warning fired. Reads the fleet's real state, gives ONE plain-language diagnosis and ONE next action, prefers the in-app repair, and escalates only genuinely deep\u002Frare surgery to the internal fleet playbook. Use when the sidebar \"Troubleshoot\" button or the boot-time fleet warning lands here, or when a user says their fleet is broken \u002F \"works on one machine but not the other.\"\nagents: []\nsurface: public\n---\n\n# Troubleshoot a Fleet\n\n**Announce at start:** \"Let me take a look at your fleet.\"\n\nThe repair front door for a researcher's multi-machine studio. The shipping app\nalready routes here: the sidebar **Troubleshoot** button and the boot-time fleet\nwarning both open a `\u002Ftroubleshoot-fleet` session — so the person on the other\nend usually has a fleet that *just broke*, not a spare afternoon to read\ndiagnostics. Your job is to find what's wrong, say it in one plain sentence,\noffer one action, and only escalate to deep surgery when the simple fix fails.\n\nThis skill **diagnoses and repairs**; it does not build fleets (that is\n`\u002Fcreate-a-fleet` and `\u002Fadd-fleet-device`). It is the public, researcher-facing\nfront door — the deep operator playbook (`\u002Ffleet`: chat-database recovery, shard\nmerges, the team mesh) is an internal card you escalate to at the very end, never\nthe first thing a novice sees.\n\n## How to talk about this (read before you open your mouth)\n\nThe words below are how the *code* names things; they are **not** how you talk to\na researcher. Translate every time — the raw term stays in the commands you run,\nnever in what you say:\n\n| Internal term | Say instead |\n|---|---|\n| hub \u002F server \u002F canonical | \"home base\" — the machine that hosts your work |\n| client \u002F thin client | \"a window onto home base\" |\n| standalone peer | \"its own studio, syncing fleet sessions with the other machines\" |\n| tunnel | \"the steady link between your machines\" |\n| guard | (don't mention it — it's plumbing) |\n| verify-attach \u002F roster \u002F health | \"whether the link actually works\" |\n| transport (ssh\u002Ftailscale) | \"how the machines reach each other\" |\n\nA caveat is one sentence, in plain outcomes, immediately followed by the choice\nit changes — never a bare disclaimer, never a wall of internals.\n\n## The posture: detect → one diagnosis → one action → escalate last\n\n1. **Detect** — read the real state (below). Do the reads silently; the user does\n   not want a running commentary of `curl`s.\n2. **Diagnose** — lead with ONE plain sentence: what broke and the most likely\n   cause. \"Your laptop lost its steady link to the workstation — most likely the\n   workstation went to sleep.\"\n3. **Act** — offer ONE next action, and **prefer the in-app button** over a shell\n   command: **Fleet — Repair**, **Restart Hub Server**, **Go Standalone**, **Open\n   Fleet Manager** (all in the Command Palette). Drop to a terminal only when no\n   button covers it.\n4. **Escalate last** — only if the simple fix fails and the symptom is genuinely\n   deep (missing chat history, a corrupted or forked database, a merge) do you\n   hand off to the internal `\u002Ffleet` playbook — and you say plainly that you're\n   going one level deeper.\n\nNever dump a check name, a `plist` path, `ServerAliveInterval`, or a raw error\nstring at the user. Those are yours to read, not theirs to parse.\n\n## Step 0 — know which machine you are on (this is the #1 source of wrong answers)\n\nYou run on exactly **one** machine (check `hostname`). Every check against *any\nother* machine is an SSH hop — you must wrap it in `ssh \u003Calias> '…'`, or you will\naccidentally test the wrong machine and call a broken link healthy. When you run\na cross-machine probe, run it inside `ssh` and keep the command you used so you\ncan show your work if asked.\n\n- If this is a **peer fleet**, each machine has its own engine and session activity\n  and prompts sync between machines. Test the affected peer's own configured\n  connection; do not assume every machine routes through one home base.\n- If the fleet has a **home base** (a `server`) and you're on it, the other\n  machines reach it through the link — to test *their* side you must `ssh` into\n  them.\n- The fleet port is almost always **4096**. Read the real one from\n  `~\u002F.amico\u002Fops\u002Ffleet\u002Ffleet.json` (`canonical.port`) before assuming.\n\n## Step 1 — read the real state (silently)\n\nRun the app's own health read first — it is the fastest honest picture:\n\n- **In-app:** Command Palette → **Amicode: Healthcheck**. It reports the fleet\n  role, the guard, the machine settings, and the link (the tunnel), with a fix\n  line on each failure. The four fleet checks only run in full on a machine that\n  is a window onto home base (a `client`).\n- **The status snapshot** (written on home base every few minutes):\n  `~\u002F.amico\u002Fops\u002Ffleet-status.json` — per-device reachability, the chat DB\n  (session count + last-updated), the server-guard state, vault-sync age, repo\n  drift. A good first glance at \"what does home base think is true.\"\n- **The roster** — the list of known machines and each one's claimed health.\n  Read it, but see the honesty note next.\n\n**Truth is the runtime endpoint, not the roster and not \"verify-attach.\"** Two\ntraps, both real in the current build:\n\n- A machine's roster **health is a self-asserted claim** — its heartbeat stamps\n  `reachable` on a timer whether or not the link is actually up. A machine that\n  died an hour ago can still read `reachable`. So **cross-check freshness**\n  (treat a `last_report` older than a few minutes as stale, not reachable) and,\n  when it matters, **re-probe the real path** yourself.\n- The link a machine *actually uses* is its own loopback, not the public address.\n  To prove a window-onto-home-base machine can really reach home base, probe the\n  endpoint it truly dials, **from that machine**:\n\n  ```bash\n  # from the client (ssh in if you're not on it): does home base answer on the link?\n  ssh \u003Cclient-alias> 'curl -fsS -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fglobal\u002Fhealth'\n  # 200 = the link works. Connection refused \u002F timeout = the link is down.\n  ```\n\n  For a machine that reaches home base over Tailscale, the real endpoint is the\n  `https:\u002F\u002F\u003Cmagicdns-name>\u002Fglobal\u002Fhealth` origin instead of the loopback — probe\n  that, from the client. (A machine that only checks the public `host:port`\n  directly can look healthy while the link it depends on is dead — don't trust\n  that probe.)\n\n## Step 2 — match the symptom (one diagnosis, one action)\n\n| What the user sees \u002F the state shows | Say (plain) | Do (prefer the button) |\n|---|---|---|\n| \"Go standalone?\" popup; the link keeps dropping | \"Your machine lost its steady link to home base — usually home base slept or restarted.\" | Confirm home base is awake, then **Restart Hub Server**; if it can't come back now, **Go Standalone** to keep working locally. |\n| A banner: running on a local engine, \"hub down\" | \"Home base is unreachable, so this window fell back to its own local copy. Your shared sessions are on home base.\" | Bring home base back (**Restart Hub Server** \u002F wake it), then reload the window to rejoin. |\n| A machine shows a row but the link never confirmed | \"This machine got half-linked — it registered but couldn't actually reach home base to confirm.\" | Re-run the join (`\u002Fadd-fleet-device` re-drives it); read the exact fix it reports and clear that first (usually sleep, a missing SSH alias, or Tailscale down). |\n| Boot warning \"fleet issue\"; guard\u002Fsettings\u002Flink drift | \"Your machine's link setup drifted out of sync.\" | **Fleet — Repair** (re-installs the link + settings from source; idempotent). |\n| Sessions look wrong \u002F a machine seems to have its *own* private history | Likely a silent fork — see **Step 3**. | Detect the fork first; do NOT reload blindly. |\n| Version\u002Fpin mismatch on join | \"The two machines are on different Amicode builds.\" | Get both on the same build (**Repo Sync**, then rebuild\u002Freload), then re-join. |\n| A peer is missing, unreachable, or its sessions stop syncing | \"That machine isn't reachable over the private connection the fleet uses.\" | Check that peer is on and reachable over its configured connection; for Tailscale follow Step 3, then re-probe its real endpoint. |\n| Approval prompts on every fleet action | \"VS Code is asking permission for each fleet file it touches.\" | It's a one-time settings fix; offer to walk it (allow the external directories in the opencode config), then it stops. |\n\n## Step 3 — transport & OS-specific failures (the cross-machine gotchas)\n\nThe link is set up differently per machine, so the fix depends on the machine's\nOS and how it connects:\n\n- **Peer connection down.** For peer fleets, machines connect directly using their\n  configured transport; there is no single home-base tunnel. If using SSH, confirm\n  the alias still resolves and reaches the peer. If using Tailscale, confirm both\n  machines are online and MagicDNS resolves. Restore that private connection and\n  verify session activity and prompts sync again.\n- **Home-base SSH link down.** The steady link is an SSH forward. If it\n  won't stay up: confirm the SSH alias still resolves and reaches the machine\n  (`ssh -o BatchMode=yes -o ConnectTimeout=6 \u003Calias> 'echo ok'`), and that home\n  base has Remote Login (macOS) \u002F sshd (Linux) on. Re-establish with **Fleet —\n  Repair**.\n- **Tailscale link down.** Tailscale is the recommended way to connect machines\n  across networks without router port-forwarding. Check `tailscale status` on both\n  machines and confirm MagicDNS resolves. If Tailscale is not installed or signed\n  in, send the user to [Tailscale's install guide](https:\u002F\u002Ftailscale.com\u002Fkb\u002F1017\u002Finstall).\n  Keep fleet traffic private: never use `tailscale funnel`, expose a public bind,\n  or ask the user to configure router port-forwarding. SSH is an alternative when\n  it is already reachable and the user prefers it.\n- **Linux \u002F WSL window-onto-home-base machine — the known gap (#1260).** On macOS\n  the steady link is a managed background service that auto-reconnects. **On Linux\n  and WSL that managed link is not wired yet (#1260)** — the app installs the\n  guard and settings but no auto-reconnecting link — and the app's link health\n  check reports \"skipped\" there, so it can look fine while there's nothing keeping\n  the link up. If a Linux\u002FWSL machine keeps dropping to local-only after a sleep,\n  a network blip, or a reboot, that's this gap, not user error. The durable fix is\n  a supervised link the machine runs itself; instruct the researcher to install a\n  user-level `systemd` service (or a supervised `autossh` \u002F `ssh -o\n  ServerAliveInterval=15 -o ExitOnForwardFailure=yes -N -L 127.0.0.1:\u003Cport>:127.0.0.1:\u003Cport> \u003Chome-base-alias>`),\n  then confirm it survives by killing the link once and watching it come back. Say\n  the gap plainly and offer, as the low-friction alternative, making that Linux\n  machine home base instead (so the always-on machine is the host).\n\n## Step 4 — silent fork detection (why \"reload\" is not always safe)\n\nThe fork check applies to a **window onto home base**, which must not spawn its own\nengine. Do not apply this diagnosis to peer studios: each peer is supposed to run\nits own engine, while session activity and prompts sync between machines. When a\nwindow machine silently spawns its own engine, it can develop a private history.\nDetect that specific failure before telling anyone to reload:\n\n```bash\n# on the suspect window machine (ssh in if needed), on the fleet port:\n#   macOS:\nssh \u003Calias> 'lsof -nP -iTCP:\u003Cport> -sTCP:LISTEN'\n#   Linux\u002FWSL:\nssh \u003Calias> 'ss -ltnp \"sport = :\u003Cport>\"'\n# an `opencode` process listening (not `ssh`) = a local fork holding the port.\n# corroborate with the auth tell:\nssh \u003Calias> 'curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fsession'\n# 401 on a window machine = an armed LOCAL fork; home base answers 200 (anonymous).\n```\n\nIf you find a fork on a home-base window, the fix is to stop the fork, restore the guard + link\n(**Fleet — Repair**), and — if the forked copy grew real history the user cares\nabout — hand off to `\u002Ffleet` for the recovery, which knows how to merge a\nstranded database safely. **Never** \"just reload\" over a fork: you would either\nlose the forked history or keep two writers alive.\n\nHome base keeps its shared database at `~\u002F.amico\u002Fserver\u002Fsession.db` and runs as\nthe `co.harmoniqs.amico-hub` service (a launchd agent on macOS, a `systemd --user`\nunit on Linux). Peer machines have their own engines; fleet session activity and\nprompts sync between them. If sessions stop syncing across peers, diagnose peer\nreachability and transport before treating it as a database fork.\n\n## When to escalate to the internal `\u002Ffleet` playbook\n\nEscalate — and tell the user you're going one level deeper — only for the\ngenuinely deep, rare cases:\n\n- **Missing or wrong chat history** on home base (needs shard triage \u002F a merge).\n- **A confirmed database fork** with history worth recovering.\n- **Vault-sync conflicts**, settings-sync clobbering a machine, or the team's own\n  multi-machine mesh specifics.\n\nEverything else — link down, drift, half-linked machine, standalone\u002Frejoin, a\npeer that's simply off — you resolve here. If a simple fix didn't hold after one\nhonest attempt, say so plainly and escalate; don't loop on the same button.\n\n## Close the loop\n\nWhen you've fixed it, prove it in the user's terms, not with a status table:\n\"Fixed — your laptop can see home base again. Open a chat and your shared sessions\nare back.\" If you couldn't fix it, say exactly what's still wrong and the one\nthing that would unblock it (a machine to wake, a build to match, the #1260 gap),\nand — when it fits — offer the escape hatch of working on this machine alone for\nnow.\n","# Troubleshoot a Fleet\n\n**Announce at start:** \"Let me take a look at your fleet.\"\n\nThe repair front door for a researcher's multi-machine studio. The shipping app\nalready routes here: the sidebar **Troubleshoot** button and the boot-time fleet\nwarning both open a `\u002Ftroubleshoot-fleet` session — so the person on the other\nend usually has a fleet that *just broke*, not a spare afternoon to read\ndiagnostics. Your job is to find what's wrong, say it in one plain sentence,\noffer one action, and only escalate to deep surgery when the simple fix fails.\n\nThis skill **diagnoses and repairs**; it does not build fleets (that is\n`\u002Fcreate-a-fleet` and `\u002Fadd-fleet-device`). It is the public, researcher-facing\nfront door — the deep operator playbook (`\u002Ffleet`: chat-database recovery, shard\nmerges, the team mesh) is an internal card you escalate to at the very end, never\nthe first thing a novice sees.\n\n## How to talk about this (read before you open your mouth)\n\nThe words below are how the *code* names things; they are **not** how you talk to\na researcher. Translate every time — the raw term stays in the commands you run,\nnever in what you say:\n\n| Internal term | Say instead |\n|---|---|\n| hub \u002F server \u002F canonical | \"home base\" — the machine that hosts your work |\n| client \u002F thin client | \"a window onto home base\" |\n| standalone peer | \"its own studio, syncing fleet sessions with the other machines\" |\n| tunnel | \"the steady link between your machines\" |\n| guard | (don't mention it — it's plumbing) |\n| verify-attach \u002F roster \u002F health | \"whether the link actually works\" |\n| transport (ssh\u002Ftailscale) | \"how the machines reach each other\" |\n\nA caveat is one sentence, in plain outcomes, immediately followed by the choice\nit changes — never a bare disclaimer, never a wall of internals.\n\n## The posture: detect → one diagnosis → one action → escalate last\n\n1. **Detect** — read the real state (below). Do the reads silently; the user does\n   not want a running commentary of `curl`s.\n2. **Diagnose** — lead with ONE plain sentence: what broke and the most likely\n   cause. \"Your laptop lost its steady link to the workstation — most likely the\n   workstation went to sleep.\"\n3. **Act** — offer ONE next action, and **prefer the in-app button** over a shell\n   command: **Fleet — Repair**, **Restart Hub Server**, **Go Standalone**, **Open\n   Fleet Manager** (all in the Command Palette). Drop to a terminal only when no\n   button covers it.\n4. **Escalate last** — only if the simple fix fails and the symptom is genuinely\n   deep (missing chat history, a corrupted or forked database, a merge) do you\n   hand off to the internal `\u002Ffleet` playbook — and you say plainly that you're\n   going one level deeper.\n\nNever dump a check name, a `plist` path, `ServerAliveInterval`, or a raw error\nstring at the user. Those are yours to read, not theirs to parse.\n\n## Step 0 — know which machine you are on (this is the #1 source of wrong answers)\n\nYou run on exactly **one** machine (check `hostname`). Every check against *any\nother* machine is an SSH hop — you must wrap it in `ssh \u003Calias> '…'`, or you will\naccidentally test the wrong machine and call a broken link healthy. When you run\na cross-machine probe, run it inside `ssh` and keep the command you used so you\ncan show your work if asked.\n\n- If this is a **peer fleet**, each machine has its own engine and session activity\n  and prompts sync between machines. Test the affected peer's own configured\n  connection; do not assume every machine routes through one home base.\n- If the fleet has a **home base** (a `server`) and you're on it, the other\n  machines reach it through the link — to test *their* side you must `ssh` into\n  them.\n- The fleet port is almost always **4096**. Read the real one from\n  `~\u002F.amico\u002Fops\u002Ffleet\u002Ffleet.json` (`canonical.port`) before assuming.\n\n## Step 1 — read the real state (silently)\n\nRun the app's own health read first — it is the fastest honest picture:\n\n- **In-app:** Command Palette → **Amicode: Healthcheck**. It reports the fleet\n  role, the guard, the machine settings, and the link (the tunnel), with a fix\n  line on each failure. The four fleet checks only run in full on a machine that\n  is a window onto home base (a `client`).\n- **The status snapshot** (written on home base every few minutes):\n  `~\u002F.amico\u002Fops\u002Ffleet-status.json` — per-device reachability, the chat DB\n  (session count + last-updated), the server-guard state, vault-sync age, repo\n  drift. A good first glance at \"what does home base think is true.\"\n- **The roster** — the list of known machines and each one's claimed health.\n  Read it, but see the honesty note next.\n\n**Truth is the runtime endpoint, not the roster and not \"verify-attach.\"** Two\ntraps, both real in the current build:\n\n- A machine's roster **health is a self-asserted claim** — its heartbeat stamps\n  `reachable` on a timer whether or not the link is actually up. A machine that\n  died an hour ago can still read `reachable`. So **cross-check freshness**\n  (treat a `last_report` older than a few minutes as stale, not reachable) and,\n  when it matters, **re-probe the real path** yourself.\n- The link a machine *actually uses* is its own loopback, not the public address.\n  To prove a window-onto-home-base machine can really reach home base, probe the\n  endpoint it truly dials, **from that machine**:\n\n  ```bash\n  # from the client (ssh in if you're not on it): does home base answer on the link?\n  ssh \u003Cclient-alias> 'curl -fsS -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fglobal\u002Fhealth'\n  # 200 = the link works. Connection refused \u002F timeout = the link is down.\n  ```\n\n  For a machine that reaches home base over Tailscale, the real endpoint is the\n  `https:\u002F\u002F\u003Cmagicdns-name>\u002Fglobal\u002Fhealth` origin instead of the loopback — probe\n  that, from the client. (A machine that only checks the public `host:port`\n  directly can look healthy while the link it depends on is dead — don't trust\n  that probe.)\n\n## Step 2 — match the symptom (one diagnosis, one action)\n\n| What the user sees \u002F the state shows | Say (plain) | Do (prefer the button) |\n|---|---|---|\n| \"Go standalone?\" popup; the link keeps dropping | \"Your machine lost its steady link to home base — usually home base slept or restarted.\" | Confirm home base is awake, then **Restart Hub Server**; if it can't come back now, **Go Standalone** to keep working locally. |\n| A banner: running on a local engine, \"hub down\" | \"Home base is unreachable, so this window fell back to its own local copy. Your shared sessions are on home base.\" | Bring home base back (**Restart Hub Server** \u002F wake it), then reload the window to rejoin. |\n| A machine shows a row but the link never confirmed | \"This machine got half-linked — it registered but couldn't actually reach home base to confirm.\" | Re-run the join (`\u002Fadd-fleet-device` re-drives it); read the exact fix it reports and clear that first (usually sleep, a missing SSH alias, or Tailscale down). |\n| Boot warning \"fleet issue\"; guard\u002Fsettings\u002Flink drift | \"Your machine's link setup drifted out of sync.\" | **Fleet — Repair** (re-installs the link + settings from source; idempotent). |\n| Sessions look wrong \u002F a machine seems to have its *own* private history | Likely a silent fork — see **Step 3**. | Detect the fork first; do NOT reload blindly. |\n| Version\u002Fpin mismatch on join | \"The two machines are on different Amicode builds.\" | Get both on the same build (**Repo Sync**, then rebuild\u002Freload), then re-join. |\n| A peer is missing, unreachable, or its sessions stop syncing | \"That machine isn't reachable over the private connection the fleet uses.\" | Check that peer is on and reachable over its configured connection; for Tailscale follow Step 3, then re-probe its real endpoint. |\n| Approval prompts on every fleet action | \"VS Code is asking permission for each fleet file it touches.\" | It's a one-time settings fix; offer to walk it (allow the external directories in the opencode config), then it stops. |\n\n## Step 3 — transport & OS-specific failures (the cross-machine gotchas)\n\nThe link is set up differently per machine, so the fix depends on the machine's\nOS and how it connects:\n\n- **Peer connection down.** For peer fleets, machines connect directly using their\n  configured transport; there is no single home-base tunnel. If using SSH, confirm\n  the alias still resolves and reaches the peer. If using Tailscale, confirm both\n  machines are online and MagicDNS resolves. Restore that private connection and\n  verify session activity and prompts sync again.\n- **Home-base SSH link down.** The steady link is an SSH forward. If it\n  won't stay up: confirm the SSH alias still resolves and reaches the machine\n  (`ssh -o BatchMode=yes -o ConnectTimeout=6 \u003Calias> 'echo ok'`), and that home\n  base has Remote Login (macOS) \u002F sshd (Linux) on. Re-establish with **Fleet —\n  Repair**.\n- **Tailscale link down.** Tailscale is the recommended way to connect machines\n  across networks without router port-forwarding. Check `tailscale status` on both\n  machines and confirm MagicDNS resolves. If Tailscale is not installed or signed\n  in, send the user to [Tailscale's install guide](https:\u002F\u002Ftailscale.com\u002Fkb\u002F1017\u002Finstall).\n  Keep fleet traffic private: never use `tailscale funnel`, expose a public bind,\n  or ask the user to configure router port-forwarding. SSH is an alternative when\n  it is already reachable and the user prefers it.\n- **Linux \u002F WSL window-onto-home-base machine — the known gap (#1260).** On macOS\n  the steady link is a managed background service that auto-reconnects. **On Linux\n  and WSL that managed link is not wired yet (#1260)** — the app installs the\n  guard and settings but no auto-reconnecting link — and the app's link health\n  check reports \"skipped\" there, so it can look fine while there's nothing keeping\n  the link up. If a Linux\u002FWSL machine keeps dropping to local-only after a sleep,\n  a network blip, or a reboot, that's this gap, not user error. The durable fix is\n  a supervised link the machine runs itself; instruct the researcher to install a\n  user-level `systemd` service (or a supervised `autossh` \u002F `ssh -o\n  ServerAliveInterval=15 -o ExitOnForwardFailure=yes -N -L 127.0.0.1:\u003Cport>:127.0.0.1:\u003Cport> \u003Chome-base-alias>`),\n  then confirm it survives by killing the link once and watching it come back. Say\n  the gap plainly and offer, as the low-friction alternative, making that Linux\n  machine home base instead (so the always-on machine is the host).\n\n## Step 4 — silent fork detection (why \"reload\" is not always safe)\n\nThe fork check applies to a **window onto home base**, which must not spawn its own\nengine. Do not apply this diagnosis to peer studios: each peer is supposed to run\nits own engine, while session activity and prompts sync between machines. When a\nwindow machine silently spawns its own engine, it can develop a private history.\nDetect that specific failure before telling anyone to reload:\n\n```bash\n# on the suspect window machine (ssh in if needed), on the fleet port:\n#   macOS:\nssh \u003Calias> 'lsof -nP -iTCP:\u003Cport> -sTCP:LISTEN'\n#   Linux\u002FWSL:\nssh \u003Calias> 'ss -ltnp \"sport = :\u003Cport>\"'\n# an `opencode` process listening (not `ssh`) = a local fork holding the port.\n# corroborate with the auth tell:\nssh \u003Calias> 'curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fsession'\n# 401 on a window machine = an armed LOCAL fork; home base answers 200 (anonymous).\n```\n\nIf you find a fork on a home-base window, the fix is to stop the fork, restore the guard + link\n(**Fleet — Repair**), and — if the forked copy grew real history the user cares\nabout — hand off to `\u002Ffleet` for the recovery, which knows how to merge a\nstranded database safely. **Never** \"just reload\" over a fork: you would either\nlose the forked history or keep two writers alive.\n\nHome base keeps its shared database at `~\u002F.amico\u002Fserver\u002Fsession.db` and runs as\nthe `co.harmoniqs.amico-hub` service (a launchd agent on macOS, a `systemd --user`\nunit on Linux). Peer machines have their own engines; fleet session activity and\nprompts sync between them. If sessions stop syncing across peers, diagnose peer\nreachability and transport before treating it as a database fork.\n\n## When to escalate to the internal `\u002Ffleet` playbook\n\nEscalate — and tell the user you're going one level deeper — only for the\ngenuinely deep, rare cases:\n\n- **Missing or wrong chat history** on home base (needs shard triage \u002F a merge).\n- **A confirmed database fork** with history worth recovering.\n- **Vault-sync conflicts**, settings-sync clobbering a machine, or the team's own\n  multi-machine mesh specifics.\n\nEverything else — link down, drift, half-linked machine, standalone\u002Frejoin, a\npeer that's simply off — you resolve here. If a simple fix didn't hold after one\nhonest attempt, say so plainly and escalate; don't loop on the same button.\n\n## Close the loop\n\nWhen you've fixed it, prove it in the user's terms, not with a status table:\n\"Fixed — your laptop can see home base again. Open a chat and your shared sessions\nare back.\" If you couldn't fix it, say exactly what's still wrong and the one\nthing that would unblock it (a machine to wake, a build to match, the #1260 gap),\nand — when it fits — offer the escape hatch of working on this machine alone for\nnow.\n",{"name":5,"agents":24,"surface":25,"description":7},[],"public","main","bf84fdd4c1494800695bd5881702b3118dbf98be","packages\u002Fextension\u002Fskills\u002Ftroubleshoot-fleet",2,"https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode","https:\u002F\u002Fgithub.com\u002Fharmoniqs","harmoniqs.ai","research tools, for researchers, by reseachers","2026-11-12 14:46:24",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add harmoniqs\u002Famicode --skill troubleshoot-fleet",{"tool":41,"command":42},"bunx","bunx skills add harmoniqs\u002Famicode --skill troubleshoot-fleet",{"tool":44,"command":45},"pnpm","pnpm dlx skills add harmoniqs\u002Famicode --skill troubleshoot-fleet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Fskills\u002Ftroubleshoot-fleet\u002FSKILL.md",true,[],[50,57,64,70,77,84],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M759XGHEQRJ1GWZTPRFF9Z1W","malformed","Frontmatter that parses as YAML but is missing the required name field.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fmalformed\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M759XDVQ1PYPMT876X8J21TQ","duplicated","Second skill carrying the duplicated frontmatter name.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fdup-two\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M759XBZYBHF38JDWSRHAC6E1","First skill carrying the duplicated frontmatter name.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fdup-one\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M759XAQBSP29BKTTXR1WF2D7","drifted","A skill whose API claims have drifted from the fixture packages.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fdrifted\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M759X8CNBPVK98C6M45D0QMB","clean","A clean skill whose every extracted claim resolves against the fixture packages.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fclean\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M759X73H6N2G0VDH8CJ5TF11","broken-paths","A skill with a broken relative link and a broken cited package path.","https:\u002F\u002Fgithub.com\u002Fharmoniqs\u002Famicode\u002Fblob\u002Fmain\u002Fpackages\u002Fextension\u002Ftest\u002Ffixtures\u002Fskill-drift\u002Fskills\u002Fbroken-paths\u002FSKILL.md",[],[]]