Files
gastown/internal/cmd
Jasper Croome 139f3aeba3 Fix stop hook failing in role subdirectories (#597)
The stop hook runs 'gt costs record' which executes 'bd create' to
record session costs. When run from a role subdirectory (e.g., mayor/)
that doesn't have its own .beads database, bd fails with:
  'database not initialized: issue_prefix config is missing'

Fix by using workspace.FindFromCwd() to locate the town root and
setting bdCmd.Dir to run bd from there, where the .beads database
exists.
2026-01-16 10:59:42 -08:00
..
2026-01-08 12:36:54 -05:00
2026-01-09 02:22:20 +13:00
2026-01-08 22:10:40 +13:00
2026-01-13 22:13:35 -08:00
2026-01-08 12:36:54 -05:00
2026-01-12 03:18:47 -08:00