feat(types): add rig identity bead type (gt-zmznh)

- Add TypeRig constant to IssueType enum
- Update IsValid() method to include TypeRig
- Add UI color (orange) and style for rig type
- Update CLI flag descriptions in create and update commands
- Add Obsidian export tag for rig type
- Add comprehensive test cases for rig and other newer types

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
furiosa
2026-01-06 18:55:06 -08:00
committed by Steve Yegge
parent 94997bd619
commit bf378650f4
8 changed files with 22 additions and 4 deletions

View File

@@ -143,6 +143,10 @@ var (
Light: "#7fd962", // green - role definition
Dark: "#7fd962",
}
ColorTypeRig = lipgloss.AdaptiveColor{
Light: "#e6a756", // orange - rig identity (project container)
Dark: "#e6a756",
}
// === Issue ID Color ===
// IDs use standard text color - subtle, not attention-grabbing
@@ -192,6 +196,7 @@ var (
TypeChoreStyle = lipgloss.NewStyle().Foreground(ColorTypeChore)
TypeAgentStyle = lipgloss.NewStyle().Foreground(ColorTypeAgent)
TypeRoleStyle = lipgloss.NewStyle().Foreground(ColorTypeRole)
TypeRigStyle = lipgloss.NewStyle().Foreground(ColorTypeRig)
)
// CategoryStyle for section headers - bold with accent color
@@ -343,6 +348,8 @@ func RenderType(issueType string) string {
return TypeAgentStyle.Render(issueType)
case "role":
return TypeRoleStyle.Render(issueType)
case "rig":
return TypeRigStyle.Render(issueType)
default:
return issueType
}

View File

@@ -94,6 +94,7 @@ func TestRenderTypeVariants(t *testing.T) {
{"chore", TypeChoreStyle.Render("chore")},
{"agent", TypeAgentStyle.Render("agent")},
{"role", TypeRoleStyle.Render("role")},
{"rig", TypeRigStyle.Render("rig")},
{"custom", "custom"},
}
for _, tc := range cases {