Steve Yegge
e75bdee50a
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-22 12:32:22 -08:00
..
2025-12-22 12:32:21 -08:00
2025-12-22 12:32:22 -08:00
2025-12-19 21:59:03 -08:00
2025-12-22 12:32:22 -08:00
2025-12-22 12:32:21 -08:00
2025-12-22 12:32:22 -08:00
2025-12-20 02:12:21 -08:00
2025-12-21 16:04:31 -08:00
2025-12-20 16:54:16 -08:00
2025-12-18 20:24:51 -08:00
2025-12-21 14:28:14 -08:00
2025-12-19 12:44:42 -08:00
2025-12-21 10:29:32 -08:00
2025-12-20 17:42:21 -08:00
2025-12-21 15:49:09 -08:00
2025-12-20 09:23:57 -08:00
2025-12-22 12:32:22 -08:00
2025-12-19 12:44:42 -08:00
2025-12-22 12:32:21 -08:00
2025-12-21 16:33:37 -08:00
2025-12-22 12:32:22 -08:00