Skip to content

docs: rewrite the archive TODO section, pruning superseded notes - #456

Merged
helly25 merged 3 commits into
mainfrom
docs/todo-archive-rewrite
Aug 11, 2026
Merged

docs: rewrite the archive TODO section, pruning superseded notes#456
helly25 merged 3 commits into
mainfrom
docs/todo-archive-rewrite

Conversation

@helly25

@helly25 helly25 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Two problems in one section, both mine.

Structure. My sub-bullets used 4-6 space indents, which prettier reads as continuation prose rather than list items - so ~23 intended bullets had been reflowed into run-on lines (...split point. - **NEXT SLICE...). Rewritten with at most two bullet levels: top level at column 0, children at exactly 2 spaces, long explanations as continuation paragraphs at 4. That is a shape prettier preserves.

A mechanical re-split was tried first and discarded: splitting on " - "cut sentences in half, because that sequence is also a spaced-hyphen separator in prose. It scored perfectly against the checks I had written - zero joined bullets, stabletrunk fmt` - while the text had become nonsense. The checks were measuring the wrong property, so this rewrite was verified by reading it.

Content. Pruned what later decisions superseded - 129 lines out, 95 in:

  • the long "member-path spelling is TBD, here are the candidate conventions" debate, now that both flags shipped (kept as one decision statement);
  • the separate "correcting an earlier note" entries about the URI authority rule and about / being lossy - the erroneous claims are gone, so their corrections have nothing left to correct;
  • the nine-method "NEXT SLICE, mapped onto the seam" mapping, now that the backend exists (feat(#83): archive VFS backend - read-only FileSystem over one container #455), replaced by what its tests actually pin;
  • duplicated statements of the concatenation / first-separator rules.

Kept whole: the libarchive decision and NOTICE obligations, the ratified --archive/-z surface and flavor defaults, dual container identity, --archive-depth, detection and sniff-gating, read-only member semantics, and the two genuinely OPEN items (per-format schemes + AUTO separator, phar) - each now naming its task (#177, #176).

Also fixes one more joined bullet outside this section (the span-diagram entry), same cause.

Verified: zero joined bullets, trunk fmt idempotent, hooks clean. Docs only.

Not armed - queues behind #450 and #455.

Two problems in one section, both mine.

STRUCTURE: my sub-bullets used 4-6 space indents, which prettier reads as
continuation PROSE rather than list items, so ~23 intended bullets were reflowed
into run-on lines ("...split point. - **NEXT SLICE..."). Rewritten with at most
two bullet levels - top level at column 0, children at exactly 2 spaces, long
explanations as continuation paragraphs at 4 - which is a shape prettier keeps.

A mechanical re-split was tried first and DISCARDED: splitting on " - `" cut
sentences in half, because that sequence is also a spaced-hyphen separator in
prose. It scored perfectly on the checks I had written ("0 joined bullets", stable
trunk fmt) while the text had become nonsense - the checks were measuring the
wrong property, so this rewrite was verified by READING it.

CONTENT: pruned what later decisions had superseded, 129 lines out for 95 in:

- the long "member path spelling is TBD / here are the candidate conventions"
  debate, now that both flags have shipped - kept as one decision statement;
- the separate "correcting an earlier note" entries about the URI authority rule
  and about `/` being lossy - the erroneous claims themselves are gone, so the
  corrections have nothing to correct;
- the nine-method "NEXT SLICE, mapped onto the seam" mapping, now that the backend
  is built (#455) - replaced by what its tests actually pin;
- duplicate statements of the concatenation / first-separator rules.

Kept whole: the libarchive decision and NOTICE obligations, the ratified
--archive/-z control surface and flavor defaults, dual container identity,
--archive-depth, detection and sniff-gating, read-only member semantics, and the
two genuinely OPEN items (per-format schemes + AUTO separator, phar), each now
naming its task (#177, #176).

Also fixes one more joined bullet outside this section (the span-diagram entry),
same cause. `trunk fmt` is idempotent afterwards and zero joins remain.
@helly25
helly25 enabled auto-merge (squash) August 11, 2026 01:00
@helly25
helly25 merged commit b5c5d2d into main Aug 11, 2026
11 checks passed
@helly25
helly25 deleted the docs/todo-archive-rewrite branch August 11, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant