feat: atomic extract-and-connect + stale PR monitor + response audit #4

Merged
m3taversal merged 70 commits from epimetheus/atomic-connect-and-stale-monitor into main 2026-03-30 11:03:35 +00:00
Showing only changes of commit 458cd7dfda - Show all commits

View file

@ -596,9 +596,9 @@ async def handle_tagged(update: Update, context: ContextTypes.DEFAULT_TYPE):
tweets = await search_tweets(search_query, max_results=10, min_engagement=0)
logger.info("Haiku research: got %d tweets", len(tweets))
if tweets:
research_context = f"\n## Fresh X Research Results for '{search_query}'\n"
research_context = f"\n## LIVE X Search Results (you just searched for '{search_query}' — cite these directly)\n"
for t in tweets[:7]:
research_context += f"- @{t['author']}: {t['text'][:150]}\n"
research_context += f"- @{t['author']}: {t['text'][:200]}\n"
# Don't burn user's rate limit on autonomous searches (Ganymede)
# Archive as source
try: