KB-5B0F
Kho-tam SSOT rewrite — 01 Source files read
4 min read Revision 1
laws-newkho-tamreportsources2026-06-24
01 — NGUỒN ĐÃ ĐỌC
A. Tài liệu cần sửa
knowledge/dev/laws-new/kho-tam/quy-dinh-kho-tam.md— DRAFT v1 (GPT), revision 1 (đọc full 12,973 ký tự).
B. SSOT /laws-new/ (3 file thắng mọi xung đột + README)
knowledge/dev/laws-new/README.md— Core Model 4 chiều; "the three files above win"; "All documents DRAFT/NOT ENACTED".knowledge/dev/laws-new/matrix-refactor-implementation-plan.md— §3 mô hình 4 chiều; §10 ba mức governance; §12 quy tắc kho tạm/kho chính.knowledge/dev/laws-new/matrix-refactor-quick-rules.md— rule 8/9/12/31/32, S14.knowledge/dev/laws-new/matrix-stamp-governance-addendum.md— §3/§4/§7/§7b/§7c/§10b; bộ 7 stamp.knowledge/dev/laws-new/technical-slice-framework.md— cell_id chưa materialize; 6-vs-7 tầng CONFLICT (CONS-003).knowledge/dev/laws-new/newlaws/amendments/dieu36-collection-protocol-amendment-draft.md— chặn materialize cell_id/Species-Matrix.
C. Luật đã BAN HÀNH liên quan
knowledge/dev/architecture/composition-level-law.md(Điều 0-B v3.1) — enumatom/molecule/compound/material/product/building; "Lớp" vs "Tầng".knowledge/dev/architecture/species-taxonomy-complete.md(v1.2) — 21 loài;metacho thực thể Loài.knowledge/dev/laws/dieu41-luat-van-hanh-ma-vps-v1.1.md(BAN HÀNH) — §2A 4 vùng + S0–S5 + cleanup 1 lệnh.knowledge/dev/laws/dieu29-classification-law.md,dieu37-governance-organization-law.md(tham chiếu Loài/Miền).
D. Quy định vận hành staging lane
knowledge/dev/laws-new/workflow-manage/workflow-list/WF-draft/08-lego-staging-speed-principle.md— mục đích kho tạm; 2 anti-pattern drift; quy tắc 6-rủi-ro; "Do not build a monster".knowledge/dev/laws-new/workflow-manage/workflow-list/WF-draft/06-staging-lane-simplified-approval-policy-draft.md— Lane A auto-approve; 9-point gate; "thin, not a workflow engine".knowledge/dev/laws-new/newlaws/dot-manage/dot-manage-c1-lego-dryrun-lessons-addendum-2026-06-23.md— DOT 100% ở operation; 8-facet lifecycle; anti-generic handler; Codex stance.
E. Báo cáo C1 (để hiểu vì sao bị overbuild)
reports/c1-staging-codex-r4-final-review-before-dry-run/— verdictCODEX_REJECT_C1_STAGING_R4_DOT_STAMPING_INCOMPLETE; staging_DBs=0.reports/c1-staging-codex-r3-fixes-ready-for-r4/— P6 forgery-proof oracle.reports/c1-staging-claude-r3-hard-self-gate/— 35-row hostile matrix.reports/c1-staging-codex-r2-fixes-ready-for-r3/,reports/c1-staging-lite-admission-ready-for-codex/.
F. Đối tượng PG đã query (read-only, DB directus, 2026-06-24)
- Schemas:
pg_namespace→ cutter_governance, iu_core, public, sandbox_tac. information_schema.tableslọc staging/sandbox/candidate/birth/meta_catalog/species → 162 rows.information_schema.columnslọc stamp/candidate_id/composition_level/layer/cell_id → 37 rows.pg_class+pg_namespacecho sandbox_tac + cutter_governance → 95 relations.iu_core.iu_staging_record+iu_staging_payload: cấu trúc cột + rowcount + distinct lifecycle_status + distinct staging_kind/purpose.- distinct
composition_leveltừ entity_species/birth_registry/meta_catalog. - rowcount governance_candidate_state/object.
dot_toolsWHERE code ILIKE sandbox/staging/lego/promote → 0 rows.list_docker→ 11 containers (postgres:16 = containerpostgres; directus 11.5).
G. VPS files
read_fileMCP allowlist = chỉ/opt/incomex/docs,/opt/incomex/dot/specs,/var/log/nginx→ KHÔNG đọc được/opt/incomex/dot/bin/và/opt/incomex/staging/c1/qua MCP. Thông tin C1 lấy từ báo cáo KB (đã ghi nhận trong các report C1) — đánh dấu là nguồn KB, không phải đọc trực tiếp filesystem lần này. SSH key tới VPS có tồn tại trong known_hosts nhưng KHÔNG dùng trong phiên này (giữ read-only tối thiểu; mọi dữ kiện C1 trích từ KB report). Xem 04 và mục NOT-FOUND.