Repository navigation
spec(AST-094): touch motion roles stay internal until the public set is decided (DEC-11) - #8488
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis ReportView Storybook for this PR · View Sandbox for this PR
Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
This spec change needs an engineering owner's decision before it can be approved. DEC-11 and the reworded FR1 and FR4 withdraw the current spec:AST-094 rule that a theme MAY override touch motion roles through motion, until the public motion-token set is decided. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. Please make these fixes on the head that receives the approval:
- Update the FR4 verification row, which still tests a themed spring and fails "a role that ignores the theme", the behaviour FR4 now requires.
- Update the Current-state impact bullet, which still says the touch motion roles join the theme configuration of
architecture:theme-tokensandarchitecture:theme-authoring-contract. - Have DEC-11 also defer DEC-1's "a theme may retune any motion role", and drop "theme" from the motion-role wording in FR4, FR31 and FR34.
[Automated review]
| and MUST NOT play a literal. A theme value MUST reach the motion at its | ||
| generated motion role table (DEC-5). The role's value is its | ||
| measured value (FR1, FR2). The roles are internal until the public | ||
| motion-token set is decided, so a theme cannot override them yet (DEC-11). A component MUST read touch motion through these roles |
There was a problem hiding this comment.
With this sentence, the FR4 verification row (line 507) fails a conforming implementation. It still tests "a theme writing a spring, a duration and a curve" and fails "a role that ignores the theme". The Current-state impact bullet (lines 459-461) also still says the roles join the theme's motion configuration. Both need to say what FR4 now states.
| Motion values stay internal for now: a public, theme-settable set is decided | ||
| separately, so no component-specific role becomes a public token first. | ||
|
|
||
| This defers DEC-3's theme override until that set exists. |
There was a problem hiding this comment.
DEC-1 (line 542) also decides that "a theme may retune any motion role (FR4)", so defer it here as well. FR31 (line 327) and FR34 (line 357) still say "theme motion roles".
cab7a74 to
9003439
Compare
|
/approve-spec 9003439 |
|
Since this was opened, 3f29b03 on #8257 removed the theme surface outright, so three sentences here still describe code that no longer exists. Suggested edits so the record matches it, one sentence each:
Take or leave any of them. |
There was a problem hiding this comment.
This spec change is ready to merge: an engineering owner approved this exact head with /approve-spec, and the FR4 verification row and Current-state impact now match DEC-11's deferral. One optional wording fix: FR4's keyboard exemption still says that motion "is not a theme role", while the requirement it exempts from now says "motion role". FR4 and DEC-5 still route component-measured values through a generated motion role table, which the open motion-role work removed, so one of them will need to change; any edit here, including the suggested sentences, needs a fresh /approve-spec on the new head.
[Automated review]
| motion-token set is decided, so a theme cannot override them yet (DEC-11). A component MUST read touch motion through these roles | ||
| and MUST NOT play a literal. Once a role is public, a theme value MUST reach the motion at its | ||
| start, without changing how the motion runs (FR5, FR6). Motion that | ||
| must stay in step with the on-screen keyboard is not a theme role: it rides |
There was a problem hiding this comment.
Non-blocking: the requirement this exempts from now reads "MUST be a motion role" (line 99), and the record no longer defines a theme role. Saying "is not a motion role" here would make the exemption match it.
… AST-094 DEC-11) into the motion clock and Reduce Motion plan scroll.ts takes main's note.
…the animator # Conflicts: # packages/core/src/motion/uikit/scroll.ts
… AST-094 DEC-11) into the motion clock and Reduce Motion plan scroll.ts takes main's note.
…the animator # Conflicts: # packages/core/src/motion/uikit/scroll.ts
Exact decision needed
None new: this applies Cindy's 2026-10-25 decision that motion values stay internal for now, so the record matches code that keeps touch motion roles internal.
Existing authority searched
spec:AST-094FR1, FR4 (roles themeable throughmotion), DEC-3 (touch motion is themeable).Decision
spec:AST-094DEC-11 (cixzhang, 2026-10-25): FR4's roles are internal until the public motion-token set is decided, so a theme cannot override them yet. FR1's theme sentence and FR4's theme-application sentences apply once roles are public. DEC-3's theme override is deferred, not reversed. The role table, values, and sources are unchanged.Lands before #8257 so the record and code agree.
Writing rubric results
Scope
Validation
pnpm check:knowledge(CI lint)git diff --check