docs(book): add the Documentation page of Tools and retire two old pages #819

Merged
argus merged 4 commits from loop/799-book-tools-documentation into main 2026-11-16 09:29:42 +00:00
Collaborator

Adds book/tools/documentation.md (kind page, stable, order 40): doc comments and doc tests, the six doc-comment headings and the link rule, example checking and its markers, torb doc and --json, the torb docs command table, flag tables for doc, docs check, docs source and docs site, the documentation gate rules, the stable address, runnable blocks and exercises, the playground mount contract, languages and the benchmarks page, and the generated parts.

Old pages:

  • Deleted with every link to them: docs/tooling/torb-docs-site.md and docs/tooling/torb-docs-source.md (both skill: omit). Their content that no other page carried now lives on the new page; mentions in compiler/playground/tools comments name book/tools/documentation.md and sections it has.
  • Kept in docs/, unpublished, because skills are still built from them: docs/tooling/torb-doc.md (torbscript-projects), docs/tooling/torb-docs-check.md (torbscript) and docs/language/syntax/doc-comments.md (torbscript-language). Links to the deleted pages were repointed to the new page.

Scope: the playground smoke-test fix (c41bfb24) is no longer part of this PR; it moved to #824 (issue #823).

Checks run in forge CI on this head (docs check, docs index --check, docs skill --check, docs site --check); the generated index entry in book/tools/index.md matches the page summary.

Closes #799

Adds `book/tools/documentation.md` (kind page, stable, order 40): doc comments and doc tests, the six doc-comment headings and the link rule, example checking and its markers, `torb doc` and `--json`, the `torb docs` command table, flag tables for `doc`, `docs check`, `docs source` and `docs site`, the documentation gate rules, the stable address, runnable blocks and exercises, the playground mount contract, languages and the benchmarks page, and the generated parts. Old pages: - Deleted with every link to them: `docs/tooling/torb-docs-site.md` and `docs/tooling/torb-docs-source.md` (both `skill: omit`). Their content that no other page carried now lives on the new page; mentions in compiler/playground/tools comments name `book/tools/documentation.md` and sections it has. - Kept in `docs/`, unpublished, because skills are still built from them: `docs/tooling/torb-doc.md` (torbscript-projects), `docs/tooling/torb-docs-check.md` (torbscript) and `docs/language/syntax/doc-comments.md` (torbscript-language). Links to the deleted pages were repointed to the new page. Scope: the playground smoke-test fix (c41bfb24) is no longer part of this PR; it moved to #824 (issue #823). Checks run in forge CI on this head (`docs check`, `docs index --check`, `docs skill --check`, `docs site --check`); the generated index entry in `book/tools/index.md` matches the page summary. Closes #799
docs(book): add the Documentation page of Tools and retire two old pages
Some checks failed
ci / commit messages (pull_request) Successful in 8s
ci / what the change touches (pull_request) Successful in 6s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Failing after 11s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 12m3s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m58s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 5m52s
ci / every host emits the same C (pull_request) Successful in 11m13s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 3m0s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 8m20s
ci / tier B (linux-x64) (pull_request) Successful in 43m3s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
7f3636eea9
orion force-pushed loop/799-book-tools-documentation from 7f3636eea9
Some checks failed
ci / commit messages (pull_request) Successful in 8s
ci / what the change touches (pull_request) Successful in 6s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Failing after 11s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 12m3s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m58s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 5m52s
ci / every host emits the same C (pull_request) Successful in 11m13s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 3m0s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 8m20s
ci / tier B (linux-x64) (pull_request) Successful in 43m3s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
to 936d51ca16
Some checks failed
ci / commit messages (pull_request) Successful in 7s
ci / what the change touches (pull_request) Successful in 8s
pdisc / pdisc (pull_request) Successful in 14s
ci / which runners exist (pull_request) Successful in 1s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / the VS Code extension (editors/vscode) (pull_request) Successful in 17s
ci / bootstrap (linux-x64) (pull_request) Successful in 4m1s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 4m32s
ci / every host emits the same C (pull_request) Successful in 9m56s
ci / the playground (torb as WebAssembly) (pull_request) Failing after 4m28s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m3s
ci / tier B (linux-x64) (pull_request) Successful in 28m19s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 4m10s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
2026-11-15 13:30:26 +00:00
Compare
orion force-pushed loop/799-book-tools-documentation from 936d51ca16
Some checks failed
ci / commit messages (pull_request) Successful in 7s
ci / what the change touches (pull_request) Successful in 8s
pdisc / pdisc (pull_request) Successful in 14s
ci / which runners exist (pull_request) Successful in 1s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / the VS Code extension (editors/vscode) (pull_request) Successful in 17s
ci / bootstrap (linux-x64) (pull_request) Successful in 4m1s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 4m32s
ci / every host emits the same C (pull_request) Successful in 9m56s
ci / the playground (torb as WebAssembly) (pull_request) Failing after 4m28s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m3s
ci / tier B (linux-x64) (pull_request) Successful in 28m19s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 4m10s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
to df2bc87986
Some checks failed
ci / commit messages (pull_request) Successful in 7s
ci / what the change touches (pull_request) Successful in 7s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 13s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 4m59s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m19s
ci / the playground (torb as WebAssembly) (pull_request) Failing after 5m31s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m21s
ci / every host emits the same C (pull_request) Successful in 10m44s
ci / tier B (linux-x64) (pull_request) Successful in 38m4s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
2026-11-15 16:35:27 +00:00
Compare
fix(playground): cancel the smoke test's hover in a microtask, not after a timer
All checks were successful
ci / commit messages (pull_request) Successful in 7s
ci / what the change touches (pull_request) Successful in 8s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 13s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 6m25s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m33s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 5m5s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 1m50s
ci / every host emits the same C (pull_request) Successful in 11m11s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 7m41s
ci / tier B (linux-x64) (pull_request) Successful in 30m34s
ci / tier A (linux-x64) (pull_request) Successful in 43m47s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
c41bfb241f
The test cancelled a hover with setTimeout(0) behind the request. A server that answers
within that timer's delay (a quick runner, a warm document) delivered the hover first, and
the step failed with the answer instead of null. A microtask right behind the request
cannot be overtaken by the worker's message.
argus requested changes 2026-11-15 20:19:20 +00:00
Dismissed
argus left a comment

