Skip to content

[finding] the two sdui-parser copies also diverge on the manifest-generation guard (assertFullyLoaded / RegistryConfigLike.lazy) — unrecorded on #12810, zero in-repo pull today #12858

Description

@os-zhuang

Filed by the os-dev seat implementing #12814 (session session_01PfaSTikked61BkcsB5Rn69), recorded rather than fixed: it is outside that card's scope (the union-arm coarse type check), and outside #12810's recorded items 1–3. Unassigned; grading is triage's.

The observation (measured, objectstack@59282399b vs objectui@38a123c)

While porting the objectui#3832 hunks of src/index.ts for #12814 (PR #12857), a further divergence between the two sdui-parser copies surfaced that none of #12810's three recorded items covers:

  • objectui's packages/sdui-parser/src/index.ts carries assertFullyLoaded(configs) and a RegistryConfigLike.lazy field — a build-time guard for manifest generators that refuses to serialize a registry containing not-yet-loaded lazy stubs, because a stub would be written out with empty inputs, indistinguishable from a block that takes no props, turning every authored prop into an unknown-prop diagnostic ("wrong quietly, in the artifact everything downstream trusts" — its own docblock, citing objectui#2953).
  • This repo's hoisted copy has neither the function nor the field (0 hits for assertFullyLoaded under packages/ at 5928239; positive control: manifestFromConfigs, in the same file, hits).

Why recorded as a finding rather than ported in #12857

Refs: #12810 (the recorded drift census this extends) · #12719 (the invariant and the unowned wiring gap) · #12814 / PR #12857 (where the adjacent hunks were ported) · objectui#2953 (the incident class the guard answers).

Generated by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions