Repository navigation
Conversation
… a runtime budget; long lists skip offscreen rows
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
# Conflicts: # docs/architecture/react-component-runtime.md
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV20 and DEC-2, and architecture:react-component-runtime INV19 with DEC-1 and INV20 with DEC-2. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. These fixes stay required after the decision:
- Layer-runtime INV20 makes Tooltip mount its layer on first show, but the trigger's
aria-describedbynames that layer's id, so before first show it names no element, againstcomponent:TooltipAR1; keep the description element mounted or amend AR1. - Layer-runtime INV20 contradicts
component:Popover's rule that the default context layer keeps its mounted host while closed; amend that record or drop theusePopoversurfaces from INV20. - Layer-runtime INV20 ships only for ContextMenu and runtime INV20 for no list, yet neither is listed as an implementation gap, and DEC-2 and DEC-1 state the adoption as done ("Core surfaces now use it", "now meet one measured budget") although nothing measures INV19; list the unmet rules as gaps and drop the adoption claims.
- INV20 and the description say it uses
useLayer'slazyMount, but publiclazyMountunmounts on every hide while keep-after-show is the internalkeepsMountAfterShow, and "Every Core surface built onuseLayerin context mode" lists only eight of them; name the option and say which surfaces change and how. - Runtime INV19 lists "Checkbox" and "Radio", which Core does not export; name the real components (for example
CheckboxListItemandRadioListItem). - Runtime INV20 applies
content-visibilityto "Grid rows", butcomponent:Gridowns no content or rows; drop Grid or name the intended collection. - The description has no
## Writing rubric results, whicharchitecture:knowledge-contractsrequires of a pull request that changes a record.
INV20 also keeps Selector's list mounted after its first open, while open #9586 removes it on every close, so the decision should settle which one governs Selector.
[Automated review]
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV20 and DEC-2, and architecture:react-component-runtime INV19 with DEC-1 and INV20 with DEC-2. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. These fixes stay required after the decision:
- Layer-runtime INV20 makes Tooltip mount its layer on first show, but the trigger's
aria-describedbynames that layer's id, so before first show it names no element, againstcomponent:TooltipAR1; keep the description element mounted or amend AR1. - Layer-runtime INV20 contradicts
component:Popover's rule that the default context layer keeps its mounted host while closed; amend that record or drop theusePopoversurfaces from INV20. - Miss: layer-runtime INV20 keeps HoverCard's layer, and with it the card's content, mounted after the first close, against
component:HoverCardFR8 ("Content renders only while open"); amend FR8 or exempt HoverCard from keeping its layer. - Layer-runtime INV20 ships only for ContextMenu and runtime INV20 for no list, yet neither is listed as an implementation gap, and DEC-2 and DEC-1 state the adoption as done ("Core surfaces now use it", "now meet one measured budget") although nothing measures INV19; list the unmet rules as gaps and drop the adoption claims.
- INV20 and the description say it uses
useLayer'slazyMount, but publiclazyMountunmounts on every hide while keep-after-show is the internalkeepsMountAfterShow, and "Every Core surface built onuseLayerin context mode" lists only eight of them; name the option and say which surfaces change and how. - Runtime INV19 lists "Checkbox" and "Radio", which Core does not export; name the real components (for example
CheckboxListItemandRadioListItem). - Runtime INV20 applies
content-visibilityto "Grid rows", butcomponent:Gridowns no content or rows; drop Grid or name the intended collection. - The description has no
## Writing rubric results, whicharchitecture:knowledge-contractsrequires of a pull request that changes a record.
INV20 also keeps Selector's list mounted after its first open, while open #9586 removes it on every close, so the decision should settle which one governs Selector.
[Automated review]
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2, and architecture:react-component-runtime INV19 with DEC-1 and INV20 with DEC-2. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. These fixes stay required after the decision:
- Layer-runtime INV24 makes Tooltip mount its layer on first show, but the trigger's
aria-describedbynames that layer's id, so before first show it names no element, againstcomponent:TooltipAR1; keep the description element mounted or amend AR1. - Layer-runtime INV24 contradicts
component:Popover's rule that the default context layer keeps its mounted host while closed; amend that record or drop theusePopoversurfaces from INV24. - Miss: layer-runtime INV24 keeps HoverCard's layer, and with it the card's content, mounted after the first close, against
component:HoverCardFR8 ("Content renders only while open"); amend FR8 or exempt HoverCard from keeping its layer. - Layer-runtime INV24 ships only for ContextMenu and runtime INV19 and INV20 for no control or list, yet none is listed as an implementation gap, and DEC-2 and DEC-1 state the adoption as done ("Core surfaces now use it", "now meet one measured budget"); list the unmet rules as gaps and drop the adoption claims.
- INV24 and the description say it uses
useLayer'slazyMount, but publiclazyMountunmounts on every hide while keep-after-show is the internalkeepsMountAfterShow, and "Every Core surface built onuseLayerin context mode" lists only eight of them; name the option and say which surfaces change and how. - Runtime INV19 lists "Checkbox" and "Radio", which Core does not export; name the real components (for example
CheckboxListItemandRadioListItem). - Runtime INV20 applies
content-visibilityto "Grid rows", butcomponent:Gridowns no content or rows; drop Grid or name the intended collection. - The description has no
## Writing rubric results, whicharchitecture:knowledge-contractsrequires of a pull request that changes a record.
INV24 also keeps Selector's list mounted after its first open, while open #9586 removes it on every close, so the decision should settle which one governs Selector.
[Automated review]
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (every context-mode Core layer mounts on its first show and then stays mounted), architecture:react-component-runtime INV19 and DEC-1 (a 100-instance runtime budget for the listed controls), and INV20 and DEC-2 (content-visibility: auto on List, ChatMessageList and Grid rows). An engineering owner records it by commenting /approve-spec <full head SHA> (the author may do so if they are an engineering owner), and the decision should also say which lifetime governs Selector's list, since open #9586 removes it on every close while INV24 keeps it after the first open.
These record fixes stay required whatever the decision:
- INV24 contradicts
component:TooltipAR1: until a tooltip is first shown, its trigger'saria-describedbynames an element that does not exist, so screen readers get no description (layer-runtime.md:640-646). - INV24 contradicts
component:Popover's "Side effects and lifetime" clause, which keeps the default context layer's host mounted while closed, for Popover, DropdownMenu, Selector, MultiSelector and the date pickers. - Miss: INV24's keep-after-first-show contradicts
component:HoverCardFR8 ("Content renders only while open"), which HoverCard meets today by unmounting on every hide. - INV24 is missing from the record's opening list of invariants the runtime does not yet meet (
layer-runtime.md:86-89) and from Current gaps, so the record says Tooltip, Popover and HoverCard already behave this way. - INV24 says it uses
useLayer's existinglazyMount, which unmounts on every hide, and claims every context-mode surface while listing eight; name the internal keep-mounted option and say which surfaces change. - Miss: "A closed trigger renders only the trigger" (
layer-runtime.md:644-645) rules out the inert marker every context layer renders, whichcomponent:ContextMenuPR1 names. - INV19 lists "Checkbox" and "Radio", which Core does not export (
react-component-runtime.md:394). - INV20 applies to "Grid rows", but
component:Gridowns no content (react-component-runtime.md:400-401). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record.
Also worth fixing: DEC-2's "Core surfaces now use it" and DEC-1's "now meet one measured budget" report build progress that is not true yet; state an unmet invariant as an INV… gap: line instead.
[Automated review]
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (every context-mode Core layer mounts on its first show and then stays mounted), architecture:react-component-runtime INV19 and DEC-1 (a 100-instance runtime budget for the listed controls), and INV20 and DEC-2 (content-visibility: auto on List, ChatMessageList and Grid rows). An engineering owner records it by commenting /approve-spec <full head SHA> (the author may do so if they are an engineering owner), and the decision should also say which lifetime governs Selector's list, since open #9586 removes it on every close while INV24 keeps it after the first open.
These record fixes stay required whatever the decision:
- INV24 contradicts
component:TooltipAR1: until a tooltip is first shown, its trigger'saria-describedbynames an element that does not exist, so screen readers get no description (layer-runtime.md:663-669). - INV24 contradicts
component:Popover's "Side effects and lifetime" clause, which keeps the default context layer's host mounted while closed, for Popover, DropdownMenu, Selector, MultiSelector and the date pickers. - Miss: INV24's keep-after-first-show contradicts
component:HoverCardFR8 ("Content renders only while open"), which HoverCard meets today by unmounting on every hide. - Miss: INV20 keeps every ChatMessageList row in the DOM, while the current
architecture:list-windowingrecord names Chat's message list as a consumer of the windowing module, which renders only the rows near the viewport (react-component-runtime.md:400-404). - INV24 is missing from the record's opening list of invariants the runtime does not yet meet (
layer-runtime.md:89-93) and from Current gaps, so the record says Tooltip, Popover and HoverCard already behave this way. - INV24 says it uses
useLayer's existinglazyMount, which unmounts on every hide, and claims every context-mode surface while listing eight; name the internal keep-mounted option and say which surfaces change. - Miss: "A closed trigger renders only the trigger" (
layer-runtime.md:667-668) rules out the inert marker every context layer renders, whichcomponent:ContextMenuPR1 names. - INV19 lists "Checkbox" and "Radio", which Core does not export (
react-component-runtime.md:394). - INV20 applies to "Grid rows", but
component:Gridowns no content (react-component-runtime.md:400-401). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record.
Also worth fixing: DEC-2's "Core surfaces now use it" and DEC-1's "now meet one measured budget" report build progress that is not true yet; state an unmet invariant as an INV… gap: line instead.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (every context-mode Core layer mounts on its first show and then stays mounted), architecture:react-component-runtime INV19 and DEC-1 (a 100-instance runtime budget for the listed controls), and INV20 and DEC-2 (content-visibility: auto on List, ChatMessageList and Grid rows). An engineering owner records it by commenting /approve-spec <full head SHA> (the author may do so if they are an engineering owner), and the decision should also say which lifetime governs Selector's list, since open #9586 removes it on every close while INV24 keeps it after the first open.
These fixes stay required whatever the decision:
- INV24 contradicts
component:TooltipAR1: until a tooltip is first shown, its trigger'saria-describedbynames an element that does not exist, so screen readers get no description (layer-runtime.md:713-719). - INV24 contradicts
component:Popover's "Side effects and lifetime" clause, which keeps the default context layer's host mounted while closed, for Popover, DropdownMenu, Selector, MultiSelector and the date pickers. - Miss: INV24's keep-after-first-show contradicts
component:HoverCardFR8 ("Content renders only while open"), which HoverCard meets today by unmounting on every hide. - Miss: INV24's "Every Core surface built on
useLayerin context mode" contradictscomponent:ComplexSelectorFR2, which requires one mounted popup that is hidden while closed (layer-runtime.md:713-714). - Miss: INV20 keeps every ChatMessageList row in the DOM, while the current
architecture:list-windowingrecord names Chat's message list as a consumer of the windowing module, which renders only the rows near the viewport (react-component-runtime.md:459-463). - INV24 is missing from the record's opening list of invariants the runtime does not yet meet (
layer-runtime.md:96-99) and from Current gaps, so the record says Tooltip, Popover and HoverCard already behave this way. - INV24 and the description say it uses
useLayer's existinglazyMount, which unmounts on every hide, and INV24 claims every context-mode surface while listing eight; name the internal keep-mounted option and say which surfaces change. - Miss: "A closed trigger renders only the trigger" (
layer-runtime.md:717-718) rules out the inert marker every context layer renders, whichcomponent:ContextMenuPR1 names. - INV19 lists "Checkbox" and "Radio", which Core does not export (
react-component-runtime.md:453). - INV20 applies to "Grid rows", but
component:Gridowns no content (react-component-runtime.md:459-460). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record. - Newly live check: the description says INV24 is numbered after "open PR #10771's INV20", but #10771 has merged and INV20 is now main's own entrance-side clause (
layer-runtime.md:690-699).
Also worth fixing: layer-runtime DEC-2's "Core surfaces now use it" and runtime DEC-1's "now meet one measured budget" report work that is not done yet; state each unmet invariant as an INV… gap: line instead.
Claims and files checked
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option: false; that option unmounts on every hide, and keeping a layer needs the internal keep-mounted option (
useLayer.tsx:377-385,:489-496). - Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is linked.
- Claim: none of the three adds a prop, and there are no code or API changes: verified; only the two records change.
- Claim: the owner-decision numbering (layer-runtime INV24 and DEC-2; runtime INV19 and DEC-1, INV20 and DEC-2): verified at the head.
- Claim: INV24 is numbered after main's INV19, INV21 and INV22 and the draft #10124's INV23 and DEC-1: verified; after open #10771's INV20: false, #10771 has merged.
- Claim: main added its own runtime INV18: verified (
react-component-runtime.md:431). - Claim: no open pull request claims these numbers: not contradicted by the open pull requests checked that edit these records.
- File
docs/architecture/layer-runtime.md: findings above (Tooltip, Popover, HoverCard, ComplexSelector, unshipped status, mechanism and scope, marker, status wording); numbering consistent with the other record. - File
docs/architecture/react-component-runtime.md: findings above (Chat windowing, Checkbox and Radio, Grid rows, status wording); consistent with INV24's no-prop approach.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (every context-mode Core layer mounts on its first show and then stays mounted), architecture:react-component-runtime INV20 and DEC-1 (a 100-instance runtime budget for the listed controls), and INV21 and DEC-2 (content-visibility: auto on List, ChatMessageList and Grid rows). An engineering owner records it by commenting /approve-spec <full head SHA> (the author may do so if they are an engineering owner), and the decision should also say which lifetime governs Selector's list, since open #9586 removes it on every close while INV24 keeps it after the first open.
These fixes stay required whatever the decision:
- INV24 contradicts
component:TooltipAR1: until a tooltip is first shown, its trigger'saria-describedbynames an element that does not exist, so screen readers get no description (layer-runtime.md:713-719). - INV24 contradicts
component:Popover's "Side effects and lifetime" clause, which keeps the default context layer's host mounted while closed, for Popover, DropdownMenu, Selector, MultiSelector and the date pickers. - Miss: INV24's keep-after-first-show contradicts
component:HoverCardFR8 ("Content renders only while open"), which HoverCard meets today by unmounting on every hide. - Miss: INV24's "Every Core surface built on
useLayerin context mode" contradictscomponent:ComplexSelectorFR2, which requires one mounted popup that is hidden while closed (layer-runtime.md:713-714). - Miss: INV21 keeps every ChatMessageList row in the DOM, while the current
architecture:list-windowingrecord names Chat's message list as a consumer of the windowing module, which renders only the rows near the viewport (react-component-runtime.md:459-463). - INV24 is missing from the record's opening list of invariants the runtime does not yet meet (
layer-runtime.md:96-99) and from Current gaps, so the record says Tooltip, Popover and HoverCard already behave this way. - INV24 and the description say it uses
useLayer's existinglazyMount, which unmounts on every hide, and INV24 claims every context-mode surface while listing eight; name the internal keep-mounted option and say which surfaces change. - Miss: "A closed trigger renders only the trigger" (
layer-runtime.md:717-718) rules out the inert marker every context layer renders, whichcomponent:ContextMenuPR1 names. - INV20 lists "Checkbox" and "Radio", which Core does not export (
react-component-runtime.md:453). - INV21 applies to "Grid rows", but
component:Gridowns no content (react-component-runtime.md:460). - The description's owner decisions and current-state impact still call the runtime invariants INV19 and INV20, but this head numbers them INV20 and INV21, and INV19 is now main's decided "Large behavior code lives in a shared engine".
- The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record. - Newly live check: the description says INV24 is numbered after "open PR #10771's INV20", but #10771 has merged and INV20 is now main's own entrance-side clause (
layer-runtime.md:690-699).
Also worth fixing: layer-runtime DEC-2's "Core surfaces now use it" and runtime DEC-1's "now meet one measured budget" report work that is not done yet (state each unmet invariant as an INV… gap: line), and INV20 and INV21 with their verification rows now sit above main's INV19 instead of after it.
Claims and files checked
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option: false; that option unmounts on every hide, and keeping a layer needs the internal keep-mounted option (
useLayer.tsx:377-385,:489-496). - Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is linked.
- Claim: none of the three adds a prop, and there are no code or API changes: verified; only the two records change.
- Claim: the first owner decision is layer-runtime INV24 and DEC-2: verified at the head.
- Claim: the second and third owner decisions are runtime INV19 with DEC-1 and INV20 with DEC-2: false; the head numbers them INV20 and INV21.
- Claim: INV24 is numbered after main's INV19, INV21 and INV22 and the open draft #10124's INV23 and DEC-1: verified; after open #10771's INV20: false, #10771 has merged.
- Claim: the runtime record gains two invariants, two verification rows, DEC-1 and DEC-2, and main added its own INV18: the counts are verified; main also added INV19, which the description leaves out.
- Claim: the layer record gains INV24, a verification row and DEC-2: verified.
- Claim: no open pull request claims these numbers: not contradicted by the open pull requests checked that edit these records.
- Claim: the spec explainer is kept with the owner review: not checkable from the repository.
- File
docs/architecture/layer-runtime.md: findings above (Tooltip, Popover, HoverCard, ComplexSelector, unshipped status, mechanism and scope, marker, status wording). - File
docs/architecture/react-component-runtime.md: findings above (Chat windowing, Checkbox and Radio, Grid rows, status wording, invariant order); consistent with INV24's no-prop approach.
…eact-component-runtime INV20-21 become INV21-22
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the three requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (closed context-mode layers mount on their first show and then stay mounted, except Selector's list), architecture:react-component-runtime INV21 and DEC-1 (a 100-instance runtime budget for the listed controls), and INV22 and DEC-2 (content-visibility: auto on List, ChatMessageList and Grid rows). An engineering owner records it by commenting /approve-spec <full head SHA> (the author may do so as an engineering owner), and the decision should also say whether #9586 lands first, since INV24's Selector exception cites the Selector PR3 that only #9586 adds.
These fixes stay required whatever the decision:
- INV24 contradicts
component:TooltipAR1: until a tooltip is first shown, its trigger'saria-describedbynames an element that does not exist, so screen readers get no description (layer-runtime.md:713-720). - INV24 contradicts
component:Popover's "Side effects and lifetime" clause, which keeps the default context layer's host mounted while closed, for Popover and the listed surfaces built onusePopover. - Miss: INV24's keep-after-first-show contradicts
component:HoverCardFR8 ("Content renders only while open"), which HoverCard meets today by unmounting on every hide. - Miss: INV24's "Every Core surface built on
useLayerin context mode" contradictscomponent:ComplexSelectorFR2, which requires one mounted popup that is hidden while closed (layer-runtime.md:713-714). - Miss: INV22 keeps every ChatMessageList row in the DOM, while the current
architecture:list-windowingrecord names Chat's message list as a consumer of the windowing module, which renders only the rows near the viewport (react-component-runtime.md:459-463). - INV24's Selector exception cites
component:SelectorPR3, which the Selector record onmaindoes not have (it exists only in open #9586), so merged alone the record would cite a missing claim and state a lifetime Selector does not ship (layer-runtime.md:717-719). - DEC-2 still rejects "unmounting after every close" and INV24's verification row still fails "a layer that unmounts after its first close", both of which now contradict the Selector exception (
layer-runtime.md:948,:975). - INV24 is missing from the record's opening list of invariants the runtime does not yet meet (
layer-runtime.md:96-98), so the record says Tooltip, Popover and HoverCard already behave this way. - INV24 and the description say it uses
useLayer's existinglazyMount, which unmounts on every hide, and INV24 claims every context-mode surface while listing eight; name the internal keep-mounted option and say which surfaces change (layer-runtime.md:719). - Miss: "A closed trigger renders only the trigger" rules out the inert marker every context layer renders, which
component:ContextMenuPR1 names (layer-runtime.md:719). - INV21 lists "Checkbox" and "Radio", which Core does not export (
react-component-runtime.md:453). - INV22 applies to "Grid rows", but
component:Gridowns no content and does not inspect or rewrite its items (react-component-runtime.md:460). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record. - Newly live check: the description says INV24 is numbered after "open PR #10771's INV20", but #10771 has merged and INV20 is now main's own entrance-side clause.
- The description's overlap line says #11122 edits layer-runtime INV18 only, but its patch edits INV12.
Also worth fixing: layer-runtime DEC-2's "Core surfaces now use it" and runtime DEC-1's "now meet one measured budget" report work that is not done yet (state each unmet invariant as an INV… gap: line), and INV21 and INV22 with their verification rows sit above main's INV19 instead of after it.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option: false; that option unmounts on every hide, and keeping a layer needs the internal keep-mounted option.
- Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is given.
- Claim: none of the three adds a prop, and there are no code or API changes: verified; only the two records change.
- Claim: the first owner decision is layer-runtime INV24 and DEC-2, with Selector's list removed on every close per Selector PR3 decided with #9586: the numbers are verified at the head; PR3 is not in the Selector record on
main, only in open #9586. - Claim: the second and third owner decisions are runtime INV21 with DEC-1 and INV22 with DEC-2: verified at the head.
- Claim: INV24 is numbered after main's INV19, INV21 and INV22 and draft #10124's INV23 and DEC-1: verified; after open #10771's INV20: false, #10771 has merged.
- Claim: the runtime record gains INV21, INV22, two verification rows, DEC-1 and DEC-2, numbered after main's INV1 to INV19 (no INV14), DEC-3, DEC-4 and #12213's INV20: verified; #12213 is an open draft that adds INV20.
- Claim: the layer record gains INV24, a verification row and DEC-2: verified.
- Claim: the overlap check covers #9586, #12213, #10124, #11112 and #11122, and the last two edit layer-runtime INV18 only: false for #11122, which edits INV12; true for #11112.
- Claim: the spec explainer is kept with the owner review: not checkable from the repository.
- File
docs/architecture/layer-runtime.md: findings above (Tooltip, Popover, HoverCard, ComplexSelector, Selector citation, DEC-2 and verification row, unshipped status, mechanism and scope, marker, status wording). - File
docs/architecture/react-component-runtime.md: findings above (Chat windowing, Checkbox and Radio, Grid rows, status wording, invariant order); consistent with INV24's no-prop approach.
…faces whose records keep their own mount rule; INV21 and INV22 name real controls and state their gaps
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (ContextMenu's layer mounts on first show and stays; a closed Selector holds no option list), architecture:react-component-runtime INV21 and DEC-1 (a 100-instance runtime budget for the listed controls) and INV22 and DEC-2 (content-visibility: auto on List rows). An engineering owner records it by commenting /approve-spec <full head SHA>; the author may do so as an engineering owner.
These fixes stay required whatever the decision:
- The title and
layer-runtimeDEC-2 say the change spares tooltip-heavy pages, but INV24 lists only ContextMenu, which already mounts its layer on first open and keeps it, so no surface changes; narrow the title and DEC-2's problem to what INV24 covers (layer-runtime.md:943-947). - INV24's verification row measures a table of tooltips, which INV24 does not cover; measure a table with a ContextMenu per cell before and after the first open (
layer-runtime.md:978). - Miss: INV21 states that a listed control runs no layer or tooltip work for a feature it does not use, but Button and Avatar run their tooltip hook, and its layer, on every instance; add an
INV21 gap:line naming them (react-component-runtime.md:457-460). - INV24 and DEC-2 cite
component:SelectorPR3, which the Selector record onmaindoes not have (only open #9586 adds it), so merged alone the record cites a missing claim; move that sentence into #9586 or declare the two as a stack (layer-runtime.md:718-719,:951-952). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record. - The description says INV24 is numbered after "open PR #10771's INV20", but #10771 has merged and INV20 is
main's own clause. - The description says #11112 and #11122 edit
layer-runtimeINV18 only, but #11122 edits INV12 and #11112 also edits INV12 and INV22.
Also worth fixing: INV24's gap line ("each moves under INV24 in its own change") and "INV21 gap: no harness measures the budget" state work order and build status rather than an observable mismatch, INV24 calls the public lazyMount option internal, and INV21 and INV22 sit above main's INV19.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is given.
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option, with no new prop: true for ContextMenu, which already sets it with the internal keep-mounted option; no other surface changes.
- Claim: none of the three adds a prop, and there are no code or API changes: verified; only the two records change.
- Claim: the first decision is layer-runtime INV24 and DEC-2, listing only ContextMenu, exhaustive, with a gap line for Tooltip, Popover, HoverCard and ComplexSelector: verified at the head.
- Claim: a closed Selector holds no option list per Selector PR3, which #9586 adds and lands first: PR3 is not on
main, only in open #9586; the order is stated but nothing enforces it. - Claim: the second and third decisions are runtime INV21 with DEC-1 and INV22 with DEC-2, with Chat's list staying under list windowing: verified at the head.
- Claim: the layer record gains INV24, a verification row and DEC-2: verified.
- Claim: INV24 is numbered after main's INV19, INV21 and INV22 and draft #10124's INV23 and DEC-1: verified; after open #10771's INV20: false, #10771 has merged.
- Claim: the runtime record gains INV21 and INV22 with gap lines, two verification rows, DEC-1 and DEC-2, numbered after main's INV1 to INV19 (no INV14), DEC-3, DEC-4 and #12213's INV20: verified; #12213 is an open draft that adds INV20.
- Claim: the overlap check covers #9586, #12213 and #10124 as described: verified; #11112 and #11122 edit layer-runtime INV18 only: false for both.
- Claim: the spec explainer is kept with the owner review: not checkable from the repository.
- File
docs/architecture/layer-runtime.md: findings above (title and DEC-2 scope, verification row, Selector citation), plus the gap-line wording and thelazyMountlabel. - File
docs/architecture/react-component-runtime.md: finding above (INV21's unmet clause), plus the gap-line wording and invariant order; INV21's no-unused-layer-work clause agrees with INV24's direction.
…ap line names what the other surfaces do; Selector's pointer leaves this record; INV21 names Button and Avatar's tooltip cost
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (ContextMenu's layer mounts on first show and stays), and architecture:react-component-runtime INV21 and DEC-1 (a 100-instance runtime budget for the listed controls) and INV22 and DEC-2 (content-visibility: auto on List rows). An engineering owner records it by commenting /approve-spec <full head SHA>; the author may do so as an engineering owner.
These fixes stay required whatever the decision:
- Miss: INV22 puts
content-visibility: autoon every List row, which turns off the subgrid that numbered List rows (Markdown's included) use to share one text start, againstspec:AST-061FR11's rule that a counter never shifts its item's text; keep numbered Lists outside INV22 or apply it inside the row's text cell, and add a numbered case to its verification row (react-component-runtime.md:462-468). - Miss: the INV21 gap line names Button and Avatar, but Switch, CheckboxInput, CheckboxListItem (through CheckboxInput) and IconButton (through Button) also run the tooltip hook and its layer on every instance, so name them too (
react-component-runtime.md:460-461). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record. - The description says INV24 is numbered after "open PR #10771's INV20", but #10771 has merged and INV20 is
main's own clause. - The description says #11112 and #11122 edit
layer-runtimeINV18 only, but #11122 edits INV12 and #11112 also edits INV7, INV11, INV12, INV20 and INV22.
Also worth fixing: INV24 calls the public lazyMount option internal, "INV21 gap: no harness measures the budget" states build status rather than an observable mismatch, and INV24's headline covers every closed layer while its list names only ContextMenu.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is given.
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option, adding no prop: true for ContextMenu, the one listed surface, which already does this; no other surface changes.
- Claim: repeated controls meet one measured budget and long lists skip offscreen rows with content-visibility, none of the three adding a prop: verified in the two records; no prop or export changes.
- Claim: the first decision lists only ContextMenu, exhaustively, with a gap line stating what Tooltip, the popover-hook surfaces and HoverCard do, as their own records say: verified against those records.
- Claim: Selector's closed list belongs to the Selector change, and this record no longer points to it: verified; no Selector text remains in either record.
- Claim: the budget is 300 ms with no task over 100 ms (Chromium, 4x throttle, median of three), and Chat's message list stays under list windowing: verified at the head.
- Claim: the layer record gains INV24 with its gap line, a verification row measuring a ContextMenu per row, and DEC-2: verified.
- Claim: INV24 is numbered after main's INV19, INV21 and INV22 and draft #10124's INV23 and DEC-1: verified; after "open PR #10771's INV20": false, #10771 has merged.
- Claim: the runtime record gains INV21 with gap lines (no harness; Button and Avatar run the tooltip hook), INV22 with a gap, two verification rows, DEC-1 and DEC-2: present, but the INV21 gap line misses four controls (finding above).
- Claim: the runtime numbering follows main's INV1 to INV19 (no INV14), DEC-3 and DEC-4, and #12213's INV20: verified; #12213 is an open draft that adds INV20.
- Claim: no code and no API changes: verified; only the two records change.
- Claim: the overlap check covers #9586, #12213 and #10124 as described: verified; #11112 and #11122 edit layer-runtime INV18 only: false for both.
- Claim: the spec explainer is kept with the owner review: not checkable from the repository.
- File
docs/architecture/layer-runtime.md: no blocking finding; non-blocking wording notes on the lazy-mount option and the headline's scope; consistent with the runtime record. - File
docs/architecture/react-component-runtime.md: findings above (INV22 and numbered Lists, the INV21 gap line), plus the build-status gap line and invariant order; INV21's no-unused-layer-work clause agrees with INV24's direction.
…'s gap names every control that runs useTooltip; lazyMount is public
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (ContextMenu's layer mounts on first show and stays), and architecture:react-component-runtime INV21 and DEC-1 (a 100-instance runtime budget for the listed controls) and INV22 and DEC-2 (content-visibility: auto on unnumbered List rows). An engineering owner records it by commenting /approve-spec <full head SHA>; the author may do so as an engineering owner.
These fixes stay required whatever the decision:
- INV22's verification row still lists "offscreen rows that render" as its failure signal, which fails the numbered Lists INV22 now keeps whole and never catches a counter that shifts its text, so scope the signal to unnumbered Lists and add the numbered failure (
react-component-runtime.md:707). - The description has no
## Writing rubric resultssection, whicharchitecture:knowledge-contractsrequires for a pull request that changes a record. - The description says INV24 is numbered after "open PR #10771's INV20", but #10771 has merged and INV20 is
main's own clause. - The description says #11112 and #11122 edit
layer-runtimeINV18 only, but #11122 edits INV12 and #11112 also edits INV7, INV11, INV12, INV20 and INV22.
Also worth fixing: INV24's headline covers every closed layer while its list names only ContextMenu; the two new invariants and their verification rows sit above INV19 and INV1; and, missed in the earlier review, INV21's verification row checks only the budget, not the no-unused-work clause.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is given.
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option: true for ContextMenu, the one listed surface, which already does this; no other surface changes.
- Claim: repeated controls meet one measured budget and long lists skip offscreen rows with content-visibility, none of the three adding a prop: verified in the two records; no prop or export changes.
- Claim: the spec explainer is kept with the owner review: not checkable from the repository.
- Claim: the first decision lists only ContextMenu, exhaustively, with a gap line stating what Tooltip, the popover-hook surfaces and HoverCard do, as their own records say: verified against those records and the code.
- Claim: Selector's closed list belongs to the Selector change, and this record no longer points to it: verified; no Selector text remains in either record.
- Claim: the budget is 300 ms with no task over 100 ms (Chromium, 4x throttle, median of three): verified at the head.
- Claim: long lists use content-visibility on List rows, and Chat's message list stays a list-windowing consumer: verified at the head.
- Claim: the layer record gains INV24 with its gap line, a verification row measuring a ContextMenu per row, and DEC-2: verified.
- Claim: INV24 is numbered after main's INV19, INV21 and INV22 and draft #10124's INV23 and DEC-1: verified; after "open PR #10771's INV20": false, #10771 has merged.
- Claim: the runtime record's INV21 gap line names Button, IconButton, Avatar, Switch, CheckboxInput and CheckboxListItem as running the tooltip hook on every instance: verified in the code; no other listed control runs it.
- Claim: INV22 covers List rows except a numbered List's, whose subgrid layout containment would break, with a gap line: verified; decimal is List's only subgrid style.
- Claim: the runtime record gains two verification rows, DEC-1 and DEC-2: present, but INV22's row has the failure-signal finding above.
- Claim: the runtime numbering follows main's INV1 to INV19 (no INV14), DEC-3 and DEC-4, and #12213's INV20: verified; #12213 is an open draft that adds INV20.
- Claim: no code and no API changes: verified; only the two records change.
- Claim: the overlap check covers #9586, #12213 and #10124 as described: verified; #11112 and #11122 edit layer-runtime INV18 only: false for both.
- File
docs/architecture/layer-runtime.md: no blocking finding; a non-blocking note on the headline's scope; consistent with the runtime record. - File
docs/architecture/react-component-runtime.md: INV22's verification failure signal (finding above); non-blocking notes on INV21's verification scope and the placement of the new invariants and rows; INV21's no-unused-layer-work clause agrees with INV24's direction.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the requirements this pull request adds to current records with Decider: pending: architecture:layer-runtime INV24 and DEC-2 (ContextMenu's layer mounts on its first show and stays), and architecture:react-component-runtime INV21 and DEC-1 (a 100-instance runtime budget for the listed controls) and INV22 and DEC-2 (content-visibility: auto on unnumbered List rows). An engineering owner records it by commenting /approve-spec <full head SHA>; the author may do so as an engineering owner.
This fix stays required whatever the decision:
- The description's overlap line says #11122 edits
layer-runtimeINV12 and INV18, but #11122 changes only INV12.
Also worth fixing: INV24's headline covers every closed layer while its list names only ContextMenu; INV21's verification row checks only the budget, not the no-unused-work clause; and the new invariants, decisions and verification rows sit out of numeric order.
Claims and files checked
Review mode: same-head; reason: none
- Claim: pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not verified; no measurement is given.
- Claim: closed layers mount on first show through the layer hook's existing lazy-mount option: true for ContextMenu, the one listed surface, which already does this; no other surface changes.
- Claim: repeated controls meet one measured budget and long lists skip offscreen rows with content-visibility, none of the three adding a prop: verified in the two records; no prop or export changes.
- Claim: the spec explainer is kept with the owner review: not checkable from the repository.
- Claim: the first decision lists only ContextMenu, exhaustively, with a gap line stating what Tooltip, the popover-hook surfaces and HoverCard do, as their own records say: verified against those records and the code.
- Claim: Selector's closed list belongs to the Selector change, so this record no longer points to it: verified; that the two are decided together is not checkable from the repository.
- Claim: the budget is 300 ms with no task over 100 ms (Chromium, 4x throttle, median of three), with dense variants and no budget as the alternatives: verified at the head.
- Claim: long lists use content-visibility on List rows, Chat's message list stays a list-windowing consumer, and a windowing API or app-side windowing are the alternatives: verified at the head.
- Claim: the layer record gains INV24 with its gap line, a verification row measuring a ContextMenu per row, and DEC-2 framed for that surface: verified.
- Claim: INV24 is numbered after main's INV1 to INV22 and draft #10124's INV23 and DEC-1: verified.
- Claim: the runtime record's INV21 gap line names Button, IconButton, Avatar, Switch, CheckboxInput and CheckboxListItem as running the tooltip hook on every instance: verified in the code; no other listed control runs it.
- Claim: INV22 covers List rows except a numbered List's, whose subgrid layout containment would break, with a gap line, two verification rows, DEC-1 and DEC-2: verified.
- Claim: the runtime numbering follows main's INV1 to INV19 (no INV14), DEC-3 and DEC-4, and #12213's INV20: verified.
- Claim: no code and no API changes: verified; only the two records change.
- Claim: the overlap check covers #9586 (the Selector side), #12213 (runtime INV20), #10124 (layer INV23 and DEC-1) and #11112 (layer INV7, INV11, INV18, INV20 and INV22), none touching INV24 or DEC-2: verified; #11122 edits INV12 and INV18: false, it edits only INV12.
- Claim: the writing rubric finds no narration, research, change-naming evidence, long or misplaced rejected alternatives, pull request references, ruled open questions or project status in either record: verified against both records.
- File
docs/architecture/layer-runtime.md: no blocking finding; a non-blocking note on INV24's headline scope; consistent with the runtime record. - File
docs/architecture/react-component-runtime.md: no blocking finding; non-blocking notes on INV21's verification scope and the placement of the new invariants, decisions and rows; INV21's no-unused-layer-work clause agrees with INV24's direction.
main added react-component-runtime INV20 (shortcut combos) and its verification row. Keep main's table and this branch's INV21 and INV22 rows; no renumbering.
|
/approve-spec 178c4c9 |
There was a problem hiding this comment.
Approved pending CI: CI skipped this draft head, so it has not run here yet. An engineering owner's /approve-spec for this head decides the three requirement sets (architecture:layer-runtime INV24 and DEC-2, architecture:react-component-runtime INV21 and DEC-1, and INV22 and DEC-2), and the earlier description fix is no longer needed because #11122 now rewrites layer-runtime INV18 too.
Optional polish, none blocking:
- INV24's headline covers every closed layer, while its list names only ContextMenu.
- INV21's verification row checks the budget but not the clause that a control runs no work for a feature it does not use.
- The new invariants, decisions and verification rows sit out of numeric order, and the three decisions still read
Decider: pending.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: Pages with hundreds of rows, checkboxes or tooltips freeze for seconds: not measured; a motivation, not a claim about the change.
- Claim: Closed layers mount on first show through the layer hook's existing lazy-mount option, with no new prop: verified for ContextMenu, the one listed surface, which already does this.
- Claim: Repeated controls meet one measured runtime budget: stated as INV21 with a gap line; verified that the six named controls run the tooltip hook on every instance.
- Claim: Long lists skip offscreen rows with content-visibility: stated as INV22 with its gap line; verified that List renders every row today.
- Claim: None of the three adds a prop, and there are no code or API changes: verified.
- Claim: INV24 names only ContextMenu and its list is exhaustive; its gap line matches the Tooltip, Popover, HoverCard and ComplexSelector records: verified.
- Claim: Selector's closed list belongs to the open Selector pull request, and this record no longer mentions Selector: verified.
- Claim: INV22 exempts numbered Lists to keep their shared counter column, and Chat's message list stays under list windowing: verified against the document-surface and list-windowing records.
- Claim: Layer-runtime numbering follows main's INV1 to INV22 and the open size-container draft's INV23 and DEC-1: verified.
- Claim: Runtime numbering follows main's INV1 to INV19 (no INV14), DEC-3 and DEC-4, and the hotkey change's INV20, now merged: verified.
- Claim: Overlap: the merged anchoring change and the open out-of-view popover change edit other layer-runtime clauses, the latter INV12 and INV18, and none touches INV24 or DEC-2: verified.
- Claim: Writing rubric results R1 to R7: verified against the head records.
- File:
docs/architecture/layer-runtime.md: clear (non-blocking: headline scope, Decider placeholder). - File:
docs/architecture/react-component-runtime.md: clear (non-blocking: verification row coverage, id order, Decider placeholders).
Summary
Pages with hundreds of rows, checkboxes, or tooltips freeze for seconds. This draft makes three changes. Closed layers mount on first show, using
useLayer's existinglazyMountinternally. Controls that pages repeat meet one measured runtime budget. Long lists skip offscreen rows withcontent-visibility. None of the three adds a prop.Spec explainer (human view): kept internally with the owner review.
Owner decisions (draft until decided; parked, not yet queued)
architecture:layer-runtimeINV24, DEC-2). Recommended A: mount on first show, then keep. INV24 lists the surfaces under the rule, today ContextMenu, and the list is exhaustive. An INV24 gap line states what Tooltip, theusePopoversurfaces and HoverCard do today, as their own records say. Selector's closed list is spec(Selector): a closed Selector holds no option list #9586's own claim (component:SelectorPR3), so this record no longer points to it; the two are decided on one card. Alternatives: B, a publiclazyMountprop; C, today.architecture:react-component-runtimeINV21, DEC-1). Recommended A: mounting or changing 100 instances stays under 300 ms of main-thread work with no task over 100 ms (Chromium, 4x CPU throttle, median of three). Alternatives: B, dense variants; C, no budget.architecture:react-component-runtimeINV22, DEC-2). Recommended A:content-visibility: autoon List rows. Chat's message list stays a windowing consumer underarchitecture:list-windowing. Alternatives: B, a windowing API on every list; C, apps window themselves.Current-state impact
architecture:layer-runtime: INV24 (ContextMenu only, exhaustive, with its INV24 gap line), a verification row measuring a ContextMenu per row, and DEC-2 framed for the listed surface. Numbered after main's INV1 to INV22 (INV20 included) and draft docs(spec): a clip never cuts a focus indicator; content in a layer sizes against the layer #10124's INV23 and DEC-1.architecture:react-component-runtime: INV21 (CheckboxInput, CheckboxListItem, RadioListItem and the other listed controls, with an INV21 gap line: Button and IconButton, Avatar, Switch, CheckboxInput and CheckboxListItem runuseTooltipand its layer hook on every instance), INV22 (List rows except a numbered List's, whose subgrid layout containment would break, with an INV22 gap), two verification rows, DEC-1, and DEC-2. Numbered after main's INV1 to INV19 (no INV14) and DEC-3 and DEC-4, and fix(useHotkeys): alt combos fire on macOS, where Option rewrites the typed character #12213's INV20.Overlap checked: #9586, #12213, #10124, #11112, #11122 (#9586 is this decision's Selector side; #12213 takes
react-component-runtimeINV20; #10124 takeslayer-runtimeINV23 and DEC-1; #11112 editslayer-runtimeINV7, INV11, INV18, INV20 and INV22, and #11122 edits INV12 and INV18, all as text changes to existing clauses that do not touch INV24 or DEC-2)Writing rubric results
Rejected:sentence sits inside its decision.