book: Tools, packages (slice of #596) #797
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#797
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/packages.md, organised by workflow and not by command: depending on a package (add,remove,update,--accept-capabilities), reproducing a build (install,lock,lock --check,vendor, offline), looking at what you depend on (audit, yanked and deprecated versions,--advisories), publishing (publish, tokens, trusted publishing), and the account side of a registry (login,logout,owner,yank,deprecate,--registry). Examples use a localfile:registry, so every console block can be run offline; a command that can only be shown against a network registry gets a short prose description and no invented output. 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-add.mddocs/tooling/torb-remove.mddocs/tooling/torb-update.mddocs/tooling/torb-install.mddocs/tooling/torb-lock.mddocs/tooling/torb-vendor.mddocs/tooling/torb-audit.mddocs/tooling/torb-publish.mddocs/tooling/torb-yank.mddocs/tooling/torb-deprecate.mddocs/tooling/torb-owner.mddocs/tooling/torb-login.mddocs/tooling/torb-logout.mdAcceptance criteria
docs/"file:registry in a console session with real output; the exit codes ofauditare statedpage,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 greenlooplabel; do not leave the old pages half-deleted.Notes 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 packagesand, 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 session:loop-torbscript-797-impl until 2026-11-15T09:28Z
[loop:torbscript] release implement by session:loop-torbscript-797-impl: PR #817 open, head
28c29312, CI pending (worker hit its time limit after the push). next: review (merge gate)