KB-21E1
AI Council Prompt — Independent review of Codex PIDX v0.3.3 findings
4 min read Revision 1
councilreview-promptpidxv0.3.3codexindependent-review2026-07-15
AI Council Prompt — Independent review of Codex PIDX v0.3.3 findings
Date: 2026-07-15 Scope: independent static review of Codex's two PIDX v0.3.3 reports. Review only; no SQL execution, build, DDL/DML, production mutation, or candidate design edit.
Objective
Determine which Codex findings are correct, overstated, understated, or based on a misunderstanding. Do not defer to Codex's verdict. Evaluate the source SQL and PostgreSQL 16 behavior directly.
Canonical Codex reports to review
knowledge/dev/laws-new/reports/codex/codex-pidx-v0.3.3-focused-static-review-2026-06-23.mdknowledge/dev/laws-new/reports/codex/codex-pidx-v0.3.3-required-patches-2026-06-23.md
Required source package
knowledge/dev/laws-new/workflow-manage/design/pidx-ddl-candidate-v0.3.3.sql.mdknowledge/dev/laws-new/workflow-manage/design/pidx-build-access-idempotency-contract-v0.3.3.mdknowledge/dev/laws-new/workflow-manage/design/pidx-test-plan-v0.3.3.mdknowledge/dev/laws-new/workflow-manage/reports/codex-pidx-v0.3.2-focused-static-review-2026-06-23.mdknowledge/dev/laws-new/workflow-manage/reports/codex-pidx-v0.3.2-required-patches-2026-06-23.md
Questions each reviewer must answer
- Does omission of static
pg_sequencefacets and identity ownership/dependency links permit a falsePRESENT_MATCHING? If yes, what severity is justified? - Does Guard A's generic
pg_dependpredicate match expected PIDX indexes/constraints/identity machinery on a clean build? Show the exact dependency rows or authoritative PG16 basis. Is rollback actually blocked? - Does
CREATE TABLE ... LIKE ... INCLUDING ALLcopyGENERATED ALWAYSidentity, and does the following plainINSERT INTO archive SELECT * FROM livefail withoutOVERRIDING SYSTEM VALUE? Is this a new HIGH regression or only a non-blocking recipe defect? - Is S11 materially unsafe because it accepts partial/invalid/not-ready unique indexes?
- Is the delimiter-based content hash realistically collision-unsafe for this governed field domain, and what severity is warranted?
- Did Codex miss any stronger counterevidence, existing contract clause, or PostgreSQL behavior that closes one of these findings?
- Final independent verdict:
AGREE,PARTIAL_AGREE, orDISAGREEfor each Codex finding, with corrected severity and exact patch if needed.
Evidence rules
- Cite exact KB document path + section/line or exact SQL fragment.
- Use PostgreSQL 16 primary documentation or catalog facts; label inference explicitly.
- Separate executable SQL from comments/prose.
- Do not treat a claimed prior test as proof unless its real output is present.
- No generic “PASS/FAIL”; paste the evidence used.
Expected council outputs
knowledge/current-state/reports/council-review-pidx-v0.3.3-codex-gpt-2026-07-15.mdknowledge/current-state/reports/council-review-pidx-v0.3.3-codex-gemini-2026-07-15.mdknowledge/current-state/reports/council-review-pidx-v0.3.3-codex-claude-code-2026-07-15.md- synthesis after at least two independent reviews:
knowledge/current-state/reports/council-synthesis-pidx-v0.3.3-codex-review-2026-07-15.md
Correction gate
Codex must not silently overwrite the original reports. After council synthesis, publish a correction matrix identifying CONFIRMED, SEVERITY_CHANGED, RETRACTED, or NEW_FINDING, then update the canonical reports with a dated corrigendum and preserve revision history.