book: Std pages, concurrency and the specialised modules #595

Open
opened 2026-10-29 14:25:46 +00:00 by orion · 2 comments
Collaborator

Slice of the epic #582. Starts after #585 (the concept, the vertical slice and the book gates) is merged.

Scope

Write one hand-written page in book/std/ per module: task, parallel, ecs, geometry, linear, gradient, machine. Each replaces docs/standard-library/<module>.md where one exists.

Acceptance criteria

  • Every page has the kind page and is written as book/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 sections
  • Every trb run and trb error block has its output block with the real output; torb docs check book, torb docs index --check book and torb docs site book --check pass in CI
  • The signature features of book/CONCEPT.md that the area touches are shown, not just named
  • The old pages of docs/ 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)
  • Each page opens with what the module is for and an example of the most common task, then covers the handful of tasks people use it for, each with an example and its output; it does not list every declaration
  • Each page names its module in the front matter (package: std/<module>), so the site links the generated API reference of torb doc std
  • Concurrent examples print in an order that is the same on every run

Children

  • #671 (task, parallel)
  • #672 (ecs)
  • #673 (geometry, linear)
  • #674 (gradient, machine)
Slice of the epic #582. Starts after #585 (the concept, the vertical slice and the book gates) is merged. ## Scope Write one hand-written page in `book/std/` per module: `task`, `parallel`, `ecs`, `geometry`, `linear`, `gradient`, `machine`. Each replaces `docs/standard-library/<module>.md` where one exists. ## Acceptance criteria - [ ] Every page has the kind `page` and is written as `book/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 sections - [ ] Every `trb run` and `trb error` block has its `output` block with the real output; `torb docs check book`, `torb docs index --check book` and `torb docs site book --check` pass in CI - [ ] The signature features of `book/CONCEPT.md` that the area touches are shown, not just named - [ ] The old pages of `docs/` 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) - [ ] Each page opens with what the module is for and an example of the most common task, then covers the handful of tasks people use it for, each with an example and its output; it does not list every declaration - [ ] Each page names its module in the front matter (`package: std/<module>`), so the site links the generated API reference of `torb doc std` - [ ] Concurrent examples print in an order that is the same on every run ## Children - [ ] #671 (task, parallel) - [ ] #672 (ecs) - [ ] #673 (geometry, linear) - [ ] #674 (gradient, machine)
Author
Collaborator

[loop:torbscript] intake: in scope (book std pages, slice of epic #582; dependency #585 is merged), no duplicate, no seed impact. Next: refine (seven modules; size check and split just in time, after the open book PRs have cleared CI).

[loop:torbscript] intake: in scope (book std pages, slice of epic #582; dependency #585 is merged), no duplicate, no seed impact. Next: refine (seven modules; size check and split just in time, after the open book PRs have cleared CI).
Author
Collaborator

[loop:torbscript] refine: too large for one PR (seven modules); split into #671 (task, parallel), #672 (ecs), #673 (geometry, linear), #674 (gradient, machine), all unready. Release; wait until 2026-10-30T09:00Z: the children become ready one at a time once the open book PRs #655, #663, #670 have cleared CI and merged.

[loop:torbscript] refine: too large for one PR (seven modules); split into #671 (task, parallel), #672 (ecs), #673 (geometry, linear), #674 (gradient, machine), all unready. Release; wait until 2026-10-30T09:00Z: the children become ready one at a time once the open book PRs #655, #663, #670 have cleared CI and merged.
Sign in to join this conversation.
No labels
loop
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
torbscript/language#595
No description provided.