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
{{ message }}
Repository navigation
Commit ee892d1
Browse filesBrowse the repository at this point in the historyBrowse files
docs(skills): auth-permissions stops teaching dataSource as the data expression root (objectui#9379)
The 2026-09-13 maintainer ruling on objectui#9308 (option B) stopped
`SchemaRenderer` publishing the injected `DataSource` adapter as the
expression root `data`. This guide still taught both halves: flags
derived "in the dataSource object", a scope table sourcing `data` from
"the `dataSource` passed to `SchemaRendererProvider`", and a trap
paragraph whose recommended spelling is the one that now fails.
The document is what is wrong here, not the runtime: the guide is moved
onto the channel that does publish roots, `PredicateScopeProvider`, in
the same shape PR #9369 used for `content/docs/guide/schema-rendering.md`
and `packages/react/README.md`.
- permission flags are published as an ambient scope and read by the
names they were published under;
- the scope table gains a `record` row (ADR-0089 D3 makes `record` the
runtime-layer row root) and states that `data` is a root only when the
host publishes one;
- the trap paragraph is re-measured on the built evaluator: a name
nothing published makes a predicate fail soft to `true` (the button is
hidden for every user), while a text key hands back its own source
characters.
One bounded repair inside the same paragraph: the flag example derived
its booleans from `check(...)`, which answers a `{ allowed, … }` object.
An object is truthy, so `${!flag}` was permanently `false` and the gate
showed the button to everyone. The example now publishes `can(...)`,
which answers a boolean.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015h79niBMyoB1xcaQje3uiz
0 commit comments