Skip to content

Archive the review that found the copy-footprint bug - #11

Merged
PhillThomas merged 1 commit into
mainfrom
docs/review-copy-pair
Nov 28, 2026
Merged

PhillThomas merged 1 commit into
mainfrom
docs/review-copy-pair

Conversation

@PhillThomas

Copy link
Copy Markdown
Owner

What this is

docs/reviews/0001-copy-pair-sizing.md — the brief and the answer of the review that
found the bug #10 fixed, kept verbatim.

Why it is in the repo

#10 changed the sizing rule, the arithmetic of the L3 floor, the thread-shrink loop and
the wording of a note. Every one of those traces to this exchange, and if the exchange
is deleted the decisions survive only as a summary written afterwards, which reads like
invention. The archive is the difference between "the reviewer found the loop/floor
mismatch" and being able to show the paragraph where it did.

It also records what was rejected. The reviewer's own suggested test — "re-run at six
threads and see whether copy jumps" — cannot separate the two hypotheses, because the
copy pair's aggregate is 2 × 0.75 × L3 whatever the thread count. Keeping that, and
the measurement used instead (the cell is flat at 12.3 GB/s across 1, 2 and 5 threads
while the write beside it goes 19 → 145 → 210), is the useful half of the record.

What the reviewer ran

Nothing. The consult ran in zero-tool mode — Bash, Read, Write, Edit, Glob,
Grep, WebFetch and friends all denied — with the brief and the relevant code inlined
as text. What is in the file is the entirety of what it saw and said; nothing in it
refers to any machine or credential.

Contents

  • the header: what was acted on, what was rejected, and the reasons
  • the brief: the sizing module, CellPlan, l3(), oversized_note(), the runner's
    plan_for, the measured grid from the 25 MiB-L3 machine and the traffic arithmetic
  • the answer, unedited

Docs only. No behaviour changes.

Filed because acting on a review and then deleting it leaves the decision looking
invented: PR #10 changed the sizing rule, the L3 floor's arithmetic, the thread-shrink
loop and the wording of a note, all of it traceable to this exchange, and the reasoning
would otherwise survive only as a summary written after the fact.

It also records what was rejected and why -- in particular 're-run at six threads',
which cannot distinguish the two hypotheses because the copy pair's aggregate is
thread-invariant. The measurement that does is in the PR: the cell is flat across
thread counts while its neighbour scales 11x.

The reviewer runs with every tool denied and the brief inlined, so this file is the
entirety of what it saw and said; nothing here reaches back to any machine.
@PhillThomas
PhillThomas merged commit 2d00d19 into main Nov 28, 2026
4 checks passed
PhillThomas added a commit that referenced this pull request Nov 28, 2026
Archive the review that found the copy-footprint bug
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