phi reads coral at https://coral.fly.dev, which is going away.
what to change #
src/bot/tools/search.py:28:CORAL_BASE = "https://coral.fly.dev"→https://coral-api.waow.techsrc/bot/tools/_helpers.py:242: thetrendinghealth checkhttps://coral.fly.dev/health→https://coral-api.waow.tech/healthtests/test_coral_query.py:139-142: the expected hosts in the request assertions
then deploy phi and confirm the trending tool and the health check still work.
why #
coral's API moved behind Cloudflare on 2026-11-14 (edge cache, per-address rate limit, tunnel to the machine). the public address is now https://coral-api.waow.tech, and the websocket is wss://coral-api.waow.tech/ws. details: https://tangled.org/zzstoatzz.io/coral/blob/main/docs/19-edge.md
the old addresses (coral.fly.dev, api.coral.waow.tech) still answer today because coral's Fly IPs have not been released yet. they bypass Cloudflare, so they will be closed once every reader has moved; this repo is one of three still using them.
things to know when switching #
- same paths and response bodies; only the host changes.
- one address may make 30 requests per 10 seconds, then gets 429 with
{"error":"rate limited","retry_after_s":10}. /entity-graphand/statsare cached at the edge for 2 seconds,/entity-postsfor 5, history for 15./healthand/diagnostics/*are never cached.