KB-1791

GPT Understanding — Species and Six Composition Layers

4 min read Revision 1
gpt-notespeciescompositionsix-layersp3dpack12026-05-12

GPT Note — Hiểu đúng về Loài và 6 lớp Composition

Date: 2026-05-12 Author: GPT-5.5 Thinking / Incomex Hội đồng AI Purpose: Clarify current understanding of species and six composition layers to avoid future architectural drift.

1. Species là gì?

Species là lớp phân loại metadata của entity/collection trong hệ registry/birth_registry.

Runtime hiện tại:

  • entity_species chứa danh mục loài.
  • species_collection_map map collection → species.
  • birth_registry ghi species/composition cho entity births.
  • fn_birth_registry_auto dùng species_collection_map để gán species cho birth rows; composition được lấy từ entity_species.composition_level.

Species không chỉ là nhãn UI. Nó là registry contract để birth_registry biết entity thuộc loài nào và composition layer nào.

2. Sáu lớp composition là gì?

Theo Điều 0-B, composition trả lời câu hỏi: “Entity này chứa gì bên trong?”

Cấu trúc luật định có 6 lớp từ nhỏ đến lớn:

atom → molecule → composite → material → product → building

Runtime hiện tại chưa vận hành đầy đủ 6 lớp như một cây tự động. Live species taxonomy hiện đang phẳng hơn thiết kế và probe gần đây cho thấy các species rows đều depth=1, parent_id=NULL.

3. Quan hệ species và composition

Trong runtime hiện tại, composition không phải bảng riêng vận hành độc lập; composition chủ yếu được gắn trên species qua entity_species.composition_level.

Do đó:

chọn species = chọn luôn composition_level

Ví dụ Phase 5C1 đã tạo:

species_code = information_unit_atom
code = SPE-IUA
composition_level = atom
management_mode = observed

Vì vậy information_unit hiện được đưa về lớp atom thông qua species mapping.

4. IU hiện đang đứng ở đâu?

Sau Phase 5C1:

  • information_unit có primary species mapping.
  • 12 existing IU birth rows đã được backfill, không còn NULL species.
  • Future IU births nên tự nhận species/composition qua mapping.

IU hiện được phân loại là:

species = information_unit_atom
composition_level = atom

Dưới chiến lược D3 hybrid, hierarchy/parent-child của TAC không được biểu diễn bằng parent_or_container_ref ở pilot; nó được lưu ở metadata/edges hậu pilot. Vì vậy IU row vẫn là atomic text unit ở giai đoạn này.

5. Những gì chưa hoàn thiện

Chưa được phép khẳng định runtime đã tự động tái sinh đủ cả 6 lớp cho mọi loại entity.

Còn thiếu hoặc deferred:

  • automatic classification lên molecule/composite/material/product/building;
  • universal_edges/containment materialization;
  • DOT enrichment để tự sửa/bổ sung species/composition nâng cao;
  • function/runtime logic để phân biệt species theo discriminator/unit_kind;
  • UI/building/publication bundle layer.

6. Nguyên tắc điều hành tiếp theo

Không tạo hệ khai sinh mới.

Mọi phần TAC/IU/UI/vector/events phải quay về cùng một hệ thống:

registry + entity_species + species_collection_map + birth_registry + composition_level

Không hardcode species count, composition count, table names, field names, or species names trong execution prompts trừ khi chúng là GPT-locked design constants and still live-verified where applicable.

7. Current status

species_for_information_unit = DONE via Phase 5C1
composition_for_information_unit = atom via species information_unit_atom
full_six_layer_auto_runtime = NOT_DONE
next focus = Phase 5C2 DIEU-35 pilot migration, then edges/containment/build layers later
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/notes/gpt-understanding-species-and-six-composition-layers-2026-05-12.md