Merge pull request #279 from joshuavial/fix/polecat-dotdir-scan

fix: extend polecat dot-dir filtering beyond #258
This commit is contained in:
Steve Yegge
2026-01-08 17:23:26 -08:00
committed by GitHub
8 changed files with 239 additions and 19 deletions

View File

@@ -28,6 +28,7 @@ func TestGetRoleConfigForIdentity_PrefersTownRoleBead(t *testing.T) {
townRoot := t.TempDir()
runBd(t, townRoot, "init", "--quiet", "--prefix", "hq")
runBd(t, townRoot, "config", "set", "types.custom", "agent,role,rig,convoy,slot")
// Create canonical role bead.
runBd(t, townRoot, "create",
@@ -61,6 +62,7 @@ func TestGetRoleConfigForIdentity_FallsBackToLegacyRoleBead(t *testing.T) {
townRoot := t.TempDir()
runBd(t, townRoot, "init", "--quiet", "--prefix", "gt")
runBd(t, townRoot, "config", "set", "types.custom", "agent,role,rig,convoy,slot")
// Only legacy role bead exists.
runBd(t, townRoot, "create",