Botnet Fleet
Purpose
Use this as the master skill for Botnet fleet operations. It coordinates the cross-repo system made of:
botnet: control plane, SSH rollout scripts, remote browser worker, native Kokoro worker, precompute workers, fleet inventory, and operator notes.gist: upstream extension/runtime behavior and Gist-facing product contract.kokoro-coreml: Swift/Core ML model export, runtime assets, profiling, and validation evidence for native TTS.
Read reference.md before acting on anything non-trivial. It is
the path catalog for related skills, runbooks, notes, environment variables, and
historical decisions.
Use When
- The user mentions the Botnet fleet, Mac fleet,
m2-studio,irvine-m1,m2-air, SSH rollout,update-fleet,update-host, or fleet health. - The task involves
scrape.remote_browser,tts.kokoro_coreml, reader-audio precompute workers, worker LaunchAgents, queue depth, worker freshness,workersByMachine, active slots, or per-machine capability readiness. - The failure crosses
gist,botnet, andkokoro-coreml, or depends on which repo owns the broken contract. - The task asks where Botnet fleet env vars, worker keys, admin bearer keys, or Cloudflare deploy credentials live.
First Rule
Start in botnet unless there is strong evidence the root cause belongs
elsewhere. botnet owns the live control plane and fleet scripts; gist and
kokoro-coreml are upstream or dependency repos for specific contracts.
Required Workflow
- Read
reference.md, then load only the related skill or note for the current failure class. - Prove current fleet state before changing anything:
cd /Users/mattmireles/Documents/Github/botnetand run the checked-in health workflow fromfleet-health-checkwhen live status matters. From this operator Mac you can SSH directly tom2-studioandirvine-m1for remote inspection and rollouts—seereference.md§ Operator Workstation. - Repair the failing primitive, not the whole system: control-plane health, SSH reachability, LaunchAgent state, scraper worker, Kokoro worker, precompute worker, or Cloudflare deploy.
- Use
fleet-updatefor rollouts,fleet-health-checkfor health triage,remote-workerfor browser worker incidents, and Kokoro/Core ML skills or docs for TTS runtime defects. - Verify with the operator command that matches the repair. Do not call the fleet healthy from a single local symptom.
- For debugging that takes real investigation, write or update notes before
finishing. Prefer
botnet/README/notes/for fleet incidents; usegistorkokoro-coremlnotes only when that repo owns the durable lesson.
Guardrails
- Do not print secret values from
.env, worker keys, admin bearer keys, or Cloudflare tokens. - Do not deploy the shared Cloudflare API worker unless the user asked for a
deploy or the rollout requires
pnpm update-fleet --deploy-api. - Do not rewrite imported Gist worker code inside
botnetcasually. Preserve upstream import boundaries and sync deliberately. - Do not treat
gist's older Mac mini runbooks as the live source of truth whenbotnethas newer Botnet-branded fleet docs. - Do not change Kokoro model/runtime policy without checking
kokoro-coremlevidence andbotnetKokoro throughput notes.