capable
fa26265b32
test: Add integration tests for gt rig add command
Add comprehensive integration tests that validate gt rig add:
- TestRigAddCreatesCorrectStructure: Verify directory structure
- TestRigAddInitializesBeads: Verify beads prefix initialization
- TestRigAddUpdatesRoutes: Verify routes.jsonl is updated
- TestRigAddUpdatesRigsJson: Verify rigs.json is updated
- TestRigAddDerivesPrefix: Verify prefix derivation from name
- TestRigAddCreatesRigConfig: Verify config.json content
- TestRigAddCreatesAgentDirs: Verify agent state files
- TestRigAddRejectsInvalidNames: Verify name validation
Uses //go:build integration tag per design doc.
Run with: go test -tags=integration ./internal/cmd -run TestRigAdd
(gt-htlmp.3)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 18:31:15 -08:00
..
2026-01-02 18:26:45 -08:00
2026-01-02 18:29:25 -08:00
2026-01-02 18:31:15 -08:00
2026-01-02 17:28:40 -08:00
2026-01-02 22:44:58 +01:00
2026-01-02 12:23:55 -08:00
2026-01-02 18:19:58 -08:00
2026-01-02 14:03:56 -08:00
2026-01-02 18:25:15 -08:00
2026-01-02 17:28:40 -08:00
2026-01-02 18:26:45 -08:00
2026-01-02 22:44:59 +01:00
2026-01-02 22:44:58 +01:00
2026-01-02 17:28:40 -08:00
2026-01-02 22:44:58 +01:00
2026-01-02 01:09:00 -08:00
2026-01-02 16:43:50 -08:00