Skip to content

Commit 20556ee

Browse files
committed
fix(runtime): strip tracker ids from the six new vocabulary rows' string prose
check:doc-authoring refuses an issue id inside sibling-package string prose (a runtime string reaches authors who cannot resolve #NNNN); the ADR anchor stays, the tracker ids move out of the strings. The comment header above the rows keeps its id — comments are the reader who can. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T6HeZvT9wdSJD1ZxJb5Eno
1 parent 48e4621 commit 20556ee

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

packages/runtime/src/dispatcher-error-vocabulary.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
958958
door: 'none',
959959
verdict: 'boot-refusal',
960960
why:
961-
'#15963 — the AUTHORING gate\'s SCHEMA refusal: `ObjectStackDefinitionSchema.safeParse` failed ' +
961+
'ADR-0112 — the AUTHORING gate\'s SCHEMA refusal: `ObjectStackDefinitionSchema.safeParse` failed ' +
962962
'inside `defineStack`, thrown as `StackSchemaInvalidError` with the zod issues on `issues`. ' +
963963
'Its own arm rather than a reuse, on a reading taken before it was written: `packages/spec` ' +
964964
'has no zod-failure envelope to reuse (`formatZodError` / `safeParsePretty` return prose; no ' +
@@ -985,8 +985,8 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
985985
door: 'none',
986986
verdict: 'boot-refusal',
987987
why:
988-
'#15963 — `defineStack`\'s capability refusal, raised through `validateKnownCapabilities` when ' +
989-
'`requires` names a token no runtime provides (framework#3265/#3308); one `issues` entry per ' +
988+
'ADR-0112 — `defineStack`\'s capability refusal, raised through `validateKnownCapabilities` when ' +
989+
'`requires` names a token no runtime provides; one `issues` entry per ' +
990990
'distinct unknown token, thrown as `StackCapabilityUnknownError`. Reachability is the ' +
991991
'STACK_SCHEMA_INVALID reading on the same tree: 33 non-test `defineStack` occurrences under ' +
992992
'`packages/runtime/src` + `packages/rest/src`, zero call sites; callers are the CLI and the ' +
@@ -1001,7 +1001,7 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
10011001
door: 'none',
10021002
verdict: 'boot-refusal',
10031003
why:
1004-
'#15963 — `defineStack`\'s namespace-prefix refusal, raised through `validateNamespacePrefix` ' +
1004+
'ADR-0112 — `defineStack`\'s namespace-prefix refusal, raised through `validateNamespacePrefix` ' +
10051005
'when an object\'s name lacks the `manifest.namespace` prefix; one `issues` entry per object, ' +
10061006
'the writing-style hint kept in the message only, thrown as `StackNamespacePrefixInvalidError`. ' +
10071007
'Reachability is the STACK_SCHEMA_INVALID reading on the same tree: 33 non-test `defineStack` ' +
@@ -1017,7 +1017,7 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
10171017
door: 'none',
10181018
verdict: 'boot-refusal',
10191019
why:
1020-
'#15963 — `defineStack`\'s single-app refusal, raised through `validateSingleApp` when an `app` ' +
1020+
'ADR-0112 — `defineStack`\'s single-app refusal, raised through `validateSingleApp` when an `app` ' +
10211021
'package declares more than one app (the banned "suite contains apps" shape, ADR-0019 D3); ' +
10221022
'thrown as `StackSingleAppViolationError`. Reachability is the STACK_SCHEMA_INVALID reading on ' +
10231023
'the same tree: 33 non-test `defineStack` occurrences under `packages/runtime/src` + ' +
@@ -1033,7 +1033,7 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
10331033
door: 'none',
10341034
verdict: 'boot-refusal',
10351035
why:
1036-
'#15963 — `defineStack`\'s hierarchy-scope capability refusal, raised through ' +
1036+
'ADR-0112 — `defineStack`\'s hierarchy-scope capability refusal, raised through ' +
10371037
'`validateHierarchyScopeCapability` when a permission grant uses a HIERARCHY scope while ' +
10381038
'`requires` omits `hierarchy-security` (ADR-0057 — the declared-capability class that fails ' +
10391039
'CLOSED); one `issues` entry per grant, thrown as `StackHierarchyScopeCapabilityRequiredError`. ' +
@@ -1050,9 +1050,9 @@ export const UNREGISTERED_CODE_SITES: readonly UnregisteredCodeSite[] = [
10501050
door: 'none',
10511051
verdict: 'boot-refusal',
10521052
why:
1053-
'#15963 — `defineStack`\'s trigger capability refusal, raised through ' +
1053+
'ADR-0112 — `defineStack`\'s trigger capability refusal, raised through ' +
10541054
'`validateTriggerCapability` when an auto-launched flow is declared while `requires` omits ' +
1055-
'`triggers` (#14153 — the declared-capability class that fails SILENT); one `issues` entry per ' +
1055+
'`triggers` (the declared-capability class that fails SILENT); one `issues` entry per ' +
10561056
'flow, thrown as `StackTriggerCapabilityRequiredError`. Reachability is the ' +
10571057
'STACK_SCHEMA_INVALID reading on the same tree: 33 non-test `defineStack` occurrences under ' +
10581058
'`packages/runtime/src` + `packages/rest/src`, zero call sites; callers are the CLI and the ' +

0 commit comments

Comments
 (0)