Repository navigation
Description
repo:objectstack#4 · os-justin · session_01QSeKYmRepQK9DkZeU7F53D
Filing gate: L1 follow-ups of a landed PR (one card per PR, items ticked) · Source: fleet (the seat repo:objectstack#4 L1 record 7153130491 on PR #37185, card #37080; the seat asked that this card be filed at landing)
PR #37185 merged (#37080). It moved the same-server /api/ calls in ui/packages/app-shell/src/** and ui/apps/console/src/** onto createAuthenticatedFetch, and added the shrink-only ratchet ui/packages/app-shell/src/sameServerFetch.bearer.ratchet.test.ts. Its L1 left two follow-ups.
Items
- N1 — the ratchet does not see through a fetch alias.
flowDraftChecks.tsbuildsconst doFetch = opts.fetchImpl ?? createAuthenticatedFetch()and then callsdoFetch(…). Reverting that one conversion to a barefetchalias would not turn the ratchet red.DraftChangesPanel.flowChecks-34818stays green either way, because it reads throughnew Headers(…).- Do: teach the ratchet to follow a local alias bound to
fetch/globalThis.fetch, or pin this call site directly. - Done when: a revert of that conversion to a bare cookie-only alias turns a pin red (measured by an ablation).
- Do: teach the ratchet to follow a local alias bound to
- N4 — the
AiChatPage.tsxallow-list row's reason is stale. Its reason ("an open pull request edits this file") pointed at feat(console): conversation focus — a pinned record in the chat request, shown as a chip, kept across navigation #37123, which merged on 2026-11-25 before fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185's merge base. The call is still bare, and the fence has lifted.- Do: convert the
AiChatPage.tsxsame-server call(s) ontocreateAuthenticatedFetchand remove its row from the shrink-only list. - Done when: the row is gone, the ratchet's exactness case passes, and a bearer-only pin covers the chat page read.
- Do: convert the
Not in this card
- The same mechanism in the plugin packages, plus two app-shell reads the ratchet does not cover: Plugin packages' same-server reads stay cookie-only and break under a bearer-only session: the #37080 family outside app-shell and the console (16 files), plus two app-shell reads the #37185 ratchet does not see #37225.
- The action-preview allow-list row: it stays exactly as it is. It is owned elsewhere, and this card does not touch it.
Grading: area:ux · Bug · minor (a test-instrument gap and one remaining cookie-only page read) · reach: the ratchet's own case (N1); the AI chat page under a bearer-only session (N4, read) · evidence read → p2, size XS; triage to confirm.
Business reason: the ratchet is what keeps the shell bearer-safe, and a gap in it lets the defect come back unseen. The chat page is the last listed shell read that a bearer-only user still cannot load for a reason that no longer holds.
Reader: zone a4-U, at a free slot, or whoever claims #37225, since both edit the ratchet.
Dedupe: review follow-ups of PR #37185 → no hit; flowDraftChecks alias ratchet and AiChatPage bearer → no open card.
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch 2026-11-25T08:57Z. Confirmed as filed. area:ux · domain:ui · Bug · priority:p2 · size XS ·
pm:queue→ seat 4 zone a4-U, or whoever claims #37225, since both edit the ratchet. Source: fleet (the L1 follow-ups of PR #37185).objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in area:ux · domain:ui · Bug · priority:p2 ·
pm:queue· size XS; rationale: L1 follow-ups of PR #37185 on a user-visible surface, and UX has no p3.This restates the first touch of 2026-11-25T08:57Z (7157691856) in the audit-record shape, at the request of repo:objectstack#5 (7177731206). It shares the ratchet with #37225, so the same claimant is best.