GPT Correction — Existing Birth Pipeline Must Be Reused for IU F6
GPT Correction — Existing Birth Pipeline Must Be Reused for IU F6
Date: 2026-05-04 Reviewer: GPT-5.5 Thinking / Incomex Hội đồng AI Trigger: User objected that existing birth-first and retroactive birth processes already work at scale; F6/file16/file17 over-designed a new path instead of adapting the existing pipeline.
Correction
User is right. Prior GPT/Opus direction around file 16/17 was over-engineered and insufficiently grounded in existing runtime/law/tooling.
The correct first question should have been:
Existing birth pipeline already handles many collections. What is the minimal IU-specific adaptation needed?
Not:
Should we create a new pilot exception governance path?
Evidence found
knowledge/current-state/reports/s145-m2-dot119-birth-triggers-report states:
- DOT-119
dot-birth-trigger-setupexists and is active. - Usage:
dot-birth-trigger-setup --collection=<name> --code-column=<col> [--dry-run]. - It uses shared
fn_birth_registry_auto(code_column). - 133/138 collections were using shared birth triggers.
- Commands were executed through DOT-119, no manual SQL.
- INSERT entity → birth trigger →
birth_registry→ scanner/ODM.
Therefore, the system already has the general mechanism for data-row birth.
Likely IU-specific gap
IU tables differ from many existing collections because:
information_unitusesidUUID andcanonical_addressinstead of a conventionalcodecolumn.unit_versionis subordinate underinformation_unit.
Since DOT-119 supports --code-column=<col>, the first hypothesis is:
Use existing DOT-119 on
information_unitwith--code-column=idor possibly--code-column=canonical_address, after read-only inspection confirms function/tool behavior.
This is a small adaptation/verification problem, not a new birth-law design.
Superseded direction
File 16 rev2 and file 17 rev1 are useful as thinking notes but should be treated as superseded for execution direction until the existing birth pipeline is reconciled.
Do not proceed with file 17 Option B persisted pilot exception as the next step.
Correct next step
Prepare a focused existing-pipeline reconciliation package:
knowledge/dev/laws/dieu44-trien-khai/design/16b-iu0-existing-birth-pipeline-adaptation.md
Purpose: determine how to use the existing DOT-119/fn_birth_registry_auto pipeline for IU rows with minimal adaptation.
Required content:
-
Evidence summary:
- S145-M2 DOT-119 report;
- birth-procedures v3.1;
- law-04-birth-process;
- Pack 1 IU schema;
- Pack 2A collection registration;
- Description Policy ratification.
-
Read-only runtime investigation prompt:
- inspect
/opt/incomex/dot/bin/dot-birth-trigger-setup --helpif available; - inspect script source enough to confirm
--code-columnbehavior; - inspect
pg_get_functiondef('fn_birth_registry_auto'::regproc); - inspect existing birth trigger definitions for collections using non-
codecolumns such aslaw_code,measurement_id; - inspect
birth_registryschema and uniqueness constraints; - inspect current triggers on
information_unitandunit_version; - inspect whether
information_unit.id::textorcanonical_addressis the right birth code; - dry-run DOT-119 for
information_unitusing candidate code columns, no execution.
- inspect
-
Decision matrix:
- Option A: DOT-119 with
--code-column=id. - Option B: DOT-119 with
--code-column=canonical_address. - Option C: add
codecolumn to information_unit only if existing tool cannot use id/canonical_address. - Option D: minimal function/tool adaptation only if DOT-119 cannot handle non-text/UUID safely.
- Option A: DOT-119 with
-
Recommendation:
- prefer existing DOT-119 with a valid existing IU column;
- no new birth exception path unless existing pipeline truly cannot support IU.
-
Scope boundaries:
- no runtime execution;
- no new IU rows;
- no file 17 execution;
- no Pack 2B until this reconciliation is reviewed.
Key principle
Use existing law/tool/process first. If existing mechanism is missing only a small adapter, adapt the mechanism. Do not invent a parallel governance process.