Skip to content

spec(AST-094): FR15 exempts watchers from recognizer exclusivity (DEC-7) - #8517

Merged
cixzhang merged 2 commits into
mainfrom
spec/ast094-fr15-watchers
Oct 26, 2026
Merged

cixzhang merged 2 commits into
mainfrom
spec/ast094-fr15-watchers

Conversation

@cixzhang

@cixzhang cixzhang commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Record consistency with spec:AST-094 DEC-7 (decided by the owner, 2026-10-25: a watcher recognizer is passive and follows the scroll). FR15 says recognizers are exclusive by default, which as written would let a claiming recognizer cancel a watcher. This PR adds one sentence to FR15:

Watchers are exempt from this exclusivity: they recognize alongside a claiming winner, which never fails or cancels them (DEC-7).

DEC-7 gains the matching sentence (the owner's ruling that watchers are passive and are never cancelled by a claiming recognizer), and the FR15–FR17 verification row gains a watcher beside a claiming winner. A system touchcancel and FR24's disabled presentation still end a watcher.

Rubric (docs/contributing/spec-writing.md)

  • R1 present tense: pass. R2 one behavior: pass. R3 verification: FR15's existing row covers arbitration; DEC-7's watcher behavior is verified by its own rows.
  • R4–R6: no alternatives, measurements, or open questions added.

@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
astryx Ready Ready Preview Oct 26, 2026 11:05am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Oct 26, 2026, 11:52 AM UTC

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

Current run: The current change has no visual or preview-producing scope. Visual checks are not applicable; preview links are not shown.

The exact-head preview is not available yet.


Generated by PR Enrichment workflow | View current CI run

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one-sentence FR15 amendment adds a rule that the current touch presentations spec does not state yet. DEC-7 only keeps a watcher alive when the browser takes the touch, so exempting watchers from recognizer exclusivity needs an engineering owner's decision before approval. 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 three record fixes first, because a new commit needs a new approval:

  • Scope "are never cancelled" to the arbitration (for example "a claiming winner never fails or cancels them"), because as written it also rules out ending a watcher on a system touchcancel or when its presentation is disabled (FR24).
  • Write the arbitration case into DEC-7 or a new decision, because FR15 cites DEC-7 for a rule DEC-7 does not contain.
  • Add a state with a watcher beside a claiming winner to the FR15–FR17 Verification row: the shipped gesture arena still fails such a watcher, and no row would catch it.

[Automated review]

Comment on lines +222 to +224
on the same event, the innermost element's recognizer MUST win. Watchers
are exempt from this exclusivity: they recognize alongside a claiming winner
and are never cancelled (DEC-7).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"are never cancelled" reaches further than DEC-7, which keeps a watcher alive only when the browser takes the touch. Read literally, it also forbids ending a watcher on a system touchcancel or when its touch presentation is disabled (FR24). Consider scoping it to the arbitration, for example: "…they recognize alongside a claiming winner, which never fails or cancels them (DEC-7)."

@cixzhang
cixzhang force-pushed the spec/ast094-fr15-watchers branch from ab5a40a to a37acc8 Compare October 26, 2026 10:58
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec a37acc8

@github-actions github-actions Bot added spec-auto-merge Auto-merge was enabled by the spec owner gate and removed needs:spec-owner-review Current knowledge records await owner approval labels Oct 26, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 26, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An engineering owner approved this exact head, and the FR15 watcher exemption is now scoped to a claiming winner, written into DEC-7 and covered by the FR15–FR17 verification row, so nothing blocks it on the spec side. Before a component ships a watcher, the gesture arena's conflict check needs the matching exemption and the test that verification row names. Optionally, rename the description's ## Rubric block to ## Writing rubric results and use the R2, R3 and R5 names from docs/contributing/spec-writing.md.

[Automated review]

@cixzhang
cixzhang merged commit c355ceb into main Oct 26, 2026
57 checks passed
cixzhang added a commit to vjeux/astryx that referenced this pull request Oct 26, 2026
…atcher

A watcher (a tab bar that minimizes while the page scrolls) never claims:
its element gets only passive listeners and a scroll never waits for it; it
prevents no other recognizer and none prevents it (spec:AST-094 FR15, which
exempts watchers from exclusivity, meta#8517); it cancels no press or click
under it; its direction restricts no scroll (touch-action left as is,
FR20, DEC-7); and it follows a touch the browser takes for a scroll to the
lift. Split out of meta#8336, which keeps the host's ownership changes.

Co-authored-by: Christopher Chedeau <[email protected]>
@github-actions
github-actions Bot deleted the spec/ast094-fr15-watchers branch October 27, 2026 06:22
vjeux added a commit to vjeux/astryx that referenced this pull request Nov 3, 2026
…atcher

A watcher (a tab bar that minimizes while the page scrolls) never claims:
its element gets only passive listeners and a scroll never waits for it; it
prevents no other recognizer and none prevents it (spec:AST-094 FR15, which
exempts watchers from exclusivity, meta#8517); it cancels no press or click
under it; its direction restricts no scroll (touch-action left as is,
FR20, DEC-7); and it follows a touch the browser takes for a scroll to the
lift. Split out of meta#8336, which keeps the host's ownership changes.

Co-authored-by: Christopher Chedeau <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — a37acc8d Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. spec-auto-merge Auto-merge was enabled by the spec owner gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant