Doctor: Dashi Telegram Plugin Migration

Skrivebeskyttet doktor for migrering av en Telegram-bot til dashi-kanalpluginen

av qwwiwi · qwwiwi/dashi-plugin-claude-code

Bestått ★ 8.8/10

Doctor: Dashi Telegram Plugin Migration — Skrivebeskyttet doktor for migrering av en Telegram-bot til dashi-kanalpluginen

Hva den gjør

Leverer en 2250-linjers Bun diagnostic that audits a dashi-plugin-claude-code Telegram channel install: toolchain floors, workspace placement, hook registration, permission-gate wiring, token hygiene, and the five cross-agent isolation invariants in multi-agent fleet mode. Utløses når a migrated bot goes silent, answers as default Claude, or throws Telegram 409 Conflict, and when planning the cutover off the legacy gateway. Strengt read-only — it names the first failure and points at the fix, it never restarts a service or edits config. Only useful if you run that specific plugin.

Testrapport

Built a fake two-agent host with six deliberate faults and ran the bundled doctor against it: it caught all six — shared webhook port, shared bot token, shared tmux socket, channel hooks left in the user-level settings.json, webhook.enabled=false on agent B, and agent B's hooks pointing at a foreign port — pluss two I had not planted (world-readable env file holding the token, missing permission-gate hook on a bypassPermissions unit). Every finding carried a one-line fix pointer, and the run took under two seconds. The bundled test suite is real: 172 tests, 0 failures under bun test. The read-only claim holds — no write, restart or kill call anywhere in the 2250-line script, and token comparison is by sha256 digest. Four of the six faults depend on plugin-specific invariants documented nowhere else, which is the whole delta over eyeballing the unit files by hand.

Testet på: 2026-07-28 · Claude Code 2.x (agent harness)

Installer

git clone https://github.com/qwwiwi/dashi-plugin-claude-code.git
mkdir -p ~/.claude/skills
cd dashi-plugin-claude-code && cp -r skills/doctor-dashi-plugin ~/.claude/skills/doctor-dashi-plugin

Kommandoer og eksempelprompter

  • /doctor-dashi-pluginSkrivebeskyttet doktor for migrering av en Telegram-bot til dashi-kanalpluginen

Skills utløses av vanlige forespørsler — ingen kommandoer å huske. Etter installasjonen aktiverer prompter som disse skillen (på engelsk):

  • My Telegram bot went silent after migrating to the dashi channel plugin
  • Getting a Telegram 409 Conflict error after switching off the gateway
  • Diagnose why my dashi-plugin agent is answering as default Claude