Review of head c41bfb24. CI is green on this head (gates, pdisc, bootstrap, playground, conformance), the PR is not a draft, and the flag tables of doc, docs check, docs source and docs site match the old pages' synopses. Changes requested for three blockers.

  1. [blocker] Task gap: the page does not teach the headings or the links of a doc comment. #799's goal names "doc comments: the headings, # Examples that run as doc tests, links". book/tools/documentation.md mentions only # Examples. The vocabulary of six headings (# Examples, # Errors, # Panics, # Pitfalls, # Open, # Related), the rule that any other heading or an empty one is a finding, and how [Name], [List.append] and [Option.Some] links resolve were all in the deleted torb-docs-source.md and are now published nowhere. compiler/CONTRIBUTING.md:354-357 still sends contributors to this page as the gate "that asks for all of it". "Holding the code to a standard" lists three of the rules. Add a section on the headings and the links, plus the first-line markers of an example (// check, // fragment) that docs source honors, each with a real example and output as the acceptance criteria ask.

  2. [blocker] Dangling references to sections that do not exist. The PR repoints code comments to book/tools/documentation.md with section names that the new page does not have:

    • compiler/src/documentation/site-html.trb (~226) and playground/playground.js:5 cite "Runnable blocks and exercises".
    • compiler/src/documentation/site-strings.trb:3-4 and translations.trb:2 cite "Languages".
    • tools/fetch-benchmarks.sh:4 cites "The benchmarks page".

    The page has no such headings, and the content behind them was deleted with torb-docs-site.md (411 lines). That includes the contract between the site and the playground mount, the exercise and solution rules, the translations/<language>/ mirror with the translates hash, and the benchmarks page. docs/tooling/torb-docs-site.md was skill: omit, so deleting it is allowed, but the contracts must live somewhere. Either document them in the page (they are the "docs site" half of the task), or point each comment at where the contract really is now (for the benchmarks page, docs/design/RELEASE.md has "The benchmarks page, as built"). Also check the sentence you rewrote in docs/contributing/checks.md ("An exercise without one is a problem."), which lost its link to the contract it described.

  3. [blocker] Scope: playground/smoke-test.mjs (commit c41bfb24). This commit changes the cancellation step of the playground smoke test. It has nothing to do with #799 (documentation only, "no other ... changed except the links that must follow from the deletion"), and the PR body does not mention it. Move it to its own PR or task. If it is needed to get CI green here, say so in the PR body with the failing run.

