Commit bb3def4
The clean-run sample under "The one gate, four doors" is a reproduction of
what `os validate` prints, not an authorial assertion, so the fix is to make
it faithful rather than to elide the number.
`packages/cli/src/commands/validate.ts:117` prints the count from the
registry itself:
printStep(`Running author-time rules (${registered.length})...`)
// registered = authoringRulesFor('validate')
Measured on this tree: `authoringRulesFor('validate').length` is 41, and a
real run of the command prints `Running author-time rules (41)...`. The
sample said 38 — which is today's `os lint` count, not validate's.
Also restores the blank line the same code path prints unconditionally
between the manifest line and the metadata stats (validate.ts:293-298), so
the whole block matches a real run line for line.
No hard count is introduced in prose: #9033 deliberately removed those in
favour of each rule's own `runtimeTypes`, and the only other number on the
page stays the historical "23 of 26" audit statement.
Co-authored-by: Claude <noreply@anthropic.com>
1 parent abcf853 commit bb3def4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| |||
0 commit comments