lint: no configuration, every rule always runs #157
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?
Context
Owner decision on #2 (Torben, 2026-10-07): TorbScript has no configurable linting. Every program looks the same and is formatted the same; the format is part of the language.
torb formatalready has no option.torb lintstill lets a run leave rules out with--skip, and #2 proposed a manifest setting for it; both go against the decision.Goal
The lint rule set is fixed by the toolchain version: every rule runs on every program, and no project, file or command line can switch a rule off.
Acceptance criteria
torb lint --skipis removed (an unknown-flag error that names the decision is fine);compiler/src/lint/command.trband its tests follow--rule <id>stays only as a focus for one run (report or--fixa single rule, as intorb lint --fix --rule deprecated); its help text says it narrows the output and does not change what is validdocs/tooling/torb-lint.md(synopsis, "What is not decided" entry replaced by the decision),docs/tooling/the-torb-command.mdflag table,docs/design/PROJECT.md(non-goal: no lint or format settings), CONCEPT.md principle "the format is part of the language", generatedskills/Seed
Not expected (driver flag removed from the lint command, no syntax change, no native).
Size
One PR.
Replaces #2, which proposed the manifest setting.
[loop:torbscript] claim refine by session:loop-torbscript-20261008 until 2026-10-08T09:15:00Z
[loop:torbscript] refine: ready. In scope: the owner decision on #2 is recorded in the issue, so no open question. Checked against ROADMAP milestone 8 (
torb lintbuilt) and CONCEPT Open Questions (lint configuration is not listed). Code:--skiplives only incompiler/src/lint/command.trb(usage, help, parser) and the test "every rule runs unless --rule picks some, and --skip leaves one out" incompiler/tests/lint.test.trb; the docs hits aredocs/tooling/torb-lint.md(synopsis, flag table, "What is not decided"),docs/tooling/the-torb-command.mdand their generated copies underskills/torbscript/references/tooling/. Criteria are testable, the records are pinned, seed: no (driver flag removal, no syntax or native), size: one PR. Note for the implementer: CONCEPT.md has no "format is part of the language" principle for lint yet, so it is added, not edited. Worker usage: about 55k tokens (sonnet/medium). next: implement[loop:torbscript] claim implement by session:loop-torbscript-20261008 until 2026-10-08T13:15:00Z
[loop:torbscript] implement: PR #180 (
feat(lint): run every rule on every program and drop --skip).--skipis removed fromtorb lintand is now an unknown flag.--rulestays as a focus for one run, and its help says it narrows the output. Docs changed: torb-lint.md (new "No configuration" section), the-torb-command.md, PROJECT.md (non-goal), CONCEPT.md (principle 6), plus the generated skills. Seed: none. The first CI run failed only on the pdisc stamp of CONCEPT.md; I amended the commit with the restamp. The merge gate (argus) approved and merged it as8ef91c42. CI onmainfor that commit is green, including tier A, tier B, gates and pdisc, and the PR closed this issue. Worker usage: about 130k tokens (opus). next: close (done, nothing left)