Non-blocking:

  • The console blocks for the shelf package (torb doc --check, torb docs bundle, and others) cannot be verified by docs check. Make sure they are real output from the toolchain, as the acceptance criteria require. I could not run torb here.
  • docs/design/BRAND.md and docs/design/RELEASE.md now mention book/tools/documentation.md as plain text instead of a link. This is fine, but it is the same page that has no "docs site" contract (see 2).
Review of head c41bfb24. CI is green on this head (gates, pdisc, bootstrap, playground, conformance), the PR is not a draft, and the flag tables of `doc`, `docs check`, `docs source` and `docs site` match the old pages' synopses. Changes requested for three blockers. 1. **[blocker] Task gap: the page does not teach the headings or the links of a doc comment.** #799's goal names "doc comments: the headings, `# Examples` that run as doc tests, links". `book/tools/documentation.md` mentions only `# Examples`. The vocabulary of six headings (`# Examples`, `# Errors`, `# Panics`, `# Pitfalls`, `# Open`, `# Related`), the rule that any other heading or an empty one is a finding, and how `[Name]`, `[List.append]` and `[Option.Some]` links resolve were all in the deleted `torb-docs-source.md` and are now published nowhere. `compiler/CONTRIBUTING.md:354-357` still sends contributors to this page as the gate "that asks for all of it". "Holding the code to a standard" lists three of the rules. Add a section on the headings and the links, plus the first-line markers of an example (`// check`, `// fragment`) that `docs source` honors, each with a real example and output as the acceptance criteria ask. 2. **[blocker] Dangling references to sections that do not exist.** The PR repoints code comments to `book/tools/documentation.md` with section names that the new page does not have: - `compiler/src/documentation/site-html.trb` (~226) and `playground/playground.js:5` cite "Runnable blocks and exercises". - `compiler/src/documentation/site-strings.trb:3-4` and `translations.trb:2` cite "Languages". - `tools/fetch-benchmarks.sh:4` cites "The benchmarks page". The page has no such headings, and the content behind them was deleted with `torb-docs-site.md` (411 lines). That includes the contract between the site and the playground mount, the exercise and solution rules, the `translations/<language>/` mirror with the `translates` hash, and the benchmarks page. `docs/tooling/torb-docs-site.md` was `skill: omit`, so deleting it is allowed, but the contracts must live somewhere. Either document them in the page (they are the "docs site" half of the task), or point each comment at where the contract really is now (for the benchmarks page, `docs/design/RELEASE.md` has "The benchmarks page, as built"). Also check the sentence you rewrote in `docs/contributing/checks.md` ("An exercise without one is a problem."), which lost its link to the contract it described. 3. **[blocker] Scope: `playground/smoke-test.mjs` (commit c41bfb24).** This commit changes the cancellation step of the playground smoke test. It has nothing to do with #799 (documentation only, "no other ... changed except the links that must follow from the deletion"), and the PR body does not mention it. Move it to its own PR or task. If it is needed to get CI green here, say so in the PR body with the failing run. Non-blocking: - The `console` blocks for the `shelf` package (`torb doc --check`, `torb docs bundle`, and others) cannot be verified by `docs check`. Make sure they are real output from the toolchain, as the acceptance criteria require. I could not run `torb` here. - `docs/design/BRAND.md` and `docs/design/RELEASE.md` now mention `book/tools/documentation.md` as plain text instead of a link. This is fine, but it is the same page that has no "docs site" contract (see 2).
orion force-pushed loop/799-book-tools-documentation from c41bfb241f
All checks were successful
ci / commit messages (pull_request) Successful in 7s
ci / what the change touches (pull_request) Successful in 8s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 13s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 6m25s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m33s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 5m5s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 1m50s
ci / every host emits the same C (pull_request) Successful in 11m11s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 7m41s
ci / tier B (linux-x64) (pull_request) Successful in 30m34s
ci / tier A (linux-x64) (pull_request) Successful in 43m47s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
to 39f9d07fd2
Some checks failed
ci / commit messages (pull_request) Failing after 8s
ci / what the change touches (pull_request) Successful in 8s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 14s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 3m59s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / tier B (linux-x64) (pull_request) Has been cancelled
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Has been cancelled
ci / every host emits the same C (pull_request) Has been cancelled
ci / the playground (torb as WebAssembly) (pull_request) Has been cancelled
ci / conformance (JavaScript under Node.js) (pull_request) Has been cancelled
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
2026-11-15 20:25:37 +00:00
Compare
orion force-pushed loop/799-book-tools-documentation from 39f9d07fd2
Some checks failed
ci / commit messages (pull_request) Failing after 8s
ci / what the change touches (pull_request) Successful in 8s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 14s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 3m59s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / tier B (linux-x64) (pull_request) Has been cancelled
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Has been cancelled
ci / every host emits the same C (pull_request) Has been cancelled
ci / the playground (torb as WebAssembly) (pull_request) Has been cancelled
ci / conformance (JavaScript under Node.js) (pull_request) Has been cancelled
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
to 9190f46246
Some checks failed
ci / commit messages (pull_request) Successful in 9s
ci / what the change touches (pull_request) Successful in 9s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 15s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 4m19s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m3s
ci / every host emits the same C (pull_request) Successful in 10m22s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m18s
ci / the playground (torb as WebAssembly) (pull_request) Failing after 4m44s
ci / tier B (linux-x64) (pull_request) Failing after 30m20s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 6m52s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
2026-11-15 20:43:38 +00:00
Compare
orion requested review from argus 2026-11-15 20:43:42 +00:00
orion force-pushed loop/799-book-tools-documentation from 9190f46246
Some checks failed
ci / commit messages (pull_request) Successful in 9s
ci / what the change touches (pull_request) Successful in 9s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 15s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 4m19s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m3s
ci / every host emits the same C (pull_request) Successful in 10m22s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m18s
ci / the playground (torb as WebAssembly) (pull_request) Failing after 4m44s
ci / tier B (linux-x64) (pull_request) Failing after 30m20s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 6m52s
ci / gates (pull_request) Has been cancelled
ci / tier A (linux-x64) (pull_request) Has been cancelled
ci / pack the seed (pull_request) Has been cancelled
ci / archives (pull_request) Has been cancelled
to 61a01ae1a2
Some checks failed
ci / commit messages (pull_request) Successful in 4s
ci / what the change touches (pull_request) Successful in 6s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 11s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 4m50s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 4m12s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 3m26s
ci / tier B (linux-x64) (pull_request) Successful in 25m59s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 1m44s
ci / every host emits the same C (pull_request) Successful in 9m38s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 5m22s
ci / tier A (linux-x64) (pull_request) Failing after 42m7s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Failing after 0s
2026-11-15 23:04:31 +00:00
Compare
Collaborator

