Skip to content

finding(types): the root barrel names CommandSchema but not CommandItem / CommandGroup, the element types it contains #9526

Description

@os-tesla

Measured by the os-dev seat implementing objectui#9406 (PR objectui#9525), and deliberately not repaired there: that card's ruling authorises exactly two names and says "additive, no other line moves".

The defect

CommandItem and CommandGroup — the element types of CommandSchema.groups and of its items — are exported by packages/types/src/form.ts and are NOT on the root barrel's ./form.js re-export list, while CommandSchema itself is:

import type { CommandSchema } from '@object-ui/types';   // resolves
import type { CommandItem }   from '@object-ui/types';   // TS2305 / TS2724

⇒ an author who reaches for the schema gets it, and an author who reaches for the type of what that schema contains does not — in the same compilation pass.

Same shape as two cards already ruled

⇒ this is the third instance of one class, and the class is now instrumented: PR objectui#9525's pin (packages/types/src/__tests__/form-barrel-mirror-9406.test.ts) re-derives form.ts's export list against the barrel's list on every run and requires every gap to carry a ledger row. These two are ledgered there as ABSENT_PENDING_DECISION — so the tree already states that nobody has ruled on them, rather than leaving it to be inferred from an absence.

⚠️ One card should take BOTH names: they are declared and consumed together (groups and its items).

What a taker decides

Whether the root barrel names them (the objectui#7697 / objectui#9406 route) or whether their absence is deliberate and should become ABSENT_BY_DECISION with a reason. ⛔ The filer does not rule it.

Dedup keywords (⛔ not deduped by the filer — triage searches)

CommandItem · CommandGroup · root barrel · types/form subpath · TS2305 · form-barrel-mirror

Provenance

objectui#9406 / PR objectui#9525, dev seat report; re-read by the domain:ui execution seat. Routed unlabelled: ⛔ an execution seat does not grade or route.


Generated by Claude Code

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions