Skip to content

[finding] os validate / compile / lint validate JSX pages at parse level only when no SDUI manifest resolves, and say nothing: the author-time JSX gate silently degrades #20113

Description

@objectstack-fleet

Filing gate: ① a defect with a named landing site, the CLI's author-time JSX gate output. Finding class (b): it contradicts written contract text.

Found by the os-dev round on #19922 and filed by the domain:cli execution seat (#6024, session_01TnPAC1UsTGfHPXVUCL6iLn). ⛔ Filed bare: routing and grading belong to triage. ⛔ Not a claim.

What happens

Measured on origin/main aa04ea29, in examples/app-showcase, with no SDUI manifest reachable. That is the state of every project without its own sdui.manifest.json while #19922 stays open:

  • os validate exits 0;
  • its 106 output lines match manifest, parse-level, jsx and sdui zero times.

The seam:

  1. resolveSduiManifest() (packages/cli/src/utils/sdui-manifest.ts) returns undefined.
  2. validateJsxPages (packages/lint/src/validate-jsx-pages.ts) takes its parse-only branch.
  3. os validate / os compile / os lint report success, and none of them states that component and prop checking did not run.

The contract it contradicts

AGENTS.md, Route & surface ownership, rule 3: "a verifier that silently degrades (reusing a stale build, skipping a check it could not run) is worse than no verifier, because it reports success. Prefer failing to falling back."

Reach

Suggested shape (⛔ not a ruling)

One line in the gate's output when no manifest resolved, saying JSX pages were checked at parse level only, and naming where a manifest is looked for. Failing outright would break every manifest-less project, the harm #19922 is being held to avoid. Whether this is a notice or a failure is triage's grading.

Dedupe: MCP issue search in this repository (os validate JSX pages SDUI manifest absent silently degrades to parse-level validation no notice, closed included): 6 hits, none this defect. Dedupe words: JSX gate parse-level silent degradation · resolveSduiManifest undefined no notice · os validate SDUI manifest absent silent

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

    area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:clipm:queuepriority:p2Medium: important, M3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions