docs(book): Tools, packages #817

Merged
argus merged 1 commit from loop/797-book-tools-packages into main 2026-11-15 11:03:14 +00:00
Collaborator

Closes #797

Adds book/tools/packages.md (kind page, status: stable, order 50) and regenerates the generated block of book/tools/index.md with torb docs index book. No other book page changes.

The page is organised by workflow and covers all 13 commands: add, remove, update, install, lock, vendor, audit, publish, yank, deprecate, owner, login, logout.

  • A dependency is a line and a pin: torb add, project.trb and project.lock.trb, a missing package and an unsolvable range.
  • Taking newer versions: update, a solver conflict, a version that gains capabilities (--accept-capabilities), remove.
  • The same build on every machine: install, lock, lock --check.
  • Looking at what you depend on: audit, an advisory file, and a table of the exit codes 0, 1 and 2.
  • A build that needs no network: vendor, --offline.
  • Publishing: --dry-run, the summary, the file: registry layout, the refusal of a published version, tokens and trusted publishing.
  • Accounts, owners and withdrawn releases: login, logout, owner, yank, deprecate.
  • One table with every flag (flag, commands, effect).

The console sessions are real output of the toolchain against a file: registry, built from the fixtures of tests/packages (json 1.0.0, 1.1.0, 1.2.0 and text 1.0.0). Commands that need a registry on the network (login, owner, trusted publishing) are described in prose and show no invented output.

Old pages kept

The old pages are not deleted. All 13 pages docs/tooling/torb-{add,remove,update,install,lock,vendor,audit,publish,yank,deprecate,owner,login,logout}.md are still carried by the skill torbscript-projects (<!-- carry: --> lines in docs/skills/torbscript-projects/SKILL.md), which is built from them. Deleting them would break the skill build, so they stay until that skill moves.

Checks run locally

  • torb docs check --no-native book: 63 pages, no problems (the native snippet run needs a C compiler that the worker does not have; CI runs it).
  • torb docs index --check book: 9 indexes up to date.
  • torb docs site book --check: no broken link.
  • tools/check-commits.sh origin/main HEAD and pdisc check: ok.

tools/gates.sh and docs skill --check are left to CI.

Closes #797 Adds `book/tools/packages.md` (kind `page`, `status: stable`, order 50) and regenerates the generated block of `book/tools/index.md` with `torb docs index book`. No other book page changes. The page is organised by workflow and covers all 13 commands: add, remove, update, install, lock, vendor, audit, publish, yank, deprecate, owner, login, logout. - A dependency is a line and a pin: `torb add`, `project.trb` and `project.lock.trb`, a missing package and an unsolvable range. - Taking newer versions: `update`, a solver conflict, a version that gains capabilities (`--accept-capabilities`), `remove`. - The same build on every machine: `install`, `lock`, `lock --check`. - Looking at what you depend on: `audit`, an advisory file, and a table of the exit codes 0, 1 and 2. - A build that needs no network: `vendor`, `--offline`. - Publishing: `--dry-run`, the summary, the `file:` registry layout, the refusal of a published version, tokens and trusted publishing. - Accounts, owners and withdrawn releases: `login`, `logout`, `owner`, `yank`, `deprecate`. - One table with every flag (flag, commands, effect). The console sessions are real output of the toolchain against a `file:` registry, built from the fixtures of `tests/packages` (json 1.0.0, 1.1.0, 1.2.0 and text 1.0.0). Commands that need a registry on the network (`login`, `owner`, trusted publishing) are described in prose and show no invented output. ## Old pages kept The old pages are not deleted. All 13 pages `docs/tooling/torb-{add,remove,update,install,lock,vendor,audit,publish,yank,deprecate,owner,login,logout}.md` are still carried by the skill `torbscript-projects` (`<!-- carry: -->` lines in `docs/skills/torbscript-projects/SKILL.md`), which is built from them. Deleting them would break the skill build, so they stay until that skill moves. ## Checks run locally - `torb docs check --no-native book`: 63 pages, no problems (the native snippet run needs a C compiler that the worker does not have; CI runs it). - `torb docs index --check book`: 9 indexes up to date. - `torb docs site book --check`: no broken link. - `tools/check-commits.sh origin/main HEAD` and `pdisc check`: ok. `tools/gates.sh` and `docs skill --check` are left to CI.
docs(book): Tools, packages
All checks were successful
ci / commit messages (pull_request) Successful in 5s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 12s
ci / what the change touches (pull_request) Successful in 7s
ci / which runners exist (pull_request) Successful in 2s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 10m21s
ci / tier B (linux-x64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / every host emits the same C (pull_request) Has been skipped
ci / the playground (torb as WebAssembly) (pull_request) Has been skipped
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 2m27s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 9m22s
ci / tier A (linux-x64) (pull_request) Successful in 52m4s
ci / pack the seed (pull_request) Has been skipped
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
28c29312ca
argus approved these changes 2026-11-15 11:03:10 +00:00
argus left a comment

Approved at 28c2931.

  • Tests/CI: combined status success for this head (gates, pdisc, commit messages, conformance, tier A, bootstrap); skipped jobs are path-filtered. Docs-only change, so the docs checks in the gate are the tests.
  • Correctness: all 13 commands of #797 are covered; flags and exit codes match the old docs/tooling/torb-*.md pages (audit 0/1/2, publish refusal, lock --check, --offline, --accept-capabilities); consoles use a file: registry and prose only for login/owner/trusted publishing.
  • Scope: only book/tools/packages.md and the generated block of book/tools/index.md; no other book page touched.
  • Old pages: kept, with the reason in the PR body. The skill torbscript-projects still carries all 13 via <!-- carry: --> (docs/skills/torbscript-projects/SKILL.md:8-11), so deleting them would break the skill build. This matches the exception in #797.
  • Security/data/architecture: no secrets (token only via stdin/env, never shown), no boundary change, no data impact.
  • Docs form: kind page, status: stable, front matter complete, first paragraph 3 sentences, no internal references or Related/Next sections, links only to existing pages (../guide/first-project.md, index.md); no INDEX.md in the diff.

Non-blocking:

  • The flag table lists --registry for login, logout, owner, yank and deprecate only; the old torb-publish.md also mentions a registry for publish, which the page covers through the project's registry line. Fine as is.
Approved at 28c2931. - **Tests/CI:** combined status success for this head (gates, pdisc, commit messages, conformance, tier A, bootstrap); skipped jobs are path-filtered. Docs-only change, so the docs checks in the gate are the tests. - **Correctness:** all 13 commands of #797 are covered; flags and exit codes match the old `docs/tooling/torb-*.md` pages (audit 0/1/2, publish refusal, `lock --check`, `--offline`, `--accept-capabilities`); consoles use a `file:` registry and prose only for `login`/`owner`/trusted publishing. - **Scope:** only `book/tools/packages.md` and the generated block of `book/tools/index.md`; no other book page touched. - **Old pages:** kept, with the reason in the PR body. The skill `torbscript-projects` still carries all 13 via `<!-- carry: -->` (docs/skills/torbscript-projects/SKILL.md:8-11), so deleting them would break the skill build. This matches the exception in #797. - **Security/data/architecture:** no secrets (token only via stdin/env, never shown), no boundary change, no data impact. - **Docs form:** kind `page`, `status: stable`, front matter complete, first paragraph 3 sentences, no internal references or Related/Next sections, links only to existing pages (`../guide/first-project.md`, `index.md`); no INDEX.md in the diff. Non-blocking: - The flag table lists `--registry` for login, logout, owner, yank and deprecate only; the old `torb-publish.md` also mentions a registry for publish, which the page covers through the project's `registry` line. Fine as is.
argus merged commit 7fa8ae3342 into main 2026-11-15 11:03:14 +00:00
argus deleted branch loop/797-book-tools-packages 2026-11-15 11:03:14 +00:00
Author
Collaborator

Post-merge check (Orion): book/tools/packages.md and the regenerated book/tools/index.md are on main at 7fa8ae334. The PR has no After-merge steps and no orion/tasks task is linked, so there is no task to close or relabel. Release: this is a docs-only change and the repo's last tag is v0.1.0-rc.1 (2026-11-15 04:04 UTC). Cutting a new version needs a version-bump PR (compiler/src/package/version.trb) with argus as reviewer and his merge before the tag, which cannot finish in this run. Next step for the next release cycle: include this change in the next version-bump PR.

Post-merge check (Orion): book/tools/packages.md and the regenerated book/tools/index.md are on main at 7fa8ae334. The PR has no After-merge steps and no orion/tasks task is linked, so there is no task to close or relabel. Release: this is a docs-only change and the repo's last tag is v0.1.0-rc.1 (2026-11-15 04:04 UTC). Cutting a new version needs a version-bump PR (compiler/src/package/version.trb) with argus as reviewer and his merge before the tag, which cannot finish in this run. Next step for the next release cycle: include this change in the next version-bump PR.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!817
No description provided.