book: Tools, testing (slice of #596) #794
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.
Depends on
#792 book: Tools, the index and the torb command (slice of #596)
torbscript/language
Reference
torbscript/language#794
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 #596 (the Tools section), which is a slice of the epic #582. Starts after #792 (
tools/index.md) is merged: the section exists only with its index, and the index owns the overview, the CONCEPT table and the pointers to this page. The other Tools slices are independent of this one apart from that index. Governing note:book/CONCEPT.md("How a page is written", "What CI checks"). Touches the seed: no (documentation only; no syntax change, no native, no driver flag, no std name looked up by the compiler).Goal
Write
book/tools/testing.md: writing*.test.trbfiles and running them, what the report prints, filters, the JSON Lines report an editor reads, coverage andtest { coverageThreshold }, native test runs, and the commands to run before a change is done, in order (check,format --check,lint,test) as one short workflow. Read likebook/guide/first-project.mdandbook/std/fs.md: prose first, a real example with its output under every point, no template slots.Replaces in
docs/docs/tooling/torb-test.mddocs/tooling/verifying-your-work.mdAcceptance criteria
torb testare one table; the verify-your-work order is a short numbered list of at most seven stepspage,status: stable, front matter in the shape ofbook/guide/modelling-data.md(title,summary,order,keywords), and is written asbook/CONCEPT.md, "How a page is written", says: the first paragraph says in two to four sentences what the page covers, headings name ideas, prose first, no history words, no internal references (no issue numbers, no links intodocs/design,docs/contributing,docs/internals,CONCEPT.md), no Related/Next/See also sections, lists of at most seven items, every section starts with a sentence; links only to book pages that exist on maintrb runandtrb errorblock is followed by itsoutputblock with the real output (atrb errorblock shows whattorb checkprints, fromerror:on); no fragments, no// printscommentsconsoleblocks whose output is the real output of the command, run before it is pasted; wheretorb docs checkcan check a command's output it doesbook/CONCEPT.mdthat the area touches are shown, not just namedbook/tools/index.mdlists the page (generated block viatorb docs index book);torb docs check book,torb docs index --check bookandtorb docs site book --checkpass, andtools/gates.shpasses in CIdocs/" are deleted in the same PR unless a skill is still built from them (skills are generated bytorb docs skill docs skills): for every old page a skill still needs, it stays indocs/unpublished and the PR description names it and why; the others are deleted together with every link to them, and the skills are regenerated sodocs skill --checkstays greenNotes for the implementer
book/CONCEPT.md, a merged page of the book and the old pages above first; run every example withtorbbefore pasting its output. A behaviour that only an old page states and that you cannot reproduce is checked against the compiler, not copied. The old pages were checked against main on 2026-11-14: everytorbcommand has a page or is named internal.book/tools/index.md: rebase and runtorb docs index bookagain instead of resolving that block by hand.docs(book): tools testingand, if needed,docs: retire the pages the tools page replaces.[loop:torbscript] decided by the loop: ready. Goal, testable acceptance criteria (copied from #596 as they apply), the old pages it replaces, the book rules and the size (one PR) are stated; no seed impact (documentation only). It depends natively on #792 (the section exists only with its index page); the loop starts it when #792 is closed.
[loop:torbscript] claim implement by torbscript-794-impl until 2026-11-15T08:45:00Z
[loop:torbscript] release implement by torbscript-794-impl: PR #808 open, CI pending (4 checks queued, none red). next: review (merge gate)