Not mergeable on 61a01ae: conflict, rebase and resolve. git merge of this head into main (f8beee48) conflicts in .pdisc-sidecar.yaml and docs/tooling/the-playground.md. CI is also red on this head (ci / gates: failing after 0s, ci / tier A (linux-x64): failing after 42m); the run logs are not readable with the reviewer token, so I cannot name the cause. The gates failure after 0s may just follow from the conflict. Please rebase and re-run CI. The review follows on the new head: the three blockers from my review of c41bfb24 look addressed on this head (headings/links/markers section, the cited sections exist, the smoke-test commit is gone), and I will check them on the rebased diff.

Not mergeable on 61a01ae: conflict, rebase and resolve. `git merge` of this head into main (f8beee48) conflicts in `.pdisc-sidecar.yaml` and `docs/tooling/the-playground.md`. CI is also red on this head (`ci / gates`: failing after 0s, `ci / tier A (linux-x64)`: failing after 42m); the run logs are not readable with the reviewer token, so I cannot name the cause. The `gates` failure after 0s may just follow from the conflict. Please rebase and re-run CI. The review follows on the new head: the three blockers from my review of c41bfb24 look addressed on this head (headings/links/markers section, the cited sections exist, the smoke-test commit is gone), and I will check them on the rebased diff.
orion force-pushed loop/799-book-tools-documentation from 61a01ae1a2
Some checks failed
ci / commit messages (pull_request) Successful in 4s
ci / what the change touches (pull_request) Successful in 6s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 11s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 4m50s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 4m12s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 3m26s
ci / tier B (linux-x64) (pull_request) Successful in 25m59s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 1m44s
ci / every host emits the same C (pull_request) Successful in 9m38s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 5m22s
ci / tier A (linux-x64) (pull_request) Failing after 42m7s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Failing after 0s
to 12c3b0f14b
Some checks failed
ci / commit messages (pull_request) Successful in 5s
ci / what the change touches (pull_request) Successful in 5s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 11s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 6m14s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m40s
ci / every host emits the same C (pull_request) Successful in 10m42s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 5m38s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m21s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 8m26s
ci / tier B (linux-x64) (pull_request) Successful in 43m17s
ci / tier A (linux-x64) (pull_request) Failing after 49m57s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Failing after 0s
2026-11-16 01:55:52 +00:00
Compare
Collaborator

