Skip to content

Commit bb3def4

Browse files
docs: the os validate sample transcript reproduces the run it claims to (#9034) (#9093)
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

File tree

content/docs/deployment/validating-metadata.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,13 +531,14 @@ A clean run walks the registry and reports timing:
531531
Config: /path/to/support-desk/objectstack.config.ts
532532
Load time: 21ms
533533
→ Validating against ObjectStack Protocol...
534-
→ Running author-time rules (38)...
534+
→ Running author-time rules (41)...
535535
→ Checking capability providers (#3366)...
536536
→ Checking package docs (ADR-0046)...
537537
538538
✓ Validation passed (64ms)
539539
540540
Support Desk v0.1.0
541+
541542
Data: 1 Objects 6 Fields
542543
UI: 1 Apps 1 Views 1 Actions
543544
```

0 commit comments

Comments
 (0)