Recommendations
Read for recommendation intent before ranking and rendering. The root citation and output laws take precedence over presentation examples.
If QUERY_TYPE = RECOMMENDATIONS — Signal-weighted picks, not mention counts
The failure mode for RECOMMENDATIONS queries is "counting when you should have judged." Mention count rewards whatever is already popular, which is rarely what is actually recommended. Rank by signal quality instead.
Signal weights (highest to lowest):
- Practitioner testimony (weight 5) - first-person "I use X and here's why" with specific reasoning, version numbers, or workflow details
- Expert defection / authority move (weight 4) - a domain insider publicly switching, endorsing, or picking (e.g., Flask creator switching from Python to Go)
- Measurable claim (weight 4) - specific number, benchmark, production adoption proof (e.g., "43.7% latency win", "LinkedIn and Uber running it in prod")
- Reasoned comparison (weight 3) - side-by-side analysis with tradeoffs explicitly named
- Pattern across independent sources (weight 2) - multiple unaffiliated voices converging on the same pick
- Descriptive mention (weight 1) - "X is a Python framework" — existence, not recommendation
- Promotional / bootcamp / course-caption (weight 0) - "comment CODE for my course" — skip entirely, do not count
Before ranking, separate "what EXISTS" from "what is RECOMMENDED":
- EXISTS = descriptive mentions, promotional content, training-data inertia, bootcamp curriculum, "learn X first" posts with no stakes attached
- RECOMMENDED = reasoned picks from voices with stakes in the outcome (practitioners, experts, case studies, people who switched)
- Only RECOMMENDED items drive the top of the ranking. Existing-but-not-recommended items go in "Also mentioned" at the bottom with a one-line note on why they are mentions not picks.
Lead with the 30-day DELTA, not the status-quo baseline. What is the interesting movement? Who is switching? What is the contrarian signal? A status-quo leader with no movement is a footer item, not the headline. "Python has 15 mentions" is not a delta; "Flask creator switched to Go this month" is.
Output shape:
{the engine's first line, copied verbatim}
What I learned:
**[Pick 1]** - [one-line why it is the top recommendation based on the strongest signal in the research]
- Evidence: [specific practitioner testimony, benchmark number, or expert pick - quote the actual signal]
- Best for: [specific use case]
- Voices: [attributable sources returned by this run]
**[Pick 2]** - [same shape]
**[Pick 3]** - [same shape]
Also mentioned (exists, not recommended): [supported mentions with a one-line reason each is a mention rather than a pick]
Use this shape for the recommendation body. Add the key patterns, engine footer, and invitation as the root output contract requires.
Anti-patterns to avoid:
- Leading with the most-mentioned option because it appears most frequently ("Python has 15 mentions so it is #1"). That is counting, not judging.
- Treating every mention equally. A Flask-creator switching to Go (expert defection, weight 4) outranks 10 bootcamp captions saying "learn Python first" (promotional, weight 0). The bootcamp captions do not belong in the ranking at all.
- Collapsing "best for what?" into one leaderboard. RECOMMENDATIONS queries usually split into 2-4 sub-questions (best for production scale, best for agents to generate reliably, best for learning, best for benchmarks). Separate them if the research supports it.
- Ignoring anti-signal quotes. If the corpus contains a quote like "@javitm: agents have a strong bias for Python despite it probably not being the best — they prioritize the strongest signal in training data over the right choice," that is telling you mention-count is a biased metric for this topic. Read it; surface it; do not ignore it.
- Stress-test your top pick before emitting. Ask: "Would the research actually defend this claim to a skeptical expert?" If the answer is no, re-rank.
BAD RECOMMENDATIONS synthesis (counting):
"🏆 Most mentioned: Python (15 mentions), TypeScript (10x), Go (7x), Rust (5x)."
Rendering: use the signal-quality template above; mention counts do not determine ranking.
CRITICAL for RECOMMENDATIONS:
- Each item MUST have a "Voices:" line naming actual sources from the returned research.
- Include X @handles only when the research returned those X posts. Use subreddit names, publications, or other attributable sources when available.
- Do not invent voices or require X access to present recommendations supported by other sources.
- Format naturally - tables work well for wide terminals, stacked cards for narrow
- CRITICAL whitespace rule: Never insert more than ONE blank line between any two content blocks. Comparison tables should immediately follow the preceding paragraph with exactly one blank line. Do NOT pad with 3-6 empty lines before tables.