Skip to content

fix: scope doctor config checks to the selected rig#3472

Open
Bella-Giraffety wants to merge 1 commit intogastownhall:mainfrom
Bella-Giraffety:polecat/mayor-gs-8vc-rig-config-scope
Open

fix: scope doctor config checks to the selected rig#3472
Bella-Giraffety wants to merge 1 commit intogastownhall:mainfrom
Bella-Giraffety:polecat/mayor-gs-8vc-rig-config-scope

Conversation

@Bella-Giraffety
Copy link
Copy Markdown

Summary

  • gt doctor --rig <rig> was reading and fixing types.custom and status.custom against the town beads database instead of the selected rig.
  • Resolve the target beads dir from the selected rig and pin BEADS_DIR / BEADS_DOLT_SERVER_DATABASE so bd config runs against the intended database.
  • Preserve existing rig-local custom types while adding the required Gas Town ones, instead of overwriting the entire types.custom value.
  • Add focused regression tests for rig-scoped reads/writes and preservation of existing custom types.

Validation

  • GOTOOLCHAIN=auto go test ./internal/doctor/...

Notes

  • This PR is intentionally limited to the rig-scoped doctor config checks.
  • It does not broaden doctor scoping in other checks.

@github-actions github-actions bot added the status/needs-triage Inbox — we haven't looked at it yet label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/needs-triage Inbox — we haven't looked at it yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants