Skip to content

test(dogfood): runtime proof for ADR-0085 semantic roles over the served pipeline#2528

Merged
os-zhuang merged 1 commit into
mainfrom
test/semantic-roles-dogfood
Jul 3, 2026
Merged

test(dogfood): runtime proof for ADR-0085 semantic roles over the served pipeline#2528
os-zhuang merged 1 commit into
mainfrom
test/semantic-roles-dogfood

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Solidifies the one-off browser verification of the ADR-0085 chain (#2521 / objectui#2168) into a permanent regression guard, in the field_zoo (#2005) tradition.

Fixtures

showcase_semantic_zoo (canonical: highlightFields + stageField: 'status' + fieldGroups with collapse: 'collapsed') and showcase_semantic_zoo_legacy (deprecated: compactLayout + stageField: false, with a status-named field that trips the stepper heuristic if suppression ever leaks).

Assertions (real HTTP against the booted showcase app)

  1. Canonical spellings served verbatim + compactLayout transition mirror — the mirror assertion is deliberately load-bearing: the PR that retires the alias must delete it, so a red here after retirement = a missed consumer.
  2. Deprecated compactLayout aliases onto highlightFields when served.
  3. stageField: false arrives as a strict false — guards the falsy-check bug class objectui#2168 fixed.
  4. Served metadata × shared deriveFieldGroupLayout (§5) = declared order, collapse passthrough, trailing ungrouped bucket.
  5. Fixtures are real writable objects (create + read-back round-trip).

Verification

  • New test 5/5 green; full dogfood suite 36 files / 181 tests green (no disturbance).
  • Red-proof: removing stageField: false from the fixture turns assertion 3 red (verified, then restored).
  • examples/app-showcase typecheck green.

🤖 Generated with Claude Code

…ved pipeline

Adds showcase_semantic_zoo (canonical spellings) + showcase_semantic_zoo_legacy
(deprecated spellings) as field_zoo-style fixtures, and a dogfood test that
asserts against the real Hono app over HTTP:

- highlightFields served verbatim + compactLayout transition mirror present
  (the assertion is deleted in the same PR that retires the alias);
- deprecated compactLayout aliases onto highlightFields when served;
- stageField:false arrives as a STRICT false (a falsy-dropping serializer or
  falsy-check renderer silently turns the stepper back on — the exact bug
  objectui#2168 fixed);
- served metadata composes with the shared deriveFieldGroupLayout (§5):
  declared order, collapse passthrough, trailing ungrouped bucket;
- the fixtures are real writable objects, not metadata ghosts.

Red-proof: removing stageField:false from the fixture turns the strict-false
assertion red (verified locally, then restored). Both packages are private —
no changeset needed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jul 3, 2026 2:39am

Request Review

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

No hand-written docs reference the 1 changed package(s). ✅

@os-zhuang
os-zhuang merged commit c0e40e5 into main Jul 3, 2026
17 checks passed
@os-zhuang
os-zhuang deleted the test/semantic-roles-dogfood branch July 3, 2026 02:40
os-zhuang added a commit that referenced this pull request Jul 3, 2026
…) (#2539)

The ADR-0085 deprecation window is closed: consumers switched in
objectui#2168, shipped via the console pin (#2526), one release soaked.

- ObjectSchema drops the compactLayout declaration: create() rejects it
  (unknown key), lenient parse strips it — no silent aliasing either way.
- normalizeSemanticRoleAliases loses both directions (alias + the #2521
  back-fill mirror); served metadata carries highlightFields only.
- 27 straggler system-object authors (plugins/services, missed by the
  #2521 sweep — the type gate caught the first one) renamed.
- liveness ledger drops the compactLayout row; the dogfood mirror
  assertion (#2528) flips to expect ABSENCE, exactly as it was designed
  to force in the retirement PR.
- Downstream smoke pin → hotcrm v1.2.2 (hotcrm#424, same rename).

spec 6666 + dogfood 181 green; api-surface unchanged; check:liveness ✓.

Closes #2536

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant