From 4c329b69c159f7a5217a485ce8643ae1614fbc45 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 22 Oct 2026 12:57:38 +0200 Subject: [PATCH] Read CHANGELOG, MIGRATION, README and the flavour spec in part, and drop item 92 --- AGENTS.md | 6 ++++++ docs/reading-cost.md | 4 ++++ todo.md | 12 +----------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3ac5be1..bf4ecfb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -166,6 +166,12 @@ Per chunk: it (docs-only) — re-run only what its own findings or fixes invalidate. 3. Merge the PR (standing authorization, this repo only, granted by the maintainer), report, stop. +A chunk reads these files in part, with `grep -n '^#'` for the headings and a ranged read for the rest: + +- `CHANGELOG.md`: `## Unreleased` only, the one section a chunk edits. +- `MIGRATION.md`: the top `## From` section, the release being built. +- `README.md`, `spec/flavour.md`: the sections the chunk changes or cites. + Reserved for the maintainer whatever any rule here says: changing `version` in `package.json` (a bump on `main` publishes, `docs/decisions.md` §Publish on a version bump — every release is the maintainer's) and the `NPM_TOKEN` secret. diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 9cfabf3..6f23ad9 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -448,3 +448,7 @@ Read most (opens and searches): ## Reading cost, chunk 6e5b2de704fa, finished 2026-10-21T21:37:03Z 140167 new input tokens before the first commit. + +## Reading cost, chunk cc1dd401a4ea, finished 2026-10-22T10:56:10Z + +141844 new input tokens before the first commit. diff --git a/todo.md b/todo.md index f31b01b..40d261b 100644 --- a/todo.md +++ b/todo.md @@ -12,7 +12,6 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 92 | 0.3.0 | | | **Lower the reading cost of the files a chunk reads most before its first commit.** | 2 | 1 | 1 | 2 | 4 | code health by 4 | 17.4 | | 102 | 0.3.0 | | decision | **Place a block a portable task list refuses at its path in the returned document without replaying `splitTaskList` on stand-in nodes.** | 2 | 1 | 2 | 3 | 4 | code health by 4 | 17.4 | | 62 | 0.3.0 | | decision | **Move the portable flavour's reading out of `parse/` and its writing out of `emit/` into `markdown/portable/`, so `emit/` no longer imports `portable/`.** | 3 | 1 | 2 | 4 | 5 | code health by 5 | 13.1 | | 123 | 0.3.0 | | defect | **Spell a link title holding a backslash, an entity reference or, in a table cell, a pipe, instead of dropping it.** | 3 | 1 | 2 | 4 | 3 | 7 by 2 | 13.1 | @@ -23,7 +22,7 @@ | 109 | 0.3.0 | | defect | **Spell nested lists and quotes in time linear in the markdown.** | 3 | 1 | 2 | 4 | 5 | 9 by 3 | 7.8 | | 115 | 0.3.0 | | defect | **Build text holding no `border` mark in `losslessMarkdownToAdf`, and have `adfToLosslessMarkdown` carry text holding one.** | 2 | 1 | 2 | 3 | 3 | 4 by 3 | 4.6 | | 91 | 0.3.0 | 95 | | **Spell an emphasis once across the code spans, an emphasis or link once across the hard breaks, dates, emoji, inline cards, mentions and statuses between two nodes it marks, and an emphasis across inline media, in both writers.** | 3 | 2 | 2 | 5 | 5 | 6 by 6 | 3.6 | -| 73 | 0.3.0 | 33, 62, 91, 92, 95, 102, 109, 115, 122, 123, 125 | | **Announce the package where someone needing an ADF converter already reads: JRACLOUD-77436, the Atlassian developer community and Stack Overflow's ADF-to-markdown questions.** | 1 | 2 | 2 | 3 | 2 | 3 by 8 | 16.9 | +| 73 | 0.3.0 | 33, 62, 91, 95, 102, 109, 115, 122, 123, 125 | | **Announce the package where someone needing an ADF converter already reads: JRACLOUD-77436, the Atlassian developer community and Stack Overflow's ADF-to-markdown questions.** | 1 | 2 | 2 | 3 | 2 | 3 by 8 | 16.9 | | 75 | 0.4.0 | | | **Make the generated-markdown property write block carries as `adf:` fences, canonical and hostile.** | 1 | 1 | 1 | 1 | 2 | code health by 2 | 17.4 | | 45 | 0.4.0 | | defect | **Replace `isAdfDocument` with a reader returning `Result`.** | 2 | 1 | 3 | 4 | 3 | 1 by 2 | 13.1 | | 68 | 0.4.0 | | defect | **Carry a non-text inline node holding `content` or `text`, a block holding `text`, and a leaf block holding `content`.** | 2 | 1 | 2 | 3 | 3 | 1 by 2 | 13.1 | @@ -58,15 +57,6 @@ ## Details -### 92. Lower the reading cost of the files a chunk reads most before its first commit. - -The last five chunks' median is 106412 new input tokens before their first commit, the five before -them 104037. Files read most over the last five chunks, counting opens and searches: `todo.md` 19, -`README.md` 18, `docs/decisions.md` 9, `CHANGELOG.md` 6, `MIGRATION.md` 6, -`src/conformance/commonmark-spec.test.ts` 6, `src/markdown/portable/inline-reduction.ts` 6, -`spec/flavour.md` 5, `src/markdown/portable/adf-to-portable-markdown.test.ts` 5, -`src/markdown/parse/inline-content.ts` 4. - ### 102. Place a block a portable task list refuses at its path in the returned document without replaying `splitTaskList` on stand-in nodes. `splitPath` (`src/markdown/parse/markdown-to-adf.ts`) builds stand-ins and `splitPlace`