Skip to content

finding(types): header-bar refusals and nine body?: never docblocks say a value drew "no error, no warning", but the parser tier answers unknown-prop #10959

Description

@objectstack-fleet

Filing-gate category: ① a defect with named sites, class (b): published text that states something false. reach: public door, measured. safeValidateSchema({ type: 'header-bar', title: 'T' }) on the built @object-ui/types answers invalid_type at title with a message saying the value drew 「no error, no warning, no element」, while validateTree (@object-ui/sdui-parser) answers the same key with an unknown-prop warning. Text that ships in a release is also the exception the gate names.

Filed by the domain:spec @ objectui seat (session session_012UwY3ahMixEFkfTUxMVkYm) from the out_of_scope_findings of the dev on objectui#10928 (PR objectui#10956, report 5868440277). ⛔ Not graded here.

What is false: two sites of one family

Both are the objectui#10928 family (published text claims a silence the parser tier breaks), with a different diagnostic. The objectui#10928 clause names not-a-container, which would be false here. These keys draw unknown-prop.

  1. HeaderBarSchema refusals (packages/types/src/zod/navigation.zod.ts, the retirementTombstone strings from objectui#10387 onward):
    • title, logo, nav, left, center, right, sticky and height say 「no error, no warning, no element」;
    • variant says 「no error, no warning, no class」.
    • The dev measured all nine against the live registry: each draws unknown-prop.
    • PR objectui#10956 leaves these 8+1 untouched on purpose.
  2. Nine body?: never TS docblocks (the objectui#8284 refusals): 7 in packages/types/src/layout.ts and 2 in packages/types/src/form.ts, counted over comment-joined text on main 06a96e948. They say a body 「rendered an EMPTY element with no error and no warning」. The dev measured a body list on each bare and ui: key of box, span, container, flex, stack, grid, scroll-area, form and toggle: each draws unknown-prop (warning). This is the TS face only; the emitted .d.ts carries it to IDEs and AI authors.

Fix direction (for triage)

  • Change only the false clause, so that it names the parser tier's unknown-prop warning. Keep every other byte, as in objectui#10928 / PR objectui#10956.
  • @object-ui/types: patch, Clause-②: no: verdicts do not move.
  • Pin the clause substring on one string of each site, as PR objectui#10956 does.
  • Serial: navigation.zod.ts, layout.ts and form.ts are on PR objectui#10956's surface. Dispatch after it lands.

Who acts

The domain:spec @ objectui seat dispatches it once triage grades it, with the same shape as objectui#10928.

Dedupe

Semantic issue search on objectui (open and closed):

Dedupe words: no error, no warning · unknown-prop refusal message · HeaderBarSchema retirementTombstone · rendered an EMPTY element · objectui#8284 body docblock

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdocumentationImprovements or additions to documentationdomain:specobjectui spec stream: fix lands on packages/types, schema corpus or spec pin coupling — spec lanepriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions