157 Commits

Author SHA1 Message Date
65cae8961e Merge branch 'bug/handle-errors-better'
* bug/handle-errors-better:
  improve error handling for mcp calls
2026-06-24 12:53:32 -07:00
8f367ca74e Merge branch 'feature/ballmer-mode'
* feature/ballmer-mode:
  hotfix
  update wiki-charlesreid1-bot to add "ballmer mode" activated with those words
2026-06-24 12:53:13 -07:00
b979dd3d4a improve error handling for mcp calls 2026-06-24 12:52:06 -07:00
bbfd23be95 hotfix 2026-06-23 18:06:52 -07:00
4643947a68 update wiki-charlesreid1-bot to add "ballmer mode" activated with those words 2026-06-23 17:59:14 -07:00
7e9132bf77 Merge branch 'feature/wiki-golly-docker-network'
* feature/wiki-golly-docker-network:
  fix docker-compose network to eliminate TLS hairpin
  fix MCP call_tool hanging on broken connections
  improve golly-personas system prompt to prioritize database tools for stats
  fix golly-life-sql-mcp
2026-06-21 20:19:37 -07:00
1f222af1e1 Merge branch 'feature/wiki-charlesreid1-docker-network'
* feature/wiki-charlesreid1-docker-network:
  fix wiki-charlesreid1-bot docker compose network
2026-06-21 20:19:19 -07:00
626e3ce451 fix docker-compose network to eliminate TLS hairpin 2026-06-21 20:18:52 -07:00
e4cb909e6a fix wiki-charlesreid1-bot docker compose network 2026-06-21 20:17:00 -07:00
dfea876d5a fix MCP call_tool hanging on broken connections
When the MediaWiki MCP server returned HTTP 400, the transport stream
broke silently and call_tool hung forever waiting for a response that
would never come. This caused the bot to silently drop Slack messages.

- Add 90s timeout to _do_call so hung MCP calls fail instead of blocking
- Broaden call_tool exception handler from transport-only errors to all
  exceptions, so HTTP errors and McpError also trigger reconnect+retry
- Log failures in the Slack error handler instead of silently swallowing
2026-06-21 20:03:15 -07:00
85bff8c433 improve golly-personas system prompt to prioritize database tools for stats
DeepSeek was defaulting to wiki searches for stats questions instead of
using the sports database. Strengthen the system prompt to always prefer
database tools for quantitative data and only fall back to wiki for lore.
2026-06-21 20:03:02 -07:00
0e038f95d4 fix golly-life-sql-mcp 2026-06-21 18:05:43 -07:00
d392cd561a add bash scripts to start containers 2026-06-21 16:23:01 -07:00
eb20e8a492 update readme 2026-06-21 16:12:31 -07:00
1252d3f3ef update docs 2026-06-21 16:12:31 -07:00
3661046ed7 update golly docker-compose env vars for golly-life-sql-mcp 2026-06-21 16:12:31 -07:00
0c09b63c38 add new golly-life-sql-mcp to wiki-golly and golly-personas 2026-06-21 16:12:31 -07:00
7d5f711eb7 add golly.life sql db mcp 2026-06-21 16:12:31 -07:00
ae36dbe1ce move finished plan to attic 2026-06-21 16:12:31 -07:00
7a82af809d fixup 2026-06-21 16:04:51 -07:00
7a5db48ec0 Merge branch 'feature/docker-compose-split'
* feature/docker-compose-split:
  add .env file for golly
2026-06-21 12:26:50 -07:00
bf6429041a add .env file for golly 2026-06-21 12:26:39 -07:00
b078618a0f Merge branch 'feature/docker-compose-split'
* feature/docker-compose-split:
  update environment file to split golly/non-golly
2026-06-21 12:26:01 -07:00
973393d34d update environment file to split golly/non-golly 2026-06-21 12:25:49 -07:00
4e146d5aea Merge branch 'feature/docker-compose-split'
* feature/docker-compose-split:
  split golly services into separate docker-compose-golly.yml
2026-06-21 12:16:20 -07:00
d66c54e7de split golly services into separate docker-compose-golly.yml
Move mediawiki-mcp-golly, wiki-golly-bot, and golly-personas-bot into
their own compose file so golly services can be managed independently
from the core bots.
2026-06-21 11:37:46 -07:00
ca0b0b8631 update plans 2026-06-21 11:31:47 -07:00
5c362309c8 Merge branch 'plans-update'
* plans-update:
  update todos and plans
