無料GitHub で公開
seed-troubleshoot
Diagnose common Cognitum Seed device issues — won't pair, no WiFi, firmware stuck, MCP tools not appearing in Claude Code. Use when the user reports a Seed-related symptom and asks "why isn't this working?".
含まれるファイル(1)
- SKILL.md4.7 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Seed Troubleshooting Playbook
When a user has trouble with a Seed device, work through these symptom→cause checks in order. Don't run them blindly — ask for the symptom first, then jump to the matching section.
Symptom: "Pairing window timed out / 401 on POST /pair"
Causes (most likely first):
- Window not opened — user must hold the device button for 3s until LED turns blue. Pairing only accepts unauth POSTs during this window.
- Window expired — 60s from button press. Re-open and retry.
- Wrong transport — if device is on WiFi, must use
https://<ip>:8443. If on USB-C only, usehttp://169.254.42.1. Confirm with/seed-pairdiscovery step. - Already paired and out of slots —
GET /api/v1/pair/clients. The Seed has a max client cap (typically 16). DELETE old entries with/api/v1/pair/{clientId}.
Symptom: "Bearer token returns 403 on every endpoint"
Causes:
- Token revoked — check
GET /api/v1/pair/clientsfor the token's clientId; if absent, re-pair. - mTLS required for that endpoint — some endpoints (firmware, security) require client cert in addition to bearer. Check the endpoint docs in
/guideon the device. - Privileged scope missing — bearer tokens have read/write/dangerous tiers. Re-pair from a privileged context (USB cable) to get a higher-tier token.
Symptom: "WiFi connect returns 200 but never gets an IP"
Causes:
- Wrong PSK — silent failure. Re-check by re-running
/seed-wifi connect <SSID> <PSK>and confirming. - Signal too weak —
GET /api/v1/wifi/scanand look at the SSID's signal. Below -75dBm is unreliable. - AP isolation / captive portal — corporate WiFi or guest networks often block headless devices. Move to a normal home WiFi to test.
- Hostname conflict — if a previous Seed used the same MAC/hostname, the AP may have it blacklisted. Reboot AP or change MAC.
Symptom: "OTA download starts but stuck at <100%"
Causes:
- Slow upstream — firmware bundles are 100–400 MB. Watch
/api/v1/upgrade/statusforbytes_receivedto confirm it's making progress. - GCS bucket throttled — Seed pulls from
gs://cognitum-firmware/. If multiple devices update simultaneously, throughput drops. - Disk full —
GET /api/v1/firmware/statusforstaging_slot.free_bytes. Need ~2x bundle size free. - Signature verification failed — log line "build-key mismatch" means the device's measured-boot key doesn't trust the new bundle. Don't override — escalate.
Symptom: "MCP tools from cognitum-seed don't appear in /mcp"
Causes:
- Plugin disabled —
/plugin list, confirmcognitum-seedshows ● (filled circle). If ◯, enable + restart Claude Code. - Wrong URL in .mcp.json — default is
http://169.254.42.1/mcp(USB). For WiFi, override env:export COGNITUM_SEED_MCP_URL=https://<wifi-ip>:8443/mcp. - Self-signed cert rejected — Claude Code may refuse the Seed's self-signed cert on HTTPS. Workarounds: use USB-mode HTTP, or add the Seed's cert to your system trust store.
- Pairing token not in env — for HTTPS WiFi mode, set
COGNITUM_SEED_TOKEN. The .mcp.json passes it asAuthorization: Bearer .... - Device offline —
ping 169.254.42.1(USB) or the LAN IP. If unreachable, the issue is below the API layer.
Symptom: "/seed-status shows 🔴 thermal warning"
Causes:
- Sustained heavy load — check
/api/v1/cognitive/statusfor tick rate. Throttle by lowering tick rate or disabling turbo (/seed-thermal turbo off). - Enclosure airflow blocked — physical fix; no API help.
- Silicon variation —
/api/v1/thermal/silicon-profileshows the BCM SoC's characterized envelope. If accuracy is < 0.85, recharacterize:POST /api/v1/thermal/characterize.
Symptom: "Witness chain has gaps / verification fails"
This is serious — possible custody breach. Stop normal operations and:
GET /api/v1/witness/chain?limit=100— find the gap.POST /api/v1/witness/verifyon the entries adjacent to the gap.- If gaps confirm, escalate to ops. Do NOT auto-repair the chain — that erases the breach evidence.
General debugging endpoints (always safe to call)
GET /api/v1/status— alive/firmwareGET /api/v1/security/status— auth postureGET /api/v1/boot/measurements— measured boot chainGET /api/v1/delta/history?limit=50— recent state changes (audit log)
Use:
curl -sk -H "Authorization: Bearer $COGNITUM_SEED_TOKEN" $COGNITUM_SEED_BASE<endpoint>
レビュー
まだレビューはありません。使ってみた感想をお寄せください。