The committed types.ts had the pi_upstream interface spliced into the middle of PolicyRevisionTable (and upstream_id / DB entry in the wrong places), which broke typecheck at HEAD. Regenerated with gen:types against a database migrated to 0028. Co-Authored-By: Claude Opus 5.5 <[email protected]>