Steve Yegge
db3fee8088
refactor: add constants package for magic strings
Create internal/constants/constants.go with centralized definitions for:
- Directory names (mayor, polecats, crew, etc.)
- File names (rigs.json, town.json, state.json)
- Git branch names (main, beads-sync)
- Tmux session names (gt-mayor, gt-deacon)
- Agent role names
Add helper functions for common path construction:
- MayorRigsPath(), MayorTownPath(), MayorStatePath()
- RigMayorPath(), RigBeadsPath(), RigPolecatsPath()
Update key files to use the new constants:
- internal/cmd/rig_helpers.go
- internal/cmd/status.go
- internal/daemon/daemon.go
Closes: gt-xnql
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 22:13:21 -08:00
..
2025-12-21 16:26:25 -08:00
2025-12-21 00:46:12 -08:00
2025-12-21 11:51:58 -08:00
2025-12-21 21:46:10 -08:00
2025-12-21 00:46:12 -08:00
2025-12-21 00:46:12 -08:00
2025-12-21 00:46:12 -08:00
2025-12-21 00:46:12 -08:00
2025-12-21 00:46:12 -08:00
2025-12-20 02:12:21 -08:00
2025-12-21 16:04:31 -08:00
2025-12-21 17:23:22 -08:00
2025-12-20 02:26:09 -08:00
2025-12-20 14:24:49 -08:00
2025-12-21 11:44:35 -08:00
2025-12-20 14:24:49 -08:00
2025-12-19 14:17:39 -08:00
2025-12-21 14:28:14 -08:00
2025-12-19 15:30:13 -08:00
2025-12-21 15:53:15 -08:00
2025-12-20 23:25:16 -08:00
2025-12-20 23:25:16 -08:00
2025-12-20 23:25:16 -08:00
2025-12-21 17:23:22 -08:00
2025-12-20 23:25:16 -08:00
2025-12-20 23:25:16 -08:00
2025-12-21 11:44:35 -08:00
2025-12-19 21:59:03 -08:00
2025-12-20 13:19:39 -08:00
2025-12-21 11:11:03 -08:00
2025-12-21 21:46:10 -08:00
2025-12-21 21:16:45 -08:00
2025-12-21 21:46:10 -08:00
2025-12-19 16:16:26 -08:00
2025-12-21 22:13:21 -08:00
2025-12-21 15:49:09 -08:00
2025-12-21 10:18:37 -08:00
2025-12-21 21:46:10 -08:00
2025-12-21 22:00:02 -08:00
2025-12-21 10:33:11 -08:00
2025-12-21 22:13:21 -08:00
2025-12-20 09:23:57 -08:00
2025-12-21 18:11:06 -08:00
2025-12-19 20:43:34 -08:00
2025-12-20 02:26:09 -08:00
2025-12-20 22:22:56 -08:00
2025-12-21 21:46:10 -08:00