Skip to content

Commit fdc345e

Browse files
committed
test(dogfood): classify page:tabs item visibleWhen in the expression-surface ledger (#2606)
The ADR-0058 D7 / ADR-0060 conformance ratchet re-discovers every ExpressionInputSchema field in packages/spec/src and fails the build if any is unclassified. The new tab-item visibleWhen surface (ui/component.zod.ts) needs a ledger row: it belongs to cel-ui (interpret, fail-soft-log) alongside the page/view visibility predicates — evaluated by the objectui page:tabs renderer. Fixes the Test Core / Dogfood Regression Gate failures on this branch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FmuuXkuW3JH9LYXHHRnoQV
1 parent 294bb56 commit fdc345e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/dogfood/test/expression-conformance.ledger.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ export const EXPRESSION_SURFACE: ExprSurface[] = [
125125
'ui/view.zod.ts:visibleWhen',
126126
'ui/view.zod.ts:visibleOn',
127127
'ui/component.zod.ts:onSubmit',
128+
// Conditional tabs (framework#2606): `page:tabs` item-level visibility.
129+
// Canonical ADR-0089 `visibleWhen` from day one (no deprecated alias on
130+
// this new surface). Interpreted by the objectui page:tabs renderer to
131+
// omit the whole tab (header + panel) when FALSE.
132+
'ui/component.zod.ts:visibleWhen',
128133
'system/settings-manifest.zod.ts:visible',
129134
],
130135
},

0 commit comments

Comments
 (0)