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
2025-12-30 23:48:34 -08:00
2026-01-01 18:53:39 -08:00
2026-01-02 18:29:25 -08:00
2026-01-02 18:31:15 -08:00
2025-12-30 23:09:03 -08:00
2026-01-01 19:24:51 -08:00
2026-01-01 11:18:09 -08:00
2026-01-02 17:28:40 -08:00
2026-01-02 22:44:58 +01:00
2025-12-30 22:14:05 -08:00
2026-01-02 12:23:55 -08:00
2026-01-02 18:19:58 -08:00
2025-12-30 10:38:18 -08:00
2025-12-31 12:33:51 -08:00
2025-12-30 02:12:01 -08:00
2026-01-01 15:01:23 -08:00
2026-01-01 18:23:07 -08:00
2025-12-30 22:29:23 -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-01 18:21:42 -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
2025-12-29 23:46:59 -08:00
2026-01-02 17:28:40 -08:00
2026-01-02 22:44:58 +01:00
2025-12-29 23:52:38 -08:00
2026-01-02 01:09:00 -08:00
2025-12-28 19:19:10 -08:00
2026-01-02 16:43:50 -08:00