13 KiB
640f80e452b42badb12bc2a3c57cf9f7 S110→S111 · 0c782c7cebc8f1d8b16f65b8e1474820 S113) header ABSENT trong verbatim — provenance sống ở MEMORY.md L1 (em-main verify chéo @S140: cả 2 present L1); giữ tại đây kẻo mất khi L1 curate.
Gist 2026-07 — harvest-curator (distilled S140 sleep-compress)
TỔNG-HỢP (5 ý — số/mốc truy về CỤM dưới)
- Kỳ = S98→S119, 26 entry, 7 self-compact block. Cadence GIỮ SẠCH xuyên suốt — 13 @start ALL-CLEAN + 10 @end GATE PASS 5/5-trục, orphan 0 MỌI phiên. Mẫu-số orphan 14→26 do roster+run-folder MỌC, KHÔNG do miss. Giá trị nằm ở CATCH, không ở cadence. → CỤM 10.
- CATCH lớn nhất = S102 tự-bắt miss của chính gate S101:
f229b07cut-not-moved 5 verbatim reviewer + dead-satellite pointer → đẻ luật "L1 net-shrink + claim Detail→archive PHẢI grep moved-not-cut TRƯỚC PASS"; lan thành discipline byte/md5 (S105/S107/S108/S110/S119). → CỤM 1. - 3 lớp "record thiếu" phân biệt rõ: (a) delta mồ-côi = sub chạy 0-ai-append (S98 db-agent ×2 · S99 cicd#485-by-construction) → CỤM 2; (b) self-record blind-spot = gate-agent quên ghi CHÍNH MÌNH (S104/S105) → CỤM 2; (c) coverage-gap = shipped-work thiếu spawn-record dù knowledge-NOT-lost (S113/S116) → MEDIUM propose-only KHÔNG escalate → CỤM 3.
- Governance-chốt AS-10 (S101): N-lane sub tự-ghi agent-memory = LEGIT harvest ≠ residual-violation KHI content-verified khớp verdict (keep-if-correct, khác S95-default-revert); "return-only" = convention KHÔNG mechanism (fire-6/catch-6/0-escape). → CỤM 4.
- Method-catalog chống false-alarm dày (#3/#4/#5/#6/#9/#10 + ref-table-frozen/
--stat-truncate/maxdepth/roster-13v12): mọi tool-output sinh artifact GIẢ → cross-check nguồn-2 TRƯỚC phán; #5 filter-nuốt-bullet tái ≥4× dù đã biết. → CỤM 5.
CỤM 1 [cao] — Cut-not-moved CATCH + moved-not-cut discipline (byte/md5)
VIỆC: verify L1→archive compaction integrity; đối tượng lớn = S102 audit lại gate S101 của chính mình. KẾT-LUẬN: S102 CATCH ×2 miss của S101: f229b07 XÓA 5 verbatim reviewer (digest claim "Detail→archive" nhưng grep 0/0/0 + mtime 06-20 = cut-not-moved; verbatim chỉ còn git show 5ee32c0:) → recover reviewer/archive/2026-07.md; + dead-satellite project_s100_h18_wf2_synthesis.md (git log --all RỖNG). Discipline lan: S105 byte-level 19380→16305B (md5 MATCH · cmp IDENTICAL 1580B) · S107 md5 3/3 (1760f27a/a6c8c75f/e12e5377) · S108 md5 4/4 (25633942/d8539bb2) · S110 git cat-file -s==disk (6141/6544B) · S119 append-BEFORE-trim. BÀI-HỌC: L1 net-shrink + claim archive ⇒ grep moved-not-cut TRƯỚC PASS; anchor substring phải entry-unique (grep head-1 bắt sibling → false-DIFF); append-BEFORE-trim an toàn hơn cut-then-die. BẤT-NGỜ: gate-agent tự-miss CHÍNH MÌNH — next-session mới bắt; đối chứng cicd nén IN-PLACE = pattern sạch. [cao] → substring:"show 5ee32c0"
CỤM 2 [cao] — Delta mồ-côi propose-APPEND + self-record blind-spot
VIỆC: quét spawn-record mồ-côi → propose em-main B3. KẾT-LUẬN: S98 3 delta (database-agent MISS ×2 — file đóng-băng-từ-S57bis, nặng nhất · reviewer addendum · impl-fe hook) → đóng 4263d63/8a249c5/c112be9. S99 cicd #485 8a249c5 orphan-by-construction (mtime SAU commit-cuối, precedent S58); fidelity ARITHMETIC push-range 23-file=22.md+1. S104/S105: verdict H2-S104 CHỈ ở session-log (9f9a78e thiếu harvest-curator) → retro-append. BÀI-HỌC: spawn-record CHÍNH MÌNH không ai append = self-record blind-spot → gate-agent tự đóng record mình; entry tag date+wf-id làm grep "S###" false-miss (method #4). BẤT-NGỜ: orphan-by-construction HỢP-LỆ (delta SAU commit) ⇒ KHÔNG revert, propose commit bundle sau. [cao] → substring:"database-agent MISS"
CỤM 3 [cao] — Coverage-gap: shipped-but-no-spawn-record + idempotent-close
VIỆC: coverage-trục = mọi sub shipped-work phải có spawn-record 4-field. KẾT-LUẬN: S113 2 GAP (impl-be THIẾU Supplier-BE shipped Run #496 · test-spec 0 narrative ~950 LOC) · S116 Lane2 mirror-completeness không record riêng — knowledge NOT-lost (run.md+reviewer+cicd+SHA) → propose-only; CẢ 2 CLOSED idempotent @S113-end/S114. BÀI-HỌC: knowledge-NOT-lost ⇒ MEDIUM propose-only KHÔNG escalate; gap = spawn-record nhà-mình thiếu ≠ mất knowledge. BẤT-NGỜ: bất-đối-xứng harvest — inv-cb ĐƯỢC consolidate nhưng peer role không. [cao] → substring:"THIẾU Supplier-BE"
CỤM 4 [cao] — AS-10 Fidelity keep-if-correct (governance call)
VIỆC: quyết N-lane sub tự-ghi agent-memory = LEGIT hay violation. KẾT-LUẬN: S101 AS-10 = LEGIT harvest — verify ĐỘC-LẬP content khớp lane-verdict (hunk @@-48,5+48,5 landed-verbatim, 0-fabrication) + containment intact → KEEP per keep-if-correct (KHÁC S95-default-revert vì writes CLEAN). S102 KEPT entries VERIFIED intact. Cross-link H19 GAP-3: return-only = convention KHÔNG mechanism (fire 6/catch 6/0-escape). BÀI-HỌC: quyết bằng Fidelity-gate (content-khớp-verdict) KHÔNG tự phán "bịa". BẤT-NGỜ: CÙNG hành-vi có thể LEGIT hoặc VIOLATION tùy content-verified — KHÔNG phán từ hành-vi. [cao] → substring:"keep-if-correct"
CỤM 5 [cao] — Self-trap method-catalog (chống false-alarm/false-miss)
VIỆC: đúc method audit corruption/count/compaction khỏi tin tool-output mù. KẾT-LUẬN + BÀI-HỌC: #3 porcelain-clean ⟹ 0-mồ-côi by-construction · #4 grep "S###" false-miss khi tag date/wf-id · #5 filter grep -v "^[+-][+-]" NUỐT dòng +- ** → false-empty-diff (tái ≥4×, mỗi lần caught) · #6 tail-c cắt UTF-8 multibyte in FFFD GIẢ → corruption thật = grep literal U+FFFD · #9 self-quote FFFD baseline dao động 0→1→0 theo entry rời/vào L1 · #10 session-drift-tag mislabel (S116 DOUBLE → normalize). NEW: prompt-cấp reference-table = frozen budget-snapshot (_note DATE) → cross-check DATE trước phán size-drift · --stat truncate path-dài → --name-only · maxdepth-1 FALSE-flag → maxdepth-2 · roster ls=13 = 12-folder + budget-file. Mọi tool-output (grep-filter · tail-c · --stat · ls-count · prompt-table) sinh artifact GIẢ ⇒ cross-check nguồn-2 TRƯỚC phán. BẤT-NGỜ: #5 tái ≥4× DÙ đã biết; FFFD literal vào L1 tự-gây false-alarm phiên sau. [cao] → substring:"frozen budget-snapshot"
CỤM 6 [vừa] — Fidelity STRONG commit-exact (0-fab → KHÔNG escalate)
VIỆC: fidelity-trục = spawn-record claim khớp commit file-list. KẾT-LUẬN: S113 5fa11b5 MỌI claim khớp file-list → 0-fab. S116 88368fd 7-file EXACT (BE Sum()<=0→.All(x==0) verbatim in-diff, +9 [Fact]=gate 495). S117 316a82f EXACT. S119 c808b9a EXACT 3-file (+4 test đếm-TỪ-DIFF). S114 garble ×2 CẢ HAI captured đúng nhà. BÀI-HỌC: đếm-TỪ-DIFF KHÔNG file-total (fd80e66→d713d80 19=total≠4-delta); file-list match từng-claim ⇒ Fidelity STRONG KHÔNG escalate. BẤT-NGỜ: garble-lane vẫn 0-claim-bịa (cross-verify khớp) — garble ≠ mất-substance. [vừa] → substring:"file-list xác nhận MỌI claim"
CỤM 7 [vừa] — cicd session-drift tag + garble-as-clean habitual
VIỆC: theo dõi cicd self-tag drift + garble-mislabel. KẾT-LUẬN: S98 cicd self-tag "S98"→S97 ×4 dòng (drift lần 4, patch replace_all TRƯỚC S98-thật ghi). S106 KHÔNG spawn S105 (grep=0 = ĐÚNG, resolved false-alarm). S118 2-garble: #389 tự-dán "CLEAN-return" SAI + #388 garble unrecorded → cicd = habitual mislabel-garble-as-clean (S117#387 cùng nhãn sai). BÀI-HỌC: cicd tự-dán "CLEAN" KHÔNG tin → cross-check session-log; grep=0 phân biệt not-spawned vs miss. BẤT-NGỜ: garble tự-nhận CLEAN = under-report chính garble mình — habitual dai. [vừa] → substring:"habitual mislabel-garble-as-clean"
CỤM 8 [vừa] — Sleep-resume + transcript-lost re-run DEDUP
VIỆC: recover khi return transcript-lost + sleep-premise re-verify từ đĩa. KẾT-LUẬN: S109 sleep disk==resume-point (16/16 scope-file + gist-scan 11-hit toàn tiền-PAUSED = 0-gist-MỚI); lượt-A cicd transcript-lost 0-dấu-disk → HANDOFF encode re-run 0-mất-data. S110 entry gốc return không tới em-main → re-spawn re-verify KHỚP 100% + gist byte-exact cat-file==disk → RE-RUN amend DEDUP KHÔNG double-append. BÀI-HỌC: transcript-lost → re-verify từ ĐĨA rồi amend DEDUP; sleep-premise verify NỘI-DUNG từ đĩa KHÔNG tên-file 1:1. BẤT-NGỜ: return MẤT mà việc KHÔNG mất — disk-truth đủ. [vừa] → substring:"luot-a-transcript-lost"
CỤM 9 [vừa] — Run-trace pattern evolution (embedded-synth + mode-A ephemeral)
VIỆC: orphan-run scan theo pattern tiến hóa. KẾT-LUẬN: S113 pattern synthesis EMBEDDED-in-run.md (## synthesis populated ≠ separate file); maxdepth-1 FALSE-flag 5 → maxdepth-2 dual-accept. S118 embedded NON-heading ✅ PIPELINE COMPLETE (regex ^## synthesis MISS → verify body). mode-A ephemeral: HMW default 0-run-folder by-design (0-folder-July, wf_2f85b3f6); orphan-count 0/14→0/26; 2×S117 fable-real spec-only no-run.md = by-design ≠ orphan. BÀI-HỌC: orphan-scan maxdepth-2 + verify body; VẮNG folder ≠ orphan. BẤT-NGỜ: synthesis 3 dạng (subfolder/embed-heading/embed-non-heading) → detector nhận CẢ 3. [vừa] → substring:"EMBEDDED-in-run.md"
CỤM 10 [thấp — GIỮ: nền cadence + chore-watch] — Routine cadence + self-compact housekeeping
VIỆC: @start ALL-CLEAN + @end GATE 5/5 + self-compact S98→S119. KẾT-LUẬN: 13 @start ALL-CLEAN; 10 @end GATE PASS 5/5 + orphan (15/15 · 0/16 · 0/21 · 0/24 · 0 July-run-folder). Self-compact EXECUTED hook-directed: S99 (S50-S66→2026-06.md 17072B/14-entry) · S109 (S98→S101→2026-07.md MỚI) · S111 (S102→S106) · S114 (S107→S109) · S117 (impl-fe 2026-H1.md). Chore dai: impl-be 23955B 93.6%-cap đứng-im từ 06-25 · fe-designer 21.5K idle · SELF quanh 17.1K-target. BÀI-HỌC: cadence-clean là NỀN, giá trị ở CATCH; impl-be near-cap idle = WATCH không action. BẤT-NGỜ: mẫu-số orphan tăng 14→26 KHÔNG do miss (mẫu-số có ngày-đo). [thấp] → substring:"0 July-run-folder"
COVERAGE-TOKENS (per-file đóng-kín — nguồn: archive/2026-07.md của harvest-curator; +2 md5 L1-provenance)
SHA: 4263d63 8a249c5(#485) c112be9 310b9fc..8a249c5(23f) 525a01a f229b07 e350660 @@-48,5+48,5 3e2c18b git show 5ee32c0: project_s100_h18_wf2_synthesis.md 778fc98 9f9a78e 95f5555 54a2c72 wf_5ac2cdb0 41f8061 1760f27a/a6c8c75f/e12e5377 86a34d5(od 3323B) 21387cd 1eea51b ChSNAJBK/Bn2w1znH 69957fd 5d13b48 25633942/d8539bb2 c7a9e745 wf_2f85b3f6 557642f a9c3f1d 72a85bf f5a5c3e debe82f 38262d8 6ee60cd 191532e wf_0c3b307f 318a271 8aa3869 12071c5/67be443 wf_5ba3daf6 0d912ad 8fa2fcc 58f1c5f→8304d08 ccdcbe7 5fa11b5 a3e9e14 88368fd 0edbc58 3e16dba5 e5f655f 316a82f 011ee8cf/617b0aa0 fc1b8d9 ab2657ee/abbbb86d 1b8b065 5c7569e 6de7db6 3fde8af c808b9a c2135ba fd80e66→d713d80. BLOCK-MD5: e2b906336b4cdad3034329cffc09525a(S98→S101) · 3163566688e277f628daf349c1230142(S102→S106) · 75b69b41534cb67cdf349b6e1164d47f(S107→S109) · 3d7033e0253c3dfaeba7aad1a1067efe(S114/S116/S117) · 9f7a11dcd057a27d03b06843bbdf2274(S118/S119) · ⚠L1-only: 640f80e452b42badb12bc2a3c57cf9f7(S110→S111) + 0c782c7cebc8f1d8b16f65b8e1474820(S113). Gotcha: #53 (garble ×N; structural garble-pressure>17.1K) · #80 · #82 · #377(cicd archive quoted) · #385/#386(S58 precedent). CI-Run: #485 #486 #488 #489 #491 #492 #493 #496 #383/id497 #386 #387 #388(PARTIAL carry-fwd) #389. Method: #3 #4 #5(tái≥4×) #6 #9 #10 + ref-table-frozen · --stat→--name-only · maxdepth-1→2 · roster-ls-13=12+file. Guard/root-cause: Mig60-wrong-table→61 · Sum()<=0→All(x==0) · Reports.Read · dedup-MST · details[].quotes≠suppliers[] · math.abs-no-global-mod. Mig: 62 63 64 66. Surprise: gate-tự-miss(S101→S102) · orphan-by-construction-hợp-lệ · LEGIT-or-VIOLATION-tùy-content · garble-0-claim-bịa · mẫu-số-14→26 · FFFD-tự-false-alarm · cicd-CLEAN=under-report · synthesis-3-dạng · 2-md5-header-absent · engine-label-first · od-12th-seed · #53×2/phiên-watch. Entry-coverage 26/26: S98·S99·S100·S101(×2) | S102·S104·S105(×2)·S106 | S107(×2)·S108·S109(×2) | S110(×2)·S111(×2)·S113(×2) | S114·S116·S117 | S118(×2)·S119. Drop thấp: 0 (CỤM 10 giữ — mang chuỗi orphan-count + self-compact provenance).