Skip to content

Commit 5a17ff1

Browse files
committed
docs: make the orientation true again, for the next instance to inherit
Asked whether a fresh session would find the handover in order, and checked rather than answered. Most of it held — the test count, the version, the decision count, the two greps this file claims find nothing, the architecture tests. Four things did not. It still said "two releases so far"; there are three, and 0.12.0 is verified the same way the others were, from the published wheel rather than the working tree. The next-steps section named `--booklet` alone where decisions 55 and 56 belong beside it. And § 15's open questions were still listed as three, when half of q6 was answered on 2026-07-27 — and answered in a way that corrected q6's own estimate, which is worth inheriting: for a booklet it is a rotation, not a mirror; for `back_mirrored`, which is what remains, it really would be the single case distinction q6 predicted. The fourth is the addition that will save the most time. The habit "a probe that does not fire proves nothing" listed five instances; this session added four more, and they are the recurring kind. A length-preserving revert inside one second leaves Python running the mutated bytecode while git calls the tree clean. `pytest | tail` in an `&&` chain reports tail's exit code, which committed a red suite — the second time that has happened here. A refusal was written into `preflight`, which returns into `_document_preflight` for a document long before reaching it, so it could never fire. And `texts_um` read the text matrix while reportlab rotates through the CTM, so every rotated string had been reported upright at the origin. Not one of the nine was the code's fault.
1 parent 0993992 commit 5a17ff1

1 file changed

Lines changed: 33 additions & 8 deletions

File tree

‎docs/CLAUDE.md‎

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,12 @@ edge, so a tick now carries its position *and* its value separately. `unit` says
167167
**Two more things wait, and neither of them is code:**
168168

169169
- ~~**PyPI.**~~ **Published on 2026-07-26 — `ctrlgrid`, MIT, Python ≥ 3.11, wheel
170-
and sdist. Two releases so far: `v0.11.0`, the repository's first tag ever, and
171-
`v0.11.1` for the metadata it should have carried.** M1's first
170+
and sdist. Three releases so far: `v0.11.0`, the repository's first tag ever,
171+
`v0.11.1` for the metadata it should have carried, and **`v0.12.0`
172+
(2026-07-27)** — folded booklets, the turning edge, and a notebook section that
173+
carries out its blade's sheet plan. That one was verified the same way from the
174+
published wheel: a booklet built with `uvx --from ctrlgrid==0.12.0` comes out
175+
four sheet sides at 297.000 × 210.000 mm with a 1.000 mm line spacing.** M1's first
172176
acceptance criterion is met at last, and measured rather than assumed: `uvx
173177
ctrlgrid millimeter-a4 --pages 3 -o out.pdf` installs from the network and
174178
produces a sheet whose MediaBox reads 210.000 × 297.000 mm with a 1.000 mm line
@@ -448,9 +452,11 @@ this project runs on — claims are backed by a command's output, never asserted
448452

449453
**Nothing in the specification is unbuilt** — and since 2026-07-26 one thing is
450454
built that the specification never described: **`--booklet`**, saddle-stitch
451-
imposition (§ 14, decision 54). It was the only genuine gap in a document
452-
otherwise complete, and it is worth knowing why it was small: a booklet *is* a
453-
2×1 imposition, so it added an order and no geometry at all.
455+
imposition (§ 14, decision 54), with its turning edge (decision 56, 2026-07-27).
456+
It was the only genuine gap in a document otherwise complete, and it is worth
457+
knowing why it was small: a booklet *is* a 2×1 imposition, so it added an order
458+
and no geometry at all. Alongside it, decision 55 lifted the last of decision
459+
52's deliberately temporary refusals. All three shipped as **0.12.0**.
454460

455461
As of 2026-07-26 the tool is also
456462
*published* — the sessions since 0.9.0 audited it as a stranger meets it, read
@@ -471,7 +477,7 @@ supply:
471477

472478
| Waiting on | What |
473479
|---|---|
474-
| use | the three § 15 questions below, and 1.0.0 itself. The DSL can now meet someone other than the test suite, which is the one thing 1.0.0 has always been waiting for |
480+
| use | what is left of § 15's questions below — q2, q4 and the second half of q6 — and 1.0.0 itself. The DSL can now meet someone other than the test suite, which is the one thing 1.0.0 has always been waiting for |
475481
| an outside contributor | the empty `quirks` (decision 31) and the rM2's on-device check. **These are contribution slots, not tasks** — there is no rM2 here to measure, and the shipped figures come from reMarkable's own comparison page and match it exactly. Neither blocks anything; they turn into work if a user reports a real problem. Don't carry them in a status summary as though they were pending |
476482

477483
The scissors row is gone from this table because the scissors have been used —
@@ -506,6 +512,19 @@ Three habits earned their place the hard way and are worth keeping:
506512
Every one of them was about to be written up as a bug. **Before writing "X is
507513
not checked", make the probe fail on purpose.**
508514

515+
Four more joined them on 2026-07-26/27, and they are the ones most likely to
516+
recur: **the bytecode cache** — reverting a *length-preserving* edit inside the
517+
same second leaves Python running the mutated `.pyc` while git reports a clean
518+
tree, so clear `__pycache__` before believing a falsification; **`pytest | tail`
519+
in an `&&` chain** — the pipeline's exit code is `tail`'s, so a red suite
520+
committed itself (this is the second time that one has bitten; run pytest
521+
unpiped and read `$?`); **a refusal written on the wrong path** — it went into
522+
`preflight` when `preflight` returns into `_document_preflight` for a document
523+
long before reaching it, and only the test's DID NOT RAISE said so; and
524+
**`pdfread.texts_um` reading the text matrix alone** — reportlab rotates text
525+
through the CTM, so every rotated string had been reported upright at (0, 0),
526+
silently, with a docstring claiming otherwise.
527+
509528
A specific paper aeroplane was considered and **refused**: it is a drawing, not
510529
a structure, and § 2 rules out a drawing language.
511530

@@ -527,9 +546,15 @@ owner-confirmed a colour device, § 9.2.) If you are tempted to guess at a
527546
number, don't — that is exactly the failure mode `source`/`verified` exists to
528547
prevent. The seventh — the `staves` clef — is answered in § 15.3
529548
(embedded music font, built in M9), and it settled part of open question 2: for
530-
the music case, a font *is* shipped. The three that remain: whether a font must be shipped for non-Latin-1 names
549+
the music case, a font *is* shipped. What remains: whether a font must be shipped for non-Latin-1 names
531550
(q2), extra domain units like nib widths / `lpi` / rastral sizes (q4), and the
532-
short-edge duplex flip (q6). Each is cheap and each waits on real use rather
551+
**remaining half of q6** — the duplex turning edge. Half of that one is answered:
552+
`--booklet-flip` was built on 2026-07-27 (decision 56), and it corrected q6's own
553+
estimate, because a booklet needs a *rotation* and not a mirror. What is still
554+
open there is `back_mirrored` (§ 7.5), which assumes the long edge and names it;
555+
*there* it really would be the single case distinction q6 predicted, since only
556+
the pattern layer is mirrored and no sheet stands on its head. Each is cheap and
557+
each waits on real use rather
533558
than on a design answer — **q4 was put to the user in July 2026 while building
534559
the slanted families and deliberately left out**: the angle is what unlocks
535560
calligraphy guides and origami pre-creasing, the unit would be a convenience on

0 commit comments

Comments
 (0)