Skip to content

docs(AST-099): apps and Lab read one keyboard value - #12008

Draft
vjeux wants to merge 11 commits into
meta:mainfrom
vjeux:docs/keyboard-value
Draft

vjeux wants to merge 11 commits into
meta:mainfrom
vjeux:docs/keyboard-value

Conversation

@vjeux

@vjeux vjeux commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Exact decision needed

One decision for the spec owner, in five parts (spec:AST-099 DEC-7 to DEC-11). It covers how apps and Lab read the on-screen keyboard, and two gaps in how Core's surfaces move with it. FR3 and DEC-1 reserve this change for the owner.

  1. Should Astryx let apps read the keyboard's height? (FR3, DEC-7). Some app parts can't sit in a Core field or host. Examples are a floating button, a floating player, a full-screen panel, and a tab bar that hides while you type. Today each app measures the keyboard beside Core, and the two can disagree after a pan, a pinch zoom or a resume. Then a floating button sits under the keyboard, or jumps while Core's surfaces stay still.
    • A. Keep it internal. Each app keeps its own measurement under architecture:react-component-runtime INV11.
    • B (recommended). A read-only value from @astryxdesign/core/keyboard: the height, whether a keyboard is up, whether it has settled, and a notification when it settles. No motion and no CSS variable. One measurement serves Core and apps. A Core host may also publish a layout value that includes the keyboard's lift, as docs(Chat): windowed transcripts, a status action and sendable drafts #12021's endRoom does.
    • C. B plus each change's motion, so an app element rides with Core's surfaces.
  2. Frames (FR7, DEC-8), with B or C. Should the page that embeds a frame send the value to the frame that holds focus? Then a field in an embedded editor or conversation stays above the keyboard. Today a frame reads 0.
  3. The Lab entry (DEC-9). Lab reads the same value through Core's internal entry, so Lab keeps no keyboard listener. A tab bar that hides while a keyboard is up would depend on it. A host that shrinks the page for the keyboard reads a height of 0, so the value still says a keyboard is up there. FR6 names the signal: 100 px.
  4. Hold the page for a drag on a riding bar (FR4, DEC-10; spec:AST-094 FR19)? Yes: a drag that starts on a bar riding the keyboard doesn't pan the page, so the bar stays on the keyboard. No: Safari pans the page, and the bar leaves the keyboard.
  5. Bring up the keyboard for a field focused after a tap (FR10, DEC-11)? Yes: a Dialog or a sheet that focuses its field as it opens shows the keyboard on iPhone. No: the field is focused with no keyboard until the person taps it. Under today's records, a searchable Selector or MultiSelector sheet focuses search as it opens, so the keyboard would cover its options. #11987, still open, defers that focus, and DEC-11 keeps such a deferral.

Each "no" removes its DEC and the matching sentences. Option A removes items 1 and 2.

Not asked here: the iOS ride is the product owner's requirement. Core's surfaces ride the keyboard in Safari on iOS on UIKit's keyboard motion, for show and hide. Draft #12044 implements it as the demo, with FR8's change, DEC-12 and its iOS Simulator evidence. You decide its shape and its merge there.

Need Example Served by
Height floating button or player; a panel whose last line ends at the keyboard B
Up or not a tab bar that hides; a search scope; test rigs B
Height before the keyboard an installed web app whose window shrinks B, where the window keeps its height
After the keyboard settles work that waits for the rise to end B's notification
Pans outside a Core host a surface pinned above the keyboard item 4
Frames an embedded editor or conversation item 2

A surface that can use a Core field or host needs none of this. A custom editor in ChatLayout's dock is one (component:ChatComposer AV3).

Existing authority searched

Decision

Area Contract
Public contract @astryxdesign/core/keyboard: one read-only value and a settle notification, for React and non-React code. Lab reads it through an internal entry.
Behavior Core and app elements read the same value in the same frame.
End-user impact Floating chrome and full-screen panels stay clear of the keyboard, in step with Core's surfaces.
Builder impact An app drops its own keyboard listener and applies the value on its own elements.
Compatibility The value is additive. DEC-10's page hold and DEC-11's keyboard for a late field change behavior on every page, read or not.
Review checks Reject a CSS custom property for the height, a setter, or a public curve.

