Skip to content

[Task] F4 — Add shared column drag, keyboard reorder and global removal #25

Closed

Description

@DavidVFitzGerald

Delivery phase

Phase 1 - frontend with mock services. Milestone F4; task key F4-06.

Goal

Let users rearrange and remove process columns without breaking selection or cross-tab order.

Context and authority

Read AGENTS.md, docs/product/LCA_diff_PRD.md, docs/engineering/LCA_diff_Implementation_Specification.md, docs/engineering/roadmap.md, and docs/team/product-manager.md. Do not read archive/reference folders. Acceptance and merge authority follows docs/adr/README.md: ADRs 0001–0003 are accepted, and 0004/0005 are Proposed and grant nothing. Any contract deviation needs an ADR and updates to both current documents in the same PR.

Specification §§6.3, 6.5 (same order in both tabs), 6.7 (order does not change differences), 6.8, 9.1, and 9.2 behaviours 17–18. PRD Selection ("users can drag/reorder/remove them").

Files:

  • apps/frontend/src/components/comparison/ProcessHeaders.tsx (header ×, drag, keyboard reorder) and comparison.css.
  • Possibly ComparisonGrid.tsx (focus/edge scroll) and ComparisonHeader.tsx.
  • app/selection.ts. Its move(key, toIndex) already exists.
  • apps/frontend/package.json and package-lock.json (the drag-and-drop library).
  • src/services/README.md (keyboard controls).
  • Tests in services/mock/comparison-headers.test.tsx, a new services/mock/flows-grid-columns.test.tsx (reusing services/mock/flows-grid-harness.ts), and e2e/. Do not add large-workload tests to flows-grid.test.tsx (12 already) — see Verification plan.

The PM comment of the current grooming lists the interfaces verified on main.

