Skip to content

Commit e185136

Browse files
committed
fix(lint): keep the new rule's surface reason free of a tracker id, and re-derive the printed rule count
Two obligations the local gates named, both mechanical consequences of the new registry entry: - `check:doc-authoring` refuses a tracker id inside a runtime string, since the operators and generated surfaces that read one cannot resolve it. The reason string says what the differential does instead of citing where it was ruled; the adjacent comment, which only a source reader sees, keeps the citation. - `check:docs-transcript-drift` derives the author-time rule count from the registry and found four CLI transcripts printing the old one. A registry entry moves that number, so the four move with it. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019srGWGCBBCBHqcDoRZpQRh
1 parent fb280eb commit e185136

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎content/docs/deployment/cli.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ os compile --json # JSON output for CI pipelines
589589
→ Normalizing stack definition...
590590
→ Lowering inline handlers...
591591
→ Validating protocol compliance...
592-
→ Running author-time rules (45)...
592+
→ Running author-time rules (46)...
593593
→ Checking capability providers (#3366)...
594594
→ Collecting package docs (ADR-0046)... 0 collected
595595
→ Writing artifact...

‎content/docs/deployment/validating-metadata.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ A clean run walks the registry and reports timing:
649649
Config: /path/to/support-desk/objectstack.config.ts
650650
Load time: 21ms
651651
→ Validating against ObjectStack Protocol...
652-
→ Running author-time rules (45)...
652+
→ Running author-time rules (46)...
653653
→ Checking capability providers (#3366)...
654654
→ Checking package docs (ADR-0046)...
655655

‎content/docs/getting-started/build-with-claude-code.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ visible: 'status != "resolved"'
265265
◆ Validate
266266
────────────────────────────────────────
267267
→ Validating against ObjectStack Protocol...
268-
→ Running author-time rules (45)...
268+
→ Running author-time rules (46)...
269269
270270
✗ Author-time rules failed (1 issue)
271271
• stack · action 'resolve_ticket' visible: bare reference `status` — a

‎content/docs/ui/react-pages.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ objectstack validate
381381
────────────────────────────────────────
382382
→ Loading configuration...
383383
→ Validating against ObjectStack Protocol...
384-
→ Running author-time rules (45)...
384+
→ Running author-time rules (46)...
385385
→ Checking capability providers (#3366)...
386386
→ Checking package docs (ADR-0046)...
387387

‎packages/lint/src/authoring-rules.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,8 @@ export const AUTHORING_RULES: readonly AuthoringRule[] = [
632632
surfaceReason:
633633
'The declaring metadata type is `dataset`, which `runtime-gate.ts`\'s TYPE_TO_STACK_KEY does '
634634
+ 'not map — a dataset write builds no per-write snapshot, so nothing can dispatch this rule '
635-
+ 'there; declaring any other type would only re-judge a stored dataset the #4463 D4 '
636-
+ 'differential cancels.',
635+
+ 'there; declaring any other type would only re-judge a stored dataset, which the publish '
636+
+ 'gate\'s differential cancels as somebody else\'s pre-existing condition.',
637637
run: (stack) => validateDatasetMeasureAggregates(stack),
638638
},
639639
// ADR-0049 / #3367 — a dashboard header action naming a dead target ships a

0 commit comments

Comments
 (0)