Propose inactive Catalog snapshot size validation
Propose a dedicated Catalog snapshot size refusal after exact-key replay and before mutation, including server-assigned revision digit growth. This preserves the existing 1 MiB bound, original-input fingerprint, arbitrary JSON values, authorization, CAS and table CHECK.
All three files live in proposals/catalog-snapshot-size-2277/, outside migrations. The disposable fixture consumes the unchanged accepted DB125 four-file bundle (3f2c849 plus 7708e337) before applying the proposal. API #1267 pins the exact SQL and tests real error translation, rollback, exact-limit saves, replay and conflicts on PostgreSQL15/17. Independent focused source review passed.
Keep draft, unmerged and unapplied. No runtime grants, workflow/config changes, hosted preview activation, migration apply/dry run or deployment are authorized. Future migration/release composition requires a separate decision.
The earlier temporary DB125 correction was restored by normal revert d657a92; its net tree is identical to 3f2c849. That history remains intact.
Summary by cubic
Proposes a dedicated Catalog snapshot size validation that refuses snapshots over the existing 1 MiB bound before any mutation, and also refuses server-assigned revision digit growth that would exceed the limit. This is an inactive draft proposal for review only, not applied to any runtime environment.
- Adds
proposals/catalog-snapshot-size-2277/with a SQL function replacement, a disposable fixture, and a README; no migrations or grants are touched. - The fixture reuses the accepted DB125 four-file bundle and applies the proposal on top, preserving original fingerprint, authorization, CAS, table CHECK, and arbitrary JSON values.
- API tests use the exact Git-owned SQL bytes and verify error translation, rollback, exact-limit saves, replay, and conflicts on PostgreSQL 15/17.