Skip to content

Keep figures measured on one machine off the site - #6487

Merged
max-sixty merged 1 commit into
mainfrom
drop-unsourced-site-data
Nov 19, 2026
Merged

max-sixty merged 1 commit into
mainfrom
drop-unsourced-site-data

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Removes the timings on How it works that came only from sessions on Max's machine: the Forks tab's three wait tiles (a median 35 s and 140 s at p90 for the session's first words, against 2.4 s for a fork's working line), the paragraph that cited notes/fork-replies.md for them, and the take diagram caption's single live run (4.0 s and 9.9 s). Nothing in the tree reproduces them. A sweep of docs/ and examples/ found no other figure of this kind: the examples' latencies belong to their fictional scenarios, and the other durations on How it works are limits the code enforces, such as the 30 s a line fork has to answer.

AGENTS.md's docs/ entry now states the rule: a figure the site gives about Leaf is one a reader can reproduce from the tree, and a measurement of sessions on one machine stays in notes/. In a six-run A/B revising the Forks opening from the note, no run added a number; without the rule 2 of 3 still cited the note's real-page measurements in words, and with it 0 of 3 did.

Max asked for it. tests/model/test_product_page.py passes.

This was written by Claude Code on behalf of max-sixty

The Forks tab of How it works opened with three tiles of waits measured
on the maintainer's own sessions (the session's first words in a thread,
a median 35 s and 140 s at p90, against 2.4 s for a fork's working line),
and the take diagram's caption quoted one live run (the line at 4.0 s,
the answer at 9.9 s). Nothing in the tree reproduces those numbers; they
came from logs on one machine, recorded in notes/fork-replies.md. This
removes both, with the paragraph that cited the note for the tiles. The
note stays linked from "Where each rule is written".

A sweep of docs/ and examples/ found no other measurement of this kind:
the examples' latencies and counts belong to their fictional scenarios,
and the remaining durations on How it works are rules the code enforces,
such as the 30 s a line fork has to answer.

AGENTS.md's entry for docs/ now says a figure the site gives about Leaf
is one a reader can reproduce from the tree, and a measurement of
sessions on one machine stays in notes/. An A/B of six headless runs
revising the Forks opening from the note ($11.3): no run in either arm
added a number; without the rule, 2 of 3 still cited the note's
real-page measurements ("tens of seconds", "measured on real pages"),
and with it none of 3 did.

> _This was written by Claude Code on behalf of max-sixty_
@max-sixty
max-sixty merged commit 0dfc4fb into main Nov 19, 2026
5 checks passed
@max-sixty
max-sixty deleted the drop-unsourced-site-data branch November 19, 2026 06:48
max-sixty added a commit that referenced this pull request Nov 19, 2026
…Forks topic (#6489)

How it works' Forks topic gains "Anatomy of a fork journey". It follows
one thread through every message Leaf, Claude Code and the forks
exchanged in a recorded run of the Claude Code agent journey (18 Nov,
Claude Code 2.1.328). The section has a timeline with a lane for each of
the user, Leaf, the line fork, the working fork and the main thread,
followed by each message in order. A coloured rule and tint on each
message say who wrote it: Claude Code, Leaf, a model or the user.

Leaf's own messages are written from the current code with the run's
recorded batches (`dev/leaf_dev/fork-journey.json`), so they stay
current. The current code reproduces the run's three deliveries and its
line prompt exactly. Only the timings, Claude Code's text and the
models' answers are as recorded. The line, work and resume prompt slots
moved into the section, so each prompt shows once. The take's sequence
diagram stays. Two strings gained a function so the docs can render
them: `hook_transport.inline_context`, now the one place a hook's inline
delivery is composed, and `forks._given_line`.

**To weigh:** the recorded paths are the journey's
`/private/var/folders/…` scratch page, which the lede says. The timings
are one run on your machine. `AGENTS.md`'s rule for `docs/` (#6487)
admits a figure from checked-in data, which `fork-journey.json` is, and
here the seconds place one run's events rather than state how fast Leaf
is. With #6497 merged, the work and resume previews show the delivery as
the fenced block the fork reads, and `inline_context` writes it with
`json_block`.

Max asked for this after reading the same messages on a Leaf page: "a
really really useful way to see the messages … can we consider having
this as a part of How It Works on the Fork page with 'Anatomy of a Fork
Journey'". Reviewed from light, dark and phone captures, which led to
fitting the queued-lines box to its text, and by a reviewer who hadn't
seen the work.

Tests: both `test_product_page.py` files, `tests/model/test_forks.py`,
`test_hooks.py`, `test_session_lifecycle.py`. `page check` is clean.

> _This was written by Claude Code on behalf of max-sixty_
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.

2 participants