KB-422C

Feasibility / Scale Final Scan

4 min read Revision 1
fix7architecturet1-reviewfeasibility-scale-scan

12 - SUPERTRACK L — Feasibility / Scale Final Scan

Verdict: FEASIBILITY_SCALE_VERIFIED (design level; runtime scale evidence remains operator-gated/pending)

Consistent with my prior L verdict (control-plane-bounded; advisory retention only). The corrections did not worsen scale.

Scan results

  • Implementable in PG16.13 + pgcrypto — VERIFIED. digest(...,'sha256') and encode(...,'hex') are pgcrypto; DOMAIN/regprocedure/regclass/oid/num_nonnulls/array_position/cardinality/partial+expression unique index/UNIQUE NULLS NOT DISTINCT/range partitioning/to_char ... AT TIME ZONE 'UTC'/trim_scale all exist in 16.13.
  • Object-count-independent — VERIFIED in design. Readiness/seal read SEALED MANIFEST rows (bounded by manifest size), not per-business-object scans. The authority model describes the CONTROL plane, not the 100M+ managed business objects.
  • No hot-path full scan — VERIFIED in design (sealed-row reads + indexed lookups; exact-set seal is over the bounded manifest item set).
  • No row-by-row apply path in the readiness path — VERIFIED (apply itself is a separate operator-gated step, out of scope of readiness evaluation).
  • No unbounded hash over runtime object data — VERIFIED WITH A SCOPE CONDITION. H06 (dependency-manifest) hashes roots/edges; dependency_manifest, authority_scope_manifest, and dynamic_sql_target_manifest must enumerate only the BOUNDED control-plane object set (functions, gateways, writers, protected targets), NOT the 100M+ managed business objects. The package implies this (authority_scope is about protected_target/entrypoint control objects) but does not state the cardinality bound explicitly. Recommend an explicit one-line scope bound (folded as a confirmation note under RP-01/RP-03; not a new scale FAIL). If these manifests ever scaled with managed-object count, H06 would become an unbounded hash — flagged to keep the 100M+ future safe.
  • No unbounded dependency recursion — VERIFIED in design (dependency edges are sealed manifest rows, not a live recursive crawl at readiness time).
  • No production-blocking locks — VERIFIED in design (activation locks control_epoch then control-plane tables in deterministic order; no lock on business tables).
  • Evidence/capability retention sufficient — VERIFIED in shape (range-partitioned by time from sealed retention policy; anchors unpartitioned; archive to object storage with hash-verified readback). Concrete implementability of the partition strategy depends on the high-volume tables being defined byte-level (RP-01).
  • Rollback returns safe-blocked state — VERIFIED (rollback is always a new version restoring prior reviewed manifest; never edits/deletes history; increments epoch; keeps readiness false).

Pending (execution gate, not a design gap)

Codex's own verdict is SCALE_SAFETY_PASS_DESIGN_EVIDENCE_PENDING, and my prior hard block recorded "scale NOT_SAFE-until-evidence." The workload_profile_manifest (row_count, collision_row_count, expected_set_sha256, environment_sha256) is the sealed vehicle for that evidence; the actual large-scale capability run is operator-gated and not yet produced. This is an execution gate, not a design defect.

Conclusion

FEASIBILITY_SCALE_VERIFIED at the design level. The only scale-adjacent ask is an explicit control-plane cardinality bound for the dependency/authority-scope/dynamic-sql manifests (so their hashes stay object-count-independent), and byte-level definition of the partitioned high-volume tables (RP-01) so the partition strategy is concretely implementable. No SCALE_RISK_FAIL.

Back to Knowledge Hub knowledge/dev/reports/architecture/t1-fix7-corrected-spec-short-review-proposals-2026-06-07/12-feasibility-scale-final-scan.md