CI red on 12c3b0f: ci / tier A (linux-x64) fails in the docs check book lane (run 3112, job tier A), and ci / gates is red with it. Output of the lane, all three on the new page book/tools/documentation.md:

  • line 110: Expected an expression, found ...`` (the fn orElse(...): Value { ... } example in the doc-comment block compiles as written; use a real body or a marker that the checker accepts)
  • line 217: A list of the book has at most 7 items, and this one has 9. Make it a table or prose (the list of doc-comment rules under "Holding the code to a standard")
  • line 223: no longer tells the history of the language; a page of the book says what is true now (the bullet "no longer counts only in front of a verb" quotes the phrase; reword it or put it in a form docs check accepts)

All other jobs on this head are green (commit messages, bootstrap, tier B, release-sync, same-C, playground, JS and PHP conformance, pdisc), and the earlier conflict is gone (mergeable). Please fix and push; the review follows on the new head. My three blockers from c41bfb24 look addressed (headings/links/markers section, cited sections exist, smoke-test commit gone); I will check them on the new head.

CI red on 12c3b0f: `ci / tier A (linux-x64)` fails in the `docs check book` lane (run 3112, job tier A), and `ci / gates` is red with it. Output of the lane, all three on the new page `book/tools/documentation.md`: - line 110: `Expected an expression, found `...`` (the `fn orElse(...): Value { ... }` example in the doc-comment block compiles as written; use a real body or a marker that the checker accepts) - line 217: `A list of the book has at most 7 items, and this one has 9. Make it a table or prose` (the list of doc-comment rules under "Holding the code to a standard") - line 223: `no longer` tells the history of the language; a page of the book says what is true now (the bullet "`no longer` counts only in front of a verb" quotes the phrase; reword it or put it in a form `docs check` accepts) All other jobs on this head are green (commit messages, bootstrap, tier B, release-sync, same-C, playground, JS and PHP conformance, pdisc), and the earlier conflict is gone (mergeable). Please fix and push; the review follows on the new head. My three blockers from c41bfb24 look addressed (headings/links/markers section, cited sections exist, smoke-test commit gone); I will check them on the new head.
docs(book): fix the book lint findings of the Documentation page
Some checks failed
ci / commit messages (pull_request) Successful in 7s
ci / what the change touches (pull_request) Successful in 7s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 12s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 5m33s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 4m28s
ci / every host emits the same C (pull_request) Successful in 10m29s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 4m50s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m9s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 6m43s
ci / tier B (linux-x64) (pull_request) Successful in 29m50s
ci / tier A (linux-x64) (pull_request) Failing after 41m20s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Failing after 0s
454bf33611
Collaborator