Callsite before:

const [inset, setInset] = useState(0); // the app's own measurement

After, with names left to the implementation:

const {height, isUp} = useKeyboard(); // from @astryxdesign/core/keyboard

Rejected alternatives

  • A CSS custom property for the height (DEC-1).
  • A public copy of the keyboard hook and its focus claim.
  • A frame reading its parent's viewport, which a cross-origin frame cannot do.
  • Sending every frame the value, which tells unknown frames when someone types.

Claim scope and non-goals

  • Three defects against the current records are filed apart. They are Gap 11 (a scroller's missing end range), Typeahead's own viewport read (Gap 4), and the home-screen app's evidence (DEC-3).
  • CommandPalette, full-height hosts and a sticky bottom bar wait for a reproduction.
  • The export names stay with the implementation.

Evidence and implementation relationship

  • The needs come from one product's mobile web client, grouped by need above.
  • This pull request changes records only.
  • FR6's 100 px rests on measurements at one width. The largest change without a keyboard was 56 px, Chrome's toolbar on the Android emulator; Safari's toolbar on an iPhone 14 changed 40 px. The smallest keyboard was 165 px, an iPhone 14 in landscape; Android's smallest landscape keyboard, a number pad, was 196 px.

Writing rubric results

  • R1 narration: none.
  • R2 research in the record: none; the need table and FR6's measurements live here.
  • R3 evidence naming a change: none.
  • R4 rejected alternatives over one line or outside a decision: none; one line per decision.
  • R5 pull request or issue references remaining: none.
  • R6 ruled open questions still listing options: none.
  • R7 project status (build status or work order): five requirement-gap lines in Current-state impact.

Scope

Components: on-screen keyboard (spec:AST-099), the keyboard's runtime rule (INV11), touch presentations (spec:AST-094)

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract.
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal Meta context.

Validation

  • 3975671 merges main 8fdc162. AST-094's Verification table, and AST-099's Current-state impact and Verification table, conflicted. Each keeps main's rows and lines and this change's own.
  • At 3975671: pnpm check:knowledge passes; Prettier, git diff --check and pnpm check:repo are clean.

@vercel

vercel Bot commented Nov 16, 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 Nov 19, 2026 5:41pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Dec 3, 2026, 3:55 PM UTC

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 16, 2026
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

Current run: The current CI run concluded skipped. Current analysis is unavailable.


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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11. Those decisions intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11 with a public @astryxdesign/core/keyboard value, and they add frames (DEC-8), a Lab entry (DEC-9), a page hold on a riding container (DEC-10) and tap-carried focus (DEC-11).

An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. These fixes are needed either way:

  • Add an FR4 gap: line to Current-state impact, because main holds the page only under a modal scroll lock, so a drag that starts on a riding container still pans Safari's page.
  • State in Current-state impact, or exempt in FR10, that a searchable Selector or MultiSelector touch sheet, which focuses its search field on open under their current records, would bring up the iPhone keyboard over its options under FR10.
  • Add packages/core/src/Dialog/** to the record's path-applicability block, because FR10 governs Dialog and nothing else routes the record there.
  • Correct the description's compatibility row, because DEC-10 and DEC-11 change behavior for pages that read no keyboard value.

Smaller points: DEC-9's "Lab moves nothing with the keyboard" reads against FR8's "commits the resting value without riding", and FR7 should say that the embedding page sends the covered height of the frame's box, which the frame accepts only from its parent window.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: FR3 and DEC-1 reserve a public keyboard value for the owner. Verified: FR3 forbids an export, and DEC-1 asks for a deliberate public-API decision.
  • Claim: today each app measures beside Core, and a frame reads 0. Verified against INV11's rule for code outside Core and FR7.
  • Claim: with the internal entry, Lab keeps no keyboard listener. Verified as proposed; Lab has no keyboard listener today.
  • Claim: the Selector sheet's search focus is deferred on purpose, and DEC-11 keeps that. False under the current records: the deferral is an open, unmerged change, and the Selector and MultiSelector records focus search on open.
  • Claim: no open pull request adds a decision to this record, so this one takes DEC-7 to DEC-11. Verified.
  • Claim: a custom editor in the chat dock needs none of this. Verified against the ChatComposer record's editor allowance; the "authority searched" list cites the ChatLayout clause instead.
  • Claim: compatibility is additive, and a page that reads nothing sees no change. False for DEC-10 and DEC-11.
  • Claim: records only; the knowledge check, Prettier and the diff check pass. Verified.
  • Claim: rubric R1 to R6 find nothing, and R7 finds three gap lines. Verified, but an FR4 gap line is missing.
  • Claim: public text holds no internal context. Verified.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: findings (FR4 gap, FR10 impact, Dialog path, DEC-9 wording, FR7 message).
  • File docs/architecture/react-component-runtime.md: clear apart from the spec decision; consistent with FR3 and DEC-9.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear apart from the spec decision; "six exceptions" matches the list.

Automated review (maintainer link)

@vjeux

vjeux commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Thanks. The description's compatibility row now says DEC-10 and DEC-11 change behavior on every page, and its authority list cites component:ChatComposer AV3.

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11, which intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11 with a public @astryxdesign/core/keyboard value and add frames, a Lab entry with a keyboard-up state in resizing hosts, a page hold on a riding container, and tap-carried focus. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. The four earlier record fixes are in, and these are still needed either way:

  • FR3 and DEC-9 say the value reports a keyboard up in a host that shrinks the layout viewport, but FR6 confines keyboard handling to hosts whose layout viewport keeps its height and no record or Verification row says how that state is detected or what fails, so name the signal in FR6 and add a failure to the new FR3 row, or drop the sentence.
  • Miss: the original FR3 Verification row still fails "a public CSS custom property, export, or prop for the height", which contradicts FR3's new public export, so drop "export" there or fold that row into the new FR3 row.
  • Miss: the original FR7 Verification row still fails "a non-zero value or a claimed focus inside an iframe", which contradicts FR7's value from the embedding page and its focus claim inside the frame, so replace or delete that row.

Smaller point: the Current-state impact line cites component:MultiSelector FR8 for search focus on open, but FR8 covers only a caller-rendered trigger.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: FR3 and DEC-1 reserve a public keyboard value for the owner. Verified: FR3 forbids an export, and DEC-1 asks for a deliberate public-API decision.
  • Claim: today each app measures the keyboard beside Core, and a frame reads 0. Verified against INV11's rule for code outside Core and FR7.
  • Claim: with the internal entry, Lab keeps no keyboard listener. Verified as proposed; Lab has none today outside one test.
  • Claim: a host that shrinks the page reads a height of 0 while the value still says a keyboard is up. Proposed but unsupported: no record names the signal for that state (finding).
  • Claim: under today's records a searchable Selector or MultiSelector sheet focuses search on open, and the deferral is still open work. Verified for the Selector record and both components' code; the MultiSelector clause covers only a caller-rendered trigger.
  • Claim: a custom editor in the chat dock needs none of this. Verified against the ChatComposer record's editor allowance.
  • Claim: the value is additive, and the page hold and the late-field keyboard change behavior on every page. Verified.
  • Claim: no open pull request adds a decision to this record, and the listed open work overlaps these records. Verified for the listed pull requests, all open; the separate iOS ride pull request was not found by search.
  • Claim: rubric R7 finds four requirement-gap lines. Verified.
  • Claim: records only; the knowledge check, Prettier and the whitespace check pass. Verified; all three rerun at this head.
  • Claim: public text holds no internal context. Verified.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: findings (resizing-host state, stale FR3 and FR7 rows, MultiSelector citation).
  • File docs/architecture/react-component-runtime.md: clear apart from the spec decision; consistent with FR3 and DEC-9.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear apart from the spec decision; "six exceptions" matches the list.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11, which intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11 with a public @astryxdesign/core/keyboard value and add frames, a Lab entry with a keyboard-up state in resizing hosts (now detected by FR6's 150 px rule), the keyboard's lift in ChatLayout's endRoom, a page hold on a riding container, and tap-carried focus. 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. The earlier record fixes are in; these two are still needed either way:

  • FR6's resizing-host rule measures from the layout viewport "before that focus, at the same width", so after the keyboard's Next button or a rotation with the keyboard up it reports no keyboard, which the new FR3 Verification row fails; measure from before the first of consecutive focuses, say what a rotation reads, and add a field-to-field move, a toolbar change and a rotation to that row.
  • FR3 and DEC-7 cite component:ChatLayout for an endRoom member that no current ChatLayout record defines (only the separate open draft that adds it to ChatLayoutContext does), so either state only the permission this record owns and leave the member to the ChatLayout record, or stack the two pull requests so they land together.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: FR3 and DEC-1 reserve a public keyboard value for the owner. Verified: FR3 forbids an export, and DEC-1 asks for a deliberate public-API decision.
  • Claim: today each app measures the keyboard beside Core, and a frame reads 0. Verified against INV11's rule for code outside Core and FR7.
  • Claim: with the internal entry, Lab keeps no keyboard listener. Verified as proposed; Lab has none today outside one test.
  • Claim: a host that shrinks the page reads a height of 0 while the value says a keyboard is up, and FR6 names the signal. Verified that FR6 names one; it misreads a field-to-field move and a rotation (finding).
  • Claim: ChatLayout's end room already carries the keyboard's lift. True of the layout's internal end padding; as a named member it exists only in the other open draft (finding).
  • Claim: the two pull requests merge together, so neither cites the other's part before it exists. Unsupported: no stack ties them (finding).
  • Claim: under today's records a searchable Selector or MultiSelector sheet focuses search on open, and the deferral is still open work. Verified.
  • Claim: a custom editor in the chat dock needs none of this. Verified against the ChatComposer record's editor allowance.
  • Claim: the value is additive, and the page hold and the late-field keyboard change behavior on every page. Verified.
  • Claim: no open pull request adds a decision to this record, and the listed open work overlaps these records. Verified for the listed pull requests, all open; the separate iOS ride pull request was not found.
  • Claim: rubric R5 leaves no pull request references in the records, and R7 finds four requirement-gap lines. Verified.
  • Claim: records only; the knowledge check, Prettier and the whitespace check pass. Verified; all three rerun at this head.
  • Claim: public text holds no internal context. Verified.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: two findings (FR6's resizing-host signal, the endRoom citation).
  • File docs/architecture/react-component-runtime.md: clear apart from the spec decision; consistent with FR3 and DEC-9.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear apart from the spec decision; "six exceptions" matches the list.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11. They intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11 with a read-only keyboard value at @astryxdesign/core/keyboard, give frames the embedding page's value (FR7), add a sixth spec:AST-094 FR19 exception for a drag on a riding container (FR4), carry a tap's focus to a field that mounts later (FR10), and add FR6's 100 px signal and the host-value permission; an engineering owner records the decision by commenting /approve-spec with the full head SHA, and the author may do so as an engineering owner. Two record fixes are needed whatever the decision:

  • FR6 keeps the up state after a rotation until focus leaves, so in Chrome on Android a rotation followed by Back reads a keyboard as up with none shown, which the FR3 Verification row fails; keep the state only until the layout viewport changes by at least 100 px at the new width, and add Back after a rotation to that row.
  • FR3 and DEC-7 now let a Core host publish a layout value that includes the keyboard's lift, but INV11 still says the keyboard height reaches styles only as the hook's value, so add the host value to INV11 or drop the permission.

Non-blocking: DEC-7's example names ChatLayout's endRoom, which main does not publish yet, so describe it without the name until that record is current.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the current FR3 forbids a public export of the keyboard height, and DEC-1 defers it to a later public-API decision: verified (current FR3 and DEC-1).
  • Claim: FR6 names the resizing-host signal at 100 px: verified (FR6 at the head).
  • Claim: a host that shrinks the page reads a height of 0 while the value still says a keyboard is up: verified (FR3, FR6, DEC-9).
  • Claim: a drag that starts on a riding bar does not pan the page, as a sixth touch-presentation exception: verified (FR4, DEC-10; the touch record's FR19 and its Verification row now say six).
  • Claim: DEC-11 keeps a surface's deferred focus: verified (DEC-11).
  • Claim: the change is records only: verified (three Markdown records).
  • Claim: no other open pull request adds a decision to this record: verified (the open pull requests that touch it add none).
  • Claim: the knowledge check passes and formatting is clean: verified (knowledge check, Prettier and the whitespace check pass at the head).
  • File: docs/specs/AST-099-mobile-keyboard/spec.md: FR6 rotation finding; DEC-7 example (non-blocking); DEC-7 to DEC-11 await owner approval.
  • File: docs/architecture/react-component-runtime.md: INV11 host-value finding.
  • File: docs/specs/AST-094-touch-presentations/spec.md: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11, which intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11, FR7's top-level-only rule and spec:AST-094 FR19's five exceptions, and add FR6's resizing-host signal, FR10's carried focus and a Core host's layout value that carries the keyboard's lift. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as one. Whatever the decision, this record fix is still needed:

  • FR6 (lines 171-173) states one run's device measurements (56 px, 165 px and the margins between them) as its threshold's basis, but architecture:knowledge-contracts INV10 keeps research in the pull request and the conclusion inside the decision, so move the figures out and keep at most a one-sentence reason in DEC-9.

The earlier rotation, INV11 and DEC-7 findings are fixed at this head.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the pull request changes specification records only. Verified: three Markdown records, no package source.
  • Claim: the record checks pass, and formatting and whitespace are clean. Verified: the record check exits 0 and the formatter and whitespace checks report nothing.
  • Claim: the research rubric item passes with FR6 keeping its threshold's measured extremes. False: the record rules keep measurements out of records (the finding above).
  • Claim: no pull request or issue references remain in the records. Verified: no issue number, pull or issues link in the added lines.
  • Claim: project status appears only as requirement-gap lines. Verified: four gap lines, each naming its requirement and the mismatch.
  • Claim: a searchable single or multiple selector sheet focuses its search field as it opens. Verified: both components pass the search field as the sheet's initial focus when search is on.
  • Claim: the page hold and the keyboard for a late-focused field change behavior on every page. Verified: neither requirement is opt-in.
  • Claim: no other open pull request adds a decision to the keyboard record apart from the iOS ride's next decision. Verified for the ten open keyboard pull requests read.
  • Claim: the 100 px threshold rests on toolbar and keyboard measurements. Stated in the description; not reproduced.
  • Claim: the chat layout's host value relies on the new public-value decision. Not checked: it belongs to another pull request.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: one blocking finding (the FR6 measurements); its decisions wait on the owner.
  • File docs/architecture/react-component-runtime.md: clear apart from the owner decision.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear apart from the owner decision.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11, which intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11, FR7's top-level-only rule and spec:AST-094 FR19's five exceptions, and add FR6's resizing-host signal, FR10's carried focus and a Core host's layout value that carries the keyboard's lift. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as one.

The earlier FR6 finding is fixed: the record no longer carries the device measurements, and the signal now applies only under a coarse primary pointer. One optional wording fix remains: FR3 and DEC-9 still promise a keyboard-up state in a resizing host without FR6's coarse-pointer condition.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the pull request changes specification records only. Verified: three Markdown records, no package source.
  • Claim: the record checks pass, and formatting and whitespace are clean. Verified: the record check exits 0 and the formatter and whitespace checks report nothing.
  • Claim: the threshold's measurements live in the description, not the record. Verified: FR6 states no figures, and DEC-9 keeps a one-sentence reason.
  • Claim: no pull request or issue references remain in the records. Verified: no issue number, pull or issues link in the added lines.
  • Claim: rejected alternatives take one line per decision. Verified: each new decision ends with one "Rejected:" line.
  • Claim: project status appears only as requirement-gap lines. Verified: four gap lines, each naming its requirement and the mismatch.
  • Claim: the current records reserve a public keyboard value for an owner decision. Verified: the base FR3 forbids an export and DEC-1 leaves a later need to a deliberate public-API decision.
  • Claim: today a frame reads 0 and each app measures the keyboard beside Core. Verified: the base FR7 and the runtime rule for code outside Core say so.
  • Claim: a searchable single or multiple selector sheet focuses its search field as it opens. Verified: both components pass the search field as the sheet's initial focus when search is on.
  • Claim: the page hold and the keyboard for a late-focused field change behavior on every page. Verified: neither requirement is opt-in.
  • Claim: an open fix defers the selector sheets' search focus. Verified: that pull request is open and defers search focus for coarse-pointer sheets.
  • Claim: no other open pull request adds a decision to the keyboard record apart from the iOS ride's next decision. Verified for all 14 other open pull requests that name the record.
  • Claim: the chat layout's host value cites the new public-value decision. Verified: that pull request's chat layout record cites it.
  • Claim: an open chat layout pull request adds the composer as a sixth touch exception. Verified: it adds a "six exceptions" line to the touch record.
  • Claim: the 100 px threshold rests on toolbar and keyboard measurements. Stated in the description; not reproduced.
  • Claim: public text contains no internal context. Verified: no internal hosts, ids or tool names in the added lines, commits, title or body.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: one non-blocking note (FR3 and DEC-9 lack FR6's pointer condition); its decisions wait on the owner.
  • File docs/architecture/react-component-runtime.md: clear apart from the owner decision.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear apart from the owner decision.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11, and one record fix is needed beside it.

DEC-7 to DEC-11 intentionally replace the no-export rule in FR3 and architecture:react-component-runtime INV11, FR7's top-level-only rule and spec:AST-094 FR19's five exceptions, and add FR6's keyboard-up signal for hosts that resize, FR10's carried focus and the host-value permission. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking:

  • Miss: INV11's verification row (docs/architecture/react-component-runtime.md line 686) and AST-099's FR1 row (line 446) still fail only a component outside Core that measures by a rule other than FR2, so a Lab component that keeps its own keyboard listener, which the amended INV11 forbids, passes both; make them fail any keyboard listener or measurement of its own outside Core.

Non-blocking:

  • FR7 and DEC-8 send the keyboard value to any embedded frame, so a cross-origin frame the page does not control learns when the person types in the host page; consider sending it only to the frame that holds focus.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: FR3 and DEC-1 leave a public keyboard value to an owner decision: verified (FR3 on main forbids an export; DEC-1 asks for a deliberate public-API decision).
  • Claim: the value carries the height, up, settled and a settle notification, with no motion and no CSS variable: verified (FR3, lines 99-127).
  • Claim: a Core host may publish a layout value that includes the keyboard's lift: verified (FR3 lines 103-105, DEC-7, INV11 lines 202-204).
  • Claim: a frame reads 0 today: verified (FR7 on main).
  • Claim: Lab reads the value through Core's internal entry and keeps no keyboard listener: verified in DEC-9 and INV11; the verification rows do not yet check it (blocking finding).
  • Claim: a resizing host reads a height of 0 and still reports a keyboard up, by a 100 px signal: verified (FR6 lines 165-173, coarse primary pointer only).
  • Claim: a drag that starts on a riding bar does not pan the page: verified (FR4 lines 144-150; AST-094 FR19 lists six exceptions).
  • Claim: a field focused after a tap brings up the keyboard, searchable Selector and MultiSelector sheets then get it over their options, and a deferred focus keeps it down: verified (FR10, Current-state impact lines 376-379, DEC-11).
  • Claim: the iOS ride and its decision live in a separate open draft: verified (that draft adds DEC-12).
  • Claim: the listed open pull requests are open and edit the records named, and no other adds an AST-099 decision: verified (of the 14 other open pull requests that name AST-099, only the iOS ride adds one).
  • Claim: the ChatLayout draft's room value cites DEC-7: verified.
  • Claim: the value is additive, while the page hold and the late-field keyboard change every page: verified (FR4 and FR10 offer no opt-out).
  • Claim: the rejected alternatives match the decision log: verified (DEC-1, DEC-7, DEC-8).
  • Claim: a custom editor in ChatLayout's dock needs none of this: verified (ChatComposer AV3).
  • Claim: the 100 px threshold rests on device measurements: not checkable from the repository; the record keeps only DEC-9's one-sentence reason.
  • Claim: the records carry no pull request references and four requirement-gap lines: verified.
  • Claim: the pull request changes records only, record checks pass, and Prettier and whitespace checks are clean: verified (three Markdown records; record check, Prettier and whitespace check all pass).
  • Claim: public text carries no internal context: verified.
  • File docs/architecture/react-component-runtime.md: blocking finding (INV11's verification row).
  • File docs/specs/AST-094-touch-presentations/spec.md: clear.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: FR1 row (same finding) and the non-blocking FR7 note; DEC-7 to DEC-11 await the owner decision.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11. They intentionally change the current spec, namely FR3's and architecture:react-component-runtime INV11's rule that the keyboard height is not exported, FR7's top-level-only rule and spec:AST-094 FR19's five exceptions, and they add FR6's resizing-host signal and FR10. An engineering owner records the decision by commenting /approve-spec with the full head SHA, or says which decision to drop or change; the author may do so as an engineering owner.

No blocking record defect remains: the INV11 and FR1 verification rows now fail a component outside Core with its own keyboard listener. Non-blocking suggestions:

  • FR7 posts to the origin taken from the frame's src, so a frame sandboxed without allow-same-origin never receives the value; naming that case in FR7 and its verification row lets the owner see that sandboxed embeds stay out.
  • The FR3 gap line could also say that Core has no internal keyboard entry for Lab, and add an FR6 gap: nothing reads a keyboard as up where the host shrinks the layout viewport.
  • INV11's verification row reads more clearly as “…a measurement of its own, or riding the keyboard”.
Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the current FR3 and DEC-1 leave a public keyboard value to an owner decision: verified (DEC-1 on the base branch).
  • Claim: a frame reads 0 today: verified (current FR7).
  • Claim: a host that shrinks the page reads a height of 0, and FR6 names a 100 px signal: verified (FR2, FR8; FR6 at this head).
  • Claim: searchable Selector and MultiSelector sheets focus search as they open, and DEC-11 keeps a deferral: verified (Selector AR2, MultiSelector FR8; DEC-11).
  • Claim: the description's compatibility row, that DEC-10 and DEC-11 change behavior on every page: verified (FR4, FR10).
  • Claim: the knowledge check passes: verified (rerun at this head).
  • Claim: Prettier is clean: verified (rerun on the three records).
  • File docs/specs/AST-099-mobile-keyboard/spec.md: two non-blocking notes (FR7 sandboxed frames; the FR3 gap line).
  • File docs/architecture/react-component-runtime.md: one non-blocking wording note (INV11 verification row); consistent with AST-099 FR3 and FR1.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear; FR19 and its verification row both say six exceptions.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11. They intentionally change the current spec, namely FR3's and architecture:react-component-runtime INV11's rule that the keyboard height is not exported, FR7's top-level-only rule and spec:AST-094 FR19's five exceptions, and they add FR6's resizing-host signal and FR10. An engineering owner records the decision by commenting /approve-spec with the full head SHA, or says which decision to drop or change; the author may do so as an engineering owner.

One fix is needed beside that decision:

  • The description's rubric result R7 says four requirement-gap lines, but the record's Current-state impact now lists five gaps (FR3, FR4, FR6, FR7 and FR10) after this head added the FR6 one; an owner reads the record against those results, so the count needs updating.

The three wording notes from the last review are fixed. One further non-blocking suggestion: FR10 and its verification row do not say what a screen reader announces while Core carries a tap's focus to the field that mounts after it, so saying that only the field is announced, once, would settle it with the decision.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the current FR3 and DEC-1 leave a public keyboard value to an owner decision: verified (DEC-1 on the base branch).
  • Claim: a frame reads 0 today: verified (current FR7).
  • Claim: a host that shrinks the page reads a height of 0, and FR6 names a 100 px signal: verified (FR2, FR8; FR6 at this head).
  • Claim: searchable Selector and MultiSelector sheets focus search as they open, and DEC-11 keeps a deferral: verified (Selector AR2, MultiSelector FR8; DEC-11).
  • Claim: the description's compatibility row, that DEC-10 and DEC-11 change behavior on every page: verified (FR4, FR10).
  • Claim: the rubric result R7, four requirement-gap lines: false; the record states five.
  • Claim: the knowledge check passes: verified (rerun at this head).
  • Claim: Prettier is clean: verified (rerun on the three records).
  • File docs/specs/AST-099-mobile-keyboard/spec.md: the R7 count above, and one non-blocking note on FR10's announcement.
  • File docs/architecture/react-component-runtime.md: clear; INV11's prose and verification row agree with AST-099 FR3 and FR1.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear; FR19 and its verification row both say six exceptions.

Automated review (maintainer link)

tap opens a Core surface whose initial focus is a text-entry field that mounts
after the tap, such as a Dialog or a BottomSheet that focuses its field as it
opens, that focus brings up the keyboard in every browser. Safari on iOS
raises the keyboard only for a focus made inside the tap, so Core carries the

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.

Non-blocking, missed in earlier reviews: Core makes a focus inside the tap and then carries it to the field once the field mounts, so a VoiceOver user could hear the carrier first, or the field twice. Neither FR10 nor its verification row says what is announced. Suggested: add “Only the field is announced, once.” to FR10, and a VoiceOver state to the FR10 row.

@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.

Approval waits on an engineering owner's decision on spec:AST-099 DEC-7 to DEC-11, which intentionally change FR3's and architecture:react-component-runtime INV11's rule that the keyboard height is not exported, FR7's top-level-only rule and spec:AST-094 FR19's five exceptions, and add FR6's resizing-host signal and FR10. An engineering owner records the decision by commenting /approve-spec followed by the full head SHA, or says which decision to drop or change; the author may do so as an engineering owner.

The earlier fix is done: the open-work list now names the stacked iOS-ride follow-up and which change amends DEC-12, and no other change is required.

Non-blocking: FR10 and its verification row still do not say what a screen reader announces while Core carries a tap's focus to the field that mounts after it.

Claims and files checked

Review mode: same-head; reason: none

  • Claim: the current FR3 and DEC-1 leave a public keyboard value to an owner decision: verified (DEC-1 on the base branch).
  • Claim: option B's value holds the height, up, settled and a settle notification, with no motion and no CSS variable: verified (FR3 at this head).
  • Claim: a Core host may publish a layout value with the keyboard's lift, as the ChatLayout records pull request does, on a separate branch: verified (FR3; that pull request is open, cites DEC-7 and is not stacked on this one).
  • Claim: a frame reads 0 today: verified (current FR7).
  • Claim: a host that shrinks the page reads a height of 0, and FR6 names a 100 px signal: verified (FR2, FR8; FR6 and DEC-9 at this head).
  • Claim: without DEC-10, Safari pans the page under a drag on a riding bar: verified (the FR4 gap line).
  • Claim: searchable Selector and MultiSelector sheets focus search as they open, an open pull request defers it, and DEC-11 keeps a deferral: verified (Current-state impact; that pull request is open; DEC-11).
  • Claim: the iOS-ride draft adds DEC-12 and extends FR6's last sentence and the Platform support line, and a stacked follow-up carries those lines and amends DEC-12: verified (both drafts read; the follow-up contains the first).
  • Claim: DEC-10 and DEC-11 change behavior on every page: verified (FR4, FR10).
  • Claim: the listed open pull requests are open and edit these records, and overlapping open work is named: verified (each read; other open pull requests on these records edit different lines).
  • Claim: no other open pull request adds an AST-099 decision: verified (only the two iOS-ride drafts add one, DEC-12).
  • Claim: the merge of the base branch kept its lines, and the conflicts were in AST-094 and AST-099: verified (a merge check reports conflicts in exactly those files).
  • Claim: the knowledge check passes, and Prettier, the whitespace check and the repository checks are clean: verified on this same head.
  • Claim: the rubric results, including five requirement-gap lines: verified.
  • Claim: FR6's 100 px rests on device measurements: not verifiable from the repository; the record keeps only the conclusion.
  • File docs/specs/AST-099-mobile-keyboard/spec.md: one non-blocking note on FR10's announcement.
  • File docs/architecture/react-component-runtime.md: clear; INV11's prose and verification row agree with AST-099 FR3 and FR1.
  • File docs/specs/AST-094-touch-presentations/spec.md: clear; FR19 and its verification row both say six exceptions.

Automated review (maintainer link)

@vjeux

vjeux commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Fixed in body: the open-work list now names #12802 beside #12044, and says #12044 adds DEC-12 and #12802 amends it.

@astracat-bot

astracat-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

In reply to @vjeux

I'll run a full review to re-check this with your note.

This branch was successfully deployed

1 active deployment
Preview — 3975671d Deployed Nov 19, 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. needs:spec-owner-review Current knowledge records await owner approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant