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
review follow-ups of PR #37637: the runtime draft bar keeps a stale token after "reload", publishItem pin docs #37648
Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (nit N6 of #37387's review, carried on card #37440 and not taken by PR #37637; contract review record 7198547999 on PR #37637, nits N1 and N2, adopted at ACCEPT)
What happens
PR #37637 (Fixes #37440) pins every draft-then-publish Save to its own draft receipt. Merging it closes #37440, which is the only card that recorded these items:
parentVersion JSDoc (N1): the draftVersion JSDoc on client.meta.publishItem says an empty string pins nothing; the parentVersion JSDoc does not, though '' is treated the same.
SDK page (N2): the publishItem example in content/docs/api/client-sdk.mdx shows only message; it does not show the two pins.
Category ①: a user-visible Publish that fails until the panel is reopened, plus doc gaps on a shipped client method.
Priority: p3. The Publish fails closed (nothing wrong goes live), and reopening the panel recovers it.
Business reason: an administrator who resolves a draft conflict by reloading, then clicks Publish in the draft bar, sees the publish refused for no visible reason.
Reader: the ux lane that next touches the metadata-admin draft bar (seat 2, s2-ux-S).
Dedupe: searched open issues for "PR #37637" and RuntimeDraftBar reload token: 0 hits.
Related: #37440, PR #37637, #37387, #36350.
Grade
area:ux · Bug · minor · reach: read (review of #37387) · evidence: read → p3
Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:queue · size S; rationale: the runtime draft bar keeps a stale token after "reload"; Publish fails closed and reopening the panel recovers it. Suggested p3, raised to p2 because UX has no p3.
Claim: PM loop · 2026-11-26T22:5xZ
Session: session_01L6bhgV6i8jfWwSXjpWJrjA
Thread session: session_01L6bhgUuauSMJu1nVSQRQri
Account: os-sales
Branch: claude/project-thread-th9squ (pushed after #37667 merges, serially on the area's one branch)
Domain: domain:ui
Seat: repo:objectstack#2
Area: s2-ux-L (slot given by the seat at 22:46Z)
Scope: all three items.
File surface:
ui/packages/app-shell/src/views/ViewConfigPanel.tsx + RuntimeDraftBar.tsx: after a refused Save is resolved with "reload", the panel's re-read of the stored view hands the draft bar the reloaded draft's version (the version that read installed), so the bar's Publish is pinned to the draft now shown, never to the one from before the reload, and never to a fresh re-read of the bar's own
packages/client/src/index.ts: the parentVersion JSDoc of meta.publishItem says an empty string pins nothing and is not sent, as draftVersion's does
content/docs/api/client-sdk.mdx: the publishItem example shows draftVersion (a draft save's receipt version) and parentVersion
tests; one changeset
Container & model: S, mode:thread, model: default — no path-derived mandate, effort: medium
Clause-②: no
Metadata-protocol: none
Skills-docs: none (no skill teaches the draft bar's pin or publishItem's options)
Responsibility: objectui console (ViewConfigPanel re-reads its buffer on "reload" but never tells RuntimeDraftBar, which keeps the pin it read on open; the client JSDoc and SDK page lag #37440) | none | administrators who resolve a draft conflict by reloading and then Publish from the draft bar; reachable today
Thread-read: 7198820056
Prior rulings read: none on this card; Publish of a view draft takes a draft-version precondition, so an unpinned draft write cannot be published by Save to this view (after #36137) #36350 (the bar's Publish is pinned to the draft it shows; never a re-read), Draft-then-publish callers still publish without the draftVersion pin #36350 added (Studio save bar, design-mode menu, record tabs, extension arrangement, admin detail save, client publishItem) #37440 / PR fix(client, app-shell): every draft-then-publish Save publishes only the draft it wrote #37637 (contract review 7198547999, N1 N2)
Premise: holds (static read on origin/main e491fce: handleViewConfigSave answers false on 'reloaded', so ViewConfigPanel bumps no savedSignal; RuntimeDraftBar sets shownDraftVersionRef only in refresh() on open/name change and on a savedSignal; the reload's re-read installs a new pin in the guard only. The parentVersion JSDoc has no empty-string sentence; the SDK example shows message alone.) A red test on main pins the first item before the fix.
Serial constraints cleared: no open PR touches RuntimeDraftBar.tsx, ViewConfigPanel.tsx, packages/client/src/index.ts or client-sdk.mdx (read 22:5xZ); overlap-check before the first push
L2: not owed by path (no packages/spec/src, no Clause-②, no protocol change); the seat decides at L1
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · priority:p2 ·
pm:queue· size S; rationale: the runtime draft bar keeps a stale token after "reload"; Publish fails closed and reopening the panel recovers it. Suggested p3, raised to p2 because UX has no p3.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgUuauSMJu1nVSQRQri
Claim: PM loop · 2026-11-26T22:5xZ
Session:
session_01L6bhgV6i8jfWwSXjpWJrjAThread session:
session_01L6bhgUuauSMJu1nVSQRQriAccount:
os-salesBranch:
claude/project-thread-th9squ(pushed after #37667 merges, serially on the area's one branch)Domain:
domain:uiSeat:
repo:objectstack#2Area:
s2-ux-L(slot given by the seat at 22:46Z)Scope: all three items.
File surface:
ui/packages/app-shell/src/views/ViewConfigPanel.tsx+RuntimeDraftBar.tsx: after a refused Save is resolved with "reload", the panel's re-read of the stored view hands the draft bar the reloaded draft's version (the version that read installed), so the bar's Publish is pinned to the draft now shown, never to the one from before the reload, and never to a fresh re-read of the bar's ownpackages/client/src/index.ts: theparentVersionJSDoc ofmeta.publishItemsays an empty string pins nothing and is not sent, asdraftVersion's doescontent/docs/api/client-sdk.mdx: thepublishItemexample showsdraftVersion(a draft save's receiptversion) andparentVersionContainer & model:
S,mode:thread,model: default — no path-derived mandate,effort: mediumClause-②: no
Metadata-protocol: none
Skills-docs: none (no skill teaches the draft bar's pin or
publishItem's options)Responsibility:
objectui console (ViewConfigPanel re-reads its buffer on "reload" but never tells RuntimeDraftBar, which keeps the pin it read on open; the client JSDoc and SDK page lag #37440) | none | administrators who resolve a draft conflict by reloading and then Publish from the draft bar; reachable todayThread-read: 7198820056
Prior rulings read: none on this card; Publish of a view draft takes a draft-version precondition, so an unpinned draft write cannot be published by Save to this view (after #36137) #36350 (the bar's Publish is pinned to the draft it shows; never a re-read), Draft-then-publish callers still publish without the draftVersion pin #36350 added (Studio save bar, design-mode menu, record tabs, extension arrangement, admin detail save, client publishItem) #37440 / PR fix(client, app-shell): every draft-then-publish Save publishes only the draft it wrote #37637 (contract review 7198547999, N1 N2)
Premise: holds (static read on origin/main e491fce:
handleViewConfigSaveanswersfalseon'reloaded', soViewConfigPanelbumps nosavedSignal;RuntimeDraftBarsetsshownDraftVersionRefonly inrefresh()on open/name change and on asavedSignal; the reload's re-read installs a new pin in the guard only. TheparentVersionJSDoc has no empty-string sentence; the SDK example showsmessagealone.) A red test on main pins the first item before the fix.Serial constraints cleared: no open PR touches
RuntimeDraftBar.tsx,ViewConfigPanel.tsx,packages/client/src/index.tsorclient-sdk.mdx(read 22:5xZ); overlap-check before the first pushL2: not owed by path (no
packages/spec/src, no Clause-②, no protocol change); the seat decides at L1