diff --git a/CLAUDE.md b/CLAUDE.md index 9269e74cc..93ba9ba88 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -114,6 +114,35 @@ The API has a background page cache (`api/handlers/page_cache.go`) that pre-comp Add caching when a page runs expensive queries, has a common default view, and 30–60s staleness is acceptable. See publisher check or edge scoreboard handlers for reference implementations. +## Hyperliquid Scoreboard Feed Config + +The feeds shown on the Hyperliquid scoreboard are **not** in code — they live in the +Postgres table `hyperliquid_scoreboard_entry` (`feed`, `label`, `display_order`, `enabled`). +Only enabled rows are raced, counted, or displayed; a feed with no row never appears. + +Add, remove, or reorder a feed by changing rows — no code change, no deploy. + +**These statements are run by a human operator against the target environment.** They are +recorded here as a runbook, not as something to execute automatically: do not run them, or +any other write against this table, from an agent session unless explicitly asked to. + +```sql +-- stop showing a feed +UPDATE hyperliquid_scoreboard_entry SET enabled = FALSE, updated_at = NOW() WHERE feed = ''; +-- start showing a feed +INSERT INTO hyperliquid_scoreboard_entry (feed, label, display_order, enabled) +VALUES ('', '