You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(sdui): declare the declaration-parity ratchet an on-demand gate triggered by the objectui pin bump (#5960) (#6421)
Maintainer ruling 2026-08-07, option D. `sdui.manifest.json` changes only when
`.objectui-sha` moves, so the pin-update flow is the ratchet's trigger — and the
measured answer was that nothing triggered it at all. Producing the manifest in
this repo's CI (option A) is rejected; objectui publishing it as a release
artefact (option B) is deferred.
The procedure line now lives where a pin-bumping operator actually meets it:
- scripts/bump-objectui.sh prints the `pnpm sdui:manifest` NEXT STEP on both
successful exits (--no-commit moved the pin too). A reminder, not a hard gate:
a machine without Playwright must still be able to move the pin.
- scripts/build-console.sh's closing line names the trigger, not just the
command — `pnpm objectui:refresh` runs bump-then-build, so that output is the
last thing an operator sees.
- docs/releases-maintenance.md gains "After the pin moves", and the
pin-freshness "fix when it fires" step gains the run.
- AGENTS.md's frontend section gains the step, and its `check:generated` note
stops calling the manifest's provenance an open question.
- scripts/objectui-changeset-digest.mjs --self-test (CI: check:objectui-changeset)
pins the reminder, so the procedure line cannot be deleted in silence.
Rider from the ruling: ADR-0082's Consumers row, TL;DR 4, decision 4, the chain
diagram and one Consequences bullet all pointed at scripts/build-console.sh —
#4472 moved the ratchet to scripts/gen-sdui-manifest.sh and the ADR was never
updated, so a reader following it opened a file that deliberately dumps no
manifest. Corrected in place plus a new addendum 2;
docs/audits/2026-06-react-blocks-conformance.md carried the same stale pointer
and is corrected with it.
Releases nothing: scripts/, docs/ and AGENTS.md ship in no package.
Fixes#5960
Claude-Session: https://claude.ai/code/session_01AZgRyPVwi1jLb1mNNuUQ9o
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,8 @@ This repo ships **backend only**. All Studio/Console UI work happens in `../obje
93
93
94
94
Other scripts: `objectui:bump` (pull only), `objectui:build`, `objectui:clean`. ⚠️ Never hand-edit `packages/console/dist/` or `.cache/objectui-*/` — regenerated.
95
95
96
+
**Moving the pin has a second half: `pnpm sdui:manifest`.** ADR-0082 D4's spec↔registry declaration-parity ratchet reads objectui's `sdui.manifest.json`, which changes only when `.objectui-sha` moves — so the pin bump is the ratchet's trigger, and its only one. It is an **on-demand gate by decision** (#5960), never a CI job; `objectui:bump` and `objectui:refresh` both print the reminder. Needs Playwright chromium. Full procedure: `docs/releases-maintenance.md` → "After the pin moves".
97
+
96
98
**Fast iteration on `../objectui` src (no commit/refresh loop):** run objectui's own console dev server — `cd ../objectui && pnpm --filter @object-ui/console dev` (Vite on **:5180**, HMR). Its `/api` proxy targets `DEV_PROXY_TARGET || http://localhost:3000`, so **run the backend you're testing on :3000** (`PORT=3000 pnpm dev` for showcase) and browse `:5180`. Note `:3001/_console` (or whatever the backend serves) is the **published** console, not your `../objectui` src — only `:5180` reflects local UI edits. See `../objectui/AGENTS.md` for the app-id / localStorage / auth gotchas.
97
99
98
100
---
@@ -555,9 +557,16 @@ unavailable` and **exited 0**, so no path existed on which this gate could go re
555
557
**exits 1** when it has no usable manifest, because "could not run" is a failure, not a
556
558
skip (Route & surface ownership §3, *Absence must be loud*). Run it the one way that
0 commit comments