Skip to content

review follow-ups of PR #37185 #37242

Backlog
Backlog

Description

@objectstack-fleet

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.ts builds const doFetch = opts.fetchImpl ?? createAuthenticatedFetch() and then calls doFetch(…). Reverting that one conversion to a bare fetch alias would not turn the ratchet red. DraftChangesPanel.flowChecks-34818 stays green either way, because it reads through new 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).
  • N4 — the AiChatPage.tsx allow-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.tsx same-server call(s) onto createAuthenticatedFetch and 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.

Not in this card

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

  1. added
    bug
    priority:p2
    pm:queue
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    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).

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions