Skip to content

Commit ce348ae

Browse files
committed
chore(sdui-parser): retire the objectui lockstep gate and its vendored record
One parser is kept (`@objectstack/sdui-parser`), so the gate that held two copies byte-equal has nothing left to compare once the renderer's copy goes. Removes `scripts/check-sdui-lockstep.mjs`, `packages/sdui-parser/objectui-lockstep.json`, the `check:sdui-lockstep` / `gen:sdui-lockstep` scripts, the lint.yml step, the NOT_DRIVER_MANAGED row and the measurement-triage row, and drops the prose that pointed at the gate. Claude-Session: https://claude.ai/code/session_01Xe3LjBvLrRVA6dmFUEGskm Co-authored-by: Claude <noreply@anthropic.com>
1 parent 365fe5e commit ce348ae

9 files changed

Lines changed: 10 additions & 1758 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -984,29 +984,6 @@ jobs:
984984
continue-on-error: true
985985
run: pnpm check:widget-option-census
986986

987-
# The sdui-parser LOCKSTEP invariant (#12719 / #13150). Two copies of the
988-
# constrained-JSX parser exist: objectui's runs in the RENDERER, this one
989-
# runs in the SAVE GATE, and #12719 states that they must byte-agree on
990-
# the accepted grammar and on the diagnostic codes — an invariant that had
991-
# been enforced by NOTHING through three manual ports, two of which landed
992-
# only because someone happened to file a card naming the drift.
993-
#
994-
# Compared against a VENDORED RECORD of objectui's side, so this step
995-
# needs no network, no build and no objectui checkout. Read the gate's
996-
# header for what that buys and what it costs: it sees this copy moving
997-
# away from the recorded objectui state; it does NOT see objectui moving
998-
# afterwards, and only a `.objectui-sha` bump — the moment a divergence
999-
# starts SHIPPING — brings that direction back into view.
1000-
#
1001-
# Unfiltered on purpose. The record lives under packages/sdui-parser/, the
1002-
# pin is a root dotfile, and this workflow declares no paths: filtering it
1003-
# to the parser subtree would go dormant on exactly the PR that moves the
1004-
# pin. Cost is one TypeScript parse of seven small files, ~0.4 s.
1005-
- name: sdui-parser stays in lockstep with objectui's copy
1006-
id: sdui-parser-stays-in-lockstep-with-objectui
1007-
continue-on-error: true
1008-
run: pnpm check:sdui-lockstep
1009-
1010987
# The checked-in SDUI public-tier manifest (#12924, ruled 2026-08-29: wire
1011988
# it). `resolveSduiManifest()` degrades to parse-only SILENTLY when the
1012989
# repo-root `sdui.manifest.json` is absent or unreadable, so nothing in

‎package.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"docs:start": "pnpm --filter @objectstack/docs start",
2525
"os": "node packages/cli/bin/run.js",
2626
"console:build": "turbo run build:dist --filter=@objectstack/console",
27-
"gen:sdui-lockstep": "node scripts/check-sdui-lockstep.mjs --update",
2827
"lint": "node --stack-size=4000 node_modules/eslint/bin/eslint.js . --no-inline-config",
2928
"i18n:extract": "tsx packages/cli/bin/run-dev.js i18n extract packages/platform-objects/scripts/i18n-extract.config.ts --locales=zh-CN,ja-JP,es-ES --fill=default --source-hashes --out=packages/platform-objects/src/apps/translations",
3029
"check:i18n": "node scripts/check-i18n-bundles.mjs --self-test && node scripts/check-i18n-bundles.mjs",
@@ -39,7 +38,6 @@
3938
"check:bash32-floor": "node scripts/check-bash32-floor.mjs --self-test && node scripts/check-bash32-floor.mjs",
4039
"check:stack-collection-maps": "node scripts/check-stack-collection-maps.mjs --self-test && node scripts/check-stack-collection-maps.mjs",
4140
"check:widget-option-census": "node scripts/check-widget-option-census.mjs --self-test && node scripts/check-widget-option-census.mjs",
42-
"check:sdui-lockstep": "node scripts/check-sdui-lockstep.mjs --self-test && node scripts/check-sdui-lockstep.mjs",
4341
"check:doc-authoring": "node scripts/check-doc-authoring.mjs --self-test && node scripts/check-doc-authoring.mjs",
4442
"check:doc-anchors": "node scripts/check-doc-anchors.mjs --self-test && node scripts/check-doc-anchors.mjs",
4543
"check:docs-single-h1": "node scripts/check-docs-single-h1.mjs --self-test && node scripts/check-docs-single-h1.mjs",

‎packages/sdui-parser/objectui-lockstep.json‎

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)