feat(dcb): gate materialized view activation on authoritative eligibility - #1118
Conversation
|
Request update — SEK-G27 semantic review at full head
Sonar triage: the 35.1% duplication is confined to the waived four-provider same-shape store/executor class (provider-neutral activation/contracts/base and Orleans grain report 0 duplicated new lines). No open vulnerability exists and security/reliability/maintainability ratings are A. The S8970 findings are non-semantic null-forgiving cleanup at constructor/transaction/host invariants. S3776 on Confirmed: initialization itself no longer calls |
|
SEK-G27 rereview at exact head Packet AC: A killing test proves G24 best-effort status is not authoritative evidence. Required unblock: compose a real activation path (provider executor or actual grain/catch-up completion) in the same production-style container as the favorable G24 status, invoke that path with Unknown/behind authoritative truth, and assert the typed rejection plus zero active-pointer mutation. An architecture/dependency assertion may supplement this, but the test must fail if production activation starts treating G24 observation as authorization. The original provider-CAS blocker is resolved: all four stores lock/fence candidate rows, compare the exact snapshot, require All other packet AC and prior findings remain satisfied by semantic inspection; no scheduling/routing/rollback/G24-publication/cloud scope widening was found, EN/JA docs remain aligned, |
|


Closes #1113. Adds authoritative target capture, typed fail-closed eligibility, four-provider expected active/generation CAS, no initialization auto-activation, initial activation through the same boundary, compatibility surfaces, race/zero-mutation tests, and EN/JA docs. Verification: full dcb solution net9/net10, MaterializedView unit/integration/Postgres suites, git diff --check.