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
- Replace `Anonymous` boolean with `InspiredBy` string field to
explicitly track who inspired each persona
- Add automatic sorting of personas by category then name via `init()`
- Implement text wrapping for persona descriptions using
`wordwrap.String()`
- Update persona list rendering to account for wrapped description
height when scrolling
- Rename "(Critical Only)" to "(Critical Issues Only)" for clarity
- Add `InspirationSuffix()` helper for consistent attribution display
- Move `muesli/reflow` to direct dependency (now explicitly imported)
sys+=fmt.Sprintf("\nAdopt the voice, opinions, and reviewing style of %s. %s. Review as they would — with their known priorities, pet peeves, and communication style.", persona.Name, persona.Description)
// Index 0 = "(None)", 1 = "(Critical Only)", 2 = "(Terse)", 3..len(Personas)+2 = personas
190
-
maxIndex:=len(Personas) +2
192
+
personas:=SortedPersonasByCategory()
193
+
// Index 0 = "(None)", 1 = "(Critical Issues Only)", 2 = "(Terse)", 3..len(Personas)+2 = personas
194
+
maxIndex:=len(personas) +2
191
195
switchmsg.String() {
192
196
casekeyEnter:
193
197
m.mode=modeNormal
194
198
switchm.personaIndex {
195
199
case0:
196
200
m.persona=nil
197
201
case1:
198
-
m.persona=&Persona{Name: "(Critical Only)", Description: "Only report critical issues — bugs, security vulnerabilities, data loss risks, and correctness problems. Skip style, naming, and minor suggestions."}
202
+
m.persona=&Persona{Name: "(Critical Issues Only)", Description: "Only report critical issues — bugs, security vulnerabilities, data loss risks, and correctness problems. Skip style, naming, and minor suggestions."}
199
203
case2:
200
204
m.persona=&Persona{Name: "(Terse)", Description: "Extremely brief and concise, bullet points only, no fluff"}
sys+=fmt.Sprintf("\nAdopt the voice, opinions, and reviewing style of %s. %s. Review as they would — with their known priorities, pet peeves, and communication style.", m.persona.Name, m.persona.Description)
0 commit comments