From 2b6af14b84bd8a0253078c7a22e7f92af227aea1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 11 Sep 2026 14:16:07 +0200 Subject: [PATCH] chore: every clinical view now reads in the order a decision is made MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 323 of 323. It was 413 free-form sections under 242 different titles, most of them one block called "Management" holding everything from the presenting complaint to discharge advice. They now read Clinical paths → Diagnosis → Management, with Prognosis and outcome where the source actually said something about course — 95 articles earned one, the rest were left without rather than padded. Six batches, and the gate earned its keep: it caught a dropped `[[206|epilepsy]]`, a duplicated "24", a repeated sentence that doubled two numbers, and several numbered lists flattened into bullets. Two articles were refused on a first import and passed on a second — I had imported a file its agent was still correcting. Then the linker re-run over the moved text: 2,150 links, 0 broken, 0 nested, 0 escaped. Instructions to the reader across the whole corpus are down to 21 from 819 + 71. Backend 242/242. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01TqXevQJhxFrM7jJg82cgZN --- docs/TODO.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index ccef338..13e2cbd 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -49,8 +49,19 @@ Captured so nothing is lost while the article writing runs. Re-runnable — it strips its own work and reapplies the rule. - [x] **37 nested cross-references repaired** — `[[363|[[245|reflux]] disease]]` from the first linker pass, which rendered as literal brackets. -- [ ] **Clinical view in MDM order** — presentation → differential → diagnosis → - management → prognosis/outcome where it adds something. +- [x] **Clinical view in MDM order** — done 2026-09-11. All 323 clinical views + now read Clinical paths → Diagnosis → Management → Prognosis and outcome + (the last only where the source said something real about course; 95 of + 323 got one). It was 413 free-form sections under 242 different titles. + `scripts/mdm_pass.py` does the moving and refuses any article that lost a + cross-reference, changed a fact, or came back outside 0.8-1.3x. +- [ ] **Pediatric Dentistry has no clinical content** — its source was a + disclaimer, so Clinical paths and Diagnosis say so rather than inventing + medicine. `mdm_pass check` lists it. Needs an educator or a delete. +- [ ] **10 articles have no clinical view at all** and 13 no short view — the + original hand-written ones (Bronchiolitis, Kawasaki disease, Acute otitis + media …) predate the three-view system. The reader hides a view an + article does not have, so nothing is broken; they are simply thinner. ### Reading and study - [x] **Recommendations by Articles / Disciplines / Systems** — done