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 a19db22b16 - Show all commits

View file

@ -101,7 +101,7 @@ unanswered_count: dict[tuple[int, int], int] = {} # (chat_id, user_id) → unan
# Conversation history — last N exchanges for prompt context (Ganymede: high-value change)
MAX_HISTORY_USER = 5
MAX_HISTORY_CHAT = 10 # Ganymede: group chats need more context (multiple users)
MAX_HISTORY_CHAT = 30 # Group chats: multiple users, longer threads
conversation_history: dict[tuple[int, int], list[dict]] = {} # (chat_id, user_id) → [{user, bot}]