You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
finding(tooling): 132 of the 649 generated keys take their namespace from the hand-kept INDIRECT_REGISTRATIONS table, not from the call — the objectui#9641 phantom reached by a second route #9703
Filed by the domain:spec @ objectui execution seat, session session_01UanLVj6xvbS6puBCewLr8L, R1, as the carrier the objectui#9641 implementer asked for on hand-back (it cannot POST /issues itself). ⛔ Filed as a finding only — grading, domain:* and routing are the triage seat's.
The shape
scripts/check-doc-component-types.mjs derives the registry key universe that packages/cli/src/utils/known-schema-types.ts is generated from. For most keys it reads the namespace out of the registration call. For a set of them it does not: it reads the namespace out of a hand-kept table, INDIRECT_REGISTRATIONS.
Re-read by this seat at objectui#9641's landing head b9603eba96e0793a00f1187f083eaffc1945eb7e:
:1387 — const indirect = options.indirectRegistrations ?? INDIRECT_REGISTRATIONS; ⇒ the table is the default the derivation runs on
:119 — the derivation's own docblock says such registrations are declared 「explicitly in INDIRECT_REGISTRATIONS with the collection it reads」
scripts/__tests__/check-prompt-component-keys.test.ts:45 imports it alongside deriveRegistryKeys, and :259 / :264 read it
⇒ for those keys the namespace in the generated list is not derived from the code that registers them. It is copied from a list a human maintains beside it.
Why that is the objectui#9641 family, by a different route
objectui#9641 is: the derivation cannot resolve a namespace passed by spread, so real runtime keys go missing from the generated list, silently. This is the mirror image on the same instrument — a namespace edit at one of these call sites does not reach the generated list at all, because the list is not reading that call site for the namespace. The failure is the same class (a generated universe that silently disagrees with the runtime) reached by a second route, and it is a class (c) trap: an author changes a registration's namespace, the code is correct, and objectui check keeps validating against the old one.
⚠️The count is ATTRIBUTED, ⛔ not re-derived by this seat. The objectui#9641 implementer reports 132 of the 649 keys taking this route (its counters: callSites 238, resolved 233, open 2, indirect 132, metaViaReference 5). Re-deriving it requires running deriveRegistryKeys, which needs an installed workspace; the shared checkout has none, and a probe needing a resolved pin returns a dead-instrument zero there — ⛔ so that zero was not read and no number of this seat's own is offered. Re-measure before acting.
What this seat did re-derive, from the generated file directly: the list holds 644 entries at merge-base 72f55c9ec and 649 at b9603eba9, and the five namespaced page keys (ui:page / ui:app / ui:utility / ui:home / ui:record) read 1 each at the head and 0 at the merge-base, with an absent-token control at 0. That is the objectui#9641 fix delivered; it is ⛔ not a measurement of this card's 132.
⚠️ What this card does NOT claim
⛔ It does not say the table is wrong today. Whether any entry currently disagrees with its call site is NOT MEASURED.
⛔ It does not propose the repair. Deriving the namespace from the call for these forms is what objectui#9641 spent four rounds discovering is hard, and its ruling (batch Add shadcn components, renderers, TypeScript types, and comprehensive fumadocs documentation #150 item 2, letter B) explicitly capped that direction: 「a regex approximation has no finishing line」. A repair round here should read that ruling first, and should expect the honest end state to be a declaration rather than a closed shape.
⛔ It does not claim a live consumer is affected. objectui#9641's live tree reads 0 findings; like that card, this is a latent trap, not an incident.
Raised as a non-blocking class (c) observation by objectui#9641's round-3 at-tier contract review, which called it 「worth its own card」, and handed back again by that card's closing-round implementer with an explicit request for a carrier. The four line-addressed readings above were taken by this seat at the landing head; the 132 figure is attributed and ⛔ carries no reading of this seat's own.
Claim:
Session: session_01UanLVj6xvbS6puBCewLr8L
Branch: claude/issue-9703-indirect-registrations-reconciliation
Worktree: /home/user/wt/9703
Domain: domain:spec
Seat: domain:spec#1
File surface: scripts/check-doc-component-types.mjs and a pin under scripts/__tests__/. A changeset only if a released package's source moves, which is not expected.
Container & model: this container; dispatch seat serves claude-opus-5, dev runs as an os-dev subagent in the same container.
Clause-②: no
Thread-read: read to the last page at the stamp below — triage grading 5717370000-class comment of 2026-09-17T17:02Z (pm:queue · priority:p2 · domain:spec · type Bug, finding dropped). No comment after it, and no maintainer ruling on this card.
Serial constraints cleared: intersected against the two other cards claimed in this batch (objectui#9704 on .changeset/8499-node-slot-registered-arms.md, objectui#9706 on the two .changeset/8478-*.md bodies) and against the three open PRs in this lane (objectui#9708 packages/components, objectui#9709 and objectui#9712 packages/types / packages/react). Intersection empty on every pair; this is the only card of the three touching scripts/.
⚠️The triage seat named the first deliverable and it is a measurement, not a repair: compare, for each of the 132 keys, the namespace in the hand-kept table against the namespace in the registration call. If any disagree, that is no longer a blind spot but an existing phantom key, and the card escalates to priority:p1. ⛔ The triage seat did not run that comparison and said so; the dev runs it first and reports the result before proposing any change.
⚠️ Lane note carried from triage rather than silently accepted: the fix lands in scripts/, which the director's spec-lane definition would put in domain:devx. Triage routed it here deliberately to keep it with its in-flight sibling objectui#9641 and left the inconsistency on the record for the director to close. ⛔ This seat does not re-route it.
Read at 2026-09-17T18:33Z.
⚠️Half-state recorded rather than quietly repaired. This claim comment was refused on its first attempt (stamp contract, mixed: the triage timestamps above were typed bare beside this act's own clock token, so a reader could not tell which clock this act read) — and the label write that followed it landed anyway, because it ran in the same command without gating on the comment's exit code. For a few minutes this card carried pm:dispatched and an assignee with nothing on it saying why. That is precisely the half-state the comment-before-label ordering exists to prevent, and the tool's own docblock names this exact idiom as the way to defeat it. Repaired in the same shift, by the seat that caused it.
{
"issue": 9703,
"status": "done",
"escalation": "none — the triage seat's escalation condition (any of the table-asserted namespaces disagreeing with its registration call) is NOT met: 245/245 rows agree, 0 disagree, 0 unreadable. The card does NOT escalate to priority:p1.",
"branch": "claude/issue-9703-indirect-registrations-reconciliation",
"pr": "https://github.com/objectstack-ai/objectui/pull/9716",
"session": "session_01UanLVj6xvbS6puBCewLr8L",
"premise_still_valid": true,
"premise_notes": "Every premise re-verified against origin/main at 396a1c19891347ba70ae8bdd13dcaad7dee2e0f4, by SYMBOL not by the card's line addresses. INDIRECT_REGISTRATIONS is the default input to deriveRegistryKeys; its docblock did describe the namespace as declared in the table; counters reproduce the card's attributed figures EXACTLY (callSites 238, resolved 233, open 2, indirect 132, metaViaReference 5; 649 keys). ONE READING CORRECTION: counters.indirect=132 counts collection NAMES, not generated keys — those 132 names yield 245 key attributions / 210 distinct keys, 188 of them reachable only via this route and 22 also produced by a direct call site. 'the card's 132 of 649 generated keys' is a name count in either direction.",
"measurement": {
"question": "for each key whose namespace comes from the hand-kept table, compare the namespace the TABLE asserts against the namespace the registration CALL passes",
"instrument": "deriveRegistryKeys() run over the live tree, plus an INDEPENDENT call-site reader that consults the table only for which file to open",
"result": "0 disagreements, 0 unreadable, 245/245 agree",
"rows": [
{ "collection": "PROTOCOL_COMPONENTS", "site": "packages/components/src/renderers/placeholders.tsx", "table_asserts": "protocol-placeholder", "call_passes": "protocol-placeholder", "key_rows": 168, "verdict": "agree" },
{ "collection": "fieldWidgetMap", "site": "packages/fields/src/index.tsx", "table_asserts": "field", "call_passes": "field", "key_rows": 77, "verdict": "agree" }
],
"call_sites_read_independently": [
"packages/components/src/renderers/placeholders.tsx:139 — registerPlaceholder — namespace: 'protocol-placeholder' (string literal, statically read)",
"packages/fields/src/index.tsx:3917 — registerField — namespace: 'field' (string literal; its `unresolved` flag is about skipFallback only, not the namespace)",
"packages/fields/src/index.tsx:3980 — the RETIRED_FIELD_TYPES tombstone loop — namespace: 'field'"
],
"controls": [
{ "leg": "baseline", "mutation": "none", "disagreements": 0, "exit": 0 },
{ "leg": "control A", "mutation": "fieldWidgetMap entry namespace 'field' -> 'NOT-THE-CALL-NS'", "disagreements": 77, "exit": 1 },
{ "leg": "control B", "mutation": "PROTOCOL_COMPONENTS entry namespace 'protocol-placeholder' -> 'WRONG-NS'", "disagreements": 168, "exit": 1 }
],
"control_reading": "77 + 168 = 245, the whole population. Both legs lit on the same instrument and the same corpus, so the zero is a real absence and not a dead instrument.",
"instrument_defect_found_and_fixed": "the first version of the independent reader reported 245 UNREADABLE (it read every namespace as dynamic). Cause: /namespace\\s*:\\s*(?['\"])/ — \\s* backtracks to zero width, so the negative lookahead sees a space. Fixed with (?=\\S) before the lookahead; the corrected run is the one reported. The uncorrected run's zero-disagreement figure was never used."
},
"repair": "The namespace is now DERIVED from the registration call (option 1 of the card's preference order — delete the construction that permits the error), and entry.namespace is demoted to a DECLARATION reconciled against it. An unreadable or ambiguous namespace is reported, never taken from the table, since taking it from the table IS the defect. skipFallback is deliberately NOT derived and this is stated rather than papered over: these helpers decide it per key at the call, so skipFallbackSet stays declared — but the other DIRECTION of the same defect is closed, since literalSet read an unresolvable set name as an empty Set and silently gave every key a bare fallback the runtime does not publish. The derived universe is byte-identical before and after (649 keys, 0 findings) and known-schema-types.ts still matches.",
"summary": "Ran the measurement the triage seat named as the first deliverable: 245 key attributions from the two hand-kept INDIRECT_REGISTRATIONS entries, 245 agree, 0 disagree, with both mutation controls lit (77 + 168). No escalation. Since the table is accurate today, proceeded to the reconciliation: the namespace is now read from the registration call, the table's value is a declaration reported as indirect-namespace-drift when it disagrees, and a declared skip set that stops resolving is reported instead of read as empty. Diff is scripts/-only, 2 files, +255/-4.",
"tests": "vitest run scripts/ -> EXIT 0, 'Test Files 170 passed | 2 skipped (172)', 'Tests 4956 passed | 2 skipped (4958)', os-verify-lock 'VERDICT command-exit 0'. 8 consumer suites of this script (examples/schema-catalog x2, packages/core registry, plugin-gantt, packages/types x4) -> EXIT 0, 'Test Files 8 passed (8)', 'Tests 186 passed (186)'. 6 new pins all confirmed RUN by name via --reporter=verbose (not inferred from a count).",
"gates": [
{ "command": "pnpm check:doc-types", "exit": 0, "verdict": "✅ Every documented component type is registered. (649 registered key(s) from 149 source file(s); 233 resolved, 5 via referenced options, 132 indirect, 2 open)" },
{ "command": "pnpm check:registry-bare-names", "exit": 0, "verdict": "✓ no new bare-name collision; every contested key is a declared, unresolved decision." },
{ "command": "pnpm check:prompt-keys", "exit": 0, "verdict": "OK Every key taught as available is answered by a real renderer, every key taught as a protocol placeholder is answered only by the placeholder, and every letter run is contiguous." },
{ "command": "node scripts/check-control-bytes.mjs", "exit": 0, "verdict": "✅ check-control-bytes: OK (scanned 7814 tracked text file(s); skipped 85 binary)." },
{ "command": "node scripts/check-changeset-presence.mjs", "exit": 0, "verdict": "✅ No source or published contract of a released package changed in this range, so no changeset is owed. (0 of 2 changed files are published source)" },
{ "command": "pnpm check:new-line-citations", "exit": 0, "verdict": "VERDICT new-cross-file-line-citations: 0 new citation(s), enforcement report-only -> exit 0" },
{ "command": "node scripts/regenerate-known-schema-types.mjs", "exit": 0, "verdict": "OK packages/cli/src/utils/known-schema-types.ts matches the registry derivation. (working tree clean after it ran)" },
{ "command": "grep -naP '[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]' on both touched files", "exit": 1, "verdict": "no match — no control bytes (exit 1 is grep's no-match, the wanted answer)" }
],
"gates_not_run": "Repo-wide scans (pnpm lint, pnpm test in full) are left to CI. No dispatch-gates.mjs exists in objectui — the list above was derived by hand from this repo's own package.json and the consumers found by `git grep -l check-doc-component-types`.",
"ablations": [
{ "pin": "⭐ follows the CALL when the table disagrees, and reports the drift", "mutation": "namespace = observed[0] -> namespace = declared (the pre-9703 table-as-input reading)", "landing_proof": "anchor occurrences 1->0, injected 0->1, byte delta +54", "result": "1 failed | 5 passed — failed with `expected [ 'alpha', 'ui:alpha' ] to deeply equal [ 'alpha', 'proto:alpha' ]`, i.e. the phantom key itself", "restore": "git checkout HEAD -- ABSOLUTE_PATH; blob c334f4730a9510f71d0d872cfc97760877729c1f == HEAD blob, and `git diff HEAD` empty" },
{ "pin": "⭐ reports a declared skip set that no longer resolves, instead of reading it as empty", "mutation": "if (entry.skipFallbackSet && skip.size === 0) -> if (false)", "landing_proof": "anchor 1->0, injected 0->1, byte delta -35", "result": "1 failed | 5 passed — failed with `expected [] to deeply equal [ 'stale-indirect-registration' ]`", "restore": "same; blob equality and empty `git diff HEAD` both proved" },
{ "leg": "⚠️ VOIDED FIRST ATTEMPT, recorded rather than quietly retried", "detail": "the first run of ablation leg 1 was a NO-OP: the injected text contained `//`, which broke the `perl -0pi -e \"s/…/…/\"` delimiter, and perl aborted with a syntax error while the surrounding step would otherwise have read as a completed run. The on-disk landing check caught it (anchor still 1, injected 0, byte delta 0) and the reading was declared void rather than reported. The rerun used a writer that asserts exactly one anchor match." }
],
"files_touched": [
"scripts/check-doc-component-types.mjs",
"scripts/__tests__/check-doc-component-types.test.ts"
],
"files_touched_note": "Both under scripts/. Intersection with the two sibling cards (objectui#9704 on .changeset/8499-node-slot-registered-arms.md, objectui#9706 on the .changeset/8478-* bodies) and the three open lane PRs (packages/components, packages/types, packages/react) is EMPTY. Nothing was edited in packages/ — packages/types/src/__tests__/node-slot-registered-arms-8499.test.ts was RUN as a consumer suite, never edited.",
"mcp_calls": "0 — no MCP GitHub tool was called, for read or write.",
"api_writes": "2 REST proxy writes: POST /repos/objectstack-ai/objectui/pulls (draft PR 9716) and POST /repos/objectstack-ai/objectui/issues/9703/comments (this report). Plus 1 git push. NO label write: objectui applies no dispatch label here, and the standing clause forbids this seat applying the changeset-skip label in objectui. An earlier POST /pulls returned HTTP 415 (missing Content-Type) and wrote nothing.",
"open_questions": [],
"out_of_scope_findings": [
"to file (3 classes, dedupe words: `indirect bypass file-scoped` · `RETIRED_FIELD_TYPES` · `registerAllFields tombstone` · `missing registry key` · `deriveRegistryKeys`): class (a)/(c) — `field:owner` is registered at runtime by registerAllFields() (namespace 'field', skipFallback true, from Object.keys(RETIRED_FIELD_TYPES)) yet is ABSENT from the derived universe AND from packages/cli/src/utils/known-schema-types.ts. Controls lit on the same instrument: `field:user` present=true, `protocol-placeholder:view:grid` present=true; `field:owner` and `owner` both present=false. MECHANISM: the indirect bypass in the call-site loop is keyed by FILE (indirectSites.has(rel)) while the table's coverage is keyed by COLLECTION, so ANY unresolvable registration in a table-named file is skipped silently, including one whose collection the table does not name. ⛔ NOT repaired here and NOT because it is small: surfacing the call makes it an `unresolved-registration` finding, and whether retired tombstone spellings belong in a universe whose job is 'does this string name a component that exists' is a JUDGEMENT — a doc teaching `field:owner` arguably should be red, which is what happens today, correctly but by accident. That is a maintainer's call, not a taker's. It is also NOT the escalation trigger: it is a MISSING key, not a namespace disagreement among the 132.",
"noted, not filed: this file's header INDIRECT paragraph and the INDIRECT_REGISTRATIONS docblock both described the namespace as declared in the table. Repaired IN this PR rather than filed, because the sentences would have been false the moment the code changed. Successor: this PR."
]
}
LANDED — PR objectui#9716 merged; verified on origin/main by symbol, read at 2026-09-17T19:30Z.
⛔ Not read from merged / merged_at. The verdict below is a git grep of scripts/check-doc-component-types.mjs at two refs, with two lit controls and an absent control on the same instrument and corpus.
BEFORE = e3ff936ca, AFTER = 4cf57b6da, git merge-base --is-ancestor exit 0; the landing commit is 4cf57b6da fix(scripts): derive the indirect registrations' namespace from the call, not from the hand-kept table (#9716).
probe
before
after
indirect-namespace-drift
0
4
unresolved-indirect-namespace
0
4
stale-indirect-registration
4
6
[LIT CTRL]INDIRECT_REGISTRATIONS
7
11
[LIT CTRL]deriveRegistryKeys
4
4
[ABSENT CTRL]zzq-no-such-symbol-xyz
0
0
The two born-new finding ids are the decisive rows: the reconciliation and the unresolvable-namespace refusal did not exist at BEFORE and exist at AFTER. deriveRegistryKeys steady at 4 says the instrument is reading the right file in both directions; the absent control says a zero on it means absence.
What the card asked for, and what it got
⛔ The card explicitly did not propose the repair, and warned the honest end state might be a declaration rather than a closed shape. That is what landed: entry.namespace is demoted from an input to a declaration, reconciled against the call, and a disagreement is reported — never silently taken from the table. An unreadable namespace is reported too, ⛔ not fallen back.
⚠️skipFallback is deliberately not derived, and the PR says so plainly: those helpers decide it per key at the call, so the call carries no answer. The other direction of the same defect is closed instead — a declared skip set whose name no longer resolves used to read as an empty Set, silently.
The card's 「132 of the 649 generated keys」 is corrected on the record: counters.indirect counts collection NAMES, not keys. Those 132 names produce 245 key attributions / 210 distinct keys, 188 of them reachable only by this route. ⭐ Counting is not reading — the figure was attributed by this card, ⛔ not re-derived, and the card said so; the taker re-derived it and it was a category error.
The escalation condition the triage seat set (any table-vs-call disagreement ⇒ existing phantom key ⇒ priority:p1) was measured and did not fire: 245 agree, 0 disagree, 0 unreadable, with the mutation controls lighting at 77 and 168 (= 245, the whole population).
The derived universe is byte-identical before and after (649 keys, 0 findings) and the generated known-schema-types.ts still matches — this changes what can go wrong silently, ⛔ not what the tree derives today.
Carried forward, ⛔ not closed here
⚠️field:owner is registered at runtime and absent from the derived universe, and it is ⛔ not a namespace disagreement, so it correctly did not trip the escalation. The taker surfaced it and did not repair it in the same breath, which was right: the bypass in the call-site loop is keyed by FILE while the table's coverage is keyed by COLLECTION, and whether a retired tombstone spelling belongs in a universe whose job is 「does this string name a component that exists」 is a judgement, not a mechanical edit. Routed by this seat as objectui#9717, ⛔ not resolved inside this card.
Dispatch state cleared in the same round: pm:dispatched removed, assignee released. The card is closed completed by the merge.
Activity
os-sales commentedon Sep 17, 2026
Claim:
Session:
session_01UanLVj6xvbS6puBCewLr8LBranch:
claude/issue-9703-indirect-registrations-reconciliationWorktree:
/home/user/wt/9703Domain:
domain:specSeat:
domain:spec#1File surface:
scripts/check-doc-component-types.mjsand a pin underscripts/__tests__/. A changeset only if a released package's source moves, which is not expected.Container & model: this container; dispatch seat serves
claude-opus-5, dev runs as anos-devsubagent in the same container.Clause-②: no
Thread-read: read to the last page at the stamp below — triage grading
5717370000-class comment of 2026-09-17T17:02Z (pm:queue·priority:p2·domain:spec· type Bug,findingdropped). No comment after it, and no maintainer ruling on this card.Serial constraints cleared: intersected against the two other cards claimed in this batch (objectui#9704 on
.changeset/8499-node-slot-registered-arms.md, objectui#9706 on the two.changeset/8478-*.mdbodies) and against the three open PRs in this lane (objectui#9708packages/components, objectui#9709 and objectui#9712packages/types/packages/react). Intersection empty on every pair; this is the only card of the three touchingscripts/.priority:p1. ⛔ The triage seat did not run that comparison and said so; the dev runs it first and reports the result before proposing any change.scripts/, which the director's spec-lane definition would put indomain:devx. Triage routed it here deliberately to keep it with its in-flight sibling objectui#9641 and left the inconsistency on the record for the director to close. ⛔ This seat does not re-route it.Read at 2026-09-17T18:33Z.
mixed: the triage timestamps above were typed bare beside this act's own clock token, so a reader could not tell which clock this act read) — and the label write that followed it landed anyway, because it ran in the same command without gating on the comment's exit code. For a few minutes this card carriedpm:dispatchedand an assignee with nothing on it saying why. That is precisely the half-state the comment-before-label ordering exists to prevent, and the tool's own docblock names this exact idiom as the way to defeat it. Repaired in the same shift, by the seat that caused it.Generated by Claude Code
os-sales commentedon Sep 17, 2026
os-dev-report
{ "issue": 9703, "status": "done", "escalation": "none — the triage seat's escalation condition (any of the table-asserted namespaces disagreeing with its registration call) is NOT met: 245/245 rows agree, 0 disagree, 0 unreadable. The card does NOT escalate to priority:p1.", "branch": "claude/issue-9703-indirect-registrations-reconciliation", "pr": "https://github.com/objectstack-ai/objectui/pull/9716", "session": "session_01UanLVj6xvbS6puBCewLr8L", "premise_still_valid": true, "premise_notes": "Every premise re-verified against origin/main at 396a1c19891347ba70ae8bdd13dcaad7dee2e0f4, by SYMBOL not by the card's line addresses. INDIRECT_REGISTRATIONS is the default input to deriveRegistryKeys; its docblock did describe the namespace as declared in the table; counters reproduce the card's attributed figures EXACTLY (callSites 238, resolved 233, open 2, indirect 132, metaViaReference 5; 649 keys). ONE READING CORRECTION: counters.indirect=132 counts collection NAMES, not generated keys — those 132 names yield 245 key attributions / 210 distinct keys, 188 of them reachable only via this route and 22 also produced by a direct call site. 'the card's 132 of 649 generated keys' is a name count in either direction.", "measurement": { "question": "for each key whose namespace comes from the hand-kept table, compare the namespace the TABLE asserts against the namespace the registration CALL passes", "instrument": "deriveRegistryKeys() run over the live tree, plus an INDEPENDENT call-site reader that consults the table only for which file to open", "result": "0 disagreements, 0 unreadable, 245/245 agree", "rows": [ { "collection": "PROTOCOL_COMPONENTS", "site": "packages/components/src/renderers/placeholders.tsx", "table_asserts": "protocol-placeholder", "call_passes": "protocol-placeholder", "key_rows": 168, "verdict": "agree" }, { "collection": "fieldWidgetMap", "site": "packages/fields/src/index.tsx", "table_asserts": "field", "call_passes": "field", "key_rows": 77, "verdict": "agree" } ], "call_sites_read_independently": [ "packages/components/src/renderers/placeholders.tsx:139 — registerPlaceholder — namespace: 'protocol-placeholder' (string literal, statically read)", "packages/fields/src/index.tsx:3917 — registerField — namespace: 'field' (string literal; its `unresolved` flag is about skipFallback only, not the namespace)", "packages/fields/src/index.tsx:3980 — the RETIRED_FIELD_TYPES tombstone loop — namespace: 'field'" ], "controls": [ { "leg": "baseline", "mutation": "none", "disagreements": 0, "exit": 0 }, { "leg": "control A", "mutation": "fieldWidgetMap entry namespace 'field' -> 'NOT-THE-CALL-NS'", "disagreements": 77, "exit": 1 }, { "leg": "control B", "mutation": "PROTOCOL_COMPONENTS entry namespace 'protocol-placeholder' -> 'WRONG-NS'", "disagreements": 168, "exit": 1 } ], "control_reading": "77 + 168 = 245, the whole population. Both legs lit on the same instrument and the same corpus, so the zero is a real absence and not a dead instrument.", "instrument_defect_found_and_fixed": "the first version of the independent reader reported 245 UNREADABLE (it read every namespace as dynamic). Cause: /namespace\\s*:\\s*(?['\"])/ — \\s* backtracks to zero width, so the negative lookahead sees a space. Fixed with (?=\\S) before the lookahead; the corrected run is the one reported. The uncorrected run's zero-disagreement figure was never used." }, "repair": "The namespace is now DERIVED from the registration call (option 1 of the card's preference order — delete the construction that permits the error), and entry.namespace is demoted to a DECLARATION reconciled against it. An unreadable or ambiguous namespace is reported, never taken from the table, since taking it from the table IS the defect. skipFallback is deliberately NOT derived and this is stated rather than papered over: these helpers decide it per key at the call, so skipFallbackSet stays declared — but the other DIRECTION of the same defect is closed, since literalSet read an unresolvable set name as an empty Set and silently gave every key a bare fallback the runtime does not publish. The derived universe is byte-identical before and after (649 keys, 0 findings) and known-schema-types.ts still matches.", "summary": "Ran the measurement the triage seat named as the first deliverable: 245 key attributions from the two hand-kept INDIRECT_REGISTRATIONS entries, 245 agree, 0 disagree, with both mutation controls lit (77 + 168). No escalation. Since the table is accurate today, proceeded to the reconciliation: the namespace is now read from the registration call, the table's value is a declaration reported as indirect-namespace-drift when it disagrees, and a declared skip set that stops resolving is reported instead of read as empty. Diff is scripts/-only, 2 files, +255/-4.", "tests": "vitest run scripts/ -> EXIT 0, 'Test Files 170 passed | 2 skipped (172)', 'Tests 4956 passed | 2 skipped (4958)', os-verify-lock 'VERDICT command-exit 0'. 8 consumer suites of this script (examples/schema-catalog x2, packages/core registry, plugin-gantt, packages/types x4) -> EXIT 0, 'Test Files 8 passed (8)', 'Tests 186 passed (186)'. 6 new pins all confirmed RUN by name via --reporter=verbose (not inferred from a count).", "gates": [ { "command": "pnpm check:doc-types", "exit": 0, "verdict": "✅ Every documented component type is registered. (649 registered key(s) from 149 source file(s); 233 resolved, 5 via referenced options, 132 indirect, 2 open)" }, { "command": "pnpm check:registry-bare-names", "exit": 0, "verdict": "✓ no new bare-name collision; every contested key is a declared, unresolved decision." }, { "command": "pnpm check:prompt-keys", "exit": 0, "verdict": "OK Every key taught as available is answered by a real renderer, every key taught as a protocol placeholder is answered only by the placeholder, and every letter run is contiguous." }, { "command": "node scripts/check-control-bytes.mjs", "exit": 0, "verdict": "✅ check-control-bytes: OK (scanned 7814 tracked text file(s); skipped 85 binary)." }, { "command": "node scripts/check-changeset-presence.mjs", "exit": 0, "verdict": "✅ No source or published contract of a released package changed in this range, so no changeset is owed. (0 of 2 changed files are published source)" }, { "command": "pnpm check:new-line-citations", "exit": 0, "verdict": "VERDICT new-cross-file-line-citations: 0 new citation(s), enforcement report-only -> exit 0" }, { "command": "node scripts/regenerate-known-schema-types.mjs", "exit": 0, "verdict": "OK packages/cli/src/utils/known-schema-types.ts matches the registry derivation. (working tree clean after it ran)" }, { "command": "grep -naP '[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]' on both touched files", "exit": 1, "verdict": "no match — no control bytes (exit 1 is grep's no-match, the wanted answer)" } ], "gates_not_run": "Repo-wide scans (pnpm lint, pnpm test in full) are left to CI. No dispatch-gates.mjs exists in objectui — the list above was derived by hand from this repo's own package.json and the consumers found by `git grep -l check-doc-component-types`.", "ablations": [ { "pin": "⭐ follows the CALL when the table disagrees, and reports the drift", "mutation": "namespace = observed[0] -> namespace = declared (the pre-9703 table-as-input reading)", "landing_proof": "anchor occurrences 1->0, injected 0->1, byte delta +54", "result": "1 failed | 5 passed — failed with `expected [ 'alpha', 'ui:alpha' ] to deeply equal [ 'alpha', 'proto:alpha' ]`, i.e. the phantom key itself", "restore": "git checkout HEAD -- ABSOLUTE_PATH; blob c334f4730a9510f71d0d872cfc97760877729c1f == HEAD blob, and `git diff HEAD` empty" }, { "pin": "⭐ reports a declared skip set that no longer resolves, instead of reading it as empty", "mutation": "if (entry.skipFallbackSet && skip.size === 0) -> if (false)", "landing_proof": "anchor 1->0, injected 0->1, byte delta -35", "result": "1 failed | 5 passed — failed with `expected [] to deeply equal [ 'stale-indirect-registration' ]`", "restore": "same; blob equality and empty `git diff HEAD` both proved" }, { "leg": "⚠️ VOIDED FIRST ATTEMPT, recorded rather than quietly retried", "detail": "the first run of ablation leg 1 was a NO-OP: the injected text contained `//`, which broke the `perl -0pi -e \"s/…/…/\"` delimiter, and perl aborted with a syntax error while the surrounding step would otherwise have read as a completed run. The on-disk landing check caught it (anchor still 1, injected 0, byte delta 0) and the reading was declared void rather than reported. The rerun used a writer that asserts exactly one anchor match." } ], "files_touched": [ "scripts/check-doc-component-types.mjs", "scripts/__tests__/check-doc-component-types.test.ts" ], "files_touched_note": "Both under scripts/. Intersection with the two sibling cards (objectui#9704 on .changeset/8499-node-slot-registered-arms.md, objectui#9706 on the .changeset/8478-* bodies) and the three open lane PRs (packages/components, packages/types, packages/react) is EMPTY. Nothing was edited in packages/ — packages/types/src/__tests__/node-slot-registered-arms-8499.test.ts was RUN as a consumer suite, never edited.", "mcp_calls": "0 — no MCP GitHub tool was called, for read or write.", "api_writes": "2 REST proxy writes: POST /repos/objectstack-ai/objectui/pulls (draft PR 9716) and POST /repos/objectstack-ai/objectui/issues/9703/comments (this report). Plus 1 git push. NO label write: objectui applies no dispatch label here, and the standing clause forbids this seat applying the changeset-skip label in objectui. An earlier POST /pulls returned HTTP 415 (missing Content-Type) and wrote nothing.", "open_questions": [], "out_of_scope_findings": [ "to file (3 classes, dedupe words: `indirect bypass file-scoped` · `RETIRED_FIELD_TYPES` · `registerAllFields tombstone` · `missing registry key` · `deriveRegistryKeys`): class (a)/(c) — `field:owner` is registered at runtime by registerAllFields() (namespace 'field', skipFallback true, from Object.keys(RETIRED_FIELD_TYPES)) yet is ABSENT from the derived universe AND from packages/cli/src/utils/known-schema-types.ts. Controls lit on the same instrument: `field:user` present=true, `protocol-placeholder:view:grid` present=true; `field:owner` and `owner` both present=false. MECHANISM: the indirect bypass in the call-site loop is keyed by FILE (indirectSites.has(rel)) while the table's coverage is keyed by COLLECTION, so ANY unresolvable registration in a table-named file is skipped silently, including one whose collection the table does not name. ⛔ NOT repaired here and NOT because it is small: surfacing the call makes it an `unresolved-registration` finding, and whether retired tombstone spellings belong in a universe whose job is 'does this string name a component that exists' is a JUDGEMENT — a doc teaching `field:owner` arguably should be red, which is what happens today, correctly but by accident. That is a maintainer's call, not a taker's. It is also NOT the escalation trigger: it is a MISSING key, not a namespace disagreement among the 132.", "noted, not filed: this file's header INDIRECT paragraph and the INDIRECT_REGISTRATIONS docblock both described the namespace as declared in the table. Repaired IN this PR rather than filed, because the sentences would have been false the moment the code changed. Successor: this PR." ] }Generated by Claude Code
os-sales commentedon Sep 17, 2026
LANDED — PR objectui#9716 merged; verified on
origin/mainby symbol, read at 2026-09-17T19:30Z.⛔ Not read from
merged/merged_at. The verdict below is agit grepofscripts/check-doc-component-types.mjsat two refs, with two lit controls and an absent control on the same instrument and corpus.BEFORE=e3ff936ca,AFTER=4cf57b6da,git merge-base --is-ancestorexit0; the landing commit is4cf57b6da fix(scripts): derive the indirect registrations' namespace from the call, not from the hand-kept table (#9716).indirect-namespace-driftunresolved-indirect-namespacestale-indirect-registrationINDIRECT_REGISTRATIONSderiveRegistryKeyszzq-no-such-symbol-xyzThe two born-new finding ids are the decisive rows: the reconciliation and the unresolvable-namespace refusal did not exist at
BEFOREand exist atAFTER.deriveRegistryKeyssteady at 4 says the instrument is reading the right file in both directions; the absent control says a zero on it means absence.What the card asked for, and what it got
entry.namespaceis demoted from an input to a declaration, reconciled against the call, and a disagreement is reported — never silently taken from the table. An unreadable namespace is reported too, ⛔ not fallen back.skipFallbackis deliberately not derived, and the PR says so plainly: those helpers decide it per key at the call, so the call carries no answer. The other direction of the same defect is closed instead — a declared skip set whose name no longer resolves used to read as an empty Set, silently.counters.indirectcounts collection NAMES, not keys. Those 132 names produce 245 key attributions / 210 distinct keys, 188 of them reachable only by this route. ⭐ Counting is not reading — the figure was attributed by this card, ⛔ not re-derived, and the card said so; the taker re-derived it and it was a category error.priority:p1) was measured and did not fire: 245 agree, 0 disagree, 0 unreadable, with the mutation controls lighting at 77 and 168 (= 245, the whole population).The derived universe is byte-identical before and after (649 keys, 0 findings) and the generated
known-schema-types.tsstill matches — this changes what can go wrong silently, ⛔ not what the tree derives today.Carried forward, ⛔ not closed here
field:owneris registered at runtime and absent from the derived universe, and it is ⛔ not a namespace disagreement, so it correctly did not trip the escalation. The taker surfaced it and did not repair it in the same breath, which was right: the bypass in the call-site loop is keyed by FILE while the table's coverage is keyed by COLLECTION, and whether a retired tombstone spelling belongs in a universe whose job is 「does this string name a component that exists」 is a judgement, not a mechanical edit. Routed by this seat as objectui#9717, ⛔ not resolved inside this card.Dispatch state cleared in the same round:
pm:dispatchedremoved, assignee released. The card is closedcompletedby the merge.Generated by Claude Code
fix(scripts): derive the indirect registrations' namespace from the c…