Some checks failed
CI / check (push) Failing after 17m48s
- Remove 'index 0000000..1111111' lines that made patches appear as new files - Fix hunk line counts in several patches - Add missing leading spaces to blank context lines - Temporarily disable statusline optimization patch (needs regenerating) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
536 B
Diff
19 lines
536 B
Diff
diff --git a/internal/cmd/prime.go b/internal/cmd/prime.go
|
|
--- a/internal/cmd/prime.go
|
|
+++ b/internal/cmd/prime.go
|
|
@@ -276,11 +276,12 @@ func detectRole(cwd, townRoot string) RoleInfo {
|
|
|
|
// Check for mayor role
|
|
// At town root, or in mayor/ or mayor/rig/
|
|
if relPath == "." || relPath == "" {
|
|
- ctx.Role = RoleMayor
|
|
- return ctx
|
|
+ return ctx // RoleUnknown - town root is shared space
|
|
}
|
|
+
|
|
+ // Check for mayor role: mayor/ or mayor/rig/
|
|
if len(parts) >= 1 && parts[0] == "mayor" {
|
|
ctx.Role = RoleMayor
|
|
return ctx
|
|
}
|