KB-58B2 rev 10

Law Revision Workstream B2 — Execution Report (Amendment Drafts for Điều 36 / L4 / Điều 38 v3.0) — 2026-06-17 (read-only, non-authorizing)

23 min read Revision 10
laws-newnewlawslaw-revisionworkstream-b2execution-reportamendment-draftnon-enactingdieu36l4dieu38collection-protocolbirth-gatetext-as-coderead-onlynon-authorizing2026-06-17

Law Revision Workstream B2 — Execution Report

Source Recovery + Amendment Drafts for Điều 36 / L4 / Điều 38 v3.0. READ-ONLY · NON-AUTHORIZING. 2026-06-17. Live revision/content_length must be read from KB metadata. STATUS: PASS (as a draft-amendment package; review-ready, not adoption-ready). All three amendment drafts and this report were created under knowledge/dev/laws-new/newlaws/; no source under knowledge/dev/laws/ was touched; nothing was enacted, adopted, or materialized. Basis: Law Merge catalog (law-merge-catalog-2026-06-16.md) records #4 (Điều 36 = AMEND), #5 (L4 = AMEND), #6 (Điều 38 v3.0 = AMEND); LAW_READING_INDEX.md §3.3; Workstream A (reading index + Điều 4 / Điều 38-Appendix-01 compatibility notes); Workstream B0 (source-recovery-dieu0-dieu0b-dieu0g-2026-06-17.md) and B1 (dieu22-…-amendment-draft.md, dieu33-…-amendment-draft.md, B0+B1 execution report). All cross-reference sources were re-read first-hand this run (see §2(b) — First-hand verification pass after GPT review request). Codex/GPT PASS ≠ Owner authorization. Engineering PASS ≠ Authority PASS. Default disposition: HOLD.


0. Why this workstream exists

The Law Merge classified exactly 5 laws as AMEND. Workstream B1 drafted the first two (Điều 22 self-healing, Điều 33 PostgreSQL). B2 drafts the remaining three:

  • Điều 36 — Collection Protocol v5.0 (DRAFT 30%) — record #4 — keep the 7 goals; reframe reverse-trace / Species-Matrix / cell-placement / scanner auto-classify rollout pending CONS-003 + CELL.
  • L4 — Birth Gate Extension (mở rộng Điều 0-G) — record #5 — birth issues TEMP_ID only; relocate completeness / reuse-decision / approval from INSERT to the promote checker (F4).
  • Điều 38 v3.0 — SQL Hóa Văn Bản (Text as Code) (DRAFT) — record #6 — keep the 3 MT goals; constrain "DOT 100%" / auto-output-regeneration / auto-rewrite / auto-schema to scanner + checker + render-at-promote.

Each draft preserves the old-law goals and reframes only the unsafe rollout mechanisms, using the same structure and discipline as the accepted B1 drafts. None is enacted, adopted, or completed.


1. Files created (this workstream)

All four outputs are under knowledge/dev/laws-new/newlaws/. Revisions/lengths verified by re-read.

File Revision content_length Status
amendments/dieu36-collection-protocol-amendment-draft.md 1 21,740 created, re-read, intact (truncated:false)
amendments/l4-birth-gate-extension-amendment-draft.md 1 19,476 created, re-read, intact (truncated:false)
amendments/dieu38-normative-document-law-v3-amendment-draft.md 1 23,945 created, re-read, intact (truncated:false)
reports/law-revision-workstream-b2-execution-report-2026-06-17.md see live KB metadata see live KB metadata created, re-read, patched for source-verification evidence

Each amendment draft follows the B1 8-section template: §0 Boundary & non-authorization · §1 Preserved goals · §2 Unsafe rollout mechanisms (verbatim, with clause) · §3 Amendment logic (clause-by-clause reframe) · §4 Proposed amended wording (DRAFT) · §5 Mapping to F0→F5/FX · §6 Held blockers carried · §7 Bad readings explicitly REJECTED · §8 Non-authorization checklist.

Self-metadata note: this report has been patched (source-verification evidence + this self-metadata disclosure). Because patching the report changes its own revision/content_length, the report does not claim a fixed live self-revision. Codex/GPT should use the KB-returned metadata for this file (revision + content_length), not any number embedded in the body. The three amendment-draft rows above (Đ36 rev1·21,740 · L4 rev1·19,476 · Đ38 v3.0 rev1·23,945) remain the verified draft metadata and are unchanged.


2. Read sources (evidence)

(a) Read first-hand this run — full content via get_document_for_rewrite (LSL-01 re-read first-hand this run via direct bounded character-range chunks of the saved tool-result — see §2(b)):

Source Rev / length Used for
laws/dieu36-collection-protocol-law.md rev4 · 9,462 · "v5.0 DRAFT (S170), DRAFT 30%" Điều 36 amendment target — 7 MT, 8 GP, GP6 Species Matrix, GP8 orphan auto-apply, GP8.1 HC-REG/HC-SCHEMA, NĐ-36-01
laws/dieu38-trien-khai/L4-birth-gate-extension.md rev1 · 13,225 · "DỰ THẢO — chờ Council + User" L4 amendment target — §4/§5 birth checks, §5.3 reuse-decision+human-approval-at-birth, §6 enforcement mode, §8.1 auto-certify, §9 nguyên tắc, §10 ranh giới
laws/dieu38-normative-document-law.md rev2 · 6,211 · "v3.0 (S168) DRAFT chờ Huyền duyệt" Điều 38 v3.0 amendment target — MT1 "DOT 100%", MT3 auto-regen vision, §A3 integrity, §B2.1 auto-retire, §C reclassify, S169 Semantic Annotation
laws/dieu38-appendix-01-objectives.md rev5 · 27,174 · BAN HÀNH Điều 38 companion — 3-MT/Text-as-Code, MT0A/MT0B/MT0C, GR1 "Text as Code ≠ text sinh code tự do", MT14 render-view
laws/dieu38-trien-khai/LSL-01-information-unit-first.md rev1 · ~34,230 decoded (52,501 raw) · v0.3 Council PASS Điều 38 IU-first alignment — NT15 §5, §9.2/§9.4 (PG wins), §10.2 risk-tier propose-only, §10.3 enacted-not-auto-re-segmented (change-set+Đ32), §14 boundaries
laws/law-04-birth-process.md rev5 · 8,665 L4/birth context — §2.1 fn_description_birth_guard (completeness at birth), §2.1.1 auto-gen description, dual-trigger
newlaws/LAW_READING_INDEX.md rev1 · 19,017 Catalog dispositions (#4/#5/#6 = AMEND) + §4 bad-reading rejections + §1 two-corpus rule
newlaws/reports/source-recovery-dieu0-dieu0b-dieu0g-2026-06-17.md rev1 · 13,256 architecture/ = temporary detailed working source (not supreme); broken law-00*.md; CONS-003 6-vs-7
newlaws/notes/dieu4-birth-process-compatibility-note.md rev1 · 4,214 TEMP_ID at birth · canonical at promote; AMEND pressure = L4 + Đ38 v3.0 (not Đ4)
newlaws/notes/dieu38-text-as-code-appendix01-compatibility-note.md rev1 · 3,976 MT0A/MT0B reference-only; CONS-002; coverage-scanner BUILD-NO-GO
newlaws/amendments/dieu22-self-healing-amendment-draft.md rev1 · 15,702 B1 template + Đ22 alignment (scanner list-only / proposal-only / no auto-fix); auto-close reframe pattern
newlaws/amendments/dieu33-postgresql-law-amendment-draft.md rev1 · 15,488 B1 template + Đ33 alignment (no auto-DDL / schema-auto-change; design chain; no cell_id/canonical materialization)

(b) First-hand verification pass after GPT review request — every source below was re-read directly from KB this run via get_document_for_rewrite (LSL-01 via bounded character-range chunk reads of the saved tool-result), not through accepted prior docs. This closes the source-read evidence gap flagged before Codex. Result = CONFIRMS (source supports the B2 claim) · PARTIAL (supports with a source caveat) · CONTRADICTS (none found).

Source Rev · content_length / chunk evidence Result Effect on B2
laws/constitution.md rev44 · 19,132 CONFIRMS "Văn bản tối cao" = supremacy; MỤC LỤC lists 0-B 7 Lớp Cấu tạo (33 species) and Đ29 = "33 species, 7 dimensions" → the "7" framing; NT9/NT10/NT13/NT15 = uncertainty + PG-as-truth + design-before-execution. Supremacy + CONS-003 confirmed.
laws/dieu32-approval-law.md rev2 · 5,601 CONFIRMS §2.4 scope covers amend luật; §3.3 amend_law = high/RESERVED, handler_ref='unimplemented' blocked; §4.2 quorum (high = ≥1 president + ≥2 ai_council + 0 reject); §4.3 no self-approve; §7 unimplemented = not executable at DB gate. Approval-gate / no self-authorizing mutation confirmed. ("Mức 3" is an Đ39/Đ0-B term, not Đ32 wording — Đ32 confirms the Owner/quorum gate itself.)
laws/dieu35-dot-governance-law.md rev13 · 36,904 CONFIRMS §6.2 fix_repair_dot = DETECT→PROPOSE→APPROVE(Đ32)→APPLY→VERIFY→CLOSE; §3 table: Cấp A (read-only) auto-approve, Cấp B "❌ Pending duyệt" (never auto-approved); §6.7 "KHÔNG có cửa bypass". Safe pattern + Cấp-B-not-auto-approved confirmed. RISK-BYPASS (fn_auto_approve_add) is a runtime-audit finding, not law text — the law itself bans bypass, so the carried blocker is consistent with Đ35.
laws/dieu39-knowledge-graph-law.md rev15 · 25,015 PARTIAL §0 NGUYÊN TẮC VÀNG verbatim: "AI ĐƯỢC ĐỀ XUẤT, KHÔNG ĐƯỢC TỰ BAN HÀNH TRI THỨC CHUẨN"; TBox=human, ABox=AI; kg_auto_approve_rules fail-closed ("KHÔNG CÓ rule = CẤM auto"). Propose-not-self-enact confirmed. Source caveat: Đ39 is BAN HÀNH (enacted) in the law text; the "runtime-EMPTY" qualifier is a Phase-1/runtime observation not derivable from KB law text — it stays a carried claim, not first-hand-verified.
laws/dieu33-postgresql-law.md rev5 · 28,721 CONFIRMS §11.4 Loại 1 = auto ALTER TABLE ADD COLUMN (tự chạy); §11.3 DOT-SCHEMA-SCANNER; §12 two-DOT types; §15 DOT-MIGRATION-APPLY. The source does contain the auto-DDL the B1 Đ33 draft reframes — confirming the amendment basis. "No-auto-DDL / design chain (NT15·Đ20→checker→Đ32→Đ30)" is the amendment's reframe, not a claim the source already blocks it. Consistent — no contradiction.
laws/law-22-self-healing.md rev22 · 14,108 CONFIRMS §1 step ③ "tự sửa khi rule rõ"; §1.1 auto-close (Fix 29); §4.4 HC-TRIGGER auto-attach (detect_and_fix); §4.2 propose-DOT "không auto-fix toàn diện … trừ mẫu cực chắc chắn". The source does contain the auto-fix the B1 Đ22 draft narrows to proposal-only — confirming the amendment basis. Consistent — no contradiction.
architecture/information-atom-law.md (Đ0) rev18 · 17,712 CONFIRMS Đ0 = Luật NHẬN DIỆN: managed entity = ID + registry + metadata + Lớp 3 = identity-root.
architecture/composition-level-law.md (Đ0-B) rev22 · 12,146 CONFIRMS Đ0-B defines 6 Lớp (atom/molecule/compound/material/product/building); QUY ƯỚC: "6 cấp cấu tạo (Điều 0-B) → Lớp". Direct evidence for CONS-003: Constitution index labels Đ0-B "7 Lớp" while Đ0-B itself = 6 Lớp (Đ29 = 7 dimensions). Carried-unresolved, as B2 states.
architecture/birth-registry-law.md (Đ0-G) rev2 · 11,681 CONFIRMS birth_registry.certified boolean DEFAULT false at INSERT; certification only after inspect_pen/stamp/gate pass (later, not at INSERT); no cell_id/dot_role columns (CELL unmaterialized). Two-phase-birth + certified=false-at-INSERT + source-location caveat (texts live in architecture/, not in broken law-00*.md) confirmed.
ssot/operating-rules.md rev51 (v7.58) · 5,400 CONFIRMS §0.1 "Không chắc đúng = sai … kiểm tra hoặc STOP"; §7 read-only inventory (no DDL/DML, no Directus mutation, no code change); §8 out-of-scope → STOP, chờ User/GPT/Opus. Read-only / no-DDL-DML / uncertainty discipline / default HOLD confirmed.
laws/dieu38-trien-khai/LSL-01-information-unit-first.md rev1 · 34,230 decoded (52,501 raw) · read first-hand via 2 bounded chunks: chars 0–26,500 and 26,500–52,501 CONFIRMS §5 NT15: unit_version (PG) = SSOT, vector/file/KB = projection ("không được thay thế miếng thông tin làm nguồn sự thật"); §9.4 "PG là SoT … PG thắng"; §10.2 risk-tier: law/policy/constitution = "KHÔNG, chỉ propose"; §10.3 enacted publication = no Agent re-segment, structural change via change-set + APR (Đ32); §14 boundaries (no schema/SQL/trigger/DOT). Every LSL-01 claim used in the Đ38 v3.0 draft confirmed.

No source-access failure and no contradiction. All eleven required cross-reference sources were re-read first-hand this run. The only genuine source caveats are: (i) LSL-01 exceeds one read and was taken by two bounded character-range chunks; and (ii) Đ39's enacted-but-runtime-EMPTY status is a Phase-1/runtime claim not derivable from the law text (carried, not asserted as verified). Every first-hand read confirms the corresponding B2 claim; none contradicts a draft, so no draft was changed.


3. Amendment scope (per draft)

Law Draft path Preserved goal Unsafe mechanism reframed Status
Điều 36 amendments/dieu36-collection-protocol-amendment-draft.md 7 MT (reverse-trace, interconnection, propagation, grouping/change-governance, large-scale mgmt, đúng-chuồng, lifecycle); classification + traceability intent Bi-directional auto-propagation (mass mutation); Species Matrix / cell placement auto-generate + materialize; DOT-ORPHAN auto-apply (Loại 2); governance_role auto-classify; HC-SCHEMA→auto-DDL; reverse-trace as canonical proof PASS (draft)
L4 amendments/l4-birth-gate-extension-amendment-draft.md Birth-gate goal (no bad birth: no incomplete/reuse-failure/approval-failure for text_unit + component) Birth-gate as certifying gate at INSERT; reuse-decision + human-approval at INSERT; escalate=approval-wait at INSERT; auto-certify at INSERT; completeness read as canonical PASS (draft)
Điều 38 v3.0 amendments/dieu38-normative-document-law-v3-amendment-draft.md 3 MT (data-ize/PG-manage; auto-generate output; lifecycle); Text→Code→Workflow→Knowledge; Information-Unit/Smart-Brick; LSL-01 (where compatible) "DOT 100%" as auto-everything; MT3 auto-fix + auto-output-regeneration; auto-publish output; auto-retire enacted doc; auto-reclassify; auto-rewrite of legal text; auto-create schema/registry PASS (draft)

What changed conceptually (the single move in each)

  • Điều 36: Detect/list/propose stays automatic; classification/placement/cascade/schema mutation does not run from a scanner; the canonical Species Matrix / cell_id is not materialized while CONS-003 + CELL are open; reverse-trace is a proposal, not canonical proof. Classification/schema change → design (NT15/Đ20) → checker (F4) → Điều 32 → Điều 30.
  • L4: Birth becomes two-phase. INSERT = identity-root + TEMP/uncertified (certified=false); a completeness stamp is recorded, nothing is certified. Promote (F4) = completeness-final + reuse-adjudication + approval + BIRTH_STAMP/PROMOTE_STAMP via the fail-closed checker + Owner/Mức 3/Điều 32. No canonical status at INSERT; no auto-certify of canonical/kernel entities at INSERT.
  • Điều 38 v3.0: "DOT 100%" = 100% automatable detection/comparison (Semantic Annotation, list-only), not 100% auto-application. Policy-change → detect+propose → checker → render-at-promote; no Agent auto-fix, no auto-output-regeneration, no auto-rewrite of enacted text (change-set + Đ32), no auto-schema (Đ33 design chain). Information-Unit-first (LSL-01) preserved: unit_version = SSOT, file/vector = projection; AI proposes, humans approve.

4. What remains blocked (carried, not resolved)

No blocker was resolved. Each draft carries the relevant ones explicitly:

Blocker Carried in Note
CONS-003 (6 Lớp vs 7 dimension) Đ36 (primary), Đ38 v3.0 Blocks Species Matrix / cell_id; "not treated as resolved" stated explicitly in Đ36 §3 A3.
CELL-003/004/007 (cell unmaterialized) Đ36 (primary), L4, Đ38 v3.0 No cell_id / dot_role / canonical placement materialized.
HOLD-2 (atomic promote transaction absent) L4 (primary), Đ36, Đ38 v3.0 Blocks the canonical / BIRTH_STAMP / PROMOTE_STAMP write at promote.
RISK-BYPASS (fn_auto_approve_add, 160 unvoted) L4 (primary), Đ36, Đ38 v3.0 Drafts reinforce no-auto-mutate / approval-at-promote; do NOT close it.
CONS-002 (IO Contract: thin 5-field vs MT0A/MT0B) Đ38 v3.0 (primary), Đ36 MT0A/MT0B treated reference-only; not the live contract.
Source-location caveat (Đ0/0-B/0-G in architecture/; broken law-00*.md) L4 (primary), Đ36 architecture/ = temporary detailed working source, subordinate to Constitution.
Đ39 runtime-EMPTY · HOLD-1 (iu_staging_*) · Coverage-scanner BUILD-NO-GO · RISK-GC/CAP Đ38 v3.0 / Đ36 Carried as context; no build authorized.

5. Folder policy (evidence)

Branch Expected Observed (via list_documents) Verdict
knowledge/dev/laws/ no new output created by this run only pre-existing law sources listed; nothing created/edited/moved/deleted by B2 PASS
knowledge/dev/laws-new/laws/ none list_documents → 0 items PASS
knowledge/dev/laws/newlaws/ none list_documents → 0 items PASS
knowledge/dev/laws-new/ root no output at root 62 items under laws-new/; the 3 new amendment files all have parent_id = …/newlaws/amendments; no new file at the laws-new/ root (root items are all prior-session: README, F0–F5 packets, archive, reports) PASS
knowledge/dev/laws-new/newlaws/amendments/ 3 new B2 drafts + 2 prior B1 drafts 5 items: dieu22, dieu33 (B1) + dieu36, l4, dieu38-v3 (B2) PASS
knowledge/dev/laws-new/newlaws/reports/ + this B2 report report created here PASS

This run created exactly four documents (3 amendments + 1 report), all under newlaws/. It created no current/ corpus, copied no laws into newlaws/, and created no final/enacted law.


6. Completion check (against the task's C1–C14)

Check Result Evidence
C1 Điều 36 amendment under newlaws/amendments/ PASS rev1, 21,740 chars
C2 L4 amendment under newlaws/amendments/ PASS rev1, 19,476 chars
C3 Điều 38 v3.0 amendment under newlaws/amendments/ PASS rev1, 23,945 chars
C4 B2 execution report under newlaws/reports/ PASS this file
C5 No output outside newlaws/ PASS §5 folder policy
C6 No file under laws/ edited/moved/renamed/deleted/created PASS §5; only read
C7 No Constitution patch PASS constitution untouched; consulted via B0 quotes only
C8 No technical design created PASS each §0 + §8 confirm "no technical design"; drafts are doctrine-only
C9 No Phase-1 / live DB/runtime query PASS only KB reads (get_document*, list_documents); no VPS/PG/Directus query
C10 No implementation/schema/table/registry/index PASS each §8 confirms; materializes nothing
C11 Each draft says DRAFT / non-enacting / not adopted PASS each top banner: "DRAFT · NON-ENACTING … not adopted, not in force"
C12 Each preserves old-law goals; reframes only unsafe rollout PASS each §1 (preserve) + §2/§3 (reframe)
C13 Each carries blockers, does not resolve them PASS each §6 + §8; §4 above
C14 Each rejects bad readings explicitly PASS each §7 (8–9 rejected readings)
S11 Required cross-reference sources re-read first-hand before Codex PASS §2(b): all 11 required sources (Constitution, Đ32/Đ33/Đ35/Đ39, Đ22, architecture Đ0/0-B/0-G, operating-rules, LSL-01) re-read first-hand this run via get_document_for_rewrite + LSL-01 via 2 bounded chunks; all CONFIRM (Đ39 PARTIAL on runtime-EMPTY caveat), none CONTRADICTS, no draft changed

7. Bad-reading rejections (Codex adversarial standard §8)

Each hostile reading the task names is explicitly rejected in the drafts:

Hostile reading Rejected in Where
"CONS-003 is resolved" Đ36 §0, §3 A3, §7 #2
"cell_id can materialize now" Đ36 (+ L4, Đ38) §3 A2, §6, §7 #3, §8
"Birth canonical status happens at INSERT" L4 §1, §3 A1, §7 #2
"L4 still front-loads approval at INSERT" L4 §3 A2/A3, §7 #3
"DOT 100% can regenerate outputs" Đ38 v3.0 §3 A1/A2, §7 #2
"Text-as-Code can auto-rewrite law" Đ38 v3.0 §3 A4, §7 #3
"Đ38 authorizes schema/table/registry" Đ38 v3.0 §3 A7, §7 #4
"technical design is authorized" all three each §0, §3 last clause, §7

8. Non-authorization checklist (binding)

  • no adopted amendment: confirmed (3 DRAFTs only)
  • no rewrite (no Điều 37 rewrite; no rewrite of any law): confirmed
  • no technical design: confirmed
  • no Phase-1: confirmed
  • no DB/runtime query: confirmed (only KB get_document* / list_documents)
  • no implementation: confirmed
  • no schema/table/registry/index: confirmed
  • no materialized cell_id / dot_role / canonical_fields: confirmed
  • no BIRTH_STAMP / PROMOTE_STAMP materialization: confirmed
  • no Species Matrix / cell placement materialization: confirmed
  • no authority change (CONS-004 order unchanged): confirmed
  • no edit/move/delete under laws/: confirmed
  • no Constitution patch: confirmed
  • no v0.1-stable / FIX7 V3 baseline change: confirmed
  • no v0.2-hardening promotion: confirmed
  • no resolution of CONS-002/003/004/005, CELL-003/004/007, HOLD-1, HOLD-2, RISK-BYPASS/GC/CAP: confirmed

Codex/GPT PASS ≠ Owner authorization. Engineering PASS ≠ Authority PASS. Default disposition until the Owner acts: HOLD.


9. Readiness for Codex review

Ready for Codex review: yes. The pre-Codex source-read gap is now closed — all 11 required cross-reference sources were re-read first-hand this run (§2(b)); every read confirms B2 (Đ39 is PARTIAL on the runtime-EMPTY caveat only) and none contradicts a draft, so no legal substance and no draft was changed. The package is review-complete: three AMEND drafts (records #4/#5/#6) in the same verified template as the accepted B1 drafts, each goals-preserving, blocker-carrying, materialization-free, and non-enacting, plus this evidence-backed report. It is not adoption-ready and does not authorize technical design.

After Workstream B2, the AMEND batch (catalog records #2/#3/#4/#5/#6) is fully drafted: #2 Điều 22 + #3 Điều 33 (B1) and #4 Điều 36 + #5 L4 + #6 Điều 38 v3.0 (B2). The remaining Law-Merge revision work is Batch C — REWRITE Điều 37 (record #1), not started.


10. Next action

  • GPT reviews the B2 package (3 drafts + report).
  • If accepted, Codex reviews it (adversarial: reconstruct from KB; compare drafts vs old sources + accepted B0/B1; check for hidden authorization / enacted-reading / unrejected hostile readings).
  • Owner/User then decides whether to (a) accept the AMEND drafts (#2–#6) for later consolidation, (b) request fixes, or (c) open Batch C — rewrite Điều 37 (record #1). Birth/classification technical design remains gated on the Owner-gated source-recovery pass + CONS-003 + CELL + HOLD-2.

Law Revision Workstream B2 execution report — live revision/content_length must be read from KB metadata | 2026-06-17 | STATUS PASS (draft package, review-ready) | 3 amendment DRAFTs (Điều 36 / L4 / Điều 38 v3.0) + report, all under newlaws/ | read-only · non-authorizing | Codex PASS ≠ Owner authorization · Default HOLD

Back to Knowledge Hub knowledge/dev/laws-new/newlaws/reports/law-revision-workstream-b2-execution-report-2026-06-17.md