book: site pages (install, playground, agents, benchmarks) #597
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#599 book: retire the human pages of docs/
torbscript/language
#585 docs(book): a book for people, and the site built from it
torbscript/language
Reference
torbscript/language#597
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Slice of the epic #582. Starts after #585 (the concept, the vertical slice and the book gates) is merged. This issue is the container of the site pages; each step below is its own issue and its own PR, filed just in time. Governing note:
book/CONCEPT.md("How a page is written", "Where every old page goes"). Touches the seed: no (documentation only).Goal
Rework the pages of
book/site/that moved unchanged into the book:install.md,agents.md,play.md(taking overdocs/tooling/the-playground.md),benchmarks.md, and refresh the generated list ofindex.md. The site pages keep the kindsite(torb docs sitewrites them to the root of torb.dev).Steps
install.mdand the regeneratedsite/index.mdblockagents.md: for the person setting up an agent; the skill text stays inskills/(filed when #802 is merged; also fixes the staledocs/site/agents.mdmention indocs/contributing/the-skill.md)play.mdtakes overdocs/tooling/the-playground.md, which is deleted in the same PR unless a skill is still built from it (filed afteragents.md)benchmarks.md: filed only when a nightly has published a report to the forge releasebenchmarks(see "Benchmark numbers")Benchmark numbers
The numbers of
benchmarks.mdcome from the reportbenchmarks.json, which.forgejo/workflows/benchmarks.ymlbuilds in forge CI and publishes to the releasebenchmarks;tools/fetch-benchmarks.shhands it totorb docs site, and the page shows the report's own date and machine. The page is never written with numbers from a local run. State on 2026-11-14: the measure job completes (26 C and TorbScript measurements, the minimum is 24; nightly run 2695 on 2026-11-13, AMD EPYC-Genoa, 16 cores, gcc 13.3 -O2, Python 3.12.3, Node 24.21.0), but the publish step fails withthe forge answered 401: token signature is invalid(also run 2623), so nobenchmarksrelease exists and the page says "nothing measured yet". Thebenchmarks.mdstep is therefore ready only whenreleases/download/benchmarks/benchmarks.jsonexists, taken from a nightly that published it; a rework of the prose before then would have nothing to cite.Acceptance criteria
siteand is written asbook/CONCEPT.md, "How a page is written", says: the first paragraph says what the page covers, headings name ideas, prose first, no history, no internal references, no Related/Next sectionstrb runandtrb errorblock has itsoutputblock with the real output;torb docs check book,torb docs index --check bookandtorb docs site book --checkpass in CIbook/CONCEPT.mdthat the area touches are shown, not just nameddocs/this slice replaces are deleted in the same PR, unless a skill is still built from them (then they stay, unpublished, and the PR says which)install.mdsays the one command per system first, then how to check the install, then whattorb buildneedsagents.mdis for the person setting up an agent, not for the agent; the skill text itself stays inskills/benchmarks.mdcome from the benchmark run they cite, with its date and machine, published by a forge CI run to the releasebenchmarks[loop:torbscript] intake: in scope (book site pages, slice of epic #582; dependency #585 is merged), no duplicate, no seed impact. Next: refine (five pages; size check, benchmark numbers need a dated run).
[loop:torbscript] wait until 2026-10-30T09:00Z: refine is due (five site pages; benchmarks.md needs a dated benchmark run for its numbers, to be settled in refine). The book slice queue is full behind PRs #601, #663, #670.
[loop:torbscript] claim refine by session:loop-torbscript-20261114-0644 until 2026-11-15T00:15:00+01:00
[loop:torbscript] refine: cut #597 into a container and filed the first step as #802 (ready), next: implement #802
#597 is now the container with a checklist of four steps: install (#802), agents, play (takes over
docs/tooling/the-playground.md), benchmarks. Only the first step is filed; the others follow just in time.decided by the loop: five pages are too large for one PR (install 725 words, agents 804, play 298 plus a 2342-word page it replaces, benchmarks 1144 words with a generated block), so the cut is one page per PR, the same way #792 to #799 were cut. Step 1 is
install.mdtogether with the regeneratedsite/index.mdlist, one Conventional Commit; it replaces nothing indocs/. Duplicate search over open and closed issues ("install page", "site/install", "book: site") found no other issue for it.decided by the loop: the site pages keep
kind: site, notpageas the old criterion said, becausebook/site/index.mdandtorb docs sitedefine them as the pages written to the root of torb.dev. The container's criterion is corrected.decided by the loop: benchmark numbers come only from a dated forge CI run that published
benchmarks.jsonto the releasebenchmarks, and the page cites that report's date and machine. State today: the measure job passes (26 C and TorbScript measurements against the minimum of 24; run 2695 of 2026-11-13, AMD EPYC-Genoa, 16 cores, gcc 13.3 -O2, Python 3.12.3, Node 24.21.0, torb 0.1.0), but the publish step fails withthe forge answered 401: token signature is invalid(runs 2623 and 2695), so nobenchmarksrelease exists. Thebenchmarks.mdstep is filed and set ready only whenreleases/download/benchmarks/benchmarks.jsonexists. Fixing the publish token is CI and forge integration setup and outside this loop's actions; the loop reports it here and does not wait for it, because the other three steps do not depend on it.Links: new child #802 (label
ready, comment 12907). Run 2695 artifact: https://git.torb.dev/torbscript/language/actions/runs/2695/artifacts/2221.Tokens: about 0.9M for this refine run (read-only analysis in a worktree, no builds run locally, nothing touched in
seed/).[loop:torbscript] refine: next: waiting (container; step #802 is ready and runs on its own issue, the next step is filed when it has merged)
[loop:torbscript] refine: #802 is merged (closed 2026-11-14), so the next step is
agents.md(checklist item 2). It is filed as its own issue and refined when the ready buffer has room (4 are ready now: #799, #680, #664, #656); filing it earlier would only add a triaged item the full buffer cannot take. next: waiting (ready buffer full; file theagents.mdstep when fewer than 4 issues are ready)