IU-0 Pilot Round 1 — G-Pilot-2 Decision Pack
IU-0 Pilot Round 1 — G-Pilot-2 Decision Pack
Trạng thái: DECISION PACK — chờ User approve Phiên: S191 (2026-05-03) Gate: G-Pilot-1 PASS WITH PATCH (simulation report PASS, 08a patched rev 6) Simulation report:
knowledge/dev/laws/dieu44-trien-khai/reports/iu0-pilot-round1-readonly-simulation-report.md
1. Docs vào writable pilot
| # | Document | Lý do | Slices |
|---|---|---|---|
| 1 | IU-0 07 (07-iu0-index-and-core.md) |
Self-referential dogfood. 8K chars, 6 slices, boundary ổn. | 6 |
| 2 | P38-XC 04 (04-information-unit-profile-schema.md) |
Dài nhất (30K), stress test. §5 + §7 cần split. | 15 (→ ~18 nếu split) |
Round 1 chỉ 2 docs. Không mở rộng trước khi round 1 PASS.
2. Slices được phép thử ghi thật
IU-0 07: cả 6 slices.
P38-XC 04: bắt đầu với 3 slices an toàn nhất (ngắn, ít cross-ref):
| Slice | canonical_address | ~Chars | Lý do chọn |
|---|---|---|---|
P38-XC.§0 |
Tóm tắt | ~550 | Ngắn nhất, ít rủi ro |
P38-XC.§4 |
Base/Extension boundary | ~1500 | Vừa phải, self-contained |
P38-XC.§9 |
Tier 1+ future | ~1400 | Ngắn, tách rời, ít cross-ref |
Mở rộng dần: sau 3 slices PASS → thêm §1, §2, §3, §6, §10-§14. §5 và §7 cuối cùng (dài nhất, cần split decision).
3. MUP 15 elements: thật vs placeholder
| # | Element | Fill thật? | Note |
|---|---|---|---|
| U1 | unit_id | ✅ Thật | System auto UUID |
| U2 | canonical_address | ✅ Thật | Derive từ doc + section path |
| U3 | unit_kind | ⚠️ Tạm | design_doc_section — OPEN IU-0-γ, dùng tạm |
| U4 | lifecycle_status | ✅ Thật | draft |
| U5 | content_anchor_ref | ✅ Thật | → body content |
| U6 | version_anchor_ref | ✅ Thật | System auto |
| U7 | owner_ref | ✅ Thật | opus |
| U8 | timestamps | ✅ Thật | System auto |
| U9 | parent_or_container_ref | ✅ Thật | → publication ref |
| U10 | conformance_status | ✅ Thật | open default |
| P-id1 | title | ✅ Thật | Extract từ heading |
| P-id2 | owner_lookup_ref | ✅ Thật | opus |
| P-id3 | primary_section_type_ref | ⚠️ Tạm | section — cần vocab register |
| P-pub1 | publication_authority_ref | ✅ Thật | Đ44 hoặc Đ38 |
| P-pub2 | publication_type_ref | ⚠️ Tạm | design_doc — cần vocab register |
12/15 thật, 3/15 tạm (vocab chưa register). Không blocker — register trước pilot execution.
4. Thao tác được phép và bị cấm
Được phép
| # | Thao tác |
|---|---|
| A1 | Đọc slice từ KB (batch_read, get_document) |
| A2 | Ghi slice metadata vào planning doc (canonical_address, chars, MUP status) |
| A3 | Register vocab values (unit_kind, section_type, publication_type) — config level |
| A4 | Tạo pilot tracking doc (progress, findings) |
| A5 | Patch 08a/08b nếu simulation phát hiện sai lệch nhỏ |
Bị cấm
| # | Thao tác | Lý do |
|---|---|---|
| X1 | Tạo IU table, unit_version table trong PG | P44-6 chưa mở |
| X2 | Tạo Qdrant collection mới | GR-9 + VG-1 |
| X3 | Tạo outbox table/job | Outbox chưa tồn tại |
| X4 | Sửa 07/07b/07c content | GR-4 |
| X5 | Sửa P38-XC/P44-3 content | GR-4 |
| X6 | Viết DDL/code/migration | GR-2 |
| X7 | Mutate production_documents |
GR-5 + VG-1 |
| X8 | Scale >5 docs | Scope cap |
| X9 | Mở P44-6 | GR-3 |
5. Stop criteria + Rollback
Stop criteria (dừng pilot ngay nếu)
| # | Trigger | Action |
|---|---|---|
| S1 | Schema conflict: IU design mâu thuẫn P38-XC SSOT | Dừng. Báo GPT. Patch design trước. |
| S2 | Token savings <50% trên ≥2 slices liên tiếp | Dừng. Review boundary. |
| S3 | Edit cycle >5 turns trên ≥2 slices liên tiếp | Dừng. Slice quá dài → split. |
| S4 | MUP element không fill được (không phải vocab issue) | Dừng. Review MUP design. |
| S5 | Legacy vector bị ảnh hưởng | Dừng ngay. Escalate. |
Rollback
Pilot writable phase chỉ tạo planning docs + vocab config. Rollback = xoá planning docs. Không có production data để rollback.
6. Câu hỏi User
Có cho mở minimal writable pilot không?
Scope cụ thể nếu approve:
- 2 docs (IU-0 07 + P38-XC 04).
- Bắt đầu 6 + 3 = 9 slices (mở rộng dần).
- 3 vocab values register (config, không DDL).
- Chỉ planning + metadata. Không tạo IU table/collection thật.
- Stop criteria S1-S5 active.
G-Pilot-2 Decision Pack | S191 | Simulation: PASS | Patches: 08a rev 6 | Chờ User approve minimal writable pilot