Requirements and constraints

  • Library: use one maintained, accessible, React-19-compatible, permissively licensed drag-and-drop library. Pin its exact version, install it only in the container, commit the lockfile, and confirm a frozen npm ci in the container.
  • Shared order: reorder and removal go through the centralized SelectionStore (move, deselect). There is no tab-local order.
  • Keyboard and focus: provide keyboard reorder as well as pointer drag, without conflicting with the existing Arrow/Home/End header navigation. Announce operations politely and keep focus predictable.
  • Data: do not recreate scientific data when only the order changes.
  • Out of bounds: do not change the useFlowGrid hold, seek, error, Retry or locate logic (Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69, merged in PR F4: keep the hold through row-page errors and restore the anchor on Retry (#69) #73). If a new test exposes a defect there, stop and report it for a separate bug rather than fixing it here. Additive helpers in flows-grid-harness.ts are allowed; existing helpers keep their behaviour.

All work runs in containers with synthetic mock data and no API/Firebase/cloud dependency. Keep HTTP/auth/fixtures behind typed services and mock adapters; components consume contracts rather than fixtures. Follow the Software Engineer and QA role handoffs, commit focused increments referencing this issue, and leave it open for QA/review.

Acceptance criteria

  • AC1, pointer drag and keyboard reorder.
    • Pointer drag on process headers calls one store.move on drop. An activation threshold keeps click, focus and hover behaviour, and Escape or a drop outside leaves the order unchanged.
    • Keyboard reorder is documented in services/README.md and in each header's accessible description, and announced in a polite live region (pick-up, "position n of N", drop, cancel). Focus stays on the moved header.
    • Process IDs and each cell's displayed lexeme are unchanged, and headers stay aligned with their values.
  • AC2, header × removal.
    • The × is a real button, visible on hover and focus-within, without changing the header or column size.
    • Its accessible name includes the process label (disambiguated as removeNames) and is distinguishable from the Selected-list button. Only the active header's × is tabbable.
    • Activation deselects the process globally: headers, columns, the Selected list and the tree checkbox. Rows whose last contributor it was are removed.
    • Focus moves to the next header, else the previous one, else a focusable element of the empty state (never the body), and the removal is announced.
  • AC3, one shared order. The order after drag, keyboard reorder or removal equals the Selected-list order. It survives Flows → Scores → Flows, and no component keeps a tab-local order.
  • AC4, F3 append rules still hold. After a manual reorder and a removal, a single select (including re-selecting the removed process) appends at the end. A bulk add appends only new processes in bulkOrder after the unchanged manual order.
  • AC5, large scenario (/?mock-scenario=large, 220 processes).
    • A pointer drag auto-scrolls the header strip (the body stays in sync) and drops at least one viewport away.
    • Keyboard reorder to an off-screen position scrolls the header into view and keeps focus. Mounted headers stay bounded.
    • Removing the grid's active column moves the single tab stop to the same flow in the neighbouring column.
    • × removal while scrolled deep keeps the top flow at its offset (±1 px).
  • AC6, order-only reads.
    • UI drag and keyboard reorder issue no row-page, summary or header reads, keep the comparison_token, never show aria-busy or "Updating…", and invalidate no query. Cell reads happen only for uncached tile compositions, with identical values.
    • After any sequence of moves, cancels and drops onto the item's own position, the keys are unique and the column count equals the selection count.
  • AC7, × removal through the Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 error/hold path (from Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 QA O1/O2). In flows-grid-columns.test.tsx, with 220 processes selected and scrolled deep (row ≥ 1150, so the anchor flow is beyond the first row page of the 219-process comparison), remove one column by clicking its header ×, with row-page faults injected through the harness faults list (processes: 219):
    • O2, scroll during a paused hold. Fault on a later page (for example page 2, times: 1). After the alert "Flow values could not be loaded." appears, scroll the grid by at least 5 rows vertically and at least one column window horizontally. While paused: no new flowSummaries or flowCells calls, busyReads is empty, the grid keeps aria-busy="true", and "Updating the comparison…" is absent. After Retry and settle: no alert, busyReads is still empty, and the top flow follows the D4 rule (the user's scroll is not undone; the pre-removal anchor is not snapped back to the top).
    • O1, unknown is not absent. Fault on the first page of the new comparison (page: 0, times: 1), with no scroll. After Retry and settle, the pre-removal top flow is at its offset ±1 px and no other flow was ever at the top (watchView). If the engineer finds another reachable state where partial new rows are in view during an error, add one test showing an unfetched flow is not treated as absent there. Otherwise, the handoff says why no such state is reachable.

Out of scope and follow-ups

  • Saved order is #31.
  • Scores UI mounting is #28.
  • Differences cache and order-insensitivity assertions are #30.
  • The final async state audit is #33.
  • The hold/Retry fix is #69. The F4 gate is #26.
  • No row drag/reorder or zoom.

Verification plan

Run inside the workspace container (docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && …', or ./dev shell):

  • npm --prefix apps/frontend ci
  • npm --prefix apps/frontend run format:check
  • npm --prefix apps/frontend run lint
  • npm --prefix apps/frontend run typecheck
  • npm --prefix apps/frontend run test:unit
  • npm --prefix apps/frontend run build
  • npm --prefix apps/frontend run test:e2e -- --project=chromium

No host package installs.

Tests to add:

  • Component tests in comparison-headers.test.tsx for the × (name, visibility, tab stop), keyboard reorder and announcements, focus after removal, and AC3/AC4.
  • Large-workload Flows grid tests in a new services/mock/flows-grid-columns.test.tsx that imports flows-grid-harness.ts: AC6 reads during a UI reorder, active-column removal, deep × removal anchoring, and AC7. Each large-workload jsdom test adds about 100 MB to the worker heap, and Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 split the suite because 20 in one file exceeded the limit. So keep flows-grid.test.tsx at its current 12 and flows-grid-anchoring.test.tsx at its current 8, and keep the new file at 12 or fewer. Do not raise the heap limit, change the pool or skip tests to fit. Use the { timeout: 20000 } describe budget, with per-test 40 s overrides only where the existing files use them.
  • Playwright (Chromium) cases for pointer drag (default scenario), edge auto-scroll drag and off-screen keyboard reorder (large scenario), and × removal by pointer and keyboard with Selected-list parity, focus and no duplicate columns.

Keep the 20 s large-suite budgets, and record the measured time of any new large test. Record the library/version/license rationale, the exact commands and results, and the delivered SHA in the engineering handoff. QA independently checks every criterion at that SHA and reports PASS/FAIL/BLOCKED; unavailable required checks are not passing.

Dependencies and readiness

Activity

  1. added
    task
    frontend
    blocked
    on Nov 13, 2026
  2. DavidVFitzGerald commented on Nov 13, 2026

    @DavidVFitzGerald
    OwnerAuthor

    PM: BLOCKED

    Groomed using docs/team/product-manager.md for F4, Phase 1 — frontend with mock services. Documentation review: PASS for scope, required sections, specification coverage and acyclic dependency links; this is not application QA or implementation readiness.

    Blocking predecessor issues: #24. The M1 runtime gate (#2) and merged bootstrap/M2 configuration (#3) also remain required. PM must recheck merged dependencies and current interfaces before changing this to READY.

    Engineer implements one issue, commits regularly and hands the delivered SHA plus exact container checks to independent QA; do not close before QA, review and approved merge. No backend/Firebase/cloud credentials or host installations are required for Phase 1.

  3. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    PM: BLOCKED (on #69; otherwise groomed)

    Rechecked using docs/team/product-manager.md against main at deb4f29. Phase 1, frontend with mock services; F4-06.

    Authority: spec §6.3 (selection/bulk order, drag-to-reorder in either tab, the × on hover/focus with global deselect, a keyboard-accessible removal control), §6.5 (Scores uses the same order; switching tabs changes nothing), §6.7 ("column order changes do not change the difference set"), §6.8 (keyboard access to column actions, focus rings, labels), §9.1 (no cap, virtualized columns, canonical sorted ID arrays) and §9.2 behaviours 17 (drag reorder) and 18. PRD §Selection: "users can drag/reorder/remove them". Accepted ADRs 0001–0003 apply. ADRs 0004 and 0005 are still Proposed and grant nothing here. No PRD or spec change is needed, so no ADR. Choosing the drag-and-drop library is an ordinary implementation choice within the AGENTS.md "accessible drag/drop" requirement.

    Dependency check

    Gate State
    M1 runtime (#2) Closed
    Bootstrap/M2 (#3) Closed
    #24 Flows composition (original blocker) Merged to main (PR #71, deb4f29), closed. Satisfied
    #69 hold/Retry anchoring bug Open, groomed READY, sequenced first. Blocks this issue

    Why this waits for #69

    1. Header × removal goes through the hold path. It calls store.deselect, which changes the canonical process set in useFlowGrid and triggers the placeholder/hold/anchor path. AC5's removal-while-deep test must be written against the corrected hold, not the D5-defective one.
    2. The files overlap. Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 edits useFlowGrid.ts, possibly the pins in ComparisonGrid.tsx, services/mock/flows-grid.test.tsx and services/README.md. This issue needs ComparisonGrid.tsx (focus and edge scrolling), flows-grid.test.tsx (order-only reads) and the README (keyboard controls). Only one writer may touch a file at a time, and the stacking for [Task] F4 — Assemble the Flows comparison with exact missingness and cell warnings #24 showed the merge cost.
    3. Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 is small. Waiting costs this issue little.

    Readiness rule: when #69 is merged to main, PM rechecks the interfaces below against the new main SHA and flips this to READY. Re-grooming is not expected. Then branch feat/f4-column-operations from that main SHA in an isolated worktree, with its own container project, ports and volumes. The PR targets main with Refs #25.

    Current interfaces (verified on main deb4f29)

    • Shared order: app/selection.ts has a single SelectionStore, with select/selectMany appending, deselect and deselectMany, and move(key, toIndex). move clamps the index, is a no-op on unknown keys or the same position, and is tested in app/selection.test.ts:68. There is no per-tab order anywhere. ComparisonHeader reads useSelection() and passes entries to ProcessHeaders and the grid.
    • Headers: components/comparison/ProcessHeaders.tsx is a horizontally virtualized <ol> of memoized HeaderCells. Each is a role="group" with one roving tab stop. Arrow, Home and End move focus between columns (onMove, :456–475), and the active header always stays mounted. Hover and focus reveal the identity panel. No ×, no drag, no keyboard reorder.
    • Grid: ComparisonGrid.tsx keys columns by selectionKey. The active cell follows its process by key (:126–147). When a column is removed, the tab stop falls back to the same index, and focus follows the active cell while the grid owns focus (O9, :314–333). The header and body scrollers are kept in horizontal sync (:293–312).
    • Reads: useFlowGrid keys row pages and summaries by the canonical sorted ID set (:85–99), so a reorder keeps the comparison token. A test exists for keyboard store.move (flows-grid.test.tsx:548, "reorders columns without re-reading rows"). Cell tiles use processIds.slice(columnStart, columnEnd) in display order (:193–205), so a reorder can create new tile keys. Header reads are keyed by the sorted ID set (comparison-headers.test.tsx:222, "never refetches on reorder").
    • Removal elsewhere: the Selected list (SelectedProcesses.tsx) already removes globally. It uses removeNames (D4 disambiguation), moves focus to a neighbour or the empty state, and announces "Removed … from selection". e2e tests locate its buttons by exact name Remove <name — geo> from selection (flows-composition.spec.ts:255, process-headers.spec.ts:138, flows-grid.spec.ts:219).
    • Scores: the tab still renders EmptyComparison. Its grid is [Task] F5 — Assemble windowed Scores with valid and unavailable cell states #28, and it will mount the same ComparisonHeader.
    • Library: apps/frontend/package.json has no drag-and-drop dependency.

    Delivered vs remaining, per criterion

    AC1: pointer drag and keyboard reorder

    • Delivered: store.move and its tests. Columns, headers and cells follow keys, and the tab stop follows its process (the existing test).
    • Remaining: add one maintained, accessible drag-and-drop library (for example @dnd-kit/core and @dnd-kit/sortable; the engineer chooses and justifies it).
      • It must be compatible with React 19 and permissively licensed, with an exact version pinned in package.json.
      • Install it only inside the container with npm --prefix apps/frontend install --save-exact …, commit package-lock.json, and confirm a frozen npm --prefix apps/frontend ci in the container.
    • Remaining: pointer drag on process headers calls store.move once on drop.
      • A drag needs an activation distance or delay, so a plain click, focus or hover (the identity panel) still behaves as today.
      • Dropping outside, or pressing Escape, leaves the order unchanged.
      • Headers and cells realign to the new order with the same width.
    • Remaining: keyboard reorder on a focused header must not conflict with the existing Arrow/Home/End focus movement.
      • Use either the library's keyboard sensor (pick up, move, drop, Escape to cancel) or modifier shortcuts.
      • The controls are documented in services/README.md and exposed in each header's accessible description.
      • A polite live region announces pick-up, each move ("position n of N"), drop and cancel.
      • Focus stays on the moved header, and its visible focus ring stays.
    • Each (flow, process) cell shows the same lexeme before and after a move, and process IDs are unchanged.

    AC2: header ×, global removal

    • Remaining: each header gets a real <button> "×".
      • Visibility: it shows on hover and on :focus-within, and does not change header height or column width.
      • Accessible name: it includes the process label, disambiguated the same way as removeNames, and is distinguishable from the Selected-list button (for example "Remove column <name — geo>"). Existing exact-name e2e locators then stay valid, or are deliberately scoped to their list.
      • Tab order: only the active header's × is tabbable, giving one extra stop rather than N.
    • Remaining: activating it calls store.deselect. The process leaves the headers, the grid columns and the Selected list, and its tree checkbox clears. Rows whose last contributor it was are removed (spec §6.4).
      • Focus moves to the next header, or the previous one if it was last.
      • If it was the only process, focus goes to a focusable element of the Flows empty state, never the body.
      • "Removed … from selection" is announced.

    AC3: one shared order across tabs

    AC4: F3 append rules after manual changes

    • Remaining: tests that, after a manual reorder and a removal:
      • A single select appends at the end.
      • Re-selecting a removed process appends at the end, not at its old position.
      • A bulk add appends only the new processes in bulkOrder (alphabetical, then geography/ID) after the existing manual order, which stays unchanged.

    AC5: virtualized columns, edge scrolling and focus

    • Remaining: in /?mock-scenario=large (220 processes):
      • A pointer drag near the strip's edge auto-scrolls the header strip, with the body kept in sync. It can drop a column at least one viewport away (for example from position 1 to a position ≥ 30).
      • Keyboard reorder to an off-screen position scrolls the moved header into view and keeps focus on it.
      • The mounted header count stays bounded during and after both, with no full-column mount.
    • Remaining: when the grid's active cell column is removed with the ×, the grid's tab stop moves to the same flow in the neighbouring column, still a single tab stop.
    • Remaining: removing a column with the × while scrolled deep keeps the top flow at its offset (±1 px, the [Task] F4 — Virtualize comparison rows and columns with sticky alignment #23/Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 anchoring contract). If the selection change has to read row pages, it goes through the hold.

    AC6: order-only changes read nothing new for the selection set

    • Remaining: tests showing that a UI drag and a UI keyboard reorder:
      • Issue no row-page, summary or header reads, and the comparison_token is unchanged.
      • Never set aria-busy or "Updating…".
      • Invalidate or remove no query.
    • Cell-window reads are allowed only for tile compositions not already cached, and the values are identical.
    • Remaining: after any sequence of drags, keyboard moves, cancels and drops onto the item's own position, the selection keys are unique, and the column count equals the selection count.

    Constraints

    Container verification plan

    These are existing F1 scripts, run inside the workspace container. Nothing is installed on the host:

    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend ci'
    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend run format:check'
    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend run lint'
    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend run typecheck'
    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend run test:unit'
    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend run build'
    cd /home/david/projects/LCA-diff && docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && npm --prefix apps/frontend run test:e2e -- --project=chromium'

    Test evidence expected:

    • Unit and component (jsdom):
      • comparison-headers.test.tsx covers the × name, visibility and tab stop, keyboard reorder and announcements, focus after removal, and AC3/AC4.
      • flows-grid.test.tsx covers the AC6 reads during UI reorder, active-column removal, and deep × removal anchoring.
    • Playwright (Chromium), new or extended spec:
      • Pointer drag in the default scenario, with header/cell alignment and unchanged values.
      • Pointer drag with edge auto-scroll, and keyboard reorder to an off-screen position, in the large scenario.
      • × removal by pointer and by keyboard, with Selected-list parity and focus.
      • No duplicate columns.
    • Keep the 20 s large-suite budgets. Record the measured time of any new large test (input for [Task] F4 — Verify large Flows comparisons and record the milestone gate #26's O1 note).
    • The handoff records the library, its version and license rationale, the exact commands and results, and the delivered SHA. QA verifies independently at that SHA.

    Out of scope and linked follow-ups

    Issue body updated: the dependency is now #69 (with #24 satisfied), the criteria are refined as above, and the stale branch note is removed. The blocked label stays until #69 merges.

    Next action: coordinator runs #69 (Software Engineer, then QA, then merge). PM then rechecks this issue and flips it to READY for the Software Engineer.

    🤖 Generated with Claude Code

  4. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    PM note carried from #69 QA, not a readiness change. When #25 is rechecked after PR #73 merges, add:

    • O1: the Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 locate change (unfetched pages report unknown, not absent, during an error) has no covering test. If header × removal creates a reachable state where partial rows are in view during an error, add a test for it.
    • O2: the 'no summary or cell reads while paused' assertion doesn't catch reads gated on updating instead of busy, because the view never moves in those tests. Add a scroll during a paused hold, for example after a header × removal while scrolled deep.

    🤖 Generated with Claude Code

  5. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    PM: READY

    I rechecked this issue against docs/team/product-manager.md and AGENTS.md on main at 1c2a438. It is Phase 1, frontend with mock services, F4-06. The authority and scope are unchanged from the previous grooming: spec §§6.3, 6.5, 6.7, 6.8, 9.1 and 9.2 behaviours 17–18, and the PRD's Selection section. ADRs 0001–0003 are accepted. ADRs 0004 and 0005 are still Proposed and grant nothing. No PRD or spec change is needed, so no ADR.

    Dependency check

    Gate State
    M1 runtime (#2) Closed
    Bootstrap/M2 (#3) Closed
    #24 Flows composition Merged (PR #71, deb4f29), closed. Satisfied
    #69 hold/Retry anchoring Merged (PR #73, 1c2a438), closed. Satisfied
    Open PRs touching apps/frontend/ None. Backend PRs #61, #70 and #72 touch only Makefile, compose files and packages/python/

    Interfaces rechecked after #69

    • Unchanged since deb4f29: ProcessHeaders.tsx, ComparisonGrid.tsx and app/selection.ts have no diff. Everything the previous grooming relied on still holds:
      • SelectionStore.move and deselect.
      • The header roving tab stop and the onMove Arrow/Home/End handler.
      • Grid columns keyed by selectionKey, the O9 focus follow, and header/body scroll sync.
      • The drag-and-drop library is still to be chosen.
    • What Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 changed (in useFlowGrid.ts and FlowsGrid.tsx):
      • FlowGridData has a new busy flag, placeholder || holding.
      • A row-page error now pauses the hold instead of ending it. The previous comparison stays shown, and summary and cell reads are gated on busy.
      • FlowsGrid passes busy (not updating) to the grid's aria-busy.
      • locate treats flows on unfetched pages as unknown, even after an error.
      • None of these interfaces is one this issue edits. Header × removal (store.deselect) now goes through the corrected hold.
    • Tests:
      • The flows-grid-harness.ts helpers this issue needs already exist: render with faults, pageReads and busyReads; selectAll, scrollTo, topRow, rowNamed and watchView; and settled, settledAt and loadError.
      • FlowsGrid mounts ComparisonHeader, so harness tests can click the header × directly.
      • The existing keyboard-reorder test ("reorders columns without re-reading rows", QA D1) is still in flows-grid.test.tsx.
    • README: the "Errors and the hold (Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69)" note defines the paused-hold contract, which AC7 tests. The keyboard-controls documentation for AC1 goes into the same Flows grid section.

    Criterion deltas (issue body updated)

    1. New AC7 turns the Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 QA notes into bounded tests. Each runs with 220 processes, scrolled deep, removing one column by clicking its header ×, with faults on the 219-process comparison:
      • O2, scroll while the hold is paused: fault on page 2, then scroll by at least 5 rows and one column window. While paused, there are no summary or cell calls, busyReads is empty, aria-busy stays true, and "Updating…" is absent. After Retry the grid settles with no busy reads, and the scroll is not undone (the D4 rule).
      • O1, unknown is not absent: fault on page 0. After Retry the pre-removal top flow is back at its offset ±1 px, and watchView shows no other top flow. If the engineer finds another reachable state with partial new rows in view during an error, they add a test for it. Otherwise the handoff explains why no such state exists.
    2. Out of bounds widened: the hold, seek, error, Retry and locate logic in useFlowGrid must not change. A defect a new test exposes there is reported for a separate bug, not fixed here. Additive harness helpers are allowed.
    3. Test placement: large-workload grid tests (AC5 active-column and deep-removal cases, AC6 reads, AC7) go in a new services/mock/flows-grid-columns.test.tsx that imports flows-grid-harness.ts.
      • Why a new file: Flows grid: Retry after a row-page error during a selection update loses the anchored flow #69 split the suite because each large-workload jsdom test adds about 100 MB to the worker heap, and 20 in one file exceeded the limit. flows-grid.test.tsx already has 12 such tests and flows-grid-anchoring.test.tsx has 8.
      • Limits: those two files stay at their current counts, and the new file holds at most 12. Do not raise the heap limit, change the pool or skip tests to fit.
      • Header-only tests (the × name, visibility and tab stop; keyboard announcements; AC3/AC4) stay in comparison-headers.test.tsx.
    4. Dependencies and readiness are updated, and the readiness note now gives the branch and base.

    The other criteria (AC1–AC6), the constraints, the container verification plan and the follow-ups (#26, #28, #30, #31, #33) are unchanged. A note for the F4 gate: #26's body names only #25 as its predecessor. #69 is closed, so this changes no readiness, but the #26 recheck should cite it.

    Branch and handoff

    • Branch feat/f4-column-operations from main 1c2a438, in an isolated worktree with its own container project, ports and volumes.
    • One writer at a time. The PR targets main with Refs #25 and no closing keyword.
    • The handoff records the library, its version and license rationale, the measured times of the new large tests, the exact container commands and results, and the delivered SHA. QA then verifies independently at that SHA.

    Next action: Software Engineer implements this issue. The blocked label is removed.

    🤖 Generated with Claude Code

  6. removed
    blocked
    on Nov 15, 2026
  7. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    Coordinator: state → implementing. Software Engineer assigned on feat/f4-column-operations from 1c2a438, in an isolated worktree.

    🤖 Generated with Claude Code

  8. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    Engineering: READY FOR QA

    • Branch: feat/f4-column-operations, from main 1c2a438, in the isolated worktree /tmp/lca-diff-f4-columns. It ran in its own Compose project lca-diff-f4-columns on port 5201, with no shared volumes.
    • Delivered SHA: 9598c18737f92903ea92c04a463cff7adc5e109f
    • PR: F4: shared column drag, keyboard reorder and global removal (#25) #74 (Refs #25, no closing keyword, not merged)

    Library

    @dnd-kit/core 6.3.1, pinned exactly.

    • License: MIT. Its transitive packages are @dnd-kit/accessibility 3.1.1 and @dnd-kit/utilities 3.2.2 (both MIT), plus tslib (0BSD).
    • React 19: its peer range is react/react-dom >=16.8.
    • Age: published 2024-12-05.
    • Lockfile: committed, and npm ci passes frozen.
    • Audit: npm audit --omit=dev reports 0 vulnerabilities.
    • What it does here: dnd-kit supplies the pointer sensor (8 px activation), Escape cancel, click suppression after a drag, and the overlay.
    • What is ours:
      • The drop index is computed from the pointer and the strip geometry, so it works for virtualized columns that are not mounted.
      • Edge auto-scroll is our own. dnd-kit only scrolls user-scrollable ancestors, and in a grid the strip has overflow: hidden.
      • Keyboard reorder is index-based.

    The PR has the full rationale.

    Criteria

    AC Status Evidence
    AC1 drag and keyboard Implemented comparison-headers.test.tsx: "reorders by keyboard…" and "drags a header…". The description text is asserted exactly. The e2e default-scenario test checks drag with alignment and unchanged values, the keyboard focus ring and announcements. The README documents the keys
    AC2 header × Implemented Header tests: "gives each header a remove button…" and "removes a process everywhere…". The e2e test checks hover and focus visibility with an unchanged box, × by pointer and keyboard, Selected-list and tree parity, and empty-state focus
    AC3 shared order Implemented Header test "keeps one shared order in both tabs…" (two mounted strips). The e2e test checks Flows → Scores → Flows and Selected-list parity
    AC4 append rules Implemented Header test "keeps the F3 append rules…" (single select, re-select of a removed process, and bulkOrder bulk add)
    AC5 large scenario Implemented Off-screen End reorder, active-column removal and deep × removal are in flows-grid-columns.test.tsx. Edge auto-scroll drag to position ≥ 30 and the off-screen keyboard reorder are in e2e/column-operations.spec.ts (Chromium)
    AC6 order-only reads Implemented flows-grid-columns.test.tsx "reorders by keyboard and pointer…": no row, summary or header reads; no aria-busy, no "Updating…", no query removed or invalidated; uncached tiles only, with the same token and identical values; unique keys, and the column count equals the selection count
    AC7 #69 path Implemented O2 and O1 tests in flows-grid-columns.test.tsx. Both pass, so no defect was found in the useFlowGrid hold, seek, error, Retry or locate logic. That logic is unchanged

    AC7 O1, other states: I found no state, beyond those #69 already lists, where partial new rows are in view during an error. Header × removal is a plain store.deselect. During the hold, the previous comparison stays shown until an anchor flow loads, so partial new rows never appear. Outside a hold, paging errors and selection changes during an error are already covered by the #69 tests.

    Commands

    All commands ran in the lca-diff-f4-columns workspace with docker compose --project-directory . -f compose.yaml exec -T workspace bash -lc 'cd /workspaces/lca-diff && …'.

    • npm --prefix apps/frontend ci: exit 0
    • npm --prefix apps/frontend run format:check: pass
    • npm --prefix apps/frontend run lint: pass, 0 warnings
    • npm --prefix apps/frontend run typecheck: pass
    • npm --prefix apps/frontend run test:unit: 31 files, 403 passed
    • npm --prefix apps/frontend run build: pass
    • npm --prefix apps/frontend run test:e2e -- --project=chromium: 29 passed (all specs, including the 3 new ones)

    Measured times of the new large tests (full parallel run):

    • 7.5 s, 4.5 s, 19.3 s, 12.4 s, 11.6 s and 6.4 s.
    • The two deep render(30) tests use the 40 s per-test override, as the existing deep tests do.
    • The new e2e tests took 2.5 s, 10.2 s and 3.7 s.

    Changes to existing tests (please review)

    • e2e/process-headers.spec.ts: the header tab-stop count is scoped to [role="group"], and one tabbable × is now asserted. Without the scope, the active header's × makes the count ambiguous.
    • comparison-headers.test.tsx: one exact description assertion now expects the reorder instructions appended. This is stricter.
    • flows-grid.test.tsx "sizes mixed-sign rows…": raised the waitFor timeout from the implicit 1 s to the file's usual 10 s.
      • What failed: with the new large file running in parallel, it timed out in 3 of 3 full runs.
      • Why it's load: it passes alone. It also failed the same way when I swapped the original ProcessHeaders back in, so the cause is worker load, not this change.
      • What did not change: the assertion is the same. The heap limit, pool and skips are unchanged.
      • PM/QA should confirm that this is acceptable under "do not weaken budgets".

    Limitations

    Manual check

    1. ./dev up with FRONTEND_PORT set, then npm --prefix apps/frontend run dev in the container.
    2. Open /?mock-scenario=large and sign in.
    3. Drag a header to the right edge of the strip and hold it there.
    4. Pick up a header with Space and press End.

    Next role: QA. Verify independently at 9598c18737f92903ea92c04a463cff7adc5e109f.

    🤖 Generated with Claude Code

  9. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    QA: PASS

    • Reviewed SHA: 9598c18737f92903ea92c04a463cff7adc5e109f (PR F4: shared column drag, keyboard reorder and global removal (#25) #74, feat/f4-column-operations → main at 1c2a438). It holds exactly the 7 handed-off commits (255b933 … 9598c18). The PR head matches this SHA. The working tree was clean before and after review.
    • Mode: Phase 1, mock services only. I worked in a separate detached worktree /tmp/lca-diff-f4-columns-qa, not the engineer's. It ran in its own rootless workspace container: Compose project lca-diff-f4-columns-qa, FRONTEND_PORT=5203, no shared volumes. ./dev check passed, and the container was taken down afterwards.
      • Nothing was installed or run on the host. The mutation and probe scripts ran inside the container.
      • No application or test files were changed. Old-code, mutant and probe runs were scratch edits in the QA worktree, each reverted with git checkout. The scratch files were deleted.
    • Authority: spec §6.3 (drag-to-reorder in either tab, the × on hover/focus with global deselect, keyboard removal), §6.5, §6.7, §6.8, §9.1, and §9.2 behaviours 17–18. Also the PRD Selection section and accepted ADRs 0001–0003. ADRs 0004 and 0005 are Proposed and were not applied. No archive or reference folder was used.
    • ADR check: none needed. The PRD and spec are unchanged. The diff touches only apps/frontend/ (15 files), and choosing the library is an ordinary implementation choice.

    Commands and results

    All were run in the QA container at 9598c18, with R='docker compose --project-directory . -f compose.yaml -p lca-diff-f4-columns-qa exec -T workspace bash -lc':

    cd /tmp/lca-diff-f4-columns-qa && COMPOSE_PROJECT_NAME=lca-diff-f4-columns-qa FRONTEND_PORT=5203 ./dev up && COMPOSE_PROJECT_NAME=lca-diff-f4-columns-qa FRONTEND_PORT=5203 ./dev check   # PASS
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend ci'                 # exit 0, 236 packages, lockfile unchanged (git status clean)
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend audit --omit=dev'   # found 0 vulnerabilities
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend run format:check'   # All matched files use Prettier code style, exit 0
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend run lint'           # exit 0, --max-warnings 0
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend run typecheck'      # exit 0
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend run build'          # exit 0 (437.82 kB JS, 135.53 kB gzip)
    $R 'cd /workspaces/lca-diff/apps/frontend && npx vitest run --reporter=verbose'   # 31 files, 403/403 passed (96.1 s)
    $R 'cd /workspaces/lca-diff && npm --prefix apps/frontend run test:e2e -- --project=chromium'   # 29 passed (1.3 m), incl. the 3 new column-operations tests and all @smoke tests
    gh pr checks 74   # quality: pass (3m34s), run 43726989452 at headSha 9598c18; npm ci, format, lint, typecheck, test:unit, build and the critical browser smoke all succeeded

    src/test/service-boundary.test.ts passes as part of the unit run.

    Per-criterion results

    AC1, pointer drag and keyboard reorder: PASS.

    • Pointer drag.
      • dnd-kit PointerSensor with an 8 px distance activation. A drop calls store.move exactly once: the header test asserts this with toHaveBeenCalledTimes(1) and toHaveBeenCalledWith(key, 2).
      • A click, and a press that travels less than 8 px, show no drop indicator, make no announcement and keep focus.
      • Escape, a drop outside the strip, and a drop on the header's own column call no move.
      • My Chromium probe confirms that a real click keeps order and focus, and that a real drop 400 px below the strip changes nothing and announces "…dropped outside the columns…".
    • Keyboard.
      • Space or Enter picks the header up; the arrows, Home and End move it; Space or Enter drops it; Escape restores the pre-pick-up index; blur drops it in place.
      • When nothing is picked up, the arrows, Home and End only move focus, as before.
      • Keys pressed on the × are ignored by the header handler (event.target !== currentTarget).
      • The instructions are exactly asserted in the header's accessible description and documented in services/README.md "Column operations ([Task] F4 — Add shared column drag, keyboard reorder and global removal #25)".
      • Every step is announced in the polite region: pick-up, "moved to position n of N", "already at…", drop, cancel. dnd-kit's own assertive region is silenced.
      • Focus stays on the moved header. Chromium asserts toBeFocused and a solid outline-style.
    • Values and alignment. The e2e test asserts that cellValues (flow|process ID → label) is identical before and after a drag and a keyboard move, and that header and cell x and width match within 1 px. The large jsdom test compares more than 100 mounted cells by flow and process.

    AC2, header ×: PASS.

    • The button. It is a real <button type="button"> inside the header group.
      • Its name is Remove column <uniqueSelectionLabels>, asserted for duplicate labels (release suffix) and a missing geography.
      • It never equals the Selected-list name Remove … from selection.
      • Hover and focus show it (opacity 0 → 1) with the header box unchanged, asserted in Chromium.
    • Tab stops. Only the active header's × has tabindex=0. My Chromium probe found:
      • exactly 2 [tabindex="0"] in the strip (unscoped);
      • the tabbable × inside the active header;
      • Tab from the header reaching its ×, and the next Tab leaving the strip;
      • Shift+Tab reversing that order.
    • Global removal. The process leaves the headers in both tab panels, the grid, the Selected list and the tree checkbox (aria-checked=false in Chromium).
    • Rows with no remaining contributor. No new test covers this through the ×. I added a scratch probe: a copy of the [Task] F4 — Assemble the Flows comparison with exact missingness and cell warnings #24 composition test "removes rows with their last contributor", removing Gamma and then Alpha with their header ×. It passed: the same rows were dropped and kept, the tree was unchecked, and the Selected-list button was gone.
    • Focus. It moves to the next header, then the previous one. When the last column is removed, it moves to the tab's empty-state heading (h2[tabindex=-1][data-empty-focus]), never the body, in jsdom and Chromium. "Removed … from selection" is announced, in the same wording as the Selected list.

    AC3, one shared order: PASS.

    • ComparisonHeader and ProcessHeaders read only useSelection(), and the only order state is SelectionStore.
    • The header test mounts both tab panels. After a keyboard move in Flows, a drag in Scores and a × removal in Scores, the store, Flows and Scores orders are equal.
    • The e2e test checks Flows → Scores → Flows, and Selected-list parity after every operation.
    • Mutant M4 (a stale per-tab order in Scores) is killed.

    AC4, F3 append rules: PASS.

    • After a keyboard move to Home and a × removal:
      • a single select appends at the end;
      • re-selecting the removed Gamma appends at the end;
      • a bulk add of 5 processes (2 already selected) appends only the 3 new ones, in bulkOrder, after the unchanged manual order.
    • The bulk path is store.selectMany([...].sort(bulkOrder)), the same ordering the bulk UI uses.

    AC5, large scenario: PASS.

    • Edge auto-scroll (Chromium, ?mock-scenario=large).
      • Holding near the right edge scrolls the strip by more than 32 columns, and the drop index is ≥ 30.
      • The moved header is focused at that index, and the grid's scrollLeft equals the strip's.
      • aria-colcount is unchanged, fewer than 30 headers are mounted, and the columns are aligned.
    • Off-screen keyboard reorder. Space then End moves the header to 219. It stays focused and in view, both scrollers are at the end, and fewer than 30 headers are mounted (≤ 20 in jsdom).
    • Active grid column removed. The single grid tab stop moves to the same flow, data-col=5, with the next process's name.
    • Deep × removal. At row 1300, the top flow keeps its offset within ±1 px, watchView sees only the anchor flow, and busyReads is empty.

    AC6, order-only reads: PASS.

    • A keyboard move plus a pointer drag (and a cancel, an in-place drop, a drop on its own column and a drop outside):
      • make no new row-page, summary or header calls;
      • show no aria-busy and no "Updating…";
      • remove or invalidate no query (checked by MutationObserver and query-cache subscription);
      • read cell tiles only for compositions not already cached, with the same comparison_token;
      • leave keys unique, with aria-colcount = 221.
    • Mutant M2 (row pages keyed by display order) is killed by exactly this test.

    AC7, × removal through the #69 error and hold path: PASS.

    • O2. The setup is a fault on page 2 of the 219-process comparison, then a scroll of 6 rows and 20 columns while paused.
    • O1. The setup is a fault on page 0. After Retry, the anchor is back at ±1 px and is the only top flow ever seen.
    • The engineer's "no other reachable state" argument holds by inspection. × removal is a plain store.deselect, and while the hold is in effect the previous comparison is shown.
    • useFlowGrid is unchanged. git diff 1c2a438 9598c18 -- apps/frontend/src/components/comparison/useFlowGrid.ts is empty, and so are the diffs for FlowsGrid.tsx and ComparisonGrid.tsx. The only harness change wraps the render in AnnouncerProvider instead of Fragment.
    • Test counts are within the limits: flows-grid.test.tsx 12, flows-grid-anchoring.test.tsx 8, the new flows-grid-columns.test.tsx 6 (≤ 12). The heap limit, pool and skips are unchanged.

    Dependency (task item 3): accepted

    Package Version License Published Notes
    @dnd-kit/core 6.3.1 (exact pin in package.json, no ^) MIT 2024-12-05 npm latest; peers react/react-dom >=16.8.0; resolves against react/react-dom 19.3.1, deduped (npm ls)
    @dnd-kit/accessibility 3.1.1 MIT 2024-11-23 transitive
    @dnd-kit/utilities 3.2.2 MIT 2023-11-06 transitive
    tslib 2.9.1 0BSD 2026-10-30 already in the lockfile at the same version as a dev/optional package; only its dev/optional flags were dropped
    • Lockfile. The diff adds exactly three node_modules/@dnd-kit/* entries with integrity hashes. Frozen npm ci passes in the container and in CI, and leaves the tree clean.
    • Audit. npm audit --omit=dev reports 0 vulnerabilities. The 7 moderate dev-only advisories (minimatch) are not introduced by this PR.
    • Runtime boundary. There are no changes to pyproject.toml, uv.lock, packages/, compose files, the Makefile or .github. dnd-kit is imported only by ProcessHeaders.tsx and the frontend tests, so it never reaches the API or backend runtime.

    The waitFor timeout in "sizes mixed-sign rows…" (task item 4): accepted

    • Reproduced. With the original implicit 1 s wait (flows-grid.test.tsx restored from ec7f956, which is identical to 1c2a438), the full suite at 9598c18 failed this test in 3 of 3 runs. The failures were at 6.2 s, 6.5 s and 6.7 s, each expected false to be true, with every other test passing.
    • Equivalent load on 1c2a438. On main the full suite passed in 2 of 2 runs (the test took 4.4 s and 4.2 s). With one extra large-workload file added (a copy of flows-grid-anchoring.test.tsx, 8 tests, close to the new file's 6), it failed in 2 of 2 runs:
      • run 1: "deep scrolling pages rows…" failed (expected null not to be null);
      • run 2: "sizes mixed-sign rows…" itself failed (6.6 s).
        So main is load-sensitive in the same way.
    • Not a code slowdown. In isolation the test takes the same time on both SHAs: 3.76, 3.92 and 3.94 s at 9598c18 against 3.92, 3.65 and 3.68 s at 1c2a438. The whole file alone took 2.86 s on both.
    • The assertion is unchanged. The diff only wraps the same expect(...some(height > STANDARD_ROW_HEIGHT)).toBe(true) in waitFor(…, { timeout: 10000 }), plus a comment.
    • It does not weaken a budget.
      • The 1 s was RTL's implicit polling default, not a stated budget.
      • The large-suite budgets (the 20 s describe budget and the per-test 20 s) are unchanged.
      • 10 s matches the file's other deep-scroll waits (lines 88, 170, 221, 282, 290 and 303).
      • The test checks row sizing and striping, not latency.
    • No alternative is warranted. Keeping the 1 s wait would mean reducing parallel load, which means a pool, worker or heap change, and those are forbidden. Waiting on settledAt would be an equivalent relaxation. Moving the test elsewhere would not reduce load.
    • The surrounding fragility is recorded as observation O1.

    Changes to existing tests (task items 5 and 6): no coverage lost

    • e2e/process-headers.spec.ts tab stops. The single [tabindex="0"] count became one [role="group"][tabindex="0"] plus one button[tabindex="0"].
      • The scoped form could miss a stray third tabbable element of another kind.
      • My probe added the unscoped [tabindex="0"] count (exactly 2) and checked that the tabbable × belongs to the active header. Both pass.
      • Net coverage is the same as before, plus the × check. The spec's accessible-description regex is unanchored, so the appended instructions do not weaken it.
    • comparison-headers.test.tsx description. It is still an exact full-string match, with the instructions appended, so it is stricter.
    • app/announcer.ts.
      • It is one polite region mounted inside the UID-keyed workspace (inside SelectionProvider), so signout discards it.
      • A repeated message toggles a trailing no-break space so assistive technology announces it again.
    • Focusable empty-state heading. It is tabIndex={-1}, so it adds no tab stop, and it is used only as the programmatic focus target.
    • Shared remove-name helper.
      • uniqueSelectionLabels is a pure extraction of the old removeNames, with the same release and (item n) disambiguation.
      • The Selected list still maps each name to Remove ${name} from selection, so its names are unchanged.
      • The existing exact-name e2e locators still pass, unchanged: flows-composition.spec.ts, process-headers.spec.ts, flows-grid.spec.ts and selection.spec.ts.

    Accessibility (task item 7): PASS

    • Header ×. It has a distinct name and exactly one extra tab stop, and the Tab and Shift+Tab order is header → × → out of the strip (Chromium probe above).
    • Keyboard reorder. Pick-up, each move, the edge "already at", drop, cancel and blur-drop are all announced in the polite region (asserted exactly in jsdom; pick-up and drop also in Chromium).
    • Focus after removal. It goes to the next header, then the previous one, then the empty-state heading (jsdom and Chromium). Focus never lands on the body.
    • Escape cancels a drag. This is asserted with "Move cancelled… stays at position…" in jsdom, and with an unchanged order after a real mouse drag plus Escape in Chromium. Mutant M5 is killed.

    Touch (task item 8): observation, not a defect

    • §6 of the spec says "Desktop/laptop only: mobile displays an accessible larger-screen-required state". §6.3 requires "drag-to-reorder" plus a keyboard-accessible removal control.
    • The issue's AC1 requires "pointer drag" and keyboard reorder, and no criterion requires touch or pointer-agnostic drag.
    • Keyboard reorder and the × work on any device with a keyboard or assistive technology. The README documents the limitation. See O2.

    Mutation table

    Each mutant was a scratch edit applied inside the container by a script and run against comparison-headers.test.tsx and flows-grid-columns.test.tsx (26 tests). Each was reverted with git checkout -- apps/frontend, and none is committed.

    # Mutation Result Killed by
    M1 × with a neighbour: store.deselect removed (no global deselect) Killed (7 failed) "removes a process everywhere…", shared order, F3 append rules, both AC5 grid removals, AC7 O1 and O2
    M2 useFlowGrid: row pages keyed by display-order processIds, not canonicalIds (a reorder re-reads rows) Killed AC6 "reorders by keyboard and pointer without row, summary or header reads"
    M3 Keyboard move off by one: picked-up ArrowRight moves index + 2 Killed (2 failed) "reorders by keyboard: pick up, move…", AC6 large reorder
    M4 Per-tab order: Scores keeps a stale order memoized on the key set Killed "keeps one shared order in both tabs…"
    M5 Escape during a pointer drag drops at the indicator instead of cancelling Killed "drags a header: … Escape … change nothing"
    M6 Every header's × is tabIndex=0 (N tab stops) Killed "gives each header a remove button… one extra tab stop"
    M7 Last-column removal does not focus the empty state (focus falls to the body) Killed "…then the empty state" (toHaveFocus on the heading)
    M8 Keyboard Escape does not restore the pre-pick-up position Killed (2 failed) keyboard reorder test, AC6 large reorder

    Timings (full parallel test:unit, 96.1 s in total)

    Test Time Budget
    selection: 300 selections (pre-existing) 21.2 s 30 s
    O9 focused column removed (pre-existing) 19.1 s 40 s
    D4 scroll during update (pre-existing) 16.5 s 40 s
    #25 active grid column removed (new) 14.1 s 40 s
    #25 AC7 O2 paused hold with scroll (new) 12.8 s 40 s
    #25 deep × removal (new) 12.4 s 40 s
    #25 AC6 order-only reads (new) 7.9 s 20 s
    #25 AC7 O1 first-page error (new) 6.7 s 40 s
    sizes mixed-sign rows (10 s wait) 5.0 s 20 s
    #25 off-screen keyboard End (new) 4.6 s 20 s

    None is near its budget. The 300-selection test (21.2 s of 30 s; 17.6 s in #69 QA) is the closest, and it is pre-existing. New e2e times: 2.6 s, 10.4 s and 3.6 s.

    Defects

    None.

    Observations (non-blocking)

    • O1. The unit suite is load-sensitive on main as well as here.
      • Adding one more large-workload jsdom file to 1c2a438 made a 10 s-wait deep-scroll test fail once, as well as the 1 s test.
      • The overall duration grows by about 10 s per large file (89.7 s → 96–102 s).
      • Before [Task] F4 — Verify large Flows comparisons and record the milestone gate #26 adds more large-workload jsdom tests, track wait headroom under full parallel load, for example by recording the slowest waitFor and test times in the gate. Do not bump waits case by case.
    • O2. Touch drag is unsupported. No touch-action is set, so a touch pan scrolls the page. The spec scopes MVP to desktop and laptop, and no criterion requires touch. Touchscreen laptops will need the keyboard or the × instead. Consider adding a TouchSensor or touch-action: none on headers in a later polish issue if wanted.
    • O3. Row removal on × is covered only indirectly. The committed tests do not assert that rows whose last contributor was removed by the × disappear. It holds because the × calls the same store.deselect as the Selected list, and my probe confirmed it. A one-line follow-up in [Task] F4 — Verify large Flows comparisons and record the milestone gate #26 could pin it.
    • O4. The removal announcement uses the plain label, "Removed Alpha — CH from selection", not the disambiguated name. Two same-label processes from different releases therefore produce the same text. This matches the Selected list's existing announcement, so it is not a regression; it could be revisited in [Task] F5 — Complete comparison loading, recovery and accessibility states #33.
    • O5. Edge auto-scroll is evidenced only in Chromium, as the engineer notes. Firefox (spec §6 "Test current Chromium and Firefox") runs only the smoke tier in CI, and no column-operations test is tagged @smoke. Consider tagging one, or covering it in the [Task] F4 — Verify large Flows comparisons and record the milestone gate #26 gate run.

    Next role

    Coordinator, then maintainer review of PR #74. PASS returns the PR to review and merge. No merge is authorized by this report. O1 and O3 are candidates for #26, O4 for #33, and O2 and O5 are for maintainer judgement.

    🤖 Generated with Claude Code

  10. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    Coordinator: QA PASS at 9598c18 (#25 (comment)). Hosted quality check passes. State → ready for maintainer review of PR #74. #25 closes after the maintainer merges PR #74.

    QA observations carried forward:

    🤖 Generated with Claude Code

  11. DavidVFitzGerald commented on Nov 15, 2026

    @DavidVFitzGerald
    OwnerAuthor

    Coordinator: closed. QA PASS at 9598c18. The maintainer merged PR #74 to main. Next, when the maintainer authorizes it: PM grooms #26, the F4 gate.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendtask

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions