You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
List page: browser Back from a record returns the scroll-loaded list to the top (the page's own ✕ restores it) #37029
Found by the milestone acceptance of #35547 (record #37020) on main 305fe60e.
Reproduction:
Open showcase_inquiry with 130+ rows (the list loads on scroll).
Scroll to about row 60 and click a record's name.
Return with the browser's Back (history.back()).
What happens:
Back: the list returns to scrollTop 4, on 3 of 3 runs.
The record page's own ✕: restores scrollTop 1840 with 133 rows loaded.
Governing ruling:#30850, letter A (2026-11-07): the list page lives in the URL, and "if it loads on scroll, the PR restores the batch or scroll position too". The ✕ path does that; the Back path does not.
QA-source: #37020 · records-forms.record-open-path-and-header · observed beside the clauses
Claim: PM loop round 1
Session: session_01QSeKYnagJvGbCtNg2PhvgW
Account: os-justin
Branch: claude/issue-37029-list-back-scroll
Worktree: objectstack-issue-37029
Domain: domain:ui
Seat: repo:objectstack#4
Area: a4-C
Epic: #35547 (list page redo) — found by its milestone acceptance #37020; not a sub-issue (triage's link to make), assigned to a4-C by the seat session.
File surface: ui/packages/app-shell/src/views/recordPagePush.ts, ui/packages/app-shell/src/views/ObjectView.tsx and the list host's scroll / batch restore path under ui/packages/app-shell/src/views/** and ui/packages/plugin-list/src/**, their tests, .changeset/* (stop on breach; explain in the report)
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: platform UI code in objectstack (the list's scroll / loaded-batch restore runs on the record page's own ✕ path, not on browser Back) | the ✕ path already restores (recordPagePush.ts rememberScroll); Back has no path | every user returning with Back from a record opened off a scroll-loaded list; reached today
Thread-read: 7137905853
Premise: holds
Serial constraints cleared: #36737 (this zone, in flight) declares ui/packages/app-shell/src/views/ObjectView.tsx too — overlap-check before each push decides; no open PR touches recordPagePush.ts (file lists read now)
Pre-claim lane: domain:ui — every path is under ui/**.
Pre-claim deps: no Blocked-by: line; no "after #N".
Prior rulings read: check-prior-rulings.mjs --card 37029 on the surface at bfd1049 — 3 hit lines in ObjectView.tsx (#7494 shared settings; ruling record 7058616478 on publishing a view), neither about scroll restore; the governing ruling is the card's own: #30850 letter A, "if it loads on scroll, the PR restores the batch or scroll position too". No ADR on the surface.
{
"issue": 37029,
"status": "done",
"branch": "claude/issue-37029-list-back-scroll",
"pr": null,
"session": "session_01QSeKYnagJvGbCtNg2PhvgW",
"premise_still_valid": false,
"summary": "Premise disproved on origin/main bfd1049f: browser Back from a record opened off a scroll-loaded showcase_inquiry list restores the loaded batch and the scroll position, exactly as the record page's close button does. Measured in Chromium 1243 (Playwright), zh-CN, 1280x800 and 1167x762, against both the bundled console (os dev --ui, /_console/) and the Vite dev console, 133 rows (3 seeded + 130 created), row ~60 brought into view with scrollIntoViewIfNeeded as the QA run did (scrollTop 1841, the QA close-button figure). Back by page.goBack() and by history.back(), and Back after a full-document record load, all return to scrollTop 1841 (or 2120/2121 when scrolled by setting scrollTop) with 133 rows, read at +0.5 s, +1.5 s and +6 s; sequences back, close, back in one tab hold too (11 Back legs, 0 failures). PM mechanism assumption also does not hold: recordPagePush.ts is the phone record-over-record scroll memory (useRecordPageScrollMemory, mounted only when phonePage), not the list path; the list's restore is one shared path both exits already use: plugin-grid objectGridInfiniteLoad.ts keeps scrollTop plus rows-loaded in sessionStorage under the key object|pathname+search (read once by ListView), ListView reloads that many rows on mount, and the grid restores the position once they land; close navigates (PUSH) to from.pathname and Back pops to the same URL, so both mount the list under the same key. No code changed, no PR opened. The surface commits between the QA base 305fe60e and bfd1049f (16 commits) touch none of the list or record files, so the difference is in the QA run's setup, not a fix in between; I could not recover which (candidates: a list URL whose search changed after the list mounted, or a measurement taken on another element). Recommend closing as not reproducible, or re-dispatching to QA with the exact list URL, the click target and the probe that read scrollTop 4.",
"tests": "No code change, so no unit tests owed. Browser measurements (Playwright scripts in scratchpad, not committed), each line BEFORE leaving, then after return at +6 s: bundled console, scrollIntoView to row 60: back 1841/133 -> 1841/133; close 1841/133 -> 1841/133; back 1841/133 -> 1841/133. 1167x762: back 1860/133 -> 1860/133. Full-document record load then goBack: 1841/133 -> 1841/133. scrollTop-set variant: back 2121/133 -> 2121/133, close 2121 -> 2121, back 2121 -> 2121; history.back() variant x2 and close x1 on the bundled console: 2120 -> 2120. Vite dev console (DEV_PROXY_TARGET to my backend), zh-CN: back 2120 -> 2120 x3, close 2120 -> 2120. sessionStorage key in every run: os:list-scroll:showcase_inquiry|/_console/apps/com.example.showcase/showcase_inquiry, unchanged across the round trip.",
"gates": "None run: no diff. Build only for the browser check: os-verify-lock VERDICT command-exit 0 for turbo build (120/120 tasks, held 978 s) and for pnpm console:build (77/77, held 2 s after one exit-99 queue-timeout, retaken with the same slot name). NOT MEASURED: every check:* family and CI check-runs, reason: no commit beyond origin/main, no PR.",
"line_budget": "n/a — no diff",
"files_changed": [],
"deviations": [
"No failing-first test and no PR: the dispatch acceptance presumes the defect, which does not reproduce (rule 6, premise_still_valid false).",
"File surface untouched; the list restore actually lives in ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts, outside the declared surface, read only."
],
"dogfood_battery": "n/a — no PR, no `!` in a title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "1 — POST issues/37029/comments via scripts/pm/post-stamped.mjs (this report). Not REST: one git push of the empty probe branch claude/issue-37029-list-back-scroll (no commits beyond origin/main; left for the seat to delete).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
L1 verdict on the dev report (comment 7139604200): ACCEPT premise_still_valid: false. Checked against the tree, not the report: the list restore is ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts (sessionStorage os:list-scroll: + key, read at :48, written at :61) — one path both exits mount under; recordPagePush.ts is not the list path (the seat's mechanism assumption was wrong). The dev measured 11 Back legs on showcase_inquiry (133 rows, bundled and Vite consoles, zh-CN), 0 failures; the 16 commits between the QA base 305fe60 and bfd1049 touch no list or record file.
Question to triage (pm:retriage): the defect did not reproduce. Either close it as not reproducible, or send it back to QA to record the exact list URL (with its search string), the click target and the element the probe read scrollTop 4 from — the dev's two candidates are a list URL whose search changed after mount, or a scrollTop read off another element. This seat does not close a defect card on its own.
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T13:32Z · Seat triage on the pm:retriage question. No maintainer ruling is needed: #30850 A already says the list restores its place, and what is open is whether it is broken.
Readings so far: acceptance run 3/3 back to the top; dev run 0/11 on the same browser. Most likely the steps differ.
One lead, not yet tested: the scroll position is stored and read by object name plus the list address (path and query) and read once on mount (ui/packages/plugin-list/src/ListView.tsx ~2971-2976, ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts ~46-66). If the list's query string changed after mount (for example after switching or creating a view, which the QA run · milestone:#35547 (32/32) · 305fe60e · 2026-11-24 · 23 PASS / 7 PARTIAL / 2 FAIL / 0 BLOCKED / 0 NOT-RUN #37020 run did), browser Back returns to an address whose key does not match, while ✕ takes another path.
Ask for the next acceptance pass: record the full list address before opening the record and after Back, and try once with a view switch before opening the record and once without.
Reproduces → the card is dispatched as a fix with that reading. Does not reproduce in either variant → the card closes as not reproducible.
Retriage closed 2026-12-01T09:09Z: pm:retriage removed, pm:queue stays, grade p2 unchanged, not claimed. Seat repo:objectstack#3's triage reading of 2026-11-28T13:32Z already answers the question: #30850 A rules that the list restores its place, so no maintainer ruling is needed, and what is open is only whether it breaks.
Next step for the claimant: a reproduction that follows the acceptance run's steps (3/3 back to top) against the dev run's (0/11), and tests the lead in that reading: the scroll key is object name plus list path and query, read once on mount (ui/packages/plugin-list/src/ListView.tsx, ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts), so a query string that changes after mount would miss it.
Routed to seat repo:objectstack@os-support-ai zone osa-ux for its next intake. Order: the maintainer's yes, 2026-12-01 09:05Z.
Claim: PM loop round 4 · 2026-12-01T09:15Z
Session: session_01WGufzfcCk7a8bQdgyaxzu7
Account: os-support-ai
Branch: claude/issue-37029-list-back-scroll-key
Worktree: objectstack-issue-37029
Domain: domain:ui
Seat: repo:objectstack@os-support-ai
Area: osa-ux
File surface: ui/packages/plugin-list/src/ListView.tsx, ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts, a new test file named for this card unless a shared harness file exists (AGENTS.md shared-harness rule), .changeset/37029-*.md, and the readings in /mnt/project-files/card-37029/ (reason: reproduction record). Reproduction first; if the producer is elsewhere, stop on breach and report, and the zone amends the claim first.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: high (reason: reproduction not yet made; acceptance 3/3 vs dev 0/11 must be reconciled before any code)
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack console (browser Back from a record returns a scroll-loaded list to the top; the record page's own close restores it) | none | every user returning with Back from a record opened off a long scroll-loaded list
Thread-read: 7306293638
Premise: unproven: acceptance #37020 read 3/3 back to the top, the dev run of 2026-11-24 read 0/11. The dev tests seat 3's lead of 2026-11-28 (comment 7240009342): the scroll key is object name plus list path and query, read once on mount, so a query string that changes after mount (view switch or view create, as #37020 did) would miss it. Two variants: with a view switch before opening the record, and without. Reproduces → fix under ruling #30850 A. Neither reproduces → the dev reports, and the zone closes the card as not reproducible.
Pre-claim lane: domain:ui (file ownership only), routed to zone osa-ux by the seat (comment 7306293638).
Pre-claim deps: none.
Prior rulings read: check-prior-rulings.mjs --card 37029 --paths … → #30850 A (the list restores its batch or scroll position); #35547, #37020, #36737 closed. Release 7139642165 named the restore path objectGridInfiniteLoad.ts, not recordPagePush.ts.
Fold-or-serial: one card, one PR.
Serial constraints cleared: check-handover.mjs --inflight over the surface: no overlap; unread #38415 is this seat's fleet card (no ui path).
{
"issue": 37029,
"status": "blocked",
"branch": "claude/issue-37029-list-back-scroll-key",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38893",
"session": "session_01WGufzfcCk7a8bQdgyaxzu7",
"premise_still_valid": true,
"summary": "Reproduced on origin/main 197e3ff3. Setup: showcase_inquiry with 133 rows, Chromium 1243, fresh context per run, 3 runs per variant. Seat 3's lead (a query string that changes after mount through a view switch) does NOT reproduce: switching views changes the path and remounts the list, so the key is read again (A 3/3 and AC 3/3 restored, B 3/3 and BC 3/3 restored). The QA shape (Back loses the position, close restores it) DOES reproduce when the side drawer is open over the list (URL ?recordId=) and a row's name is clicked: Back 0/3 (scrollTop 0, 50 rows), close 3/3 (1840, 100 rows). Second shape, list mounted under an open drawer and the drawer then closed: Back 0/3 and close 0/3. Root cause: ui/packages/plugin-list/src/ListView.tsx, the scrollRestoreKey initializer (base lines 2971-2975) keys objectName|pathname+search, read once at mount, with the record drawer's own recordId/recordObject included. The drawer adds and removes them without remounting the list. The close button returns to the address with them stripped (app-shell listOriginOf); Back returns to the entry that carries them. Fix, inside the surface: the key drops recordId and recordObject and keeps every other parameter. Pinned by a new test that goes 3/3 red when the fix is ablated. After the fix, real app: the mounted-under-drawer shape restores 3/3 on Back and 3/3 on close; B and A restore 3/3; close still restores 3/3. In the QA shape, Back now restores the batch (100/100 rows, 3/3), but the scroll position is still lost (scrollTop 72, 3/3). A trace shows the restore sets scrollTop 1840, then about 17 ms later useScrollActiveListRecordIntoView in ui/packages/components/src/custom/record-list-face.tsx scrolls the drawer's open row (row 2) into view. That file is outside the claim's file surface, so I stopped there and did not touch it. BLOCKED ON: a claim amendment adding that file, or a seat call on the open question below. The PR therefore says Part of #37029, not the dispatch's Fixes, so merging it does not close the card while the QA shape still loses the position. Readings: /mnt/project-files/card-37029/ (SUMMARY.txt, before and after JSONL, trace, scripts).",
"tests": "HEAD d901e9a2. (1) pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx packages/plugin-list/src/__tests__/ListView.infiniteRereadPageCap-35554.test.tsx: 'Test Files 2 passed (2)', 'Tests 5 passed (5)', os-verify-lock VERDICT command-exit 0. (2) Ablation via scripts/ablation-replace.mjs, deleting the two params.delete lines: 'anchor 1 -> 0, blob c9636a21c601 -> 30043dee3cfd', 'Tests 3 failed (3)'; restored with 'blob == HEAD (c9636a21c601) and git diff HEAD is empty'. Source import, no dist leg: the test imports ../ListView. (3) pnpm --filter @object-ui/plugin-list type-check (tsc --noEmit && tsc -p tsconfig.test.json): VERDICT command-exit 0. The first attempt exited 2 because the dependency closure was not built; it went green after building @object-ui/plugin-list^... (58 tasks, 47 cached). tsc --listFiles on tsconfig.test.json counts the new test file 1 time. (4) Real app, before and after, under /mnt/project-files/card-37029/.",
"gates": "Local subset derived by dispatch-gates.mjs --commands at d901e9a2 (3 paths, 166 changed lines): 38 families, all exit 0, each exit code captured before any pipe. Among them: check-adr-0087-registration, check-empty-changeset, check-closing-keyword-parity, check-sdui-manifest, check:nul-bytes, check:cross-package-test-inputs, check:test-source-alias, check:type-check-coverage, check:type-check-debt, check:undeclared-dep-imports, check:published-files, and pnpm --dir ui exec vitest run scripts/ ('Test Files 172 passed | 2 skipped', VERDICT command-exit 0). --ran reconciliation: '38 derived famil(ies) accounted for, 38 run, 0 NOT-MEASURED'. ui check:new-line-citations: '0 new citation(s)', exit 0. overlap-check before each push: VERDICT clean exit 0, twice. PR check-runs on head d901e9a2, all complete: 39 success, 15 skipped, 0 failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (shards skipped by the planner), Build Core skipped, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (16 shards), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Temporal Conformance skipped. Check Changeset success.",
"line_budget": "166 changed lines (+161 / -5) over 3 files, against the 3000 human-merge threshold: under. ListView.tsx net +14 inside the existing key initializer, no code moved.",
"files_changed": [
"ui/packages/plugin-list/src/ListView.tsx",
"ui/packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx",
".changeset/37029-list-back-scroll-key.md"
],
"deviations": [
"The PR body says 'Part of #37029', not the dispatch's closing-keyword line. The QA-shape scroll position is still overridden by an out-of-surface file, so a closing keyword would close the card on merge while the defect remains.",
"The draft PR was opened after the second commit was written and pushed, not at the very first push. Reason: the body is written once, at pr_create, and it had to carry the test and ablation readings. The PR was created at f61445ee; d901e9a2 was pushed right after.",
"The derived light-gate loop passed the 600 s foreground limit, and the harness moved it to the background. It ran to completion (all exit 0, recorded per gate) and I read its result file. I started no watcher.",
"Not run: the view-create variant (view switch only) and checklist steps 5-6 (task header actions, phone). Checklist steps 1-4 were followed literally once on showcase_account. The 14-row list never scrolls, so no os:list-scroll key is written.",
"The two drawer parameter names are repeated in plugin-list because plugin-list cannot import app-shell's RECORD_DRAWER_PARAM / RECORD_DRAWER_OBJECT_PARAM. No pin holds the two copies equal. Noted in the PR's acceptance notes.",
"The pin is a new card-named file. ListView has no shared harness file; it reuses the grid-stub pattern of ListView.infiniteRereadPageCap-35554.test.tsx."
],
"dogfood_battery": "n/a: no '!' in the title, Clause-② no, no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 relay or REST writes. (1) pr_create through fleet-write dispatch, run 46625493481: POST /repos/objectstack-ai/objectstack/pulls (draft) plus POST /repos/objectstack-ai/objectstack/issues/38893/assignees (os-support-ai). Read-back: 6056 bytes sent, 6056 stored, identical. (2) POST /repos/objectstack-ai/objectstack/issues/37029/comments through post-stamped.mjs (this report). Not REST: 3 git pushes (empty probe, f61445ee, d901e9a2).",
"classifier_refusals": [],
"open_questions": [
{
"question": "After Back to a drawer-open list entry, the restored scroll position is overridden by the drawer's open-row scroll-into-view (components record-list-face.tsx useScrollActiveListRecordIntoView). Which should win, and may the claim be widened to fix it?",
"options": [
"A: amend the claim to include ui/packages/components/src/custom/record-list-face.tsx (and the list/grid seam if needed), and have the open-row scroll skip when the list is restoring a kept position. Back then lands at 1840 with the drawer reopened on its row, as the reader left it. Cost: one more small PR on this card, about half a day including a pin and a real-app reading.",
"B: accept that a drawer-open entry shows the drawer's row, and close the card with this PR. Back restores the batch, as ruling #30850 A says ('the batch or scroll position'). Cost: none, but Back still differs from close in that one shape.",
"C: re-apply the kept position after any programmatic scroll inside objectGridInfiniteLoad.ts (in surface). Cost: small, but it fights the drawer's deliberate scroll and is fragile."
],
"recommendation": "A, because the dispatch's ruling region says Back must restore what close restores, and the drawer's scroll-into-view was meant for a row click, a step or a deep link, not a history return."
}
],
"security_findings": "none",
"out_of_scope_findings": []
}
Claim amendment 1 to 7306455176 · 2026-12-01T10:55Z · answers the os-dev report's open question (option A); PR #38893 head d901e9a2 so far.
Session: session_01WGufzfcCk7a8bQdgyaxzu7
Account: os-support-ai
Branch: claude/issue-37029-list-back-scroll-key
Area: osa-ux
File surface: ui/packages/plugin-list/src/ListView.tsx, ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts, ui/packages/components/src/custom/record-list-face.tsx, ui/packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx, a new test file named for this card beside record-list-face.tsx unless a shared harness file exists, .changeset/37029-list-back-scroll-key.md, and the readings in /mnt/project-files/card-37029/ (reason: reproduction record). Stop on breach; explain in the report.
Reason: reproduced on main 197e3ff. The scroll key carried the drawer's recordId / recordObject (fixed in ListView.tsx); after that, in the QA shape (drawer open over the list, Back), the batch is restored but useScrollActiveListRecordIntoView in record-list-face.tsx scrolls the drawer's open row into view about 17 ms after the restore. Ruling #30850 A and the card say Back restores what close restores, so the open-row scroll must not override a kept position on a history return. Zone answer: A (widen; same PR, which then carries Fixes #37029). B is not taken: it leaves Back differing from close in the QA shape. C is not taken: it fights the drawer's scroll.
Clause-②: no
Metadata-protocol: none
Serial constraints cleared: check-handover.mjs --inflight over the widened surface: no overlap; unread #38415 is this seat's fleet card (no ui path).
{
"issue": 37029,
"status": "done",
"branch": "claude/issue-37029-list-back-scroll-key",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38893",
"session": "session_01WGufzfcCk7a8bQdgyaxzu7",
"premise_still_valid": true,
"summary": "Round 2, under claim amendment 7308936914 (zone answer A). Head: 2cf4cc53. Round 1 (d901e9a2) fixed the scroll key: it drops the drawer's recordId/recordObject. Round 2 adds the open-row half. ListView marks a mount that returns to a kept position (data-list-kept-position on its root, when the list is infinite and the kept top is above 0). useScrollActiveListRecordIntoView in ui/packages/components/src/custom/record-list-face.tsx skips the scroll inside a marked list for the drawer's first record, as long as no other record has been opened since; the open-record store gains isOnlyRecordOpened. A row click, a step to another record, and a deep link with no kept position scroll as before. Real app on the fixed build, 3 runs each: the QA shape (drawer open, Back) is 3/3 at 1840 with 100 rows and the drawer reopened on its row; close 3/3; A 3/3; B 3/3. Intended uses, 3/3 each: a fresh deep link to row 45 scrolls it into view (980), and a step after the Back scrolls row 3 into view (108). No file outside the amended surface was needed. The PR body still says 'Part of #37029'. I did not switch it, for two reasons. First, os-dev.md says a dev subagent writes the PR body only at pr_create and never PATCHes it (the seat does), and os-dev.md wins over a dispatch word. Second, the named tool, post-stamped --body=38893, refuses the body in a dry run because its first line must be a signature and this PR's first line is the attribution comment. The finished body, with the closing line and both halves, is at /mnt/project-files/card-37029/pr-38893-body-for-seat.md, ready for the seat's relay issue_patch with the signed trailer as its last line. Readings: /mnt/project-files/card-37029/ (SUMMARY.txt has the round-2 section).",
"tests": "On head 30edd576 (tests) and 2cf4cc53 (changeset only after that). (1) pnpm --dir ui exec vitest run --maxWorkers=2 over ListView.backScrollKey-37029, ListView.infiniteRereadPageCap-35554, record-list-face-37029, record-list-face-27545 and navigation-overlay-drawer-27545: 'Test Files 5 passed (5)', 'Tests 31 passed (31)', VERDICT command-exit 0. The first attempt failed to resolve @objectstack/spec/system in a fresh worktree and passed after building @object-ui/plugin-list^... (58 tasks, 54 cached). (2) Ablations through scripts/ablation-replace.mjs, each 'ok mutation landed' then 'ok restored: blob == HEAD, git diff HEAD empty'. Guard line in useScrollActiveListRecordIntoView: 'Tests 2 failed | 2 passed (4)'; the deep-link and click cases stay green. Moved-on tracking in the store: '1 failed | 3 passed'. ListView root mark: '1 failed | 4 passed (5)'. Round-1 key ablation: 'Tests 3 failed (3)'. (3) pnpm --filter @object-ui/components type-check && pnpm --filter @object-ui/plugin-list type-check: VERDICT command-exit 0; tsc --listFiles counts record-list-face-37029 1 time in components' tsconfig.test.json. (4) NOT MEASURED: pnpm --dir ui exec vitest run packages/components/ packages/plugin-list/. Reason: stopped by a 560 s bound inside the foreground cap (exit 124); CI's Test UI ran it green.",
"gates": "dispatch-gates --commands at 2cf4cc53 (5 paths, 345 changed lines): 38 families, the same set as round 1, all exit 0, each exit captured before any pipe, run in three foreground batches. pnpm --dir ui exec vitest run scripts/: 'Test Files 172 passed | 2 skipped', VERDICT command-exit 0. --ran: '38 derived famil(ies) accounted for, 38 run, 0 NOT-MEASURED'. ui check:new-line-citations: '0 new citation(s)', exit 0. overlap-check before each of the 3 round-2 pushes: VERDICT clean exit 0. PR check-runs on head 2cf4cc53, all complete: 45 success, 15 skipped, 0 failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (shards skipped), Build Core skipped, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI 18/18 success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Temporal Conformance skipped. Check Changeset success.",
"line_budget": "345 changed lines (+335 / -10) over 5 files, against the 3000 human-merge threshold: under. record-list-face.tsx +32/-5 in place. ListView.tsx changes stay inside the existing key initializer, the kept-state read and the root element, with no code moved (file over 1000 lines: no new concern module needed).",
"files_changed": [
"ui/packages/plugin-list/src/ListView.tsx",
"ui/packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx",
"ui/packages/components/src/custom/record-list-face.tsx",
"ui/packages/components/src/__tests__/record-list-face-37029.test.tsx",
".changeset/37029-list-back-scroll-key.md"
],
"deviations": [
"The PR body was not switched to the closing line. The dispatch's order to rewrite it conflicts with os-dev.md (a dev subagent writes the PR body only at pr_create, never PATCH; seat writes), and os-dev.md wins. The named tool, post-stamped --body, also refuses it in a dry run: the first line is not a signature (exit 2, nothing written). The ready body is at /mnt/project-files/card-37029/pr-38893-body-for-seat.md.",
"The new components test sits in ui/packages/components/src/__tests__/ (the package's test directory) rather than literally next to record-list-face.tsx in src/custom/. record-list-face-27545.test.tsx is card-named, so I did not treat it as a shared harness file.",
"Two string seams are spelled twice with no equality pin: the drawer parameter names (plugin-list vs app-shell) and data-list-kept-position (plugin-list vs components). Exporting a shared constant would need the package barrels, which are outside the surface.",
"The worktree was re-added on the existing local branch (tip d901e9a2, equal to origin), not through dev-worktree.sh --resume-from, which refused because the local branch already existed. The base is pinned with --pin-base. No merge of origin/main: the PR had no conflict and no main-caused red.",
"Not re-run after the guard: the mounted-under-drawer variant (F; 3/3 restored after round 1) and the view-create variant.",
"Full components and plugin-list package suites: NOT MEASURED locally (560 s bound, exit 124); CI Test UI is the reading."
],
"dogfood_battery": "n/a: no '!' in the title, Clause-② no, no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 in total over both rounds. (1) Round 1 pr_create through the fleet-write relay, run 46625493481: POST /repos/objectstack-ai/objectstack/pulls (draft) plus POST /repos/objectstack-ai/objectstack/issues/38893/assignees. (2) Round 1 report: POST /repos/objectstack-ai/objectstack/issues/37029/comments (post-stamped, relay run 46631206976). (3) This report: POST /repos/objectstack-ai/objectstack/issues/37029/comments (post-stamped). The post-stamped --body=38893 call was a dry run only, refused, nothing written. Not REST: 6 git pushes in all (probe, f61445ee, d901e9a2, 86974651, 30edd576, 2cf4cc53).",
"classifier_refusals": [],
"open_questions": [
{
"question": "Who writes PR #38893's body switch from 'Part of #37029' to the closing line? The dispatch named post-stamped --body, which refuses a body whose first line is the attribution comment, and os-dev.md reserves the PATCH for the seat.",
"options": [
"A: the seat sends a relay issue_patch on 38893 with the prepared body (/mnt/project-files/card-37029/pr-38893-body-for-seat.md) plus the signed trailer as its last non-empty line, as dispatch.mjs prescribes for a PR body the seat rewrites. One write.",
"B: re-dispatch the dev with an explicit os-dev.md exception for this PATCH. Same one write, plus a round trip."
],
"recommendation": "A, because it is the documented route for a seat's PR-body rewrite and keeps the os-dev.md rule intact."
}
],
"security_findings": "none",
"out_of_scope_findings": []
}
Close-out · 2026-12-01T12:24Z · PR #38893 merged as 0f2778cd (Fixes #37029); pm:dispatched removed. Done: browser Back from a record opened off a scroll-loaded list returns to the kept batch and scroll position, as the record page's close does (ruling #30850 A). Two causes, both fixed: the list's scroll key carried the record drawer's recordId / recordObject, and the drawer's open-row scroll-into-view overrode the restored position on a history return. Seat 3's query-string lead did not reproduce (a view switch remounts the list). Readings: /mnt/project-files/card-37029/. Nothing left on this card.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T16:35Z
area:uxkept, typeBug,pm:queueanddomain:uiadded.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Claim: PM loop round 1
Session:
session_01QSeKYnagJvGbCtNg2PhvgWAccount:
os-justinBranch:
claude/issue-37029-list-back-scrollWorktree:
objectstack-issue-37029Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-C
Epic: #35547 (list page redo) — found by its milestone acceptance #37020; not a sub-issue (triage's link to make), assigned to a4-C by the seat session.
File surface:
ui/packages/app-shell/src/views/recordPagePush.ts,ui/packages/app-shell/src/views/ObjectView.tsxand the list host's scroll / batch restore path underui/packages/app-shell/src/views/**andui/packages/plugin-list/src/**, their tests,.changeset/*(stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
platform UI code in objectstack (the list's scroll / loaded-batch restore runs on the record page's own ✕ path, not on browser Back) | the ✕ path already restores (recordPagePush.ts rememberScroll); Back has no path | every user returning with Back from a record opened off a scroll-loaded list; reached todayThread-read: 7137905853
Premise: holds
Serial constraints cleared:
#36737 (this zone, in flight) declares ui/packages/app-shell/src/views/ObjectView.tsx too — overlap-check before each push decides; no open PR touches recordPagePush.ts (file lists read now)Pre-claim lane:
domain:ui— every path is underui/**.Pre-claim deps: no
Blocked-by:line; no "after #N".Prior rulings read:
check-prior-rulings.mjs --card 37029on the surface at bfd1049 — 3 hit lines inObjectView.tsx(#7494 shared settings; ruling record 7058616478 on publishing a view), neither about scroll restore; the governing ruling is the card's own: #30850 letter A, "if it loads on scroll, the PR restores the batch or scroll position too". No ADR on the surface.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
{ "issue": 37029, "status": "done", "branch": "claude/issue-37029-list-back-scroll", "pr": null, "session": "session_01QSeKYnagJvGbCtNg2PhvgW", "premise_still_valid": false, "summary": "Premise disproved on origin/main bfd1049f: browser Back from a record opened off a scroll-loaded showcase_inquiry list restores the loaded batch and the scroll position, exactly as the record page's close button does. Measured in Chromium 1243 (Playwright), zh-CN, 1280x800 and 1167x762, against both the bundled console (os dev --ui, /_console/) and the Vite dev console, 133 rows (3 seeded + 130 created), row ~60 brought into view with scrollIntoViewIfNeeded as the QA run did (scrollTop 1841, the QA close-button figure). Back by page.goBack() and by history.back(), and Back after a full-document record load, all return to scrollTop 1841 (or 2120/2121 when scrolled by setting scrollTop) with 133 rows, read at +0.5 s, +1.5 s and +6 s; sequences back, close, back in one tab hold too (11 Back legs, 0 failures). PM mechanism assumption also does not hold: recordPagePush.ts is the phone record-over-record scroll memory (useRecordPageScrollMemory, mounted only when phonePage), not the list path; the list's restore is one shared path both exits already use: plugin-grid objectGridInfiniteLoad.ts keeps scrollTop plus rows-loaded in sessionStorage under the key object|pathname+search (read once by ListView), ListView reloads that many rows on mount, and the grid restores the position once they land; close navigates (PUSH) to from.pathname and Back pops to the same URL, so both mount the list under the same key. No code changed, no PR opened. The surface commits between the QA base 305fe60e and bfd1049f (16 commits) touch none of the list or record files, so the difference is in the QA run's setup, not a fix in between; I could not recover which (candidates: a list URL whose search changed after the list mounted, or a measurement taken on another element). Recommend closing as not reproducible, or re-dispatching to QA with the exact list URL, the click target and the probe that read scrollTop 4.", "tests": "No code change, so no unit tests owed. Browser measurements (Playwright scripts in scratchpad, not committed), each line BEFORE leaving, then after return at +6 s: bundled console, scrollIntoView to row 60: back 1841/133 -> 1841/133; close 1841/133 -> 1841/133; back 1841/133 -> 1841/133. 1167x762: back 1860/133 -> 1860/133. Full-document record load then goBack: 1841/133 -> 1841/133. scrollTop-set variant: back 2121/133 -> 2121/133, close 2121 -> 2121, back 2121 -> 2121; history.back() variant x2 and close x1 on the bundled console: 2120 -> 2120. Vite dev console (DEV_PROXY_TARGET to my backend), zh-CN: back 2120 -> 2120 x3, close 2120 -> 2120. sessionStorage key in every run: os:list-scroll:showcase_inquiry|/_console/apps/com.example.showcase/showcase_inquiry, unchanged across the round trip.", "gates": "None run: no diff. Build only for the browser check: os-verify-lock VERDICT command-exit 0 for turbo build (120/120 tasks, held 978 s) and for pnpm console:build (77/77, held 2 s after one exit-99 queue-timeout, retaken with the same slot name). NOT MEASURED: every check:* family and CI check-runs, reason: no commit beyond origin/main, no PR.", "line_budget": "n/a — no diff", "files_changed": [], "deviations": [ "No failing-first test and no PR: the dispatch acceptance presumes the defect, which does not reproduce (rule 6, premise_still_valid false).", "File surface untouched; the list restore actually lives in ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts, outside the declared surface, read only." ], "dogfood_battery": "n/a — no PR, no `!` in a title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1 — POST issues/37029/comments via scripts/pm/post-stamped.mjs (this report). Not REST: one git push of the empty probe branch claude/issue-37029-list-back-scroll (no commits beyond origin/main; left for the seat to delete).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Release: session
session_01QSeKYnagJvGbCtNg2PhvgW· reason: premise disproved (not reproducible on main) · destination:pm:queue+pm:retriageResume-from: none — branch
claude/issue-37029-list-back-scrollcarries no commit beyondorigin/mainbfd1049L1 verdict on the dev report (comment 7139604200): ACCEPT
premise_still_valid: false. Checked against the tree, not the report: the list restore isui/packages/plugin-grid/src/objectGridInfiniteLoad.ts(sessionStorageos:list-scroll:+ key, read at :48, written at :61) — one path both exits mount under;recordPagePush.tsis not the list path (the seat's mechanism assumption was wrong). The dev measured 11 Back legs onshowcase_inquiry(133 rows, bundled and Vite consoles, zh-CN), 0 failures; the 16 commits between the QA base 305fe60 and bfd1049 touch no list or record file.Question to triage (
pm:retriage): the defect did not reproduce. Either close it as not reproducible, or send it back to QA to record the exact list URL (with its search string), the click target and the element the probe read scrollTop 4 from — the dev's two candidates are a list URL whose search changed after mount, or a scrollTop read off another element. This seat does not close a defect card on its own.1 remaining item
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T13:32Z · Seat triage on the pm:retriage question. No maintainer ruling is needed: #30850 A already says the list restores its place, and what is open is whether it is broken.
ui/packages/plugin-list/src/ListView.tsx~2971-2976,ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts~46-66). If the list's query string changed after mount (for example after switching or creating a view, which the QA run · milestone:#35547 (32/32) · 305fe60e · 2026-11-24 · 23 PASS / 7 PARTIAL / 2 FAIL / 0 BLOCKED / 0 NOT-RUN #37020 run did), browser Back returns to an address whose key does not match, while ✕ takes another path.objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzi8TizcLA2pGetNxSG
Retriage closed 2026-12-01T09:09Z:
pm:retriageremoved,pm:queuestays, grade p2 unchanged, not claimed. Seat repo:objectstack#3's triage reading of 2026-11-28T13:32Z already answers the question: #30850 A rules that the list restores its place, so no maintainer ruling is needed, and what is open is only whether it breaks.ui/packages/plugin-list/src/ListView.tsx,ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts), so a query string that changes after mount would miss it.Generated by Claude Code
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
Claim: PM loop round 4 · 2026-12-01T09:15Z
Session:
session_01WGufzfcCk7a8bQdgyaxzu7Account:
os-support-aiBranch:
claude/issue-37029-list-back-scroll-keyWorktree:
objectstack-issue-37029Domain:
domain:uiSeat:
repo:objectstack@os-support-aiArea:
osa-uxFile surface:
ui/packages/plugin-list/src/ListView.tsx,ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts, a new test file named for this card unless a shared harness file exists (AGENTS.md shared-harness rule),.changeset/37029-*.md, and the readings in/mnt/project-files/card-37029/(reason: reproduction record). Reproduction first; if the producer is elsewhere, stop on breach and report, and the zone amends the claim first.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate),effort: high (reason: reproduction not yet made; acceptance 3/3 vs dev 0/11 must be reconciled before any code)Clause-②: no
Metadata-protocol: none
Responsibility:
objectstack console (browser Back from a record returns a scroll-loaded list to the top; the record page's own close restores it) | none | every user returning with Back from a record opened off a long scroll-loaded listThread-read: 7306293638
Premise: unproven: acceptance #37020 read 3/3 back to the top, the dev run of 2026-11-24 read 0/11. The dev tests seat 3's lead of 2026-11-28 (comment 7240009342): the scroll key is object name plus list path and query, read once on mount, so a query string that changes after mount (view switch or view create, as #37020 did) would miss it. Two variants: with a view switch before opening the record, and without. Reproduces → fix under ruling #30850 A. Neither reproduces → the dev reports, and the zone closes the card as not reproducible.
Pre-claim lane:
domain:ui(file ownership only), routed to zone osa-ux by the seat (comment 7306293638).Pre-claim deps: none.
Prior rulings read:
check-prior-rulings.mjs --card 37029 --paths …→ #30850 A (the list restores its batch or scroll position); #35547, #37020, #36737 closed. Release 7139642165 named the restore pathobjectGridInfiniteLoad.ts, notrecordPagePush.ts.Fold-or-serial: one card, one PR.
Serial constraints cleared:
check-handover.mjs --inflightover the surface: no overlap; unread #38415 is this seat's fleet card (no ui path).objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
os-dev-report
{ "issue": 37029, "status": "blocked", "branch": "claude/issue-37029-list-back-scroll-key", "pr": "https://github.com/objectstack-ai/objectstack/pull/38893", "session": "session_01WGufzfcCk7a8bQdgyaxzu7", "premise_still_valid": true, "summary": "Reproduced on origin/main 197e3ff3. Setup: showcase_inquiry with 133 rows, Chromium 1243, fresh context per run, 3 runs per variant. Seat 3's lead (a query string that changes after mount through a view switch) does NOT reproduce: switching views changes the path and remounts the list, so the key is read again (A 3/3 and AC 3/3 restored, B 3/3 and BC 3/3 restored). The QA shape (Back loses the position, close restores it) DOES reproduce when the side drawer is open over the list (URL ?recordId=) and a row's name is clicked: Back 0/3 (scrollTop 0, 50 rows), close 3/3 (1840, 100 rows). Second shape, list mounted under an open drawer and the drawer then closed: Back 0/3 and close 0/3. Root cause: ui/packages/plugin-list/src/ListView.tsx, the scrollRestoreKey initializer (base lines 2971-2975) keys objectName|pathname+search, read once at mount, with the record drawer's own recordId/recordObject included. The drawer adds and removes them without remounting the list. The close button returns to the address with them stripped (app-shell listOriginOf); Back returns to the entry that carries them. Fix, inside the surface: the key drops recordId and recordObject and keeps every other parameter. Pinned by a new test that goes 3/3 red when the fix is ablated. After the fix, real app: the mounted-under-drawer shape restores 3/3 on Back and 3/3 on close; B and A restore 3/3; close still restores 3/3. In the QA shape, Back now restores the batch (100/100 rows, 3/3), but the scroll position is still lost (scrollTop 72, 3/3). A trace shows the restore sets scrollTop 1840, then about 17 ms later useScrollActiveListRecordIntoView in ui/packages/components/src/custom/record-list-face.tsx scrolls the drawer's open row (row 2) into view. That file is outside the claim's file surface, so I stopped there and did not touch it. BLOCKED ON: a claim amendment adding that file, or a seat call on the open question below. The PR therefore says Part of #37029, not the dispatch's Fixes, so merging it does not close the card while the QA shape still loses the position. Readings: /mnt/project-files/card-37029/ (SUMMARY.txt, before and after JSONL, trace, scripts).", "tests": "HEAD d901e9a2. (1) pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx packages/plugin-list/src/__tests__/ListView.infiniteRereadPageCap-35554.test.tsx: 'Test Files 2 passed (2)', 'Tests 5 passed (5)', os-verify-lock VERDICT command-exit 0. (2) Ablation via scripts/ablation-replace.mjs, deleting the two params.delete lines: 'anchor 1 -> 0, blob c9636a21c601 -> 30043dee3cfd', 'Tests 3 failed (3)'; restored with 'blob == HEAD (c9636a21c601) and git diff HEAD is empty'. Source import, no dist leg: the test imports ../ListView. (3) pnpm --filter @object-ui/plugin-list type-check (tsc --noEmit && tsc -p tsconfig.test.json): VERDICT command-exit 0. The first attempt exited 2 because the dependency closure was not built; it went green after building @object-ui/plugin-list^... (58 tasks, 47 cached). tsc --listFiles on tsconfig.test.json counts the new test file 1 time. (4) Real app, before and after, under /mnt/project-files/card-37029/.", "gates": "Local subset derived by dispatch-gates.mjs --commands at d901e9a2 (3 paths, 166 changed lines): 38 families, all exit 0, each exit code captured before any pipe. Among them: check-adr-0087-registration, check-empty-changeset, check-closing-keyword-parity, check-sdui-manifest, check:nul-bytes, check:cross-package-test-inputs, check:test-source-alias, check:type-check-coverage, check:type-check-debt, check:undeclared-dep-imports, check:published-files, and pnpm --dir ui exec vitest run scripts/ ('Test Files 172 passed | 2 skipped', VERDICT command-exit 0). --ran reconciliation: '38 derived famil(ies) accounted for, 38 run, 0 NOT-MEASURED'. ui check:new-line-citations: '0 new citation(s)', exit 0. overlap-check before each push: VERDICT clean exit 0, twice. PR check-runs on head d901e9a2, all complete: 39 success, 15 skipped, 0 failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (shards skipped by the planner), Build Core skipped, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (16 shards), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Temporal Conformance skipped. Check Changeset success.", "line_budget": "166 changed lines (+161 / -5) over 3 files, against the 3000 human-merge threshold: under. ListView.tsx net +14 inside the existing key initializer, no code moved.", "files_changed": [ "ui/packages/plugin-list/src/ListView.tsx", "ui/packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx", ".changeset/37029-list-back-scroll-key.md" ], "deviations": [ "The PR body says 'Part of #37029', not the dispatch's closing-keyword line. The QA-shape scroll position is still overridden by an out-of-surface file, so a closing keyword would close the card on merge while the defect remains.", "The draft PR was opened after the second commit was written and pushed, not at the very first push. Reason: the body is written once, at pr_create, and it had to carry the test and ablation readings. The PR was created at f61445ee; d901e9a2 was pushed right after.", "The derived light-gate loop passed the 600 s foreground limit, and the harness moved it to the background. It ran to completion (all exit 0, recorded per gate) and I read its result file. I started no watcher.", "Not run: the view-create variant (view switch only) and checklist steps 5-6 (task header actions, phone). Checklist steps 1-4 were followed literally once on showcase_account. The 14-row list never scrolls, so no os:list-scroll key is written.", "The two drawer parameter names are repeated in plugin-list because plugin-list cannot import app-shell's RECORD_DRAWER_PARAM / RECORD_DRAWER_OBJECT_PARAM. No pin holds the two copies equal. Noted in the PR's acceptance notes.", "The pin is a new card-named file. ListView has no shared harness file; it reuses the grid-stub pattern of ListView.infiniteRereadPageCap-35554.test.tsx." ], "dogfood_battery": "n/a: no '!' in the title, Clause-② no, no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay or REST writes. (1) pr_create through fleet-write dispatch, run 46625493481: POST /repos/objectstack-ai/objectstack/pulls (draft) plus POST /repos/objectstack-ai/objectstack/issues/38893/assignees (os-support-ai). Read-back: 6056 bytes sent, 6056 stored, identical. (2) POST /repos/objectstack-ai/objectstack/issues/37029/comments through post-stamped.mjs (this report). Not REST: 3 git pushes (empty probe, f61445ee, d901e9a2).", "classifier_refusals": [], "open_questions": [ { "question": "After Back to a drawer-open list entry, the restored scroll position is overridden by the drawer's open-row scroll-into-view (components record-list-face.tsx useScrollActiveListRecordIntoView). Which should win, and may the claim be widened to fix it?", "options": [ "A: amend the claim to include ui/packages/components/src/custom/record-list-face.tsx (and the list/grid seam if needed), and have the open-row scroll skip when the list is restoring a kept position. Back then lands at 1840 with the drawer reopened on its row, as the reader left it. Cost: one more small PR on this card, about half a day including a pin and a real-app reading.", "B: accept that a drawer-open entry shows the drawer's row, and close the card with this PR. Back restores the batch, as ruling #30850 A says ('the batch or scroll position'). Cost: none, but Back still differs from close in that one shape.", "C: re-apply the kept position after any programmatic scroll inside objectGridInfiniteLoad.ts (in surface). Cost: small, but it fights the drawer's deliberate scroll and is fragile." ], "recommendation": "A, because the dispatch's ruling region says Back must restore what close restores, and the drawer's scroll-into-view was meant for a row click, a step or a deep link, not a history return." } ], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
Claim amendment 1 to 7306455176 · 2026-12-01T10:55Z · answers the os-dev report's open question (option A); PR #38893 head
d901e9a2so far.Session:
session_01WGufzfcCk7a8bQdgyaxzu7Account:
os-support-aiBranch:
claude/issue-37029-list-back-scroll-keyArea:
osa-uxFile surface:
ui/packages/plugin-list/src/ListView.tsx,ui/packages/plugin-grid/src/objectGridInfiniteLoad.ts,ui/packages/components/src/custom/record-list-face.tsx,ui/packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx, a new test file named for this card besiderecord-list-face.tsxunless a shared harness file exists,.changeset/37029-list-back-scroll-key.md, and the readings in/mnt/project-files/card-37029/(reason: reproduction record). Stop on breach; explain in the report.Reason: reproduced on main 197e3ff. The scroll key carried the drawer's
recordId/recordObject(fixed inListView.tsx); after that, in the QA shape (drawer open over the list, Back), the batch is restored butuseScrollActiveListRecordIntoViewinrecord-list-face.tsxscrolls the drawer's open row into view about 17 ms after the restore. Ruling #30850 A and the card say Back restores what close restores, so the open-row scroll must not override a kept position on a history return. Zone answer: A (widen; same PR, which then carriesFixes #37029). B is not taken: it leaves Back differing from close in the QA shape. C is not taken: it fights the drawer's scroll.Clause-②: no
Metadata-protocol: none
Serial constraints cleared:
check-handover.mjs --inflightover the widened surface: no overlap; unread #38415 is this seat's fleet card (no ui path).objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
os-dev-report
{ "issue": 37029, "status": "done", "branch": "claude/issue-37029-list-back-scroll-key", "pr": "https://github.com/objectstack-ai/objectstack/pull/38893", "session": "session_01WGufzfcCk7a8bQdgyaxzu7", "premise_still_valid": true, "summary": "Round 2, under claim amendment 7308936914 (zone answer A). Head: 2cf4cc53. Round 1 (d901e9a2) fixed the scroll key: it drops the drawer's recordId/recordObject. Round 2 adds the open-row half. ListView marks a mount that returns to a kept position (data-list-kept-position on its root, when the list is infinite and the kept top is above 0). useScrollActiveListRecordIntoView in ui/packages/components/src/custom/record-list-face.tsx skips the scroll inside a marked list for the drawer's first record, as long as no other record has been opened since; the open-record store gains isOnlyRecordOpened. A row click, a step to another record, and a deep link with no kept position scroll as before. Real app on the fixed build, 3 runs each: the QA shape (drawer open, Back) is 3/3 at 1840 with 100 rows and the drawer reopened on its row; close 3/3; A 3/3; B 3/3. Intended uses, 3/3 each: a fresh deep link to row 45 scrolls it into view (980), and a step after the Back scrolls row 3 into view (108). No file outside the amended surface was needed. The PR body still says 'Part of #37029'. I did not switch it, for two reasons. First, os-dev.md says a dev subagent writes the PR body only at pr_create and never PATCHes it (the seat does), and os-dev.md wins over a dispatch word. Second, the named tool, post-stamped --body=38893, refuses the body in a dry run because its first line must be a signature and this PR's first line is the attribution comment. The finished body, with the closing line and both halves, is at /mnt/project-files/card-37029/pr-38893-body-for-seat.md, ready for the seat's relay issue_patch with the signed trailer as its last line. Readings: /mnt/project-files/card-37029/ (SUMMARY.txt has the round-2 section).", "tests": "On head 30edd576 (tests) and 2cf4cc53 (changeset only after that). (1) pnpm --dir ui exec vitest run --maxWorkers=2 over ListView.backScrollKey-37029, ListView.infiniteRereadPageCap-35554, record-list-face-37029, record-list-face-27545 and navigation-overlay-drawer-27545: 'Test Files 5 passed (5)', 'Tests 31 passed (31)', VERDICT command-exit 0. The first attempt failed to resolve @objectstack/spec/system in a fresh worktree and passed after building @object-ui/plugin-list^... (58 tasks, 54 cached). (2) Ablations through scripts/ablation-replace.mjs, each 'ok mutation landed' then 'ok restored: blob == HEAD, git diff HEAD empty'. Guard line in useScrollActiveListRecordIntoView: 'Tests 2 failed | 2 passed (4)'; the deep-link and click cases stay green. Moved-on tracking in the store: '1 failed | 3 passed'. ListView root mark: '1 failed | 4 passed (5)'. Round-1 key ablation: 'Tests 3 failed (3)'. (3) pnpm --filter @object-ui/components type-check && pnpm --filter @object-ui/plugin-list type-check: VERDICT command-exit 0; tsc --listFiles counts record-list-face-37029 1 time in components' tsconfig.test.json. (4) NOT MEASURED: pnpm --dir ui exec vitest run packages/components/ packages/plugin-list/. Reason: stopped by a 560 s bound inside the foreground cap (exit 124); CI's Test UI ran it green.", "gates": "dispatch-gates --commands at 2cf4cc53 (5 paths, 345 changed lines): 38 families, the same set as round 1, all exit 0, each exit captured before any pipe, run in three foreground batches. pnpm --dir ui exec vitest run scripts/: 'Test Files 172 passed | 2 skipped', VERDICT command-exit 0. --ran: '38 derived famil(ies) accounted for, 38 run, 0 NOT-MEASURED'. ui check:new-line-citations: '0 new citation(s)', exit 0. overlap-check before each of the 3 round-2 pushes: VERDICT clean exit 0. PR check-runs on head 2cf4cc53, all complete: 45 success, 15 skipped, 0 failure. Required set: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (shards skipped), Build Core skipped, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI 18/18 success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, Temporal Conformance skipped. Check Changeset success.", "line_budget": "345 changed lines (+335 / -10) over 5 files, against the 3000 human-merge threshold: under. record-list-face.tsx +32/-5 in place. ListView.tsx changes stay inside the existing key initializer, the kept-state read and the root element, with no code moved (file over 1000 lines: no new concern module needed).", "files_changed": [ "ui/packages/plugin-list/src/ListView.tsx", "ui/packages/plugin-list/src/__tests__/ListView.backScrollKey-37029.test.tsx", "ui/packages/components/src/custom/record-list-face.tsx", "ui/packages/components/src/__tests__/record-list-face-37029.test.tsx", ".changeset/37029-list-back-scroll-key.md" ], "deviations": [ "The PR body was not switched to the closing line. The dispatch's order to rewrite it conflicts with os-dev.md (a dev subagent writes the PR body only at pr_create, never PATCH; seat writes), and os-dev.md wins. The named tool, post-stamped --body, also refuses it in a dry run: the first line is not a signature (exit 2, nothing written). The ready body is at /mnt/project-files/card-37029/pr-38893-body-for-seat.md.", "The new components test sits in ui/packages/components/src/__tests__/ (the package's test directory) rather than literally next to record-list-face.tsx in src/custom/. record-list-face-27545.test.tsx is card-named, so I did not treat it as a shared harness file.", "Two string seams are spelled twice with no equality pin: the drawer parameter names (plugin-list vs app-shell) and data-list-kept-position (plugin-list vs components). Exporting a shared constant would need the package barrels, which are outside the surface.", "The worktree was re-added on the existing local branch (tip d901e9a2, equal to origin), not through dev-worktree.sh --resume-from, which refused because the local branch already existed. The base is pinned with --pin-base. No merge of origin/main: the PR had no conflict and no main-caused red.", "Not re-run after the guard: the mounted-under-drawer variant (F; 3/3 restored after round 1) and the view-create variant.", "Full components and plugin-list package suites: NOT MEASURED locally (560 s bound, exit 124); CI Test UI is the reading." ], "dogfood_battery": "n/a: no '!' in the title, Clause-② no, no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 in total over both rounds. (1) Round 1 pr_create through the fleet-write relay, run 46625493481: POST /repos/objectstack-ai/objectstack/pulls (draft) plus POST /repos/objectstack-ai/objectstack/issues/38893/assignees. (2) Round 1 report: POST /repos/objectstack-ai/objectstack/issues/37029/comments (post-stamped, relay run 46631206976). (3) This report: POST /repos/objectstack-ai/objectstack/issues/37029/comments (post-stamped). The post-stamped --body=38893 call was a dry run only, refused, nothing written. Not REST: 6 git pushes in all (probe, f61445ee, d901e9a2, 86974651, 30edd576, 2cf4cc53).", "classifier_refusals": [], "open_questions": [ { "question": "Who writes PR #38893's body switch from 'Part of #37029' to the closing line? The dispatch named post-stamped --body, which refuses a body whose first line is the attribution comment, and os-dev.md reserves the PATCH for the seat.", "options": [ "A: the seat sends a relay issue_patch on 38893 with the prepared body (/mnt/project-files/card-37029/pr-38893-body-for-seat.md) plus the signed trailer as its last non-empty line, as dispatch.mjs prescribes for a PR body the seat rewrites. One write.", "B: re-dispatch the dev with an explicit os-dev.md exception for this PATCH. Same one write, plus a round trip." ], "recommendation": "A, because it is the documented route for a seat's PR-body rewrite and keeps the os-dev.md rule intact." } ], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
Close-out · 2026-12-01T12:24Z · PR #38893 merged as
0f2778cd(Fixes #37029);pm:dispatchedremoved. Done: browser Back from a record opened off a scroll-loaded list returns to the kept batch and scroll position, as the record page's close does (ruling #30850 A). Two causes, both fixed: the list's scroll key carried the record drawer'srecordId/recordObject, and the drawer's open-row scroll-into-view overrode the restored position on a history return. Seat 3's query-string lead did not reproduce (a view switch remounts the list). Readings:/mnt/project-files/card-37029/. Nothing left on this card.fix(plugin-list): key the list's scroll memory without the record dra…