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
Console Setup: Settings, Installed apps, Audit log and the connector pages send no bearer token, so a session the rest of the console accepts reads "Authentication is required" there #36981
With a valid bearer session (auth-session-token in localStorage) but no valid session cookie, the console keeps working everywhere — lists, records, forms, actions, approvals, dashboards, the Setup object pages — because its authenticated fetch sends the bearer. A handful of Setup surfaces call their endpoints with credentials: 'include' only, get a 401, and print the raw server error instead of working or sending the user to sign in:
Setup page
Request
What the page shows (UI language zh-CN)
全部设置, and every settings namespace page (本地化, 公司, 认证, 访问策略, 邮件投递, 短信投递, 文件存储, AI, 知识库, 数据生命周期, 品牌)
GET /api/settings → 401
Authentication is required to access this endpoint.
已安装应用
GET /api/v1/packages → 401 (also /api/v1/cloud-connection/org-packages)
Authentication is required to access this endpoint. (UNAUTHENTICATED)
审计日志
401
HTTP 401: {"error":"UNAUTHENTICATED","code":"UNAUTHENTICATED","message":"Authentication is required to access this endpoint."} followed by the empty state "暂无审计记录"
连接器凭据
401
无法加载连接器凭据。 Authentication is required to access this endpoint.
连接器连接
401
无法加载连接器连接。 UNAUTHENTICATED
Measured in the page: the same endpoints answer 200 when the request carries Authorization: Bearer <the stored token>; GET /api/v1/auth/get-session answers 200 with the bearer and 401 with the cookie alone. ui/apps/console/src/pages/settings/api.ts on main still calls plain fetch(BASE, { credentials: 'include', … }), so this is not fixed there.
So an administrator who is, as far as the whole product tells them, signed in, opens Settings and reads an English "Authentication is required" with no way forward; the audit log additionally claims there are no audit records.
How the state arises
Reproduced on local dev: two ObjectStack runtimes on localhost at different ports. Cookies are scoped by host, not port, so signing in on the second (:4002) replaces the first one's (:4001) session cookie; the first tab keeps working on its bearer token, except for the pages above. Any other way of holding a bearer but not a cookie (blocked third-party cookies on a cross-origin console, a cleared cookie jar with localStorage kept) should land in the same place.
Expected
One of:
these surfaces use the console's authenticated fetch (bearer + cookie) like the rest of the app; or
if they are cookie-only on purpose, a 401 there is handled as "session ended" (sign-in redirect), not printed.
In either case the raw HTTP 401: {json} and the bare UNAUTHENTICATED should not be user-facing text, and a failed load of the audit log should not render the "no audit records" empty state.
Steps
Start two apps: objectstack dev -p 4001 and objectstack dev -p 4002 (separate checkouts/DBs).
Sign in on http://localhost:4001/_console, then sign in on http://localhost:4002/_console in the same browser.
Back on 4001 (still signed in, everything works): Setup → 全部设置 / 已安装应用 / 审计日志 / 连接器凭据 / 连接器连接.
@objectstack/* 18.6.0. Found in a UI test pass of HotCRM.
Triage: lands in area:ux · domain:ui · priority:p1 · Bug · pm:queue.
Rationale: the p1 grade is the filer's and stays as set. It is routed to repo:objectstack#3 (area:ux) by the maintainer's seat routing.
Claim: PM loop round 10 · 2026-11-24T13:36Z · p1, routed to ux-C by the seat (2026-11-24T13:35Z) from triage's routing (mailbox 7133050108); triage first touch 7133001606
Session: session_01WGufziG2t1d9cfRQJDrHkB
Account: os-support-ai
Branch: claude/issue-36981-setup-pages-bearer
Worktree: objectstack-issue-36981
Domain: domain:ui
Seat: repo:objectstack#3
Area: ux-C
File surface: the console fetch paths of the named Setup surfaces: ui/apps/console/src/pages/settings/api.ts (all settings namespaces), ui/apps/console/src/pages/system/AuditLogPage.tsx, the Installed apps / packages fetch (ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx ~:239 and the cloud-connection org-packages read), the connector credentials and connections pages. They are routed through the console's existing authenticated fetch (bearer + cookie) rather than patched page by page. User-facing failure text: no raw HTTP 401: {json} or bare UNAUTHENTICATED, and a failed audit-log load must not render the empty state. Tests and changeset. ⛔ No auth-policy change: attach the existing session token only. Anything that changes what the server accepts, how sessions are minted or stored, or a security policy ⇒ stop and report to the seat before code. ⛔ The auth flow pages (pages/auth/**, auth-preflight.ts, early-discovery.ts) are out unless the shared path itself lives there.
Container & model: S, mode:subagent, model: opus (TIER_DEFAULT; no path-derived mandate), effort: high (auth-adjacent, several surfaces)
Clause-②: no — no accept set or public type changes.
Metadata-protocol: none — nothing an author writes changes.
Responsibility: platform code in objectstack-ai/objectstack (console Setup pages calling fetch with cookie credentials only) produces it | no platform path covers it | every admin holding a valid bearer session without a valid cookie (two local runtimes on one host, blocked third-party cookies, a cleared cookie jar); measured by the filer on 18.6.0, reproduced by the dev on main before code
Thread-read: 7133001606
Premise: read from code and the card, not yet measured by us: pages/settings/api.ts calls plain fetch(BASE, { credentials: 'include' }) (5 sites), and AuditLogPage.tsx and PackagesPage.tsx do the same. The rest of the console goes through an authenticated fetch that sends the stored bearer. The dev finds that shared path and routes these surfaces through it.
Pre-claim lane: domain:ui — ui/apps/console/src/pages/settings/api.ts, ui/apps/console/src/pages/system/AuditLogPage.tsx, ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx
Pre-claim deps: none (no Blocked-by:); overlap census: PR #36973 (ux-E, #36895, Studio address builder, draft) touches PackagesPage.tsx for address strings; no other open PR meets this surface (read 2026-11-24T13:36Z). overlap-check.mjs runs before every push; a textual conflict with #36973 is reported, not edited around.
Prior rulings read: bearer,settings,fetch,unauthenticated → 27 hits; ADR-0003 Decision §4, ADR-0007 Decision §4, ADR-0007 Decision §9, ADR-0022 Decision §4, ADR-0022 Decision §5, ADR-0023 Decision §4, ADR-0024 Decision §3, ADR-0036 Decision §2, ADR-0036 Decision §3, ADR-0036 Decision §5; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: this area's in-flight #36966 (PR #36979) and #36960 touch ApprovalsInboxPage.tsx only.
Resume-from: none
Fold-or-serial: alone.
{
"issue": 36981,
"status": "done",
"branch": "claude/issue-36981-setup-pages-bearer",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37077",
"session": "session_01WGufziG2t1d9cfRQJDrHkB",
"premise_still_valid": true,
"summary": "Reproduced on main (305fe60e6e) with a real boot (showcase backend plus the Console dev server, signed in, session cookie removed, bearer kept). All five card surfaces answered 401 with no bearer and printed the raw text, including the audit log's 'HTTP 401: {json}' over 'No audit entries'. The shared path is createAuthenticatedFetch in @object-ui/auth. These now go through it, built per call: the five /api/settings calls (judged client-address read included), the audit ledger read, the connector credential and connection doors, PackagesPage's apiJson, and marketplaceApi's same-server calls (cloud-connection installed and org-packages, every /marketplace/install-local*). credentials:'include' is kept, a 401 reaches the existing session-ended check, and the cloud-origin calls are untouched. Nothing changes server-side (fence held). A failed audit read no longer draws the empty state, and its alert shows the envelope sentence or 'Failed to load audit log', never the raw body. In the browser, after the fix every surface loaded with the bearer only (every watched request bearer=yes, 200). Remote branch claude/issue-36981-setup-pages-bearer at 7d8601826f877174ab5cacfe833eb3dd539ddfba.",
"tests": "Head 7d8601826f: 4 new pin files plus the 4 edited Packages and connector tests: Test Files 8 passed (8), Tests 74 passed (74). Fails on main: with the 7 source files restored to the BASE blobs (hash-verified, then restored to HEAD, git diff HEAD empty), the 4 pin files gave 'Test Files 4 failed (4) / Tests 21 failed | 21 passed (42)'. Every bearer pin and both audit failure-state pins failed; every cookie-only control and the empty-state control passed. Ablations at 8d5bf768c5 via scripts/ablation-replace.mjs, each mutation proven on disk and each restore proven (blob == HEAD, diff empty): settings api.ts per-call authFetch -> fetch gave 6 failed | 6 passed (12), the bearer cases only; PackagesPage.tsx same mutation gave 1 failed | 1 passed (2); AuditLogPage table-card guard -> always drawn gave 2 failed | 3 passed (5). An earlier connectorConnections ablation gave 5 failed | 18 passed (23). Full suites at f8533fabdd (later commits are test-only): console 331/332 files, 3560/3567 tests, with 7 failures all in consoleFaces.displayLocale-9909, whose auth mock was fixed at fc22fa2f7d and then passed alone (15/15). app-shell 2416 passed, 1 failed, 1 skipped (2418); 22867/22877 tests. The one failure, RecordDetailView.recordPageTiers-26678, is outside the diff and passed alone (10/10) at fc22fa2f7d, from a 6054 s shared-box run. Typecheck after building the dependency closure (pnpm --filter '@object-ui/console^...' build, exit 0): app-shell type-check exit 0 at 7d8601826f; console type-check exit 0 at 8d5bf768c5. Browser: main and fixed runs as in summary. The cookie-only browser control cannot hold a no-token state (the console's session check writes the token back from the cookie session), so it is pinned at unit level. The cookie session loaded every surface.",
"gates": "dispatch-gates --commands (no paths) derived 39 families from objectstack at 8d5bf768c5. All 39 ran there with exit 0, including check:type-check-debt under the lock (an earlier unlocked attempt exited 3 PREREQUISITE NOT MET, a queue-timeout behind my own suite: NOT MEASURED, then re-run green) and 'pnpm --dir ui exec vitest run scripts/' (172 files passed, 2 skipped). check:test-source-alias was red at 8d5bf768c5 on four edited test files (lazy formula/lint reach); fixed in 7d8601826f, where it exited 0, as did check:undeclared-dep-imports and check:nul-bytes. --ran with exit codes: 'Run reconciliation — 39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN' (a derived zero). overlap-check: VERDICT clean exit 0 before each push from the third one on; #36973 shares PackagesPage.tsx and merges cleanly. CI on PR #37077 at 7d8601826f was in_progress when this report was written (Check Changeset, Check PR Size, Lint · *, Type Check · * all in_progress), so CI is NOT MEASURED here; the PM drives convergence.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)",
"mcp_calls": "0",
"api_writes": "2 — (1) fleet-write relay POST /repos/objectstack-ai/objectstack/dispatches carrying pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/37077/assignees [os-support-ai]; (2) os-dev-report comment via post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/36981/comments. git push is not counted.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: measured in the browser. On main and at this head, with a bearer-only session, every Setup page sends GET /api/v1/packages from packages-io.ts readPackagesPayload (the session's held package list read by the sidebar, app header, command palette and Studio entries) without the bearer, and it answers 401. The shell's Studio and design entries silently go missing. Same family as this card: report it into a family closing card with an enumeration pin, for example a ratchet forbidding a bare fetch to /api/ with credentials:'include' in app-shell and console. Fixing it here was tried and withdrawn because it moves the Response doubles of about a dozen unrelated shell test files. The other cookie-only modules in this family: useConversationList, useChatConversation, suggestedBindingsApi, packages-io, studio-design writes, plugin-* hooks, and others. · dedupe words: createAuthenticatedFetch, credentials include, bearer, cookie-only, packages-io",
"class: a · reach: measured. On main the Connector connections page (a public UI door) printed 'Could not load connector connections. UNAUTHENTICATED'. actionErrorDetail (@object-ui/core) returns a bare-string `error` before `message`, so against the REST seam's sanctioned flat 401 body {error:'UNAUTHENTICATED', code, message} (anonymous-deny.ts ANONYMOUS_DENY_BODY) it answers the machine code as user text. This card's surfaces no longer meet that 401 with a bearer held, but every actionErrorDetail caller reading a flat-family refusal still does. · dedupe words: actionErrorDetail, UNAUTHENTICATED, flat envelope, ANONYMOUS_DENY_BODY",
"carrier: none · noted, not filed. marketplaceApi.ts withEnvAuth hand-rolls the same bearer injection as createAuthenticatedFetch for the /cloud-connection/install, install-namespace and installation calls. It is a consolidation, not a defect; left untouched."
]
}
PR #37077: merged origin/main (254e396) into claude/issue-36981-setup-pages-bearer. This was a merge commit, with no rebase and no force-push. New head: 1bf3dbe84a1f4f435d43d3dba26e95b3421b0c6e.
The merge was clean, with no conflicts, and resolved nothing by hand. It brought in 388 files from main. On this PR's surface it touched three things, none of them a call site this PR changed: PackagesPage.tsx (3 lines, outside apiJson); AuthProvider.tsx (the profile update's setUser, unrelated to createAuthenticatedFetch); and Approvals Inbox and Profile page files beside AuditLogPage.
At 1bf3dbe84a, after the dependency closure build (exit 0): the 8 pin and edited test files gave Test Files 8 passed (8), Tests 74 passed (74). @object-ui/app-shell type-check exited 0, and @object-ui/console type-check exited 0.
Close-out: 2026-11-24T20:08Z · area ux-C · landed by PR #37077 (merge adb3aef517967434023872b4cb6cea3d121792e1, head 1bf3dbe84a1f4f435d43d3dba26e95b3421b0c6e = L1-accepted 7d8601826f plus a clean main merge, L1 ACCEPT 7141942840).
These Setup surfaces now go through the console's shared createAuthenticatedFetch, so a bearer-only session works on them:
Settings and every namespace page
Installed apps (PackagesPage and the runtime's own marketplace calls)
Audit log
Connector credentials
Connector connections
credentials: 'include' is kept. The cloud origin never sees the bearer. Nothing changed on the server or in auth policy. A failed audit read no longer draws the empty state or the raw response body.
Carry-overs filed with triage by the seat:
The cookie-only family: packages-io held package list, chat hooks, suggested bindings, studio-design writes.
actionErrorDetail showing UNAUTHENTICATED as user text.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in
area:ux·domain:ui·priority:p1· Bug ·pm:queue.Rationale: the p1 grade is the filer's and stays as set. It is routed to repo:objectstack#3 (area:ux) by the maintainer's seat routing.
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziG2t1d9cfRQJDrHkB
Claim: PM loop round 10 · 2026-11-24T13:36Z · p1, routed to ux-C by the seat (2026-11-24T13:35Z) from triage's routing (mailbox 7133050108); triage first touch 7133001606
Session:
session_01WGufziG2t1d9cfRQJDrHkBAccount:
os-support-aiBranch:
claude/issue-36981-setup-pages-bearerWorktree:
objectstack-issue-36981Domain:
domain:uiSeat:
repo:objectstack#3Area: ux-C
File surface: the console fetch paths of the named Setup surfaces:
ui/apps/console/src/pages/settings/api.ts(all settings namespaces),ui/apps/console/src/pages/system/AuditLogPage.tsx, the Installed apps / packages fetch (ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx~:239 and the cloud-connection org-packages read), the connector credentials and connections pages. They are routed through the console's existing authenticated fetch (bearer + cookie) rather than patched page by page. User-facing failure text: no rawHTTP 401: {json}or bareUNAUTHENTICATED, and a failed audit-log load must not render the empty state. Tests and changeset. ⛔ No auth-policy change: attach the existing session token only. Anything that changes what the server accepts, how sessions are minted or stored, or a security policy ⇒ stop and report to the seat before code. ⛔ The auth flow pages (pages/auth/**,auth-preflight.ts,early-discovery.ts) are out unless the shared path itself lives there.Container & model:
S,mode:subagent,model: opus (TIER_DEFAULT; no path-derived mandate),effort: high(auth-adjacent, several surfaces)Clause-②: no — no accept set or public type changes.
Metadata-protocol: none — nothing an author writes changes.
Responsibility: platform code in objectstack-ai/objectstack (console Setup pages calling
fetchwith cookie credentials only) produces it | no platform path covers it | every admin holding a valid bearer session without a valid cookie (two local runtimes on one host, blocked third-party cookies, a cleared cookie jar); measured by the filer on 18.6.0, reproduced by the dev on main before codeThread-read: 7133001606
Premise: read from code and the card, not yet measured by us:
pages/settings/api.tscalls plainfetch(BASE, { credentials: 'include' })(5 sites), andAuditLogPage.tsxandPackagesPage.tsxdo the same. The rest of the console goes through an authenticated fetch that sends the stored bearer. The dev finds that shared path and routes these surfaces through it.Pre-claim lane: domain:ui —
ui/apps/console/src/pages/settings/api.ts,ui/apps/console/src/pages/system/AuditLogPage.tsx,ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsxPre-claim deps: none (no
Blocked-by:); overlap census: PR #36973 (ux-E, #36895, Studio address builder, draft) touchesPackagesPage.tsxfor address strings; no other open PR meets this surface (read 2026-11-24T13:36Z).overlap-check.mjsruns before every push; a textual conflict with #36973 is reported, not edited around.Prior rulings read: bearer,settings,fetch,unauthenticated → 27 hits; ADR-0003 Decision §4, ADR-0007 Decision §4, ADR-0007 Decision §9, ADR-0022 Decision §4, ADR-0022 Decision §5, ADR-0023 Decision §4, ADR-0024 Decision §3, ADR-0036 Decision §2, ADR-0036 Decision §3, ADR-0036 Decision §5; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: this area's in-flight #36966 (PR #36979) and #36960 touch
ApprovalsInboxPage.tsxonly.Resume-from: none
Fold-or-serial: alone.
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziG2t1d9cfRQJDrHkB
os-dev-report
{ "issue": 36981, "status": "done", "branch": "claude/issue-36981-setup-pages-bearer", "pr": "https://github.com/objectstack-ai/objectstack/pull/37077", "session": "session_01WGufziG2t1d9cfRQJDrHkB", "premise_still_valid": true, "summary": "Reproduced on main (305fe60e6e) with a real boot (showcase backend plus the Console dev server, signed in, session cookie removed, bearer kept). All five card surfaces answered 401 with no bearer and printed the raw text, including the audit log's 'HTTP 401: {json}' over 'No audit entries'. The shared path is createAuthenticatedFetch in @object-ui/auth. These now go through it, built per call: the five /api/settings calls (judged client-address read included), the audit ledger read, the connector credential and connection doors, PackagesPage's apiJson, and marketplaceApi's same-server calls (cloud-connection installed and org-packages, every /marketplace/install-local*). credentials:'include' is kept, a 401 reaches the existing session-ended check, and the cloud-origin calls are untouched. Nothing changes server-side (fence held). A failed audit read no longer draws the empty state, and its alert shows the envelope sentence or 'Failed to load audit log', never the raw body. In the browser, after the fix every surface loaded with the bearer only (every watched request bearer=yes, 200). Remote branch claude/issue-36981-setup-pages-bearer at 7d8601826f877174ab5cacfe833eb3dd539ddfba.", "tests": "Head 7d8601826f: 4 new pin files plus the 4 edited Packages and connector tests: Test Files 8 passed (8), Tests 74 passed (74). Fails on main: with the 7 source files restored to the BASE blobs (hash-verified, then restored to HEAD, git diff HEAD empty), the 4 pin files gave 'Test Files 4 failed (4) / Tests 21 failed | 21 passed (42)'. Every bearer pin and both audit failure-state pins failed; every cookie-only control and the empty-state control passed. Ablations at 8d5bf768c5 via scripts/ablation-replace.mjs, each mutation proven on disk and each restore proven (blob == HEAD, diff empty): settings api.ts per-call authFetch -> fetch gave 6 failed | 6 passed (12), the bearer cases only; PackagesPage.tsx same mutation gave 1 failed | 1 passed (2); AuditLogPage table-card guard -> always drawn gave 2 failed | 3 passed (5). An earlier connectorConnections ablation gave 5 failed | 18 passed (23). Full suites at f8533fabdd (later commits are test-only): console 331/332 files, 3560/3567 tests, with 7 failures all in consoleFaces.displayLocale-9909, whose auth mock was fixed at fc22fa2f7d and then passed alone (15/15). app-shell 2416 passed, 1 failed, 1 skipped (2418); 22867/22877 tests. The one failure, RecordDetailView.recordPageTiers-26678, is outside the diff and passed alone (10/10) at fc22fa2f7d, from a 6054 s shared-box run. Typecheck after building the dependency closure (pnpm --filter '@object-ui/console^...' build, exit 0): app-shell type-check exit 0 at 7d8601826f; console type-check exit 0 at 8d5bf768c5. Browser: main and fixed runs as in summary. The cookie-only browser control cannot hold a no-token state (the console's session check writes the token back from the cookie session), so it is pinned at unit level. The cookie session loaded every surface.", "gates": "dispatch-gates --commands (no paths) derived 39 families from objectstack at 8d5bf768c5. All 39 ran there with exit 0, including check:type-check-debt under the lock (an earlier unlocked attempt exited 3 PREREQUISITE NOT MET, a queue-timeout behind my own suite: NOT MEASURED, then re-run green) and 'pnpm --dir ui exec vitest run scripts/' (172 files passed, 2 skipped). check:test-source-alias was red at 8d5bf768c5 on four edited test files (lazy formula/lint reach); fixed in 7d8601826f, where it exited 0, as did check:undeclared-dep-imports and check:nul-bytes. --ran with exit codes: 'Run reconciliation — 39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN' (a derived zero). overlap-check: VERDICT clean exit 0 before each push from the third one on; #36973 shares PackagesPage.tsx and merges cleanly. CI on PR #37077 at 7d8601826f was in_progress when this report was written (Check Changeset, Check PR Size, Lint · *, Type Check · * all in_progress), so CI is NOT MEASURED here; the PM drives convergence.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)", "mcp_calls": "0", "api_writes": "2 — (1) fleet-write relay POST /repos/objectstack-ai/objectstack/dispatches carrying pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/37077/assignees [os-support-ai]; (2) os-dev-report comment via post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/36981/comments. git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: measured in the browser. On main and at this head, with a bearer-only session, every Setup page sends GET /api/v1/packages from packages-io.ts readPackagesPayload (the session's held package list read by the sidebar, app header, command palette and Studio entries) without the bearer, and it answers 401. The shell's Studio and design entries silently go missing. Same family as this card: report it into a family closing card with an enumeration pin, for example a ratchet forbidding a bare fetch to /api/ with credentials:'include' in app-shell and console. Fixing it here was tried and withdrawn because it moves the Response doubles of about a dozen unrelated shell test files. The other cookie-only modules in this family: useConversationList, useChatConversation, suggestedBindingsApi, packages-io, studio-design writes, plugin-* hooks, and others. · dedupe words: createAuthenticatedFetch, credentials include, bearer, cookie-only, packages-io", "class: a · reach: measured. On main the Connector connections page (a public UI door) printed 'Could not load connector connections. UNAUTHENTICATED'. actionErrorDetail (@object-ui/core) returns a bare-string `error` before `message`, so against the REST seam's sanctioned flat 401 body {error:'UNAUTHENTICATED', code, message} (anonymous-deny.ts ANONYMOUS_DENY_BODY) it answers the machine code as user text. This card's surfaces no longer meet that 401 with a bearer held, but every actionErrorDetail caller reading a flat-family refusal still does. · dedupe words: actionErrorDetail, UNAUTHENTICATED, flat envelope, ANONYMOUS_DENY_BODY", "carrier: none · noted, not filed. marketplaceApi.ts withEnvAuth hand-rolls the same bearer injection as createAuthenticatedFetch for the /cloud-connection/install, install-namespace and installation calls. It is a consolidation, not a defect; left untouched." ] }objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziG2t1d9cfRQJDrHkB
os-dev-merge-note
PR #37077: merged
origin/main(254e396) intoclaude/issue-36981-setup-pages-bearer. This was a merge commit, with no rebase and no force-push. New head:1bf3dbe84a1f4f435d43d3dba26e95b3421b0c6e.PackagesPage.tsx(3 lines, outsideapiJson);AuthProvider.tsx(the profile update'ssetUser, unrelated tocreateAuthenticatedFetch); and Approvals Inbox and Profile page files besideAuditLogPage.1bf3dbe84a, after the dependency closure build (exit 0): the 8 pin and edited test files gaveTest Files 8 passed (8),Tests 74 passed (74).@object-ui/app-shelltype-check exited 0, and@object-ui/consoletype-check exited 0.overlap-check:VERDICT clean exit 0.origin/mainmerges cleanly, and feat(console): org basics in one form, optional rows, 「Get started」 sidebar pill #36791, which sharesFirstRunChecklist.test.tsx, merges cleanly too.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufziG2t1d9cfRQJDrHkB
Close-out: 2026-11-24T20:08Z · area ux-C · landed by PR #37077 (merge
adb3aef517967434023872b4cb6cea3d121792e1, head1bf3dbe84a1f4f435d43d3dba26e95b3421b0c6e= L1-accepted7d8601826fplus a clean main merge, L1 ACCEPT 7141942840).These Setup surfaces now go through the console's shared
createAuthenticatedFetch, so a bearer-only session works on them:credentials: 'include'is kept. The cloud origin never sees the bearer. Nothing changed on the server or in auth policy. A failed audit read no longer draws the empty state or the raw response body.Carry-overs filed with triage by the seat:
packages-ioheld package list, chat hooks, suggested bindings, studio-design writes.actionErrorDetailshowingUNAUTHENTICATEDas user text.pm:dispatchedremoved.