Add a new 'prefix-mismatch' check to gt doctor that detects when the prefix configured in rigs.json differs from what routes.jsonl actually uses for a rig's beads. This can happen when: - deriveBeadsPrefix() generates a different prefix than what's in the DB - Someone manually edited rigs.json with the wrong prefix - Beads were initialized before auto-derive existed with a different prefix The check is fixable: running 'gt doctor --fix' will update rigs.json to match the actual prefixes from routes.jsonl. Includes comprehensive tests for: - No routes (nothing to check) - No rigs.json (nothing to check) - Matching prefixes (OK) - Mismatched prefixes (Warning) - Fix functionality 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7.8 KiB
7.8 KiB