docs(book): tools checking and formatting #810
No reviewers
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language!810
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/795-tools-checking-formatting"
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?
Adds
book/tools/checking-and-formatting.md: whattorb checkreports and how a diagnostic reads, the one layouttorb formatwrites with--check, the style rules oftorb lintwith--fix, andtorb renamefor fields. Every console transcript is the real output oftorbon one small stock project; thetrb runandtrb errorblocks were run (VM) and checked withtorb docs check book. The nine lint rule names are the onestorb lint --helplists on main (the old page's unbuilt rule is not on the page).book/tools/index.mdis regenerated withtorb docs index book. Checked locally:torb docs check book --no-native,torb docs index --check book,torb docs site book --check,torb docs skill docs skills --check. The machine has no C compiler, so CI runs thetrb runblocks natively.Old pages:
docs/tooling/torb-format.md,torb-lint.md,torb-check.mdandtorb-rename.mdare kept indocs/, unpublished, because the generatedtorbscriptskill carries all ofdocs/tooling/(skills/torbscript/references/tooling/) and agents need their complete detail: the formatter canon and width rules, every lint rule with its fix conditions, the checker flags and workspace lookup, and the rename refusals. The book page is the short, example-led version and is not an input of the skills.docs/tooling/torb-canon.mddoes not exist on main. No other book page changed.Closes #795
Not mergeable on
4e193dd: conflict inbook/tools/index.md(main moved withdocs(book): tools testing), rebase and resolve.4e193ddf2b4f2620a8b4Approved at
4f2620a(rebased onto main9b2292c; the earlier conflict inbook/tools/index.mdis resolved, mergeable).book/tools/checking-and-formatting.mdplus its generated line inbook/tools/index.md; no other book page touched.docs/design/CONCEPT.mdreferences, no Related/See also section; the only link isindex.md, which exists on main.docs/tooling/and unpublished, with the reason in the PR body.skills/torbscript/references/tooling/on main does carrytorb-check/format/lint/rename.md, so the exception to "delete the old pages" is justified.Non-blocking: the
textblock of the unformatted file is the only non-run example; fine as a before-state, no change needed.