Repository navigation
Description
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5
Found by area S3 while claiming #33891 (claim 6902019399). This is the console half of that card, which the server lane cannot edit (ui/**).
What the server half gives (once #33891's PR lands): under hosted (isCloudManaged()), every settings door answers a named platform-managed refusal for the storage namespace and for the AI provider keys:
- GET list and GET namespace;
- the write routes;
- the
storage.test,ai.testandai.test_embedderactions; - the
sys_setting/sys_platform_settingdata read.
The Setup nav hides those entries through CEL visible on features.cloudManaged. The exact refusal code is named in #33891's PR.
What is missing in the console: the acceptance of #33891 (item 2) wants a direct route (bookmark or typed URL) to show 「此项由平台托管」, not an empty form or a generic error. Today the console has no reading of that refusal. For the AI namespace, the tenant's own preferences (titles, observability) stay editable, and only the hidden provider keys disappear from the form.
Ask:
- Read the platform-managed refusal code in the settings page loader and render a 「此项由平台托管」 state for the storage page and for the AI provider section.
- Pin the hosted route and the self-hosted CONTROL.
Blocked-by: #33891
Prior rulings read:
- the maintainer's 「当然」 on 托管环境的「系统设置」隐藏自托管才用得到的基础设施设置(文件存储适配器、AI 提供商与向量化、知识库后端) #33891;
- the mechanism ruling on 托管环境的「系统设置」隐藏自托管才用得到的基础设施设置(文件存储适配器、AI 提供商与向量化、知识库后端) #33891, decision card tapped 2026-11-15T21:55Z: 「服务端按托管裁剪并拒绝」;
- the house pattern of a server refusal plus a console hide (plugin-auth
cloudManagedRefusal).
Dedupe: open-issue searches for "平台托管" and for "cloudManaged settings console" found only #33891 and #33933.
Generated by Claude Code
Activity
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Claim: PM loop round 3 · 2026-11-16T06:26Z
Session:
session_01ADHkmSWkWcHBfKEZ8RmTrv(card thread, dev) · seatsession_01ADHkmSzhXR4yUAgwq1bQRiAccount:
os-steve(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-q4ltjyWorktree:
objectstack-issue-34149Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/apps/console/src/pages/settings/api.ts,ui/apps/console/src/pages/settings/SettingsView.tsxand a small helper module beside them, i18n keys (all locale packs, one line each; zh-Hant generated), their tests, root.changeset/;SettingsHub.tsxonly if the hub itself fetchesstorageby name;packages/**read-only, and a served field for the AI line stops for the seat (stop on breach; explain in the report)Container & model:
cloud seat container,mode:thread,model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: dev reads the hosted refusal (409 RESOURCE_CONFLICT, details.managedBy platform) by shape, renders the managed state, pins and ablates; seat reviews, records and lands
Thread-read: none
Premise: holds
Serial constraints cleared: Blocked-by #33891 closed 2026-11-16T04:53Z (PR #34254 merged 021abd4); no open PR on this surface
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSWkWcHBfKEZ8RmTrv
os-dev-report
{ "issue": 34149, "status": "done", "branch": "claude/project-thread-q4ltjy", "pr": "https://github.com/objectstack-ai/objectstack/pull/34327", "session": "session_01ADHkmSWkWcHBfKEZ8RmTrv", "premise_still_valid": true, "summary": "Hosted GET storage (409 RESOURCE_CONFLICT, error.details.managedBy platform) now draws a 'Managed by the platform' card with no form and no retry; a 409 without managedBy keeps the error card. The AI page draws one managed line when features.cloudManaged is true (served auth config, same isCloudManaged() as the projection) AND the served ai manifest has no provider key; no served field added. Stale action/save refusals of that shape toast the managed text (runSettingsAction now throws that shape). Three i18n keys in every pack, zh-Hant generated.", "tests": "head febd90e8: cd ui && vitest run packages/i18n/ apps/console/src/pages/settings/ -> 145 files, 2313 passed, 13 skipped, exit 0 (VERDICT command-exit 0). New: SettingsView.platformManaged-34149.test.tsx 9 cases, platformManaged.test.ts 5 cases. Ablations via ablation-replace.mjs (console reads src, no dist leg): A1 refusal predicate -> false: 5 red; A2 cloudManaged check dropped: helper + view CONTROL red; A3 runSettingsAction throw deleted: api case red; each 'ok mutation landed' and 'ok restored: blob == HEAD'.", "gates": "dispatch-gates --commands: 40 commands on febd90e8, all exit 0; --ran: 40 derived, 40 run, 0 NOT-MEASURED, 0 UNRUN. pnpm --filter @object-ui/console type-check exit 0. ui check:new-line-citations: 0 new. eslint on changed console files: 0 errors. PR check-runs: in_progress at report time.", "line_budget": "n/a — no skills/** or ratcheted ledger touched; diff +549/-10, 17 files", "files_changed": [ ".changeset/34149-settings-platform-managed.md", "ui/apps/console/src/pages/settings/SettingsView.tsx", "ui/apps/console/src/pages/settings/api.ts", "ui/apps/console/src/pages/settings/platformManaged.ts", "ui/apps/console/src/pages/settings/platformManaged.test.ts", "ui/apps/console/src/pages/settings/__tests__/SettingsView.platformManaged-34149.test.tsx", "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts" ], "deviations": [ "Narrowed local test run to packages/i18n/ + apps/console/src/pages/settings/ (declared in PR body); CI Test UI runs the whole tree.", "Ablations have no dist leg: the console test imports SettingsView/api/platformManaged by relative src path." ], "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "3 — issue_read x2 (card, comments), pull_request_read get x1; no write tool", "api_writes": "2 — relay pr_create (POST pulls draft + POST issues/34327/assignees os-steve, one stroke); this os-dev-report comment via post-stamped.mjs", "open_questions": [ { "question": "Ask 2: the console names the ai namespace and provider key as constants mirroring the server's CLOUD_MANAGED_HIDDEN_SETTINGS. Keep that, or add a served marker on the projected manifest later?", "options": [ "A keep the console constants; the manifest check makes the line vanish if the server stops withholding provider", "B a served marker (e.g. a managed flag on the projected manifest): Clause-2, server lane card" ], "recommendation": "A, because it needs no contract change and fails toward no line, never a false line; B only if another namespace is projected partially." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — onClearSaved on a stale page still toasts the server sentence for a managed refusal (unreachable on a fresh hosted page; PR Acceptance notes)" ] }Stamped 2026-11-16T07:06Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
席位核对 ACCEPT 已发在 PR #34327(head febd90e),已转 ready 并开启自动合并 · 2026-11-16T07:27Z
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Landed · 2026-11-16T07:47Z
8436f67aonmain(Fixes #34149)State:
pm:dispatchedremoved, assignee cleared.