book: Std pages, core and text #591

Open
opened 2026-10-29 14:25:45 +00:00 by orion · 6 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: prelude, core, number, text, collections, iteration, function-types, regex, random, time, identifier. Each replaces docs/standard-library/<module>.md.

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

Pages

Filed as child issues, each its own PR, all carrying loop; none is ready yet, they are made ready one after the other. The pages are independent (links only to pages already on main), so the order is a suggestion. The first slice also decides the order: front matter of the Std index.

  • std/prelude.md, std/core.md - #638 (PR #654 in review)
  • std/number.md - #639 (PR #655 in review)
  • std/text.md, std/identifier.md - #640 (PR #663 in review)
  • std/collections.md - #641
  • std/iteration.md, std/function-types.md - #642
  • std/regex.md, std/random.md - #643
  • std/time.md - #644

The old material of the eleven modules is about 121 KB, too much for one PR, so each child is one page or a small group of 2 pages. No other Std slice (#592 to #595) claims these modules.

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: `prelude`, `core`, `number`, `text`, `collections`, `iteration`, `function-types`, `regex`, `random`, `time`, `identifier`. Each replaces `docs/standard-library/<module>.md`. ## 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` ## Pages Filed as child issues, each its own PR, all carrying `loop`; none is `ready` yet, they are made ready one after the other. The pages are independent (links only to pages already on main), so the order is a suggestion. The first slice also decides the `order:` front matter of the Std index. - [ ] `std/prelude.md`, `std/core.md` - #638 (PR #654 in review) - [ ] `std/number.md` - #639 (PR #655 in review) - [ ] `std/text.md`, `std/identifier.md` - #640 (PR #663 in review) - [ ] `std/collections.md` - #641 - [ ] `std/iteration.md`, `std/function-types.md` - #642 - [ ] `std/regex.md`, `std/random.md` - #643 - [ ] `std/time.md` - #644 The old material of the eleven modules is about 121 KB, too much for one PR, so each child is one page or a small group of 2 pages. No other Std slice (#592 to #595) claims these modules.
Author
Collaborator

[loop:torbscript] intake: in scope (book std pages, slice of epic #582; dependency #585 is merged), no duplicate, no design-record collision, no seed impact. Next: refine (size check: 11 module pages in one PR is too large, split into one-page or small-group children).

[loop:torbscript] intake: in scope (book std pages, slice of epic #582; dependency #585 is merged), no duplicate, no design-record collision, no seed impact. Next: refine (size check: 11 module pages in one PR is too large, split into one-page or small-group children).
Author
Collaborator

[loop:torbscript] claim refine by session:loop-torbscript-20261030 until 2026-10-30T05:50Z

[loop:torbscript] claim refine by session:loop-torbscript-20261030 until 2026-10-30T05:50Z
Author
Collaborator

[loop:torbscript] release refine: the old material of the eleven modules is about 121 KB, too much for one PR; filed #638 (prelude, core), #639 (number), #640 (text, identifier), #641 (collections), #642 (iteration, function-types), #643 (regex, random), #644 (time), each one page or two, 30-40 minutes, with the criteria of this issue and its own Replaces in docs/ list. #591 now carries the checklist and no ready. All children carry loop and none is ready (made ready one after the other).

[loop:torbscript] next: waiting (children #638, #639, #640, #641, #642, #643, #644)

[loop:torbscript] release refine: the old material of the eleven modules is about 121 KB, too much for one PR; filed #638 (prelude, core), #639 (number), #640 (text, identifier), #641 (collections), #642 (iteration, function-types), #643 (regex, random), #644 (time), each one page or two, 30-40 minutes, with the criteria of this issue and its own `Replaces in docs/` list. #591 now carries the checklist and no `ready`. All children carry `loop` and none is `ready` (made ready one after the other). [loop:torbscript] next: waiting (children #638, #639, #640, #641, #642, #643, #644)
Author
Collaborator

[loop:torbscript] wait until 2026-10-30T09:00Z: #638 (PR #654) and #639 (PR #655) are in review, #640 to #644 stay unready. Seven PRs are open against a cap of eight and the forge CI queue is not draining (new runs sit queued for an hour or more), so another PR would only add to the backlog. Next: make #640 ready once two of the open PRs have merged or their CI has finished.

[loop:torbscript] wait until 2026-10-30T09:00Z: #638 (PR #654) and #639 (PR #655) are in review, #640 to #644 stay unready. Seven PRs are open against a cap of eight and the forge CI queue is not draining (new runs sit queued for an hour or more), so another PR would only add to the backlog. Next: make #640 ready once two of the open PRs have merged or their CI has finished.
Author
Collaborator

[loop:torbscript] wait until 2026-10-30T09:00Z: #638 (#654), #636 (#645), #605 (#637) are merged; #639 (PR #655) and #640 (PR #663) are in review, #641 to #644 stay unready. Four PRs are open and the forge CI queue still delays new runs by an hour or more. Next: make #641 ready once #655 or #663 has merged or its CI has finished.

[loop:torbscript] wait until 2026-10-30T09:00Z: #638 (#654), #636 (#645), #605 (#637) are merged; #639 (PR #655) and #640 (PR #663) are in review, #641 to #644 stay unready. Four PRs are open and the forge CI queue still delays new runs by an hour or more. Next: make #641 ready once #655 or #663 has merged or its CI has finished.
Author
Collaborator

[loop:torbscript] wait until 2026-10-30T09:00Z: #639 (PR #655) is merged; #640 (PR #663) is in review, #641 (PR #675) is open, #642 has a worker; #643 and #644 stay unready. Next: make #643 ready once #663 or #675 has merged.

[loop:torbscript] wait until 2026-10-30T09:00Z: #639 (PR #655) is merged; #640 (PR #663) is in review, #641 (PR #675) is open, #642 has a worker; #643 and #644 stay unready. Next: make #643 ready once #663 or #675 has 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#591
No description provided.