mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 22:27:12 +01:00
After RR.2 (bridge cutover), protocol_decision_votes + protocol_decision_outcomes are unreferenced. Pre-cutover audit showed 0 rows in both tables in prod Neon, so this drop is data-loss-free. NOT APPLIED YET. Application is blocked until the corresponding runtime code is removed: - src/app/api/protocols/[id]/decisions/ (4 dead route handlers) - src/lib/services/protocols-voting.ts + test - protocolDecisionVotes/Outcomes Drizzle schemas - DecisionVoteRecord/OutcomeRecord types - The re-exports in src/lib/services/protocols.ts The sandboxed agent shell rejected rm on these paths this session. Cleanup script written at scripts/cleanup-rr3-legacy.sh (gitignored — local helper) deletes the routes + service. After running it, the schema/type cleanup + migration apply is a few lines. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>