Repository navigation
feat(studio): align Settings > Learning with the prototype - #2232
Merged
Merged
Conversation
This was referenced Oct 10, 2026
peppescg
force-pushed
the
feat/studio-learning-1855
branch
from
October 11, 2026 14:57
435e625 to
a17c911
Compare
peppescg
added a commit
that referenced
this pull request
Oct 11, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
added a commit
that referenced
this pull request
Oct 11, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
added a commit
that referenced
this pull request
Oct 11, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
added a commit
that referenced
this pull request
Oct 11, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
force-pushed
the
feat/studio-learning-1855
branch
from
October 13, 2026 13:29
723bb7c to
cfeb4d5
Compare
peppescg
added a commit
that referenced
this pull request
Oct 13, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
added a commit
that referenced
this pull request
Oct 13, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
added a commit
that referenced
this pull request
Oct 13, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
peppescg
force-pushed
the
feat/studio-learning-1855
branch
from
October 14, 2026 08:44
cfeb4d5 to
4f2724c
Compare
peppescg
added a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
force-pushed
the
feat/studio-learning-1855
branch
from
October 14, 2026 08:59
4f2724c to
c12441a
Compare
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Pin Settings > Learning through the rendered page and the BFF requests it makes, before the prototype port: confirmed decisions and undo that carry the loaded version, conflict refresh without a retry, the filter's status tokens, and reflection over completed chats with its unsupported and failed states. Copy and the session picker sit in helpers so the port can change them without touching an assertion. Refs #1855 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Move only, so the history stays readable: the prototype keeps Settings > Learning in its own feature folder, and the port edits the files there in the next commits. The component and its behaviour are unchanged. Refs #1855 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The review queue needs to advance past its first page and show where a
proposal came from. On the published SDK 0.4.0:
- GET /api/v1/learning-proposals takes the daemon's `cursor` and an
optional `limit` (1 to 200) and returns `nextCursor`. Without a limit
the page stays 100, as before.
- GET /api/v1/learning-proposals/{proposalId} re-reads one proposal with
its `evidence`: each source chat, whether it still resolves to the
recorded digest, and the daemon's bounded, redacted preview. Only this
read carries evidence, because the daemon checks availability only when
it re-reads a single proposal; list items keep `evidenceCount`.
- A missing proposal answers 404 not_found. The daemon reports it with its
generic `session_not_found` code, so the BFF names it.
Decisions, undo, and reflection keep their routes, capability gates, and
version checks.
Refs #1855
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
sonner keeps its toasts in a module-level store and replays the active ones to every Toaster that mounts. Under `isolate: false`, a toast raised in one test showed up in the next test's Toaster. The shared reset now dismisses them, and two ordered tests pin it. Refs #1855 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port the prototype's learning settings page, split as it is there: - learning-mode-section.tsx: the read-only Learning card. Neither the BFF nor SDK 0.4.0 reports the effective mode or sensitivity, so it names who manages them instead of showing values. - learning-settings-page.tsx: the Suggestions card with the prototype's Pending, Deferred, Approved, and Rejected pills, Refresh, and Load more over the daemon's cursor; the "Learn from a chat" card on the Select primitive; "Learning is off" when the agent offers neither capability. - proposal-row.tsx: the prototype's row, and a Details disclosure that re-reads the proposal to show each source chat, whether it is still available, and the daemon's excerpt as plain text. A newer version found there replaces the row before the next decision. Studio keeps its semantics: every decision and undo is confirmed and sends the loaded version; a conflict refreshes the queue and is never retried; reflection refreshes the queue and explains unsupported and failed runs. Approve stays gated on the daemon's promotion capability, not on evidence, and is offered for a deferred procedure but not a deferred fact, as the daemon accepts. Filters, the session picker, and Refresh keep 44px targets. On phones the four pills share one row in equal columns, and a row's title wraps instead of truncating; wider screens truncate it with an onlyWhenTruncated tooltip. The pinned tests change only their copy constants and the session-picker helpers. The settings tests seed the infinite query and match the row's Approve and Reject exactly, because the pills now read Approved and Rejected. Closes #1855 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Opening Details used fetchQuery with the app's 30-second staleTime, so a row that remounted (after a filter round trip) reused the cached read. Details showed the old sources, said the suggestion had changed, and handed the list the older version, so the next decision sent a stale expectedVersion and drew a guaranteed proposal_conflict. A slow read that landed after the list moved on could also overwrite the newer row. Details now reads with staleTime 0. When the read lands, the row compares it with the version the list shows then: if the list moved while the read was in flight and the read is not newer by the daemon's update time (versions are opaque tokens), the row reads once more instead of showing or applying it, and asks to reopen Details if the list moved again. A row that unmounted ignores its late read. The queue tests can now render with a finite staleTime and hold a detail read until the list has moved. Five new tests fail without the fix; a sixth pins that a newer slow read still replaces the row. Refs #1855 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ight fetchQuery with staleTime 0 skips the cache, but it still hands back a read that is already running for the same proposal. A row remounted while its earlier read was in flight (a filter round trip, or Refresh with real latency) adopted that older read on reopen. When it landed, the list had not moved since the reopen, so the guard took it as fresh: Details showed the older sources and the "changed" notice, the row was downgraded, and Approve sent an older version, a certain proposal_conflict. Details now cancels any read in flight for the proposal before it reads. The unmounted row's read rejects, and its catch already ignores it. Refs #1855 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
force-pushed
the
feat/studio-learning-1855
branch
from
October 14, 2026 08:59
c12441a to
a08a4a5
Compare
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
approved these changes
Oct 14, 2026
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
41 tasks done
kantord
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ests #2232's review fix added two learning-queue tests that click the status filter by role "button". This PR turns that filter into a shadcn toggle group whose items are radios, as it already did for the other learning tests. Selector-only change; the assertions are unchanged. Refs #2208 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Member
|
Post-merge review follow-ups for this PR. No blockers or regressions found. Items worth tracking were filed here:
Other candidate findings were checked and dropped as not worth tracking. Fully or partially written by an AI agent. |
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is the learning slice of the Studio alignment (part of #2210). It's stacked on #2229, so review that first. Settings > Learning now uses the prototype's page: a read-only Learning card, a Suggestions queue with status pills, Refresh, Load more and a Details disclosure per row, and a "Learn from a chat" card on the Select primitive. The BFF gains cursor paging for the queue and a single-proposal read with evidence, both on the published SDK 0.4.0.
Studio's semantics stay the same. Every Approve, Reject and Undo approval is still confirmed first and sends the loaded version; a version conflict still refreshes the queue and is never retried; reflection still offers only completed chats and refreshes the queue. The "No regression" section below has the proof.
What changed
BFF and contracts (
apps/contracts,apps/server)GET /api/v1/learning-proposalstakes the daemon'scursorand an optionallimit(1 to 200), and returnsnextCursor. Without a limit the page stays 100, as before.GET /api/v1/learning-proposals/{proposalId}re-reads one proposal with itsevidence: each source chat, whether it still resolves to the recorded digest, and the daemon's bounded, redactedpreview. It is gated on thelearningProposalscapability (501learning_proposals_unsupported), like the other proposal routes.evidenceCountand nothing else.not_found. The daemon reports it with its genericsession_not_foundcode, so the BFF names it. Other refusals keep their code (a manifest that no longer resolves is 409failed_precondition).apps/contracts/src/schemas/knowledge.ts: newlearningEvidenceSchemaandlearningProposalDetailSchema(learningProposalSchemaplusevidence), andnextCursoronlearningProposalsResponseSchema. feat(studio): show the proposal that wrote a memory fact #2229'ssourceProposalIdis untouched; the generated files were regenerated on top of it.Settings > Learning (
apps/web/src/features/learning/)The files moved from
features/knowledge/learning-review.tsxin a move-only commit, then split as in the prototype:learning-mode-section.tsx: the read-only "Learning" card.learning-settings-page.tsx: the page, the Suggestions card and the "Learn from a chat" card.aria-pressed. Each sends the daemon's exact status token, and the filter is kept across pages.listLearningProposalsInfiniteOptions, 50 per page. Load more appends the next page, and an id that a moving queue already showed is not listed twice. Refresh restarts from the first page. A decision refreshes every loaded page.role="status"androle="alert".<select>, Studio: use shadcn/ui primitives like the prototype and SEP (no custom components) #2201).proposal-row.tsx: the prototype's row. Details re-reads the proposal by id the first time it opens, and lists each source with a View chat link (/workspace/chat?sessionId=…), Available or Unavailable with the daemon's reason, and the excerpt as plain text in a<pre>. A learned skill links to its detail. If the re-read finds a newer version, the row says so and the list takes it, so the next decision sends the current version.Test infrastructure
test-setup.tsnow dismisses sonner toasts after every test. sonner keeps its toasts in a module-level store and replays the active ones to every Toaster that mounts, so underisolate: falsea toast from one test showed up in the next test's Toaster.Docs
user-docs/operating/studio.mdgains "Review learning suggestions".Visible change
title)Differences from the prototype
evidencefrom the list. The daemon's list reports every source as unavailable, so that gate would disable every approval; and the daemon approves legacy proposals with no evidence. Approve stays enabled exactly where the daemon says the partition can promote (promotionAvailable), and Details shows availability without gating. The daemon re-checks evidence when deciding.ExternalManagedNotebelongs to the settings alignment). Settings already shows its offline state above the section, so the prototype'sOfflineNoteisn't needed.queued,duplicate,rate_limited) leads with that disposition instead ("Rate limited: 0 to review.").Tooltip onlyWhenTruncated; on phones it wraps.warningtokens instead of the prototype's amber tint.For design review (not a deviation): below 500px,
SettingsCardhides its eyebrow title, exactly as the prototype'sSettingsCarddoes (max-[499px]:hidden). On phones the Suggestions and Learn from a chat cards therefore have no visible heading, and the chat picker sits under the queue without a label. The picker keeps its accessible name ("Finished chat"). This needs a call from design on whether phones should show these headings.No regression
Pinning tests
learning-settings-page.pinning.test.tsx(14 tests) was committed first, alone, asfeatures/knowledge/learning-review.pinning.test.tsx. It passes on the old component, both on #2226 and on #2229's head, and it passes on the port. It drives the rendered page against a faked BFF and pins:statustokenexpectedVersion) andreason: "", then refreshes the queueproposal_conflictshowing the conflict notice, refreshing the queue once, and never retrying; a refused decision showing its detailCopy lives in one
copyobject and the session picker in two helpers. The port changes only those: the copy values, and the picker helpers fromselectOptionson a native select to opening the Select primitive. No assertion changed.New tests
learning-queue.test.tsx(10): Load more sends the cursor and keeps the filter and the page size; duplicates across pages are dropped; a failed next page keeps the rows; Refresh restarts from page one; a deferred procedure offers Approve and not Reject, and a deferred fact offers neither; the inline blocked reason; Details loads once, on demand, shows the excerpt as text (an<img onerror>preview renders no element), the View chat and learned-skill links, and both availability states; a newer version found by Details is the one the next decision sends; a failed re-read; and both capability-off states.learning-settings-page.test.ts: the receipt template, plus a non-completed disposition.server/src/routes/knowledge.test.ts(+2): cursor and limit forwarding, limit bounds (0, 201 and "ten" are 400), the detail route; the detail route is added to the 501 and 503 tables.server/src/mecatl/knowledge.test.ts(+4): the SDK mapping for a page (cursor, default page size 100, list items withoutevidence), the detail mapping (biginteventSeqas a string), 404 forsession_not_foundandnot_found, and a refused re-read keeping its code.server/test/integration/mecated-mock.test.ts: against a realmecated --mock, a page returnsnextCursorand a missing proposal answers 404not_found. This caught the daemon'ssession_not_foundcode.test-setup.test.ts(+2): toasts don't outlive a test. It fails without the reset, and so do two pinning tests.Mutation check: with the Details version replacement removed, "takes a newer version from Details before the next decision" fails.
Modified tests
settings-workspace.test.tsx:["Learning", "Suggestions", "Learn from a chat"](were["Learning settings"])settings-accessibility.test.tsx:learningProposals: true, because the page now follows that capability[role="combobox"][aria-label="Finished chat"]instead of a nativeselect[aria-label="Completed session"]min-h-11assertions are unchangedGate counts
Both columns were run through the shared gate lock. The base is #2229's head,
401911671, with this branch rebased on it.401911671)435e6258f)task studio:browser)mecated --mock)The base's browser run used this worktree's
bin/mecatedthroughSTUDIO_MECATED_BIN, because the throwaway base checkout has no daemon binary.Test evidence
task studio:check: passed. Biome, typecheck and the generated-artifact check are clean.task studio:browser: 60 passed, on desktop and mobile Chromium.pnpm --filter @mecatl-studio/server run test:integrationwithSTUDIO_REQUIRE_MECATED=1: 8 passed.task docs: passed, withmatlatl --strictreporting 0 broken links.Screenshots
Captured with a throwaway Playwright journey (Chromium, not committed) with offline BFF routes, a fixed clock (2026-09-25 12:30 UTC),
Europe/Rome, and en-US. Each surface was shot at desktop 1280×800 and mobile 390×844, in light and dark; page shots grow the viewport to 1700px (2600px on mobile) so the whole Settings panel is visible. The conflict comes from a decision that answers409 proposal_conflict, and the off states from runtime capabilities set to false. Before is #2229's head (401911671), after is this PR's head (435e6258f). Each tree was captured twice, and the two runs matched pixel for pixel. Every pair was pixel-compared; red boxes mark the regions that differ. Desktop composites are downscaled to 1600px wide. States that do not exist before (Details, Load more, Deferred, the open picker) are shown after only.Settings > Learning
Pending suggestions
Intended change: the read-only card is titled "Learning" and loses the "You can review proposals below" lead-in; the queue becomes the prototype's "Suggestions" card, with Pending, Deferred, Approved and Rejected pills and a Refresh button. Rows take the prototype's denser layout: no key line, trigger tags or evidence count, a relative time beside the badges, proportional text for the value, a Details disclosure, and the blocked-approval reason inline (before, it was only a
title). "Showing the first 100 proposals" becomes Load more. The reflection card becomes "Learn from a chat" with the Select primitive and "Find suggestions". On phones the pills share one row in four columns, and titles wrap instead of truncating.Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Approve confirmation
Intended change: the dialog wording uses "suggestion" ("Approve Communication preference? Mecatl will remember this suggestion."); the dialog, its title and its buttons are otherwise unchanged.
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Version conflict after Confirm
Intended change: the conflict notice uses the prototype's wording and Studio's warning tokens (was an info tint), and is announced with
role="status". Before, the raw "proposal version changed" error also appeared under the notice; a conflict now shows only the notice. The queue is refreshed as before.Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Reflection receipt
Intended change: the receipt moves from the queue's notice line into the "Learn from a chat" card and reads "Done: 2 to review · 1 clashed with existing memory." (was "Reflection completed: 2 staged · 0 promoted · 1 conflicted."); the chosen chat shows in the Select trigger. The earlier conflict notice stays until the next decision.
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Nothing pending
Intended change: "Nothing waiting for review." in the prototype's dashed empty state, announced with
role="status".Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Reflection unsupported
Intended change: the reflection card keeps explaining why it is unavailable, now as the "Learn from a chat" card with "Learning from a chat is not available right now." (the prototype hides the card).
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Learning off
Intended change: with neither capability the prototype's "Learning is off" tile replaces the two cards (before, the queue showed the BFF's "not enabled" reason and the reflection card its own).
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
New states (after only)
Details: where a suggestion came from
New: Details re-reads the proposal and lists each source with a View chat link, Available or Unavailable (with the daemon's reason), and the daemon's excerpt as plain text.
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Load more
New: Load more appends the next page from the daemon's cursor; the button goes away on the last page.
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Deferred filter
New: the Deferred pill lists
deferred_unsupportedsuggestions; a deferred procedure offers Approve (it becomes a learned-skill draft), never Reject.Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Finished-chat picker
New look: the Select primitive lists completed chats only (before, a native select, whose open list a page screenshot cannot show).
Dark and mobile
Desktop, dark:
Mobile, light:
Mobile, dark:
Review fixes
Fixes from the final regression and security review of the stack (stack #2227). Each one comes with a test that fails without the fix.
fetchQuerywith the app's 30-secondstaleTime. A row that remounted, for example after a filter round trip, reused the cached read: Details showed the old sources, said the suggestion had changed, and handed the list the older version. The next decision then sent a staleexpectedVersionand was certain to drawproposal_conflict. A slow read that landed after the list moved on could also overwrite the newer row. (e08df122a)staleTime: 0.updatedAt(versions are opaque tokens), the row reads once more instead of showing or applying the late read. If the list moves again, the row asks the user to reopen Details.staleTimeand hold a detail read until the list has moved. Five new tests fail without the fix: remount with a 30-secondstaleTime, a slow read after Refresh, a late read after unmount, a re-read after an in-place refresh, and a second late read. A sixth test pins that a newer slow read still replaces the row.task studio:checktask studio:browserRe-verification (2026-10-11)
staleTime: 0skips the cache, butfetchQuerystill hands back a read that is already running for the same proposal. A row remounted during its earlier read (a filter round trip, or Refresh with real latency) adopted that read on reopen; the list had not moved since the reopen, so the guard took it as fresh, downgraded the row, and Approve drewproposal_conflict. Details now cancels any read in flight for the proposal before it reads. (4f2724cb3) Test:learning-queue.test.tsx"starts a fresh read when a remounted row reopens Details during an older read" (fails without the fix: one detail call, the older version). No visible change.Gates on the restacked head
4f2724cb3:studio:checkpasses (web 896, server 210 tests). At the stack top (#2256):studio:browser118 passed, 30 skipped; themecated --mockintegration suite 8 passed. The browser suite takes 5.3 minutes on a CI runner.Commit hashes cited earlier in this body predate the restacks; the current commits keep the same subjects. Hashes in Review fixes are updated.
Closes #1855
🤖 Generated with Claude Code