Switch RECOMMENDATIONS to stacked card format (responsive)

- Replace ASCII table with stacked card format
- Each card: Tool/Mentions/Use Case/Sources on separate lines
- Cards separated by horizontal rule (────)
- Doesn't break when terminal window is narrow
- Still includes @handles in Sources line

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt Van Horn
2026-02-03 15:12:56 -08:00
parent c534c3b9a5
commit 56f9eceb9c
+19 -10
View File
@@ -215,24 +215,33 @@ Identify from the ACTUAL RESEARCH OUTPUT:
**FIRST - What I learned (based on QUERY_TYPE):**
**If RECOMMENDATIONS** - Show specific things mentioned in ASCII TABLE format:
**If RECOMMENDATIONS** - Show specific things mentioned in STACKED CARD format:
```
🏆 Most mentioned:
┌────────────────────┬─────────────┬───────────┬─────────────────────────────────────┐
│ Name │ Details │ Mentions │ Key Sources │
├────────────────────┼─────────────┼───────────┼─────────────────────────────────────┤
│ [Specific name] │ [context] │ {n}x │ @handle1, @handle2, r/sub, blog.com
│ [Specific name] │ [context] │ {n}x │ @handle3, Rolling Stone, Complex │
[Specific name] │ [context] │ {n}x │ r/sub, @handle4, Variety │
└────────────────────┴─────────────┴───────────┴─────────────────────────────────────┘
Tool: [Specific name]
Mentions: {n}x
Use Case: [what it does / why people recommend it]
Sources: @handle1, @handle2, r/sub, blog.com
────────────────────────────────────────────────────────
Tool: [Specific name]
Mentions: {n}x
Use Case: [what it does]
Sources: @handle3, r/sub2, Complex
────────────────────────────────────────────────────────
Tool: [Specific name]
Mentions: {n}x
Use Case: [what it does]
Sources: r/sub, @handle4, Variety
────────────────────────────────────────────────────────
Notable mentions: [other specific things with 1-2 mentions]
```
**CRITICAL for RECOMMENDATIONS:**
- Use ASCII box-drawing characters (┌ ─ ┬ ┐ │ ├ ┼ ┤ └ ┴ ┘) for tables
- "Key Sources" column MUST include actual @handles from X posts (e.g., @LONGLIVE47, @ByDobson)
- Use stacked card format (responsive, doesn't break on narrow terminals)
- Separate cards with horizontal rule: ────────────────────────────────────────────────────────
- "Sources:" line MUST include actual @handles from X posts (e.g., @LONGLIVE47, @ByDobson)
- Include subreddit names (r/hiphopheads) and web sources (Complex, Variety)
- Parse @handles from research output and include the highest-engagement ones