# RUN — Harness 8/9/10 re-audit · STAGE 2 IMPLEMENT (🆕 FLAT-trace)

- **run-id (folder):** 2026-06-18-harness-fix-implement
- **workflow run-id (evidence B3):** wf_ac43b5ff-7d1
- **task:** fix gap từ `audit-synthesis.md` — FLAT migration (C1/C8/refine-a) + port `/sleep-recovery-memory-l2` (A8) + adopt checklist-v2 + h10-refine + document detector TAILORED-OUT (anh chốt) + fix B3 report imprecision.
- **mandate:** Harness-9 B1 (IMPLEMENT workflow tách biệt; REVIEW theo sau).
- **checkpoint:** APPROVED (HMW-ON + anh "double check hết, điều chỉnh lại").
- **opened:** 2026-06-18 11:22 +07
- **structure:** 🆕 FLAT (dogfood h10-refine).
- **status:** OPEN → DONE

## Agents (workflow `wf_ac43b5ff-7d1`, 2× general-purpose file-disjoint)
| file | task | kết quả |
|---|---|---|
| `sub-impl-sleepcmd.md` | port `/sleep-recovery-memory-l2` tailored SE | ✅ `.claude/commands/sleep-recovery-memory-l2.md` (137 dòng, SE 9-sub roster, scope SE-only, 6 SE-env deviation, floor intact, live skill) |
| `sub-impl-runsreadme.md` | rewrite `runs/README.md` FLAT | ✅ C1-C8 + detector tailored-out + flat naming khớp hmw.js |

## em-main cluster (single-writer, interdependent — post-workflow, no same-role race)
- `hmw.js`: `sub-md/`→flat (`:103` subMd) + 5 stale-text + **H4.5→H8 doc-drift fix** (meta.description) · `node --check` PARSE-OK
- `workflows/README.md`: full rewrite FLAT + roster 8→**9** + detector-tailored-out + C8
- `agents/README.md`: decision-tree flat + **Upgrade S72** record
- `session-start.md` §2.1.1 orphan-scan flat · `session-end.md` close-gate flat + **dual-accept**
- `_ledger.md`: FLAT/C8 dual-accept header note
- 🔴 **5 run cũ S71 GIỮ subfolder** (C8 — KHÔNG rewrite history)

## Output (FLAT) → `implement-synthesis.md` (gom) + `sub-impl-*.md` (raw)
