Skip to content

feat(lint,cli): JSX gate full validation via manifest (ADR-0080 M3b①)#2446

Merged
os-zhuang merged 1 commit into
mainfrom
feat/sdui-jsx-gate-manifest
Jun 29, 2026
Merged

feat(lint,cli): JSX gate full validation via manifest (ADR-0080 M3b①)#2446
os-zhuang merged 1 commit into
mainfrom
feat/sdui-jsx-gate-manifest

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

ADR-0080 M3b① — the manifest consumption seam. The os build / os validate JSX gate (#2440) now upgrades from parse-level to full component/prop validation when a sdui.manifest.json is present at the project root: unknown component, missing/wrong prop, bad enum, and binding sites — via @objectstack/sdui-parser's compile(). Without a manifest it falls back to parse-level (syntax/structure/forbidden constructs), so nothing regresses.

Verified: validateJsxPages with a manifest catches unknown-component + missing-required and passes a valid page; without a manifest it stays parse-level. No new deps (node builtins).

Remaining (the genuinely cross-repo bit): generating + shipping the manifest — the registry's public tier (getPublicConfigs, objectui) serialized into sdui.manifest.json and made available to the build. That's a CI/release step (boot registry → emit JSON), plus the eventual @object-ui/sdui-parser re-export once @objectstack/sdui-parser is published. The consumption side is now in place and dormant-until-fed.

🤖 Generated with Claude Code

…ent (ADR-0080 M3b①)

validateJsxPages accepts an optional component manifest -> compile()-based full
validation (unknown component / missing-required / enum / type); without it,
parse-level. os validate loads sdui.manifest.json from the project root when
present. Generating+shipping that manifest from the registry public tier stays a
build/CI step.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 29, 2026 2:31am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/s and removed documentation Improvements or additions to documentation tests tooling labels Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/cli, @objectstack/lint.

15 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/concepts/cloud-artifact-api.mdx (via packages/cli)
  • content/docs/concepts/implementation-status.mdx (via @objectstack/cli)
  • content/docs/concepts/packages.mdx (via @objectstack/cli)
  • content/docs/getting-started/cli.mdx (via @objectstack/cli)
  • content/docs/getting-started/quick-start.mdx (via @objectstack/cli)
  • content/docs/guides/authentication.mdx (via @objectstack/cli)
  • content/docs/guides/client-sdk.mdx (via @objectstack/cli)
  • content/docs/guides/hook-bodies.mdx (via packages/cli)
  • content/docs/guides/packages.mdx (via @objectstack/cli)
  • content/docs/guides/project-scoping.mdx (via @objectstack/cli)
  • content/docs/guides/runtime-services/data-service.mdx (via packages/cli)
  • content/docs/guides/runtime-services/index.mdx (via packages/cli)
  • content/docs/guides/skills.mdx (via packages/cli)
  • content/docs/protocol/objectos/plugin-spec.mdx (via @objectstack/cli)
  • content/docs/protocol/objectos/realtime-protocol.mdx (via @objectstack/cli)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit 21c37d8 into main Jun 29, 2026
15 of 16 checks passed
@os-zhuang
os-zhuang deleted the feat/sdui-jsx-gate-manifest branch June 29, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant