Fix agent ID validation to accept any rig prefix (gt-w0fqg)

The ValidateAgentID function was hardcoded to only accept 'gt-' prefix,
but beads rig uses 'bd-' prefix. Now accepts any valid prefix.

Changes:
- Extract prefix dynamically instead of hardcoding 'gt-'
- Accept IDs like bd-mayor, bd-beads-polecat-pearl
- Update error messages to be prefix-agnostic
- Add test cases for alternative prefixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gastown/polecats/slit
2025-12-30 23:01:49 -08:00
committed by Steve Yegge
parent 363c5a3819
commit eb0cc50ce6
3 changed files with 918 additions and 912 deletions

File diff suppressed because one or more lines are too long