Skip to content

fix(settings)!: a cloud-managed environment does not offer its file storage or AI provider settings - #34254

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/area-S3-33891
Nov 16, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/area-S3-33891

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

Requested by Steedos · project thread

Fixes #33891

Clause-②: no (narrowing) — in a cloud-managed process (OS_CLOUD_MANAGED=1) only, the settings doors stop serving storage and the ai provider/model/credential/generation-default/embedder keys: GET /api/settings leaves them out, GET/PUT /api/settings/storage, a PUT /api/settings/ai naming a hidden key, and POST storage/*, ai/test, ai/test_embedder, ai/reset answer 409 RESOURCE_CONFLICT (details.managedBy: 'platform'), and the data-API reads of the four settings stores leave out those rows for any non-system caller. A self-hosted deployment answers exactly as before.
Metadata-protocol: none
Skills-docs: none — no skill under skills/** teaches the hosted settings doors or the storage / AI settings pages.

BREAKING for a caller of a cloud-managed environment: its file storage and AI provider are the hosting platform's, so the settings doors no longer show or change them. The registry stays whole, so the storage and AI services keep reading every value in process. The changeset carries the ADR-0087 not-required marker (no-migration-prescription).

维护者速读

  • 改了什么:托管环境(OS_CLOUD_MANAGED=1)下,设置接口不再显示或修改文件存储设置、AI 提供商/模型/凭据/生成默认值/Embedder;会话标题与可观测性仍可配置;Setup 菜单的「文件存储」在托管下隐藏。
  • 为什么改:这些由托管平台提供和配置,环境管理员看到或改动它们只会误导或弄坏平台配置(维护者裁定方案 A:服务端按托管裁剪并拒绝)。
  • 风险与回滚:只影响托管进程;自托管完全不变。注册表保持完整,存储与 AI 服务在进程内照常读取。回滚即还原本 PR。
  • 先看:packages/services/service-settings/src/cloud-managed-settings.ts(隐藏表与裁剪规则)、packages/services/service-settings/src/settings-routes.ts(各入口的检查点)、packages/services/service-settings/src/settings-read-door.ts(数据 API 读取过滤)。
  • 两分钟验证:pnpm --filter @objectstack/service-settings exec vitest run src/cloud-managed-settings.pin.test.ts src/settings-read-door.pin.test.ts,预期全绿:托管各入口 409,自托管对照照旧。
  • 需要你做的:无,席位落地;控制台「此项由平台托管」提示页另由席位开 ui 卡。

What changes

  • New packages/services/service-settings/src/cloud-managed-settings.ts:
    • The ONE hosted table CLOUD_MANAGED_HIDDEN_SETTINGS. storage is hidden whole, with every action. ai hides a key list: provider, every per-provider model / credential / base-URL key, temperature, max_tokens, request_timeout_ms and the six embedder_* keys; its test, test_embedder and reset actions are refused. CLOUD_MANAGED_SERVED_AI_KEYS is the pinned complement: title_generation_enabled, title_max_length, trace_enabled, log_prompts.
    • Gated on isCloudManaged() from @objectstack/core, and nothing else.
    • The projection drops the hidden keys, the refused action buttons, and every group section left with no served key. The ai page keeps its Conversation titles and Observability sections.
    • The refusal is SettingsCloudManagedError, answered 409 RESOURCE_CONFLICT with details: { namespace, managedBy: 'platform', keys? | actionId? }.
  • settings-routes.ts asks the table at every door:
    • GET /api/settings: projected list;
    • GET /api/settings/:namespace: whole-hidden namespaces refused first; manifest, values and live projected;
    • PUT /api/settings/:namespace: refused whole, before anything is applied, when the body names a hidden key;
    • POST /api/settings/:namespace/:actionId: the refused actions.
    • The refusal is mapped once, in the family door.
  • settings-read-door.ts: in a hosted process a non-system read of sys_setting, sys_setting_audit, sys_platform_setting or sys_platform_setting_audit ANDs in cloudManagedRowScope(). That scope leaves out every storage row and every row of a hidden ai key. A system context still reads all rows.
  • @objectstack/platform-objects: nav_settings_storage carries visible: 'features.cloudManaged != true'. features is a root every nav entry binds. The AI entry stays, because part of its page is still served.

Tests

  • New service-settings/src/cloud-managed-settings.pin.test.ts drives every route twice on one composition: hosted, and self-hosted as the control.
    • The table classifies every ai key as hidden or served, never both or neither. A new ai key fails here until it is classified.
    • GET list, GET storage, GET ai (keys, values, groups, buttons), PUT storage, and a PUT ai naming temperature beside title_max_length: the call is refused and nothing is written. The served-only PUT is written. POST storage/test, ai/test, ai/test_embedder and ai/reset are covered too.
    • The in-process reader still reads storage and ai.provider.
    • The storage nav entry's visible, and that the AI entry has none.
  • settings-read-door.pin.test.ts gains a hosted and self-hosted describe on the real engine. Over sys_setting and sys_platform_setting, a reader holding every capability reads only ai.trace_enabled when hosted and all four rows self-hosted; a count agrees with the list; the system reads all four.

Acceptance notes

  • E1: this is a new door check, not branding's registry withholding. The registry stays whole, so storage-service-plugin.ts's in-process getNamespace('storage') and the AI service's reads keep working; this is pinned.
  • E2: the refusal code is the house cloud-managed answer, 409 RESOURCE_CONFLICT, with no code minted (as in plugin-auth cloudManagedRefusal). It is told apart from 404 UNKNOWN_NAMESPACE by code, and details.managedBy: 'platform' names the reason. No error-code ledger change.
  • ai/reset is refused besides the three named actions, because it clears every stored ai row, hidden ones included.
  • The 「此项由平台托管」 console page is not in this PR (ui/** is closed to the server seat). It is reported for a ui follow-up card.
  • A live statement on the ai page is filtered by key. A banner text is served as its provider writes it; no provider in this repository registers one for ai.
  • Base: this PR is cut from origin/main and is independent of the knowledge-settings PR for 知识库不是当前重点:默认不加载知识库,Setup 的「知识库」页和「AI 与向量化」里的向量化一段只在挂了知识库服务时才出现 #33933. Whichever lands second re-reads the other's ai manifest change. The hidden key list names the embedder_* keys whichever way that lands.

Verification

All verify runs go through scripts/pm/os-verify-lock.sh and quote the lock's VERDICT command-exit 0 line. Final head is 6fc6664eed: 4018e852c2 plus a merge of origin/main.

Package tests and typecheck
  • At 4018e852c2:
    • @objectstack/service-settings test: Test Files 76 passed (76), Tests 1501 passed (1501); typecheck exit 0.
    • @objectstack/platform-objects test: Test Files 122 passed (122), Tests 2007 passed (2007).
  • At the final head 6fc6664eed: cloud-managed-settings.pin.test.ts, settings-read-door.pin.test.ts and settings-translation-coverage.test.ts (which the merge changed): Test Files 3 passed (3), Tests 220 passed (220).
Dogfood battery (narrowing) at 6fc6664
  • pnpm --filter '@objectstack/dogfood^...' build: exit 0.
  • pnpm --filter @objectstack/dogfood test under the lock, with no shard and no path: Test Files 4 failed, 465 passed, 3 skipped (472); Tests 8 failed, 3966 passed, 42 skipped (4016).
  • The four failing files are bare-name-one-holder-flow-family, package-commit-revert-path-package, permission-set-clone-door and wall-package-refusal.
    • None of them sets OS_CLOUD_MANAGED or reads /api/settings.
    • Re-run alone on the same head and the same build, they pass: Test Files 4 passed (4), Tests 58 passed (58).
    • Two of them also failed in an unrelated run on another branch the same night.
    • Read as box contention, not as this change; CI's battery is the deciding run.
Ablation of every pin (scripts/ablation-replace.mjs, WRAP restore, blob == HEAD and git diff HEAD empty after each leg)

Tests are src-aliased, so no dist leg is needed.

  • B1, the GET-namespace check removed: red. GET storage hosted.
  • B2, the write check removed: red. PUT storage, and the whole-call refusal of temperature plus title_max_length.
  • B3, the action check removed: red. storage/test, ai/test, ai/test_embedder, ai/reset.
  • B4, the list projection removed: red. GET /api/settings.
  • B5, the manifest projection removed: red. GET ai.
  • B6, the values projection removed: red. GET ai.
  • B7, the refusal mapping disabled: red, 7 cases (every refusal falls to the route's own arm).
  • B8, the read-door hosted scope disabled: red, 4 cases (list and count over sys_setting and sys_platform_setting).
  • B9, the nav visible removed:
    • The first attempt was a no-op: the tool refused it because the replacement already occurred in the file.
    • B9b: red, the storage entry pin.
  • The live projection has no ablation leg: no provider in this repository registers an ai live statement.
Gates
  • dispatch-gates --commands at 6fc6664eed: 72 families. --ran: 72 derived, 70 run, 2 NOT-MEASURED (derived from a recorded exit 3).
    • check:dual-build-cjs-loads needs a full pnpm build of every package.
    • check:type-check-debt's closure build timed out in the shared lock queue.
    • CI runs both.
  • check-platform-checklist --changed-from origin/main: OK, 9 anchors, 0 lost.
  • check-nul-bytes: OK. eslint --no-inline-config on the changed files: exit 0.
  • git merge-tree --write-tree origin/main HEAD: exit 0.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5

…torage or AI provider settings

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
…der section is declared

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/platform-objects, @objectstack/service-settings, touching 62 documentable anchor(s).

31 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json 36c0e96aa0ad1195293a5997e96fb88341815802.

⛔ 16 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 7 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 11 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 36c0e96aa0ad1195293a5997e96fb88341815802 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 0e8f441a34f944d3d1acb079af216849d08dbaf8 — the merge of head 6fc6664eedda467e1cd164e86c5fcbc7ab771fd0 into base 36c0e96aa0ad1195293a5997e96fb88341815802, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 0e8f441a34f944d3d1acb079af216849d08dbaf8 && git checkout 0e8f441a34f944d3d1acb079af216849d08dbaf8
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 36c0e96aa0ad1195293a5997e96fb88341815802 6fc6664eedda467e1cd164e86c5fcbc7ab771fd0 && git checkout -B drift-repro 36c0e96aa0ad1195293a5997e96fb88341815802 && git merge --no-ff 6fc6664eedda467e1cd164e86c5fcbc7ab771fd0

node scripts/docs-audit/affected-docs.mjs --json 36c0e96aa0ad1195293a5997e96fb88341815802

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 36c0e96aa0ad1195293a5997e96fb88341815802 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW

Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head 6fc6664 · 2026-11-16T04:02Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM
Review claim (review-a, S3) · head 6fc6664 · 2026-11-16T04:04Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM

Review — PASS (L1; the contract record is review#2's)

Head-sha: 6fc6664eedda467e1cd164e86c5fcbc7ab771fd0
Reviewer: review-a (areas S1 + S3) · read 2026-11-16T04:06Z · diff read against the merge's main parent dfb8ed35 (7 files, +573/−6, matches the PR files list)
Implemented-by: session_01QsR2jTEivi2wogPpeo3xd5 (area S3 dispatch) · Reviewed-by: session_01QsR2jTjrNnh6b2BkCXFugM
Ruling implemented: option A on the card's decision («服务端按托管裁剪并拒绝», edits E1–E5) · dev report 6906008980

Contract face: a declared narrowing, Clause-②: no (narrowing). review#2 claimed the CONTRACT_REVIEW_TIER record at this head (6906933086). When that record is a PASS, this read adopts it and no second record is made. Landing waits on it.

What holds

  • One table, every door. CLOUD_MANAGED_HIDDEN_SETTINGS is read by every door: the list, the namespace read (manifest, values and live), the write, the actions, and the data-API read door. Every rule returns undefined unless isCloudManaged(), so a self-hosted process takes exactly the old path, and every door is driven both ways in the pins.
  • The route inventory is complete. The settings router mounts six routes. The four namespace routes each ask the table. The two deployment/notice routes carry no storage or AI value.
  • The write is refused whole. assertWriteServed runs on the body's keys before the echoed-mask drop and before anything is applied. The pin writes a hidden key beside a served one and asserts that neither lands, with details.keys naming only the hidden one.
  • The key set is closed. The ai hidden list and the served complement are pinned to cover every manifest key exactly once. A provider key added later turns that pin red instead of being served by default.
  • The data-API rows match the routes. For a non-system caller the read door ANDs in namespace $nin [storage] and, for ai, namespace $nin [ai] OR key $nin [hidden], on all four objects. Both audit objects carry namespace and key, so the predicate applies to them as written. A system context reads every row, which keeps the in-process storage and AI readers whole. That is pinned too.
  • Registry whole. The storage service's getNamespace('storage') and the AI service's reads are untouched, so the hosted platform's own configuration keeps working.
  • Setup entry. visible: 'features.cloudManaged != true' is the same hide-when-on predicate the invitation actions carry, on the /auth/config flag.
  • The refusal shape is 409 RESOURCE_CONFLICT with details.managedBy: 'platform', the same as the other cloud-managed doors. A console can tell it apart from 404 UNKNOWN_NAMESPACE.

ai.reset in the refused set: agreed. The manifest says reset "clears every saved row in this namespace", so on a hosted process it would delete the hidden rows the platform configured. That is a write to the hidden keys by another door, the same thing the PUT refuses whole. A served-keys-only reset would be a new action and outside this ruling. An administrator can still rewrite the four served keys by PUT. The refused button is also taken out of the served manifest, so the page does not offer what the door refuses.

The battery. 8 of 4016 were red, in 4 files that never set OS_CLOUD_MANAGED, and each is reported green when run alone at this head. That is the same reading I accepted on #34082, so I accept it here. Note that CI's Dogfood Regression Gate success on this head is the aggregate over a shard matrix that pull_request runs skip, not a battery result. The shards run in the merge queue.

Nits (no re-review needed)

  1. The hosted row scope is pinned on sys_setting and sys_platform_setting only. One row on each audit object would pin the two objects the changeset also names.
  2. nav_settings_storage is not listed in PUBLIC_AUTH_FEATURES.cloudManaged.gatedInputs. That ledger holds object actions today, so this may fall outside its shape. Book it there if a reader of that ledger is meant to see nav entries too.
  3. The namespace read refuses storage before the authorization read, so a caller without the settings capability learns that the environment is cloud-managed. /auth/config already serves that flag to everyone, so nothing new is disclosed.

Gates: the latest run of each check is green: 33 success, 18 skipped, none red or pending. The two earlier PR-body guards failures (02:38Z, 03:01Z) were superseded by the 03:10Z success.

Can land once review#2's record at this head is a PASS.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 6fc6664eedda467e1cd164e86c5fcbc7ab771fd0
Local-runs: none
Scope: packages/services/service-settings/src/cloud-managed-settings.ts, packages/services/service-settings/src/settings-routes.ts, packages/services/service-settings/src/settings-read-door.ts, packages/services/service-settings/src/cloud-managed-settings.pin.test.ts, packages/services/service-settings/src/settings-read-door.pin.test.ts, packages/platform-objects/src/apps/setup-nav.contributions.ts, .changeset/33891-cloud-managed-storage-ai-settings.md + packages/services/service-settings/src/manifests/ai.manifest.ts, packages/services/service-settings/src/manifests/storage.manifest.ts, packages/services/service-settings/src/settings-service.ts, packages/core/src/stack-auth.ts, packages/spec/src/ui/app.zod.ts, packages/platform-objects/src/system/sys-setting-audit.object.ts

Read at 2026-11-16T04:11Z. First review of this head; claim: comment 6906933086; no lane request (owed per check-owed-reviews). Independence: implemented in a project thread for domain:server#5; reviewed by os-tesla, who neither dispatched nor implemented it.

① Derived judgments

  • The ruling is implemented as ruled. Option A (server-side trim and refuse) and its route E1 to E5 from claim 6902019399: a door check with the registry left whole, the house refusal with no code minted, one table asked at every ruled door, ai hidden per key, a write naming a hidden key refused whole. Each is present in the diff and none is exceeded.
  • One predicate. Every check goes through cloudManagedRule or cloudManagedRowScope, and both read isCloudManaged() from @objectstack/core and nothing else. No second reading of the environment, no request-derived input.
  • The hidden table is exactly the ruled set. Read against ai.manifest.ts at this head: the 31 hidden ai keys are every provider, per-provider model, credential, base-URL and account key, the three generation defaults and the six embedder_* keys; the four served keys are the conversation-title pair and the observability pair. Nothing of titles or observability is hidden; no provider, credential, model or Embedder key is left served. storage is hidden whole, with every action, the built-in reset included. ai/reset is refused beyond the three named actions because it clears hidden rows; that is inside the ruling's intent, and the PR says so.
  • Door census, settings routes. The family mounts six routes. List: projected. Namespace read: whole-hidden refused first, then manifest, values and live each projected. Write: asserted after the body envelope is unwrapped and before anything is applied, so the answer does not depend on which accepted body shape names the key. Actions: asserted before the handler runs. The two deployment-notice routes carry no settings value. The write route answers only the keys it was sent, and the service's whole-state validation speaks only about touched keys, so a served-only write does not report a hidden key.
  • Door census, data API. The four settings stores expose read only, and the read door ANDs the hosted row scope into every read verb for a non-system caller; a system context reads all rows. Reads that arrive by REST, MCP or batch reach the same engine seam.
  • In-process readers are unaffected. settings-service.ts is not in the diff. The storage service's getNamespace('storage') and the AI readers call the service directly and are served every value; pinned on both postures.
  • Self-hosted is unchanged. With the predicate false, every helper returns its input or null. Each hosted case has a self-hosted control on the same composition.
  • Sibling PR fix(settings)!: offer the knowledge settings only where the knowledge service is mounted #34223 (knowledge / Embedder). Read at its current head: it keeps the embedder_* key names and test_embedder inside the ai namespace, contributed by the knowledge service where mounted. This table names all of them, so the hosted table governs whichever lands first, and the classification pin stays green after the split because it does not require a hidden key to be declared. The two nav hunks touch different entries.

② Semver level

  • Clause-②: no (narrowing) on the PR body and the changeset, same wording of what narrows; honest: hosted callers lose served answers, self-hosted callers lose nothing.
  • BREAKING marker present with a what-to-do sentence. Changeset patch on @objectstack/service-settings and @objectstack/platform-objects; the no-major gate reads it as the narrowing arm at patch and is green.
  • ADR-0087 marker not-required (no-migration-prescription): correct, no schema key, accepted value or stored row changes.
  • Metadata-protocol: none: correct, no spec file in the diff; the nav entry uses the features root that app.zod.ts already declares for a navigation entry's visible.
  • Skills-docs: none with its reason: accepted; no skill teaches these pages.
  • No error code minted; RESOURCE_CONFLICT already exists, no ledger change needed.
  • CI at this head: 59 check-runs, all completed. 37 success, 20 skipped, 2 failure. Both failures are earlier runs of PR-body guards (claim · duplicate · Part-of · single-writer path), from before the claim was re-posted with the PR's own branch; the same guard also has a success run on this head. Nothing is still running. The seat should confirm the newest run of that guard is the green one before landing.

CI completed before posting: 59 check-runs on this head, 37 success, 20 skipped, 2 failure — both are superseded earlier runs of PR-body guards; the newest run of that guard on this head is a success.

③ Boundary flags

  • No governed path and no published schema in the seven files: the path reading decides no face, and the review is owed by the narrowing declaration alone. No Tier H path. No ui/** path; the "managed by the platform" console page is correctly left to a ui follow-up card the seat files.
  • The read door's hosted scope applies to the four settings stores. Other packages' read surfaces are outside this PR's file surface and outside the ruled door list; see S1.
  • A caller of a hosted environment that lacks the settings capability now meets the hosted answer before the permission answer on the refused doors. It states only what the public table states.

④ Design judgment

The narrowing against the published contract on main: it takes a served answer away only where the runtime declares itself cloud-managed, which is the ruled outcome, and it makes the refusal the house cloud-managed answer that a console can tell apart from an unknown namespace. A door check instead of a registry withholding is the right shape, because the readers that stay live under hosted read the registry. The table is small, frozen, and the one place to change.

  • S1 (should-fix) — the door census is closed for the ruled doors, not for every reader of settings history. The hosted table is asked at the settings routes and the four settings stores; whether the platform's other records of a settings change ask it is neither changed nor pinned here. No credential value is served anywhere I read. This wants a carrier card in the owning lane before any doc states that a hosted environment never shows these settings; detail is with the seat.
  • S2 (should-fix) — the write door's refusal is pinned for one accepted body shape only. The code is correct for both at this head; add a hosted case for the other accepted shape so the order of the check cannot regress silently.
  • N1 (nit) — ai hides by naming keys and actions, so anything not named is served. The classification pin walks the bundled manifest's keys; it does not walk action ids, nor specifiers another package contributes to ai at run time. Consider classifying action ids in the same pin.
  • N2 (nit) — the hosted cases in the read-door pin cover the two stores, not their two audit objects; they ride the same seam, one case each would say so.
  • N3 (nit) — the projected ai page keeps its namespace description, which still speaks of provider, credentials and host-installed packages; the nav label stays "AI & Embedder". Copy for the ui follow-up.
  • N4 (nit) — the live projection has no test leg, as the PR states; acceptable while nothing registers one for ai in this repository.

No must-fix.

Implemented-by: claude/area-S3-33891
Reviewed-by: session_01L9qibxTeW8xHnxoHxWNHWW

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

席位核对

ACCEPT and landing · area S3 · 2026-11-16T04:13Z · head 6fc6664eedda467e1cd164e86c5fcbc7ab771fd0

Ready + auto-merge under the area S3 landing line (maintainer, project thread, 2026-11-15T11:06Z) and the pm-dispatch landing procedure (maintainer, 2026-11-15T15:56Z).


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 16, 2026 04:14
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 021abd4 Nov 16, 2026
58 of 60 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/area-S3-33891 branch November 16, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant