You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: add role registry with autonomous/emoji properties from TOML configs (gt-2e5q)
Create IsAutonomous() and RoleEmoji() in config package that read from
embedded TOML role definitions, establishing a single source of truth for
role properties. Replace 3 duplicate hardcoded switch blocks:
- claude/settings.go RoleTypeFor()
- gemini/settings.go RoleTypeFor()
- runtime/runtime.go isAutonomousRole()
All now delegate to config.IsAutonomous() instead of maintaining parallel
role lists. Boot role handled as deacon variant in the registry.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
0 commit comments