KB-5736

GPT Review — P3D Pack1 Phase4B Discovery PASS + Phase4C Directive

5 min read Revision 1
gpt-reviewp3dpack1phase4bphase4cspeciescompositionqt001discriminator2026-05-11

GPT Review — P3D Pack 1 Phase 4B Discovery PASS + Phase 4C Directive

Date: 2026-05-11 Reviewer: GPT-5.5 Thinking / Incomex Hội đồng AI Reviewed:

  • knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase4b-species-composition-discovery-report.md
  • knowledge/dev/laws/dieu44-trien-khai/reviews/opus-post-discovery-review-p3d-pack1-phase4b-pass-species-decisions-2026-05-11.md
  • User instruction: old laws and long-term architecture must govern; do not create a short-term parallel birth/classification universe.

Verdict

Phase 4B discovery PASS is accepted.

Agent executed correctly. No mutation occurred. Column detection and graceful degradation worked. The report gives enough evidence to open Phase 4C design.

Accepted evidence

  1. entity_species has 40 rows in the live system.
  2. species_collection_map has no composition_level column.
  3. Composition is resolved by fn_birth_registry_auto through species_collection_map → entity_species.composition_level.
  4. Therefore, choosing species determines composition.
  5. information_unit and unit_version currently have zero species mappings.
  6. information_unit has 12 birth_registry rows with species_code=NULL and composition_level=NULL.
  7. unit_version has zero birth_registry rows.
  8. SPE-GOV exists as governance_infra, composition_level=atom, management_mode=observed.
  9. SPE-LAW exists as law, composition_level=compound, management_mode=governed.
  10. TAC hierarchy is real: parent column detected as parent_id; max depth snapshot is 2; 83/86 units have parent.
  11. IU has parent_or_container_ref but all current rows are NULL.
  12. species_collection_map includes discriminator fields, so mapping may support multiple species for the same collection depending on row attributes.

Important correction to Opus recommendation

Opus recommends immediate Phase 4C mapping IU/UV to SPE-GOV while observed. This is plausible for current pilot/runtime infrastructure rows, but it is not automatically safe as a permanent collection-level mapping because future information_unit rows may include law content (unit_kind=law_unit) and other unit kinds.

If information_unit is mapped globally to SPE-GOV, future migrated law units could be classified as governance infrastructure atom. That may be wrong under Điều 0-B / Điều 29 / Species Taxonomy.

Therefore, GPT does not approve immediate seed yet.

Decision

Open Phase 4C as:

P3D_PACK1_PHASE4C_SPECIES_MAPPING_STRATEGY_AND_QT001_BACKFILL_DESIGN

Mode:

DESIGN + READ-ONLY/DRY-RUN PROMPT ONLY

No seed yet. No backfill yet. No migration.

Required Phase 4C focus

Phase 4C must decide whether the correct mapping strategy is:

  1. Collection-level gom mapping to SPE-GOV for IU/UV while observed;
  2. Discriminator-based mapping using species_collection_map.discriminator_field/value/operator/config, e.g. by information_unit.unit_kind;
  3. Dedicated species creation under QT-005;
  4. Mapping law_unit rows to SPE-LAW or a new law-unit species;
  5. A staged combination: default gom now + discriminator/governed mapping before TAC migration.

Because composition follows species, this decision also decides composition.

Required principle

Do not seed a global mapping that will become wrong once TAC law units migrate.

Any Phase 4C implementation must preserve long-term compatibility with:

  • Điều 0-B composition-level law;
  • Điều 0-G birth registry law;
  • Điều 29 one classification system;
  • QT-001 backfill procedure;
  • QT-005 species/governance promotion procedure;
  • no-hardcode rule.

Phase 4C must also address post-implementation design rule

If Phase 4C eventually executes a repair/seed/backfill, then after Agent report is accepted, create a concise post-implementation design under the new operating note:

knowledge/dev/laws/dieu44-trien-khai/operating-notes/design-after-repair-implementation-rule-2026-05-11.md

Status

phase4b_discovery=PASS_ACCEPTED
species_decision_locked=false
composition_decision_locked=false
spe_gov_immediate_mapping=NOT_APPROVED_YET
phase4c_design_allowed=true
agent_dispatch_allowed=false_until_GPT_USER_REVIEW
migration_allowed=false
next_action=OPUS_CREATE_PHASE4C_SPECIES_MAPPING_STRATEGY_AND_QT001_BACKFILL_DESIGN
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-pack1-phase4b-discovery-pass-and-phase4c-directive-2026-05-11.md