2026-06-21 11:11:49 -07:00
b404ab669a update todos and plans 2026-06-21 11:11:35 -07:00
ecbad3583a Merge branch 'feature/async-bkg-wiki-charlesreid1'
* feature/async-bkg-wiki-charlesreid1:
  Offload wiki-charlesreid1 mention handling to background tasks
2026-06-19 19:19:22 -07:00
8528e12fc4 Merge branch 'feature/personas-council'
* feature/personas-council: (50 commits)
  update nicknames, improve sdba to only use shortnames
  wikicruft cleanup (abq, ea, lbfb, ff)
  wikicruft cleanup (atl, fff, fwpt)
  fix timeout/stale connection issue with golly persona bot
  wikicruft cleanup (deco, sfbs, sge)
  wikicruft cleanup (bb, osha, sac)
  fix wiki-golly permissions: flatten credential format in MCP config
  improve tb persona
  improve ss persona
  improve sfbs persona
  improve sac persona
  improve milf persona
  improve gjc persona
  incorporate bpt into fwpt
  improve slc persona
  improve ff persona
  improve orl persona
  improve mw persona
  improve lil persona
  improve lbfb persona
  ...
2026-06-19 19:19:03 -07:00
35007b266e Offload wiki-charlesreid1 mention handling to background tasks
The handle_mention handler was awaiting the full multi-turn DeepSeek
loop inline, blocking the event loop for minutes per request. Under
burst load (6+ concurrent mentions), this starved the websocket
keepalive and caused the Slack connection to silently drop.

Now the heavy work runs via asyncio.create_task() so the handler
returns immediately and the event loop stays responsive to pings.
2026-06-17 14:47:34 -07:00
7da85ed3f0 update nicknames, improve sdba to only use shortnames 2026-06-14 08:47:26 -07:00
ede99a0ffd wikicruft cleanup (abq, ea, lbfb, ff) 2026-06-13 18:49:02 -07:00
cac645a9bd wikicruft cleanup (atl, fff, fwpt) 2026-06-13 18:18:37 -07:00
c2e52c5599 Merge branch 'fix/golly-personas-timeout' into feature/personas-council
* fix/golly-personas-timeout:
  fix timeout/stale connection issue with golly persona bot
2026-06-13 18:11:57 -07:00
d956abd650 fix timeout/stale connection issue with golly persona bot 2026-06-13 18:11:40 -07:00
4abbd5315a wikicruft cleanup (deco, sfbs, sge) 2026-06-13 17:59:58 -07:00
4f5ebba2b2 wikicruft cleanup (bb, osha, sac) 2026-06-13 17:59:58 -07:00
91655464ab fix wiki-golly permissions: flatten credential format in MCP config
The golly MCP config had username/password nested inside
credentials.botPassword, which the mediawiki-mcp-server doesn't
recognize — causing unauthenticated requests and permission errors.
Flatten to match the working charlesreid1 config format.
2026-06-08 19:00:49 -07:00
00f657a763 merge main into feature/personas-council (ddgs fix)
* main:
  fix broken web search: migrate duckduckgo-search to ddgs
2026-06-07 19:50:38 -07:00
3493119b14 fix broken web search: migrate duckduckgo-search to ddgs
The deprecated duckduckgo_search package silently returns zero results,
breaking web search for bender, deepseek, wiki-charlesreid1, and wiki-golly.
2026-06-07 19:50:27 -07:00
55f9d4d703 improve tb persona 2026-06-07 19:10:54 -07:00
11ac87d473 improve ss persona 2026-06-07 19:10:54 -07:00
d9c6ed7199 improve sfbs persona 2026-06-07 19:10:39 -07:00
2ca4db4b80 improve sac persona 2026-06-07 19:10:27 -07:00
5be824ef7c improve milf persona 2026-06-07 19:10:21 -07:00
5aa7c05f14 improve gjc persona 2026-06-07 19:10:13 -07:00
6fefc3e844 incorporate bpt into fwpt 2026-06-07 19:10:01 -07:00
637b54e25c improve slc persona 2026-06-07 07:32:33 -07:00