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
Filing gate: ② review finding S1 + S2 + S3b of the seat's L2 on PR #37489 (#37225), record 7187820695; the seat asked the owning zone to card it under #37225. Source: reviewer.
Grading: area:ux · Bug · p2 (triage grades) · reach: every same-server call the bearer ratchet should hold but cannot see, so a cookie-only call can come back unnoticed · evidence: L2 record 7187820695; os-dev report 7187574466.
ui/packages/app-shell/src/sameServerFetch.bearer.ratchet.test.ts: an aliased const doFetch = apiFetch ?? fetch counts 0; URL constants, + concatenation, credentials: 'same-origin' and spread inits are missed; the MePermissionsProvider row says 1 for 2 sites (S1, S2).
S3b: the react host fallbacks ui/packages/react/src/useElementApiDataSource.ts (1) and useDatasetDimensionLabels.ts (1) fall back to bare fetch when no host apiFetch exists; convert or record them once the ratchet sees them.
Acceptance
The ratchet counts each listed spelling (a pin per spelling), the row counts match the census, and stays shrink-only.
The two react fallbacks are converted or recorded with their reason.
Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:blocked · size S; rationale: a follow-up of #37225 (same-server reads under a bearer-only session), filed from L2 record 7187820695: the token ratchet misses aliases, built URLs and spread args. p2 as filed; blocked by #37225.
Unlock · #37505 · 2026-11-27T06:33Z: the card's only Blocked-by: line names #37225, which was closed as completed at 2026-11-26T11:21Z. No later block is recorded on this card. pm:blocked → pm:queue; grade, area and size unchanged. Re-read the premise at claim, because the blocker's landing may have changed the surface this card names.
Claim: PM loop round 1
Session: session_01L9qibyUSf2nKJWW6qBemSU
Thread session: session_01L9qic11DcdSCqDBNNUAXcb
Account: os-tesla
Branch: claude/project-thread-iryzkt
Worktree: objectstack-issue-37505
Domain: ui
Area: o3-ux (area:ux p2, a seat card thread). One PR carries #37505, #37506 and #37507, as the seat agreed under the Fable review (o3-ux-w0-fable-review.md).
Seat: repo:objectstack#3
Seat rulings on the pre-claim report (/mnt/project-files/card-37505/pre-claim-report-581ae76a.md, main 581ae76):
同服务器令牌棘轮:别名、拼接 URL、spread 参数等写法数漏,react 宿主回退仍走裸 fetch(接 #37225) #37505: the same-server bearer ratchet learns the four corrected spellings: a URL constant, + concatenation, same-origin, and spread arguments. The whole-tree baseline stays equal to ALLOWED, and the only new hits are the two uploads. The two react apiFetch ?? fetch host channels are registered, not rewritten.
data-objectstack:上传文件和 metadata-client 绕过注入的 fetch,纯令牌会话下被当匿名(接 #37225) #37506: route A. The two uploads in data-objectstack (index.ts 8243, 8305) go through the injected raw config.fetch, kept aside and not routed through the connection-state observer. That keeps the README's promise that an upload does not change the connection state (l.527). Only the "uses the global fetch" sentence changes. metadata-client has no bare call left.
Side finding: the two uploads target /api/data/<object>/upload, with no /v1 and no server route. Measure it in this work; if it reproduces, report it and the seat files the card. The PR body does not say uploads are fixed.
File surface:
The bearer ratchet scan (its test file) and its ALLOWED list.
ui/packages/data-objectstack/src/index.ts (the two uploads, the raw fetch kept aside) and its README sentence.
The registration entries for the react host channels and the createAuthClient retry.
Pins with ablations, and one .changeset/*.md (@object-ui/data-objectstack patch).
Stop on breach and explain in the report.
Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high, reason: the thread session serves effort high
Clause-②: no
Metadata-protocol: none
Responsibility: under a token-only session, the two data-objectstack uploads carry the bearer like every other same-server request, and the ratchet catches the four spellings that used to slip past it. The L2 records Security-touching: yes.
Thread-read: 7211637216
Premise: holds, measured on origin/main 581ae76 (whole-tree ratchet run)
Serial constraints cleared: #38101 (seat 1, same test file, different place; no PR yet). The second to land merges main.
{
"issue": 37505,
"status": "done",
"branch": "claude/project-thread-iryzkt",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38173",
"session": "session_01L9qic11DcdSCqDBNNUAXcb",
"premise_still_valid": true,
"summary": "One PR for #37505, #37506 and #37507 (claims 7234066663, 7234073360, 7234079516), on the corrected premises. #37506: data-objectstack uploadFile and uploadFiles call the injected fetch as given (uploadTransport, kept aside in the constructor) instead of the global fetch, outside observeServerAnswer, so uploads carry the host's bearer and still do not move the connection state; README sentence corrected; metadata-client had no bare call left. #37505: the bearer ratchet reads a URL const, a + concatenation, credentials same-origin and a spread of a file const (later keys override; an unreadable spread keeps a credentials value written before it); ALLOWED unchanged and still exact over the whole tree. #37505 and #37507: REGISTERED_CHANNELS records the two react apiFetch ?? fetch host channels and the createAuthClient stale-bearer self-heal retry with their reasons, pinned to their spelling; no production change for #37507. Patch changeset for @object-ui/data-objectstack. #38101 not touched (seat 1, #38148). Side finding measured and filed by the seat as #38163.",
"tests": "At 96332e47. uploadTransport-37506.test.ts: Tests 3 passed (3); ablation (both uploads back to the global fetch, fix committed, restored from HEAD): Tests 3 failed (3). sameServerFetch.bearer.ratchet.test.ts: Tests 5 passed (5); ablations one at a time: uploads back to the global fetch red the counted-row case with exactly the two upload lines; removing the + branch, the URL-const lookup, the same-origin reading or the spread reading each reds that spelling's detector case. The ratchet merged with #38148 (git merge-file, not committed): Tests 5 passed (5). data-objectstack type-check exit 0 after a closure build; eslint on the 3 changed .ts files 0 errors, warnings only the existing no-explicit-any ones in index.ts.",
"gates": "dispatch-gates --ran at 96332e47: 40 derived, 40 run, all exit 0, 0 NOT-MEASURED (derived zero), including pnpm --dir ui exec vitest run scripts/ (5144 passed, 2 skipped). overlap-check: clean against origin/main 33a0d4fa and #38148. PR check-runs at 96332e47: 45 success, 13 skipped, 0 failed — Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (16/16 shards), Build & E2E UI, Live E2E UI, Dogfood Regression Gate (aggregate), Check Changeset and PR-body guards success; Build Core skipped (selector).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "11 GitHub MCP read calls (issue_read x8, list_pull_requests x3); no MCP writes",
"api_writes": "3 — fleet-write relay pr_create (#38173, read-back 6428 bytes identical, assignee os-tesla); relay pr_request_reviewers (os-tesla); this os-dev-report comment via post-stamped",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": ["carrier: #38163 · the upload route the two methods post to answers 404 on a stock stack (measured with bootStack + storage, admin bearer); filed by the seat"]
}
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · priority:p2 ·
pm:blocked· size S; rationale: a follow-up of #37225 (same-server reads under a bearer-only session), filed from L2 record 7187820695: the token ratchet misses aliases, built URLs and spread args. p2 as filed; blocked by #37225.objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Unlock · #37505 · 2026-11-27T06:33Z: the card's only
Blocked-by:line names #37225, which was closed as completed at 2026-11-26T11:21Z. No later block is recorded on this card.pm:blocked→pm:queue; grade, area and size unchanged. Re-read the premise at claim, because the blocker's landing may have changed the surface this card names.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qic11DcdSCqDBNNUAXcbAccount:
os-teslaBranch:
claude/project-thread-iryzktWorktree:
objectstack-issue-37505Domain:
uiArea:
o3-ux(area:ux p2, a seat card thread). One PR carries #37505, #37506 and #37507, as the seat agreed under the Fable review (o3-ux-w0-fable-review.md).Seat:
repo:objectstack#3Seat rulings on the pre-claim report (
/mnt/project-files/card-37505/pre-claim-report-581ae76a.md, main 581ae76):+concatenation,same-origin, and spread arguments. The whole-tree baseline stays equal to ALLOWED, and the only new hits are the two uploads. The two reactapiFetch ?? fetchhost channels are registered, not rewritten.data-objectstack(index.ts 8243, 8305) go through the injected rawconfig.fetch, kept aside and not routed through the connection-state observer. That keeps the README's promise that an upload does not change the connection state (l.527). Only the "uses the global fetch" sentence changes.metadata-clienthas no bare call left./api/data/<object>/upload, with no/v1and no server route. Measure it in this work; if it reproduces, report it and the seat files the card. The PR body does not say uploads are fixed.File surface:
ui/packages/data-objectstack/src/index.ts(the two uploads, the raw fetch kept aside) and its README sentence.createAuthClientretry..changeset/*.md(@object-ui/data-objectstackpatch).Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate",effort: high, reason: the thread session serves effort highClause-②: no
Metadata-protocol: none
Responsibility: under a token-only session, the two
data-objectstackuploads carry the bearer like every other same-server request, and the ratchet catches the four spellings that used to slip past it. The L2 records Security-touching: yes.Thread-read: 7211637216
Premise: holds, measured on origin/main 581ae76 (whole-tree ratchet run)
Serial constraints cleared:
#38101 (seat 1, same test file, different place; no PR yet). The second to land merges main.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qic11DcdSCqDBNNUAXcb
os-dev-report
{ "issue": 37505, "status": "done", "branch": "claude/project-thread-iryzkt", "pr": "https://github.com/objectstack-ai/objectstack/pull/38173", "session": "session_01L9qic11DcdSCqDBNNUAXcb", "premise_still_valid": true, "summary": "One PR for #37505, #37506 and #37507 (claims 7234066663, 7234073360, 7234079516), on the corrected premises. #37506: data-objectstack uploadFile and uploadFiles call the injected fetch as given (uploadTransport, kept aside in the constructor) instead of the global fetch, outside observeServerAnswer, so uploads carry the host's bearer and still do not move the connection state; README sentence corrected; metadata-client had no bare call left. #37505: the bearer ratchet reads a URL const, a + concatenation, credentials same-origin and a spread of a file const (later keys override; an unreadable spread keeps a credentials value written before it); ALLOWED unchanged and still exact over the whole tree. #37505 and #37507: REGISTERED_CHANNELS records the two react apiFetch ?? fetch host channels and the createAuthClient stale-bearer self-heal retry with their reasons, pinned to their spelling; no production change for #37507. Patch changeset for @object-ui/data-objectstack. #38101 not touched (seat 1, #38148). Side finding measured and filed by the seat as #38163.", "tests": "At 96332e47. uploadTransport-37506.test.ts: Tests 3 passed (3); ablation (both uploads back to the global fetch, fix committed, restored from HEAD): Tests 3 failed (3). sameServerFetch.bearer.ratchet.test.ts: Tests 5 passed (5); ablations one at a time: uploads back to the global fetch red the counted-row case with exactly the two upload lines; removing the + branch, the URL-const lookup, the same-origin reading or the spread reading each reds that spelling's detector case. The ratchet merged with #38148 (git merge-file, not committed): Tests 5 passed (5). data-objectstack type-check exit 0 after a closure build; eslint on the 3 changed .ts files 0 errors, warnings only the existing no-explicit-any ones in index.ts.", "gates": "dispatch-gates --ran at 96332e47: 40 derived, 40 run, all exit 0, 0 NOT-MEASURED (derived zero), including pnpm --dir ui exec vitest run scripts/ (5144 passed, 2 skipped). overlap-check: clean against origin/main 33a0d4fa and #38148. PR check-runs at 96332e47: 45 success, 13 skipped, 0 failed — Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (16/16 shards), Build & E2E UI, Live E2E UI, Dogfood Regression Gate (aggregate), Check Changeset and PR-body guards success; Build Core skipped (selector).", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "11 GitHub MCP read calls (issue_read x8, list_pull_requests x3); no MCP writes", "api_writes": "3 — fleet-write relay pr_create (#38173, read-back 6428 bytes identical, assignee os-tesla); relay pr_request_reviewers (os-tesla); this os-dev-report comment via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: #38163 · the upload route the two methods post to answers 404 on a stock stack (measured with bootStack + storage, admin bearer); filed by the seat"] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Closed-card tidy · 2026-11-28T07:57Z: the card closed when its PR merged;
pm:dispatchedcomes off.