Repository navigation
Conversation
…izes against the layer
|
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/interaction-modality.md
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and four record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV14/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV19/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Both records state unshipped behavior as current: add INV19 to the shipped-runtime exception list in
layer-runtime.md(lines 84-86) with a Current gaps line, and mark INV14 and its verification row as an implementation and evidence gap, since List still clips its rows' focus rings and no layer content root is a container yet. - INV14's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 262-263), so either route it to design review and amend those lines or drop it, and add INV14 to the record's Owning code list. - The description needs a
## Writing rubric resultssection, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV14 and INV19 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
[Automated review]
| edge it clips. A component that cannot leave that room draws the indicator | ||
| inset on that descendant. Content the caller clips is the caller's (DEC-1). |
There was a problem hiding this comment.
Drawing the indicator inset is a focus-appearance choice, which this record says it does not define (lines 79-81) and does not authorize without design review (lines 262-263). Either route the inset ring to design review and amend those lines, or drop the fallback. INV14 is also missing from the Owning code "owns only" list.
| A keyboard user tabbing through a List sees row focus rings with their sides | ||
| cut off, because the List clips its sides for swipe actions. The focus ring is | ||
| how they know where they are, so a clip Astryx adds now leaves room for it, or | ||
| the ring moves inside the row where it cannot be cut. |
There was a problem hiding this comment.
Writing rubric R1: "sees row focus rings with their sides cut off" and "now leaves room" narrate today's bug and the change, and they stop being true once List conforms. State the decision as the rule, and report the rubric results in the description under ## Writing rubric results.
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and four record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV14/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV19/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Both records state unshipped behavior as current: add INV19 to the shipped-runtime exception list in
layer-runtime.md(lines 84-86) with a Current gaps line, and mark INV14 and its verification row as an implementation and evidence gap, since List still clips its rows' focus rings and no layer content root is a container yet. - INV14's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 262-263), so either route it to design review and amend those lines or drop it, and add INV14 to the record's Owning code list. - The description needs a
## Writing rubric resultssection, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV14 and INV19 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV14 does not say how List leaves room under its one-axis clip, and the routes that keep its rows in place let a dragged row paint past them, which the swipe-actions spec rejects (see the inline note).
[Automated review]
| - **INV14 — A clip never cuts a focus indicator.** When an Astryx element | ||
| clips overflow, such as a List clipping for swipe actions or a Layout region | ||
| clipping its content, the focus indicator of each focusable descendant stays | ||
| whole: the clip leaves room for the indicator's width and offset on every |
There was a problem hiding this comment.
Non-blocking: this does not say how List leaves the room. spec:AST-057 FR9 requires List's one-axis overflow-inline: clip, and its check fails "the row painting past the list". In Chromium 149 overflow-clip-margin has no effect under a one-axis clip; a two-axis clip with a 5px margin, or a -5px margin with 5px padding, keeps the rows in place but lets a dragged row paint 5px past them. That leaves 5px of padding (rows move 5px in from each edge) or the inset ring. Naming the route for List here or in DEC-1 lets the owner decide it with the rule.
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV14/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 874-876) and in the description no longer happens on main and the INV23 verification row cannot fail; restate both around a case that still fails on main, or drop INV23 if it is no longer wanted. - Both records state unshipped behavior as current: add INV23 to the shipped-runtime exception list in
layer-runtime.md(lines 84-88) with a Current gaps line, and mark INV14 and its verification row as an implementation and evidence gap, since List still clips its rows' focus rings and no layer content root is a container yet. - INV14's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 268-269), so either route it to design review and amend those lines or drop it, and add INV14 to the record's Owning code list. - The description needs a
## Writing rubric resultssection, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV14 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV14 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
[Automated review]
| A person opening a dialog from a narrow page section sees the dialog's title, | ||
| filters, and pager squeezed and centred, because Layout regions inside measure | ||
| the section the dialog came from. A dialog is its own space, so its content |
There was a problem hiding this comment.
This case no longer happens on main. Since the Layout fix in #10715, a Layout without contentWidth resets --layout-content-width to initial, so LayoutHeader and LayoutFooter cap at none, and LayoutContent reads 100cqi only inside Layout's own middle-row container (packages/core/src/Layout/Layout.tsx:82-87, :128-131). In Chromium 149 the header of a Layout in a 600px dialog opened from a 150px container section is 600px wide on main; it was 150px before that fix. The INV23 row's failure signal therefore passes without INV23. Restate DEC-1 (and the description) around a case that still fails on main, such as a container query in dialog content resolving against the opener's container, and make the row check it; or drop INV23 if it is no longer wanted.
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV14/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 882-884) and in the description no longer happens on main and the INV23 verification row cannot fail; restate both around a case that still fails on main, or drop INV23 if it is no longer wanted. - Both records state unmet rules as current: name INV23 in the exception sentence of
layer-runtime.md(lines 86-90) and give INV14 and INV23 each a requirement-gap line in the form knowledge-contracts INV32 now requires (INV14 gap: <observable mismatch>), rather than the olderImplementation gap:wording, since List still clips its rows' focus rings and no layer content root is a container yet. - INV14's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 268-269), so either route it to design review and amend those lines or drop it, and add INV14 to the record's Owning code list. - The description needs a
## Writing rubric resultssection with one line per rubric item R1-R7, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV14 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV14 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
[Automated review]
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV14/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 893-895) and in the description no longer happens on main and the INV23 verification row cannot fail; restate both around a case that still fails on main, or drop INV23 if it is no longer wanted. - Both records state unmet rules as current: name INV23 in the exception sentence of
layer-runtime.md(lines 89-93) and give INV14 and INV23 each a requirement-gap line in the form knowledge-contracts INV32 requires (INV14 gap: <observable mismatch>), since List still clips its rows' focus rings and no layer content root is a container yet. - INV14's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 268-269), so either route it to design review and amend those lines or drop it, and add INV14 to the record's Owning code list. - The description needs a
## Writing rubric resultssection with one line per rubric item R1-R7, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV14 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV14 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
| - **INV23 — Content in a layer sizes against the layer.** The content root of | ||
| every layer that hosts page-like content (Dialog, Drawer, BottomSheet, | ||
| Lightbox, and MobileNav) is an inline-size container. Container queries and | ||
| container-relative units inside it, including Layout regions' widths, | ||
| resolve against the layer and never against a container around the layer's | ||
| opener (`spec:AST-038`) (DEC-1). |
There was a problem hiding this comment.
INV23 is not met yet: no Dialog, Drawer, BottomSheet, Lightbox or MobileNav content root sets a container type, and the exception sentence at lines 89-93 names only INV14, INV15, INV17 and INV22. Name INV23 there and add a gap line in the architecture:knowledge-contracts INV32 form, for example INV23 gap: a container query in Dialog, Drawer, BottomSheet, Lightbox or MobileNav content resolves against a container around the opener. The title says every layer while the body names five page-like layers, and the record's root lists say BottomSheetPanel (lines 411 and 632) where this says BottomSheet.
# Conflicts: # docs/architecture/interaction-modality.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV15/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 893-895) and in the description no longer happens on main and the INV23 verification row cannot fail; restate both around a case that still fails on main, or drop INV23 if it is no longer wanted. - Both records state unmet rules as current: name INV23 in the exception sentence of
layer-runtime.md(lines 89-93) and give INV15 and INV23 each a requirement-gap line in the form knowledge-contracts INV32 requires (INV15 gap: <observable mismatch>), since List still clips its rows' focus rings and no layer content root is a container. - INV15's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 279-280), so either route it to design review and amend those lines or drop it, and add INV15 to the record's Owning code list. - The description needs a
## Writing rubric resultssection with one line per rubric item R1-R7, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV15 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV15 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
| browser takes the pointer (`pointercancel`), or the person presses Escape. | ||
| The highlight then returns at once. SegmentedControl, the family's named | ||
| exception, is the one such group (`spec:AST-020` DEC-6). | ||
| - **INV15 — A clip never cuts a focus indicator.** When an Astryx element |
There was a problem hiding this comment.
INV15 is not met: List still clips its inline overflow under Item's outset ring (packages/core/src/List/List.tsx:205), so a focused row loses both inline sides of its ring. Add a requirement-gap line in the architecture:knowledge-contracts INV32 form, for example INV15 gap: List's inline clip cuts both inline sides of a focused row's ring. The title also says "A clip" while the body covers only clips Astryx adds; consider "A clip Astryx adds never cuts a focus indicator".
# Conflicts: # docs/architecture/layer-runtime.md
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV15/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 908-910) and in the description no longer happens on main and the INV23 verification row (line 940) cannot fail; restate both around a case that still fails on main, or drop INV23 if it is no longer wanted. - Both records state unmet rules as current: name INV23 in the exception sentence of
layer-runtime.md(lines 93-96) and give INV15 and INV23 each a requirement-gap line in the form knowledge-contracts INV32 requires (INV15 gap: <observable mismatch>), since List still clips its rows' focus rings and no layer content root is a container. - INV15's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 279-280), so either route it to design review and amend those lines or drop it, and add INV15 to the record's Owning code list. - The description needs a
## Writing rubric resultssection with one line per rubric item R1-R7, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV15 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV15 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV15/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 949-951) and in the description no longer happens on main and the INV23 verification row (line 983) cannot fail; restate both around a case that still fails on main, such as a caller's100cqibox in dialog content, or drop INV23 if it is no longer wanted. - Both records state unmet rules as current: name INV23 in the exception sentence of
layer-runtime.md(lines 94-98) and give INV15 and INV23 each a requirement-gap line in the form knowledge-contracts INV32 requires (INV15 gap: <observable mismatch>), since List still clips its rows' focus rings and no layer content root is a container. - INV15's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 279-280), so either route it to design review and amend those lines or drop it, and add INV15 to the record's Owning code list. - The description needs a
## Writing rubric resultssection with one line per rubric item R1-R7, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV15 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV15 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
Claims and files checked
- List rows lose the sides of their focus ring to a clip: verified, List clips its inline axis under Item's 2px ring at a 3px offset.
- Dialogs opened from a narrow section squeeze their Layout header and footer: false on main since the Layout fix; the header of a 600px dialog measures 600px.
- The rules cover every clip and every layer (title): false; they cover clips Astryx adds and five page-like layers.
- INV15 and INV23 are renumbered because main took INV14 and INV19: verified.
- Each record gains an invariant, a verification row and DEC-1 with the listed alternatives: verified.
- No code or API change: verified; only two Markdown records change.
- No open pull request claims these lines: not checked.
docs/architecture/interaction-modality.md: findings above (gap line, inset fallback, rubric wording, title).docs/architecture/layer-runtime.md: findings above (stale dialog case, gap line, rubric wording, title).
| | INV20 | `layerEntranceSide.test.ts` for the side, the meeting point and a step that stops at the room to a sized trigger, with no step for a layer flush against or over it, and `LayerEntranceSide.interaction.browser.spec.ts` in Chromium and WebKit for the first frame of each anchored layer that flips | | ||
| | INV21 | A source check over Core for a scroll, resize, observer or animation-frame handler that writes a layer's `top`, `left`, `inset`, `translate` or `transform` from a measured rectangle, excluding the keyboard lift; a performance trace of a page scroll with an open Popover, counting script position writes | A script write of a layer's position during a scroll, or a handler outside DEC-9's four uses that moves a layer toward its anchor | | ||
| | INV22 | `LayerPressTransform.interaction.browser.spec.ts`: a browser case per layer that opens from a pressable trigger (Popover, DropdownMenu, Selector, MultiSelector, ComplexSelector, ContextMenu), by mouse and by finger: during and after a press, the layer's rectangle, layout box and computed transform match an unpressed open, and a layer that opens on the press is placed from the untransformed box in its first frame. | A layer whose rectangle, size or computed transform changes while its trigger is pressed | | ||
| | INV23 | Real-browser checks: a Dialog, a Drawer, and a BottomSheet opened from a section that is itself an inline-size container, each holding a Layout with a header and footer, at 390 and 1440 px | Layout regions measured against the opener's container | |
There was a problem hiding this comment.
Regression: this row cannot fail on main. Since the Layout fix (#10715), a Layout without contentWidth caps no header or footer, so a header in a 600px dialog opened from a 150px container section is 600px wide without INV23. A case that still fails today is a caller's container unit in the dialog content: a 100cqi box there is 150px on main and 600px with an inline-size container on the dialog (Chromium 149).
Non-blocking: inline-size containment drops content from the dialog's intrinsic width, so a width: fit-content dialog is 420px wide without the container and 0px with it. Add a content-sized case or name it out of scope; the row also leaves out Lightbox and MobileNav.
There was a problem hiding this comment.
This draft needs an engineering owner's decision before it can be approved, and five record fixes stand after that decision.
Approval waits on an engineering owner approving, amending or rejecting the two proposed rules: interaction-modality INV15/DEC-1 (a clip Astryx adds leaves room for the focus ring, otherwise the ring is drawn inset) and layer-runtime INV23/DEC-1 (the content roots of Dialog, Drawer, BottomSheet, Lightbox and MobileNav are inline-size containers). 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.
Fixes needed:
- Regression: since main's Layout fix (#10715), a Layout without
contentWidthno longer caps its header or footer, so the squeezed-dialog case in INV23's DEC-1 (layer-runtime.mdlines 940-942) and in the description no longer happens on main and the INV23 verification row (line 974) cannot fail; restate both around a case that still fails on main, such as a caller's100cqibox in dialog content, or drop INV23 if it is no longer wanted. - Both records state unmet rules as current: name INV23 in the exception sentence of
layer-runtime.md(lines 96-99, which now names only INV14, INV15 and INV17) and give INV15 and INV23 each a requirement-gap line in the form knowledge-contracts INV32 requires (INV15 gap: <observable mismatch>), since List still clips its rows' focus rings and no layer content root is a container. - INV15's inset-ring fallback is a focus-appearance decision that
interaction-modality.mdsays it does not make (lines 79-81 and 279-280), so either route it to design review and amend those lines or drop it, and add INV15 to the record's Owning code list. - The description needs a
## Writing rubric resultssection with one line per rubric item R1-R7, whichknowledge-contracts.mdrequires for every record change, and the rubric's R1 flags the "now" wording and the present-tense bug stories in both DEC-1 entries. - Miss: the pull request title and the INV15 and INV23 titles claim every clip and every layer, while the rules cover only clips Astryx adds and five page-like layers, so retitle them to match.
Worth settling with the decision: INV15 does not say how List leaves room under its one-axis clip, and an inline-size container collapses a Dialog given a content-sized width (see the inline notes).
Claims and files checked
- List rows lose the sides of their focus ring to a clip: verified, List clips its inline axis under Item's 2px ring at a 3px offset.
- Dialogs opened from a narrow section squeeze their Layout header and footer: false on main since the Layout fix; the header of a 600px dialog measures 600px.
- The rules cover every clip and every layer (title): false; they cover clips Astryx adds and five page-like layers.
- INV15 and INV23 are renumbered because main took INV14 and INV19: verified.
- Each record gains an invariant, a verification row and DEC-1 with the listed alternatives: verified.
- Sizing inside layers extends the layer content boundary record: partly; that record stops ancestor layout at the layer boundary but names no container mechanism.
- No code or API change: verified; only two Markdown records change.
- No open pull request claims these lines: verified by search; the one other open record change to layer-runtime adds INV24.
- The spec explainer is kept with the owner review: not checkable from the repository.
docs/architecture/interaction-modality.md: findings above (gap line, inset fallback, rubric wording, title).docs/architecture/layer-runtime.md: findings above (stale dialog case, gap line, rubric wording, title).
Summary
Keyboard users see focus rings with their sides cut off in Lists. Dialogs opened from a narrow page section squeeze their header and footer, because Layout regions inside measure the section instead of the dialog. This draft says a clip that Astryx adds never cuts a focus indicator, and content in a layer sizes against the layer.
Spec explainer (human view): kept internally with the owner review.
Owner decisions (draft until decided)
architecture:interaction-modalityINV15, DEC-1). Recommended A: a clip leaves room for the indicator's width and offset, or the component draws the indicator inset. Alternatives: B, every ring drawn inset; C, each component decides.architecture:layer-runtimeINV23, DEC-1). Recommended A: the content root of every page-like layer (Dialog, Drawer, BottomSheet, Lightbox, MobileNav) is an inline-size container, which extendsspec:AST-038. Alternatives: B, Layout regions switch to percentages; C, apps add containers.Current-state impact
architecture:interaction-modality: INV15 (main took INV14), a verification row, and DEC-1.architecture:layer-runtime: INV23 (main took INV19), a verification row, and DEC-1.