spec: 010 Task 11.2 — the trailing newline on the last 14 files - #110
Merged
Conversation
P2-1, deferred from spec 011 so the banner diff contained nothing but banners, and landed here for the same reason in reverse: a whitespace-only sweep is safe when no content PR is in flight. 14 files, not the 17 the task recorded. Re-derived twice — once when the phase opened and again at the head this cut from, because the phase's own five PRs had edited 17 pages in between. Both returned 14: those edits were to link targets and headings, and none of them is a file's last line. The diff is provably nothing but newlines. Each file grew by exactly one byte, asserted as after == before + b"\n" before the next file was touched, and `git diff -U0` re-adds all 14 removed lines verbatim, compared as lists. A whitespace sweep is the one change nobody reads closely, which is the argument for asserting it rather than reviewing it. No line count in this spec moves. A page's length is len(text.splitlines()), which a trailing newline does not change — asserted per file. Under wc -l all 14 would have gained a line, which is the instrument design §16 finding 1 ruled out. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
iancooper
added a commit
that referenced
this pull request
Aug 22, 2026
…te-followup docs: the two blocks PR #110 made strict, and the check I merged past
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spec 010, Phase 11, Task 11.2 (P2-1). Whitespace only. 14 published pages gain one byte each; nothing a reader can see changes and no URL moves.
Deferred from spec 011 so the banner diff contained nothing but banners, and landed here for the same reason in reverse: a whitespace-only sweep is safe once no content PR is in flight.
14, not the 17 the task recorded
Re-derived twice — once when the phase opened, and again at the head this cut from, because the phase's own five PRs had edited 17 pages in between. Both returned 14: those edits were to link targets and headings, and none of them is a file's last line.
(Re-measuring at the ref you are cutting from is Phase 8's lesson — a figure right when written and wrong when used. Here it held, which is the cheap outcome of a cheap check.)
The diff is provably nothing but newlines
after == before + b"\n"before the next file was touched.git diff -U0re-adds all 14 removed lines verbatim — 14 removed, 14 added, compared as lists and equal.A whitespace sweep is the one change nobody reads closely, which is the argument for asserting it rather than reviewing it.
No line count in the spec moves
A page's length is
len(text.splitlines()), which a trailing newline does not change — asserted per file during the sweep. Underwc -lall 14 would have gained a line, which is exactly the instrument design §16 finding 1 ruled against.Gates
linkcheck 144 files, clean; pagelint 0 errors / 791 warnings / 143 pages;
--check-shape0;--check-redirects0 at 77 entries.🤖 Generated with Claude Code