Files
solution-erp/docs/governance/adap-reports/2026-07-16-Governance-loi-phong-workflow-chet-non-json-args.md

24 lines
2.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# adap-report — 2026-07-16-Governance-loi-phong-workflow-chet-non-json-args
> SE (SOLUTION_ERP) · wave adap 17-07 (S135S137) · Item 7 spec v2 (LANE-C) + DP-4 dogfood ngay trong wave.
## 1. id-broadcast
`2026-07-16-Governance-loi-phong-workflow-chet-non-json-args` (content_sha256 12-hex `6c2eb2b19bae`, verify 2-tuyến OK @S135, commit nhận `55ef8f6`).
## 2. nấc G-011
**executed** — 3 chốt B6 vào repo; chốt-2 (spec-pointer args-mỏng) được dogfood NGAY trong chính wave này.
## 3. evidence (đo thật)
- Commit `da349fc``hmw.js`: câu LUẬT ngay TRÊN dòng normalize ("args LUÔN là object JSON thật — dòng normalize NGAY DƯỚI là LƯỚI-CUỐI cho ca tầng-máy tự stringify, KHÔNG phải giấy phép tự stringify, per 6c2eb2b1"; viết RELATIVE, không hardcode số dòng — tránh class literal-tự-lão-hoá S121) + `fable-real.md` block `args.run` cùng câu luật.
- `fable-real.md:31`-vùng reconcile thành **spec-pointer** (DP-4): spec bơm qua args = CON-TRỎ file spec (`runs/<id>/spec-*.md`, bản lead-đã-verify) + digest ngắn/AC-ids; worker Read ĐÚNG file con-trỏ; CẤM tự lục spec/nguồn ngoài con-trỏ (file làm-việc của lane vẫn Read bình-thường).
- Dogfood in-wave: 3 lane hmw @S135 + worker remainder @S136 đều nhận con-trỏ `spec-adap-khung-nhip-17-07-2026.md` + lane-id + AC-ids qua args (object thật), KHÔNG nhét trọn spec — 4/4 worker đọc đúng file spec, 0 ca parse-chết.
- Đối-chiếu hồi-tố: grep sổ SE = **0 ca chết-non class B6** — 3 chốt là phòng-ngừa forward, không có nợ hồi-tố.
## 4. tailored-gì + skip-gì-vì-sao
- Giữ intent gốc `fable-real.md` (worker thực-thi theo spec lead-đã-verify) — chỉ đổi KÊNH giao spec thành con-trỏ mỏng; scope cấm chỉ áp cho spec/nguồn, không áp cho file làm-việc của lane.
- Skip: không có.
## 5. honest-caveat
- Honest-residual (khai để hub biết, KHÔNG làm đợt này): memory-pack của hmw vẫn inject QUA args — hiện là object-thật + parse-guard nên không vi-phạm floor B6; việc chuyển memory-pack sang pointer-based = đề-xuất riêng nếu thấy cần.
- Chưa push tại thời-điểm ghi (push @closeout S137).