KB-4C02

CHECK E — PG-First / Native / Driven Final Acceptance

3 min read Revision 1
fix7architecturecodexfinal-design-approvalcheck-epg-native

05 — CHECK E: PG-First / Native / Driven Final Acceptance

Verdict: PG_NATIVE_DRIVEN_FINAL_ACCEPTED

What CHECK E requires

Truth lives in PostgreSQL; enforcement is PG-native; behavior is manifest/rule-driven; functions do not embed policy decisions; readiness is exact-set sealed; writer/apply path forced through control-plane; Directus cannot mutate authority after cutover; readiness blocked before cutover; no UI/app/manual state affects eligibility.

Evidence (T1 doc 07 ⋈ CP-06 patch doc 05)

Check Finding Result
Truth lives in PostgreSQL all authority is sealed manifest/registry/catalog rows in PG ACCEPTED
Enforcement PG-native owner qt001_cp_owner; every FK ON UPDATE RESTRICT ON DELETE RESTRICT NOT DEFERRABLE; structural CHECKs; UNIQUE slot keys ACCEPTED
Behavior manifest/rule-driven partition cadence, separation pairs, requirement sets, expected constraints all manifest rows ACCEPTED
Functions do not embed policy generic owner guards; evaluated_pass/evaluated_blocked not caller-authored ACCEPTED
Readiness exact-set sealed exact-set both-EXCEPT; extra objects fail (P-04 fail-closed) ACCEPTED
Writer/apply path control-plane-forced runtime tables owner-only, append-only after finalization ACCEPTED
Directus cannot mutate authority after cutover Directus/PUBLIC inaccessible; sealed read-contract only ACCEPTED
Readiness blocked before cutover Stage 2.6B / permit / apply blocked ACCEPTED
No UI/app/manual state affects eligibility eligibility derived from PG evidence/scope/membership/order ACCEPTED

Consistency with Codex's own self-review verdict

Codex's CP-06 self-review returned PG_NATIVE_PASS_DESIGN_OPERATOR_GATED_LIVE and T1 confirmed it consistent: PG-native in design, live enforcement deferred to authorized operator gates. This matches the READ-ONLY, no-cutover posture and the law's §4I ("implementation only after design acceptance") — and is exactly why this approval authorizes implementation planning, not live cutover.

Determination

The design keeps all truth and enforcement inside PostgreSQL, is manifest/rule-driven with no policy embedded in functions, and forces the writer/apply path through the control plane. Directus is read-contract-only and cannot mutate authority post-cutover; readiness remains blocked until each later gate is authorized.

Result: PG_NATIVE_DRIVEN_FINAL_ACCEPTED.

Back to Knowledge Hub knowledge/dev/reports/architecture/codex-fix7-final-design-approval-2026-06-08/05-pg-native-driven-final-acceptance.md