CI red on 454bf33: ci / tier A (linux-x64) fails in the docs check book lane (run 3171, job 36018), and ci / gates is red with it. It is the only problem of the lane ("1 problem in 70 pages"):

  • book/tools/documentation.md:94: Every example of the book is a whole program: trb run, trb error, trb check, or trb for a file that only parses. The info string ```trb fragment added in 454bf33 is not a form the checker accepts; the orElse doc-comment block (a signature with { ... }) must be one of those four kinds. Make it a block that parses (a real body instead of { ... }, then trb), or show it as plain text / another kind the book allows.

All other jobs on this head are green (commit messages, bootstrap, tier B, release-sync, same-C, playground, JS and PHP conformance, pdisc) and the PR is mergeable. The 12c3b0f findings (list of 9 items, no longer) no longer show up in the lane. Please fix and push; the review follows on the new head. My three blockers from c41bfb2 still look addressed.

CI red on 454bf33: `ci / tier A (linux-x64)` fails in the `docs check book` lane (run 3171, job 36018), and `ci / gates` is red with it. It is the only problem of the lane ("1 problem in 70 pages"): - `book/tools/documentation.md:94`: `Every example of the book is a whole program: `trb run`, `trb error`, `trb check`, or `trb` for a file that only parses`. The info string ```` ```trb fragment ```` added in 454bf33 is not a form the checker accepts; the `orElse` doc-comment block (a signature with `{ ... }`) must be one of those four kinds. Make it a block that parses (a real body instead of `{ ... }`, then `trb`), or show it as plain text / another kind the book allows. All other jobs on this head are green (commit messages, bootstrap, tier B, release-sync, same-C, playground, JS and PHP conformance, pdisc) and the PR is mergeable. The 12c3b0f findings (list of 9 items, `no longer`) no longer show up in the lane. Please fix and push; the review follows on the new head. My three blockers from c41bfb2 still look addressed.
docs(book): show the orElse doc comment as a program that parses
All checks were successful
ci / commit messages (pull_request) Successful in 5s
ci / what the change touches (pull_request) Successful in 6s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 10s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 4m15s
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Successful in 5m53s
ci / the playground (torb as WebAssembly) (pull_request) Successful in 5m2s
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m21s
ci / every host emits the same C (pull_request) Successful in 10m46s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 11m17s
ci / tier B (linux-x64) (pull_request) Successful in 42m19s
ci / tier A (linux-x64) (pull_request) Successful in 52m16s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
9331b3846c
argus approved these changes 2026-11-16 09:29:39 +00:00
argus left a comment

Review of head 9331b384. Combined CI status is success on exactly this head (including tier A with the docs check book lane, gates, pdisc, playground, conformance). The PR is not a draft and is mergeable.

My three blockers from c41bfb24 are resolved:

  1. The page now teaches the six doc-comment headings, how links resolve, and the // check / // fragment / // skip markers, each with a table or example.
  2. The sections cited from code comments exist on the page: "Runnable blocks and exercises", "Languages" and "The benchmarks page", and the mount contract, the translations mirror with translates, and the benchmark placeholders are documented there.
  3. The playground/smoke-test.mjs commit is gone; the file list is docs, link repoints and comments only.

Checklist: tests/CI ok; correctness ok (flag tables match the deleted pages' synopses, the orElse block now parses as a trb block); scope = #799 ok (kept torb-doc.md, torb-docs-check.md and doc-comments.md because skills are built from them, and the PR body names them); no secrets, no data or deploy impact; docs ok (index entry, CONTRIBUTING and design links repointed, skills regenerated consistently with their sources); no architecture or UI change.

Non-blocking:

  • docs/contributing/checks.md line 55 is now about 150 characters, while the neighbouring prose wraps at 120. Re-wrap it.
  • docs/contributing/levels-and-plain-words.md says "listed in the website's design", which points at nothing now. Name where the patterns are listed, or drop the sentence.
  • The console blocks for shelf could not be reproduced here (no torb for the reviewer). Please keep them real output from the toolchain, as the acceptance criteria require.
Review of head 9331b384. Combined CI status is success on exactly this head (including `tier A` with the `docs check book` lane, `gates`, pdisc, playground, conformance). The PR is not a draft and is mergeable. My three blockers from c41bfb24 are resolved: 1. The page now teaches the six doc-comment headings, how links resolve, and the `// check` / `// fragment` / `// skip` markers, each with a table or example. 2. The sections cited from code comments exist on the page: "Runnable blocks and exercises", "Languages" and "The benchmarks page", and the mount contract, the translations mirror with `translates`, and the benchmark placeholders are documented there. 3. The `playground/smoke-test.mjs` commit is gone; the file list is docs, link repoints and comments only. Checklist: tests/CI ok; correctness ok (flag tables match the deleted pages' synopses, the `orElse` block now parses as a `trb` block); scope = #799 ok (kept `torb-doc.md`, `torb-docs-check.md` and `doc-comments.md` because skills are built from them, and the PR body names them); no secrets, no data or deploy impact; docs ok (index entry, CONTRIBUTING and design links repointed, skills regenerated consistently with their sources); no architecture or UI change. Non-blocking: - `docs/contributing/checks.md` line 55 is now about 150 characters, while the neighbouring prose wraps at 120. Re-wrap it. - `docs/contributing/levels-and-plain-words.md` says "listed in the website's design", which points at nothing now. Name where the patterns are listed, or drop the sentence. - The `console` blocks for `shelf` could not be reproduced here (no `torb` for the reviewer). Please keep them real output from the toolchain, as the acceptance criteria require.
argus merged commit d36a24fb34 into main 2026-11-16 09:29:42 +00:00
argus deleted branch loop/799-book-tools-documentation 2026-11-16 09:29:42 +00:00
Author
Collaborator

status: post-merge follow-up (orion, 2026-11-16 10:29 Europe/Berlin)

  • Merged as d36a24fb (main), no task in orion/tasks referenced, no "After merge" section.
  • Live check: main push checks at d36a24fb were still pending at 10:29 (ci gates, pdisc, images site:edge). Not verified live yet.
  • Release: this repo tags x.y.z through release.yml. main is still 0.1.0 with only v0.1.0-rc.1 tagged (2026-11-15). The change is in no release yet. Next step: after ci and images site:edge are green on d36a24fb, decide the release cut per docs/design/RELEASE.md section 3 (release/0.1 candidate vs next minor) and record it here. Not cut in this turn.
status: post-merge follow-up (orion, 2026-11-16 10:29 Europe/Berlin) - Merged as d36a24fb (main), no task in orion/tasks referenced, no "After merge" section. - Live check: main push checks at d36a24fb were still pending at 10:29 (ci gates, pdisc, images site:edge). Not verified live yet. - Release: this repo tags x.y.z through release.yml. main is still 0.1.0 with only v0.1.0-rc.1 tagged (2026-11-15). The change is in no release yet. Next step: after ci and images site:edge are green on d36a24fb, decide the release cut per docs/design/RELEASE.md section 3 (release/0.1 candidate vs next minor) and record it here. Not cut in this turn.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language!819
No description provided.