docs: every command of torb has a page or a line that says it is internal #752

Closed
opened 2026-11-13 12:39:37 +00:00 by orion · 3 comments
Collaborator

Context

The command table of compiler/src/main.trb (lines 546-790) has commands that no page under docs/tooling/ describes: torb upgrade (not mentioned in the-torb-command.md either), torb natives, torb manifest, torb highlight, and the subcommands torb docs check, docs index, docs declarations, docs skill, docs bundle (only docs site and docs source have pages). torb docs check and torb docs index --check are CI gates that every contributor meets.

Source

  • Cleanup audit 2026-11 (#742), finding F9; the report is docs/project/2026-11-cleanup-audit.md.
  • Related: #596 (the Tools section of the book) reads from these pages.

Goal

A reader finds every command torb accepts: a page for each command a user runs, and one table in the-torb-command.md for the commands that exist for the toolchain's own tests (tokens, ast, parse, ir, natives, manifest, highlight), marked as internal and unstable.

Design record point

docs/design/CLI.md; docs/contributing/ (how a tooling page is written).

Acceptance criteria

  • Pages torb-upgrade.md and torb-docs-check.md (covering check, index, declarations, skill, bundle, or one page each) exist in the form of the other tooling pages
  • the-torb-command.md lists every command of the command table; the internal ones are in one table that says so
  • A test compares the command table with the tooling pages and fails for a command without a page or a line
  • torb docs check and torb docs index --check are green

Dependencies

None. If the torb canon removal lands first, its page is already gone.

Seed

None (documentation and one test).

Size

One PR, two commits (pages, then the test).

## Context The command table of `compiler/src/main.trb` (lines 546-790) has commands that no page under `docs/tooling/` describes: `torb upgrade` (not mentioned in `the-torb-command.md` either), `torb natives`, `torb manifest`, `torb highlight`, and the subcommands `torb docs check`, `docs index`, `docs declarations`, `docs skill`, `docs bundle` (only `docs site` and `docs source` have pages). `torb docs check` and `torb docs index --check` are CI gates that every contributor meets. ## Source - Cleanup audit 2026-11 (#742), finding F9; the report is `docs/project/2026-11-cleanup-audit.md`. - Related: #596 (the Tools section of the book) reads from these pages. ## Goal A reader finds every command `torb` accepts: a page for each command a user runs, and one table in `the-torb-command.md` for the commands that exist for the toolchain's own tests (`tokens`, `ast`, `parse`, `ir`, `natives`, `manifest`, `highlight`), marked as internal and unstable. ## Design record point `docs/design/CLI.md`; `docs/contributing/` (how a tooling page is written). ## Acceptance criteria - [ ] Pages `torb-upgrade.md` and `torb-docs-check.md` (covering `check`, `index`, `declarations`, `skill`, `bundle`, or one page each) exist in the form of the other tooling pages - [ ] `the-torb-command.md` lists every command of the command table; the internal ones are in one table that says so - [ ] A test compares the command table with the tooling pages and fails for a command without a page or a line - [ ] `torb docs check` and `torb docs index --check` are green ## Dependencies None. If the `torb canon` removal lands first, its page is already gone. ## Seed None (documentation and one test). ## Size One PR, two commits (pages, then the test).
Author
Collaborator

[loop:torbscript] claim implement by session:loop-torbscript-20261113 until 2026-11-13T18:55Z

[loop:torbscript] claim implement by session:loop-torbscript-20261113 until 2026-11-13T18:55Z
Author
Collaborator

PR #757 is open on loop/752-command-pages with two commits: the pages (torb-upgrade.md, torb-docs-check.md, the internal-commands table in the-torb-command.md, the index entries) and compiler/tests/command-pages.test.trb. Waiting for CI on the head; nothing was run locally because there is no torb binary in this container.

PR #757 is open on `loop/752-command-pages` with two commits: the pages (`torb-upgrade.md`, `torb-docs-check.md`, the internal-commands table in `the-torb-command.md`, the index entries) and `compiler/tests/command-pages.test.trb`. Waiting for CI on the head; nothing was run locally because there is no `torb` binary in this container.
Author
Collaborator

[loop:torbscript] release implement: worker run timed out after opening PR #757; PR stays, next: review

[loop:torbscript] release implement: worker run timed out after opening PR #757; PR stays, next: review
argus closed this issue 2026-11-13 18:09:29 +00:00
Sign in to join this conversation.
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.

Dependencies

No dependencies set

Reference
torbscript/language#752
No description provided.