Skip to content

docs(specs): Table row virtualization adopts the shared list-windowing module first - #10665

Merged
humbertovirtudes merged 1 commit into
mainfrom
spec/list-windowing-table-first
Nov 8, 2026
Merged

humbertovirtudes merged 1 commit into
mainfrom
spec/list-windowing-table-first

Conversation

@humbertovirtudes

Copy link
Copy Markdown
Contributor

Exact decision needed

Which Core consumer adopts the shared private windowing module of architecture:list-windowing first. The record orders Selector's option list first, then Table's row virtualization, then Chat's message list (System model and DEC-1). Table's row virtualization is in review, and Selector has not started windowing. With Selector listed first, Table can neither ship a planner of its own (INV1) nor adopt the module ahead of the recorded order.

This PR orders Table's row virtualization first, then Selector, then Chat. Nothing else in the record changes.

Existing authority searched

Decision

Table's row virtualization adopts the shared private windowing module first, then Selector's option list, then Chat's message list.

Record changes:

  • System model: the consumer list is reordered.
  • Contract at a glance: the System behavior row is reordered. The Compatibility/readiness row says "no module exists yet" instead of "the build has not started".
  • Current-state impact: "The build has not started." is removed. The rest is unchanged: no module exists on main, Selector renders every option, Table's hook is not built, and Chat renders every message.
  • Owning code: Table's virtualization hook is the first consumer and Selector the second.
  • DEC-1: "Table virtualization adopts it first, then Selector and Chat."

INV1, INV2, INV3 and OQ1 are unchanged. DEC-1 keeps its Decider line; the approving owner's approval binds the amended text.

Rejected alternatives

  • Keep Selector first and let Table ship its own planner until Selector adopts the module: a second windowing implementation in Core violates INV1.
  • Keep Selector first and hold Table's virtualization until Selector windows: this blocks a consumer that is in review on work that has not started, and the order adds nothing to the module's contract.
  • Record the new order in a separate DEC-2: DEC-1 already owns the order, so a second decision would split one fact across two owners.

Claim scope and non-goals

  • Only the adoption order changes.
  • Out of scope: the module's API and path, OQ1 (whether the module becomes public), what Selector, Table or Chat render, and Table's public virtualization shape (INV3).
  • The record does not claim the module exists on main. The implementation PR that adds it updates Current-state impact and the module's path under Owning code.

Evidence and implementation relationship

  • The row virtualization stack adds the list-neutral private module (not exported from any public entry point) and has Table call it through module:Table/useTableRowsVirtualization, which keeps its approved public shape.
  • This PR changes no code, and its text is valid on its own.

Writing rubric results

  • R1 narration: one found. "The build has not started" (Current-state impact and the Compatibility/readiness row) states project progress, not a system fact; it is removed, and the row now reads "no module exists yet", which is true on main. The reordered lines state the system in the present tense.
  • R2 research in the record: none.
  • R3 evidence naming a change: none. The Verification table cites reviews of Core lists and public exports, not pull requests.
  • R4 rejected alternatives over one line or outside a decision: none. The record has no Rejected: line, and this PR adds none.
  • R5 pull request or issue references remaining: none. A search for # followed by digits, /pull/ and /issues/ finds nothing in the record.
  • R6 ruled open questions still listing options: none. OQ1 is unanswered, lists no options, and is unchanged.

Scope

  • 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. (No new mechanism is named.)
  • 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

  • pnpm check:knowledge (node scripts/check-knowledge.mjs): "Knowledge templates and records are aligned."
  • Prettier --check docs/architecture/list-windowing.md: passes.
  • git diff --check origin/main...HEAD: clean.
  • pnpm specs:for --diff origin/main: routes architecture:list-windowing, architecture:knowledge-contracts and spec:AST-017. The changed lines do not touch INV2, the only clause that cites spec:AST-017.

This PR was generated with AI assistance (Navi).

@vercel

vercel Bot commented Nov 8, 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 8, 2026 1:28pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 8, 2026
@astracat-bot

astracat-bot Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 8, 2026, 1:33 PM UTC

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

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approval is waiting for an engineering owner's spec decision. This pull request intentionally changes architecture:list-windowing DEC-1, so Table's row virtualization adopts the shared private windowing module first, then Selector, then Chat.

  • To accept the new order, an engineering owner comments /approve-spec followed by the full head commit SHA. The author is an engineering owner and can do this. To keep Selector first, an owner says so here instead.
  • Non-blocking: DEC-1's Decider line and the front matter's approved_by/approved_at still name cixzhang on 2026-11-06. Changing them to the approving owner and date in the commit that gets approved keeps the record from crediting the new order to the earlier decision.

Nothing else blocks this pull request: the order changes consistently in all four places the record states it, and "no module exists yet" is true on main.

[Automated review]

Comment thread docs/architecture/list-windowing.md Resolved
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 7e2ed74

Storybook · Sandbox · built from this PR's head

Package size: no published package changed; no new dependencies.

API changes: none in this pull request

Committed API report behind this build: cli 29 rows, core 35 rows; run pnpm api:report.

Not run on this PR: add ci:run-visual, ci:run-a11y or ci:run-rtl to run them.


Generated by PR Enrichment workflow | View full report

…g module first

architecture:list-windowing orders the shared private windowing module's
consumers as Table's row virtualization, then Selector, then Chat, in the
System model, the contract projection, Owning code and DEC-1. INV1-INV3 are
unchanged. The record still states that no module exists on main, without
the claim that its build has not started.

This diff was generated with AI assistance (Navi).
Tags: ai-generated
@humbertovirtudes
humbertovirtudes force-pushed the spec/list-windowing-table-first branch from 00f7ad9 to 7e2ed74 Compare November 8, 2026 13:21
@humbertovirtudes

Copy link
Copy Markdown
Contributor Author

/approve-spec 7e2ed74

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 8, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not finished on this head yet. An engineering owner approved the new architecture:list-windowing DEC-1 order for this head, so Table's row virtualization adopts the shared private windowing module first, then Selector, then Chat.

  • Non-blocking: the description still says DEC-1 keeps its Decider line and that nothing else in the record changes, but this head also updates the Decider line and approved_by/approved_at, so the description's Decision section needs a one-line update.

The order changes consistently in all four places the record states it, and "no module exists yet" is true on main. Any further edit to the record's text resets the spec approval and needs a fresh /approve-spec.

[Automated review]

@humbertovirtudes
humbertovirtudes merged commit 7045020 into main Nov 8, 2026
76 checks passed
@github-actions
github-actions Bot deleted the spec/list-windowing-table-first branch November 9, 2026 06:03

This branch was successfully deployed

1 active deployment
Preview — 7e2ed74b Deployed Nov 8, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant