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
Knowledge settings: verify or correct the Turso group's cloud per-organization fallback sentence #37680
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p3
Filing gate: ② follow-up out of #37104 (PR #37668, os-dev report 7201999210 out-of-scope finding, seat handoff 7202179921), filed by the owning zone ai-37000 under #37104 at the seat's direction, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · domain:server · Task · p3 (seat-directed, low) · reach: knowledge settings page text · evidence: read, not run (cloud not measurable here).
The Turso group's English fallback text says: "In a cloud deployment with a database per organization, leave blank to reuse that organization's own database connection". In this repository an empty turso_url opens the store's own knowledge.db (Test connection says so). The cloud behaviour could not be measured from this repo.
Acceptance
The sentence is checked against the cloud deployment; it is kept, corrected, or moved to the cloud repo's own contribution, with all 11 locale bundles in step.
Parked by seat repo:objectstack#1 (area o1-C, epic #37000 hand-off 7206523866): this card amends files of PR #37668 (the knowledge settings manifest and its changeset / docs note), which is open and unmerged, so its fix would stack on an unmerged PR. Pre-claim deps check failed in o1-C; back to pm:queue when #37668 merges.
Also owes a cloud fact before dispatch (per-organization fallback for the Turso group): o1-C sends Request: cloud-confirm when it claims.
Re-parked by area o1-C · 2026-11-27T08:48Z: #37668 merged (9f9db81), so the earlier blocker is gone, but #37678 (claimed now) moves the Turso group, and with it this sentence and its 11 locale strings, out of knowledge.manifest.ts into the store that reads it. Editing the sentence before that lands would stack on an unmerged PR. The cloud fact (what an empty turso_url does in a per-organization cloud deployment) is still owed; o1-C sends Request: cloud-confirm when this card is claimed.
Re-parked by area o1-C · 2026-11-27T11:01Z: #37678 is delivered (PR #37902 merged ff63b02); the Turso group, with this sentence and its 11 locale strings, now lives in packages/plugins/knowledge-turso/src/settings-contribution.ts. #37907 edits the same group (it moves the Test connection button there), so this card runs after it. The cloud fact is still owed; o1-C sends Request: cloud-confirm when it claims. Also note from the #37902 review: the group description's "On PostgreSQL … these fields are not read" is now never shown on PostgreSQL, so that clause can go with this sentence.
Cloud fact for this card (what o1-C would ask with Request: cloud-confirm), at the maintainer's request · 2026-11-27T11:32Z · read from code at cloud main 98b536f and objectstack main 73d5e347; read, not run.
What an empty turso_url does, per deployment shape
1. Hosted cloud (one database per environment, one organization per database, cloud ADR-0114): the store is never mounted, so the field is never shown and never read.
knowledge sits in NOT_OFFERED_ON_CLOUD, cloud packages/objectos-runtime/src/capability-coverage.test.ts:70-83: the framework's resolveKnowledgeStore would put a libSQL file on one instance's local disk (a hosted environment's database is a remote libSQL URL, not PostgreSQL), so offering it "waits on a per-environment store decision".
The token has no CAPABILITY_PROVIDERS entry and is not in HOSTED_FORCED_REQUIRES (cloud apps/objectos/hosted-slate.ts:36). An environment whose artifact declares it takes the unmapped branch: packages/objectos-runtime/src/capability-loader.ts:1205-1236 records it in failedRequired, and artifact-kernel-factory.ts:2259-2272 logs REQUIRED capabilities failed to load and reports the environment failed to the control plane. The environment still serves, without a knowledge store.
Nothing else in cloud constructs KnowledgeServicePlugin or KnowledgeTursoPlugin (git grep over apps/** and packages/**: no hit; packages/knowledge-turso left cloud with cloud#5011). Without the service, search_knowledge is not registered either (cloud packages/service-ai/src/tools/knowledge-tools.ts:27-29).
The Turso group is added to the page only by KnowledgeTursoPlugin.init() under urlFromSettings (objectstack packages/plugins/knowledge-turso/src/plugin.ts:427-431), so a hosted tenant's Knowledge page never carries the sentence.
EE's dev multi-tenant shape (OS_MULTI_TENANT=1) is the same: its tenant kernels are built by the hosted kernel factory (cloud apps/objectos-ee/objectstack.config.ts:43-49, :423-426).
2. Self-hosted EE, single environment (objectstack start): the open-source rule, unchanged. EE does not add knowledge to its slate (apps/objectos-ee/objectstack.config.ts:2047-2064, :2469; enterpriseCapabilityRequires maps only ai-studio and governance, packages/security-enterprise/src/license/entitlement.ts:227-229). If the app itself declares it, the framework decides (objectstack packages/core/src/capability-composition.ts:327-352): PostgreSQL ⇒ pgvector and no Turso group; otherwise Turso with urlFromSettings: true, and a blank turso_url is read as unset (plugin.ts:365-367) and opens knowledge.db in the data directory (plugin.ts:475-486 → resolveStoreUrl, :211). One deployment is one organization there, so "per organization" does not arise.
So no shape reuses "that organization's own database connection": the framework store has no code path that reads a tenant or organization connection, and cloud mounts no store of its own.
For the card
Delete "In a cloud deployment with a database per organization, leave blank to reuse that organization's own database connection." from the group's fallback description (objectstack packages/plugins/knowledge-turso/src/settings-contribution.ts:49-55). None of the 11 locale bundles in the same file (knowledgeTursoSettingsTranslations, :102) carries this sentence, so the locales need no edit for it. Nothing moves to the cloud repo: cloud has no store to describe until the per-environment store decision above is made.
If the group should still say what blank means, the true sentence is "Leave blank to use knowledge.db in the data directory."
The PostgreSQL clause from 7216590701 goes in the same edit; that one is in every locale bundle.
The cloud fact is given here, so o1-C need not send Request: cloud-confirm when it claims.
Claim: PM loop round 5 · area o1-C (epic #37000; area concurrency 8) · 2026-11-27T11:34Z
Session: session_016WV4cwPhGV4g9p1BGQaZbP
Account: os-elon-musk
Branch: claude/area-o1C-37907 (folded into #37907's branch and PR)
Worktree: objectstack-issue-37907
Domain: domain:server
Area: o1-C
Seat: repo:objectstack#1
File surface: the Turso group's fallback description in packages/plugins/knowledge-turso/src/settings-contribution.ts (:49-55) and its locale strings in the same file (knowledgeTursoSettingsTranslations, :102): delete the cloud per-organization sentence (English only carries it), and remove the "On PostgreSQL … these fields are not read" clause in every locale (re-park note 7216590701); optionally say "Leave blank to use knowledge.db in the data directory." in every locale.
Container & model: XS, mode:subagent (same dev as #37907), model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: medium (reason: XS copy correction, folded)
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack's own text, packages/plugins/knowledge-turso/src/settings-contribution.ts | the group says a blank URL reuses an organization's own database in a per-organization cloud deployment, which no deployment does | administrators configuring from the page text
Thread-read: 7217205358
Premise: holds, read — the cloud fact 7217205358 (repo:cloud#5, cloud main 98b536f, objectstack main 73d5e34) says no deployment shape reuses an organization's connection: hosted cloud never mounts the store, self-hosted opens knowledge.db for a blank URL (plugin.ts:365-367, :475-486). The sentence is at settings-contribution.ts:49-55 on origin/main 73d5e34.
Serial constraints cleared: same file as #37907 (claimed, in flight) — folded instead of serial.
Pre-claim lane: packages/plugins/knowledge-turso/** ⇒ domain:server.
Pre-claim deps: Blocked-by #37907 resolved by the fold; #37678 closed (PR #37902); cloud fact received (no Request: cloud-confirm owed).
Prior rulings read: none on the surface; the cloud seat's fact is the governing reading.
Fold-or-serial: folded into #37907 (same file, same group; Fixes #37907 + Fixes #37680).
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpriority:p3
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:server · Task · priority:p3 ·
pm:queue· size XS; rationale: verify or correct the Turso group's cloud per-organization fallback sentence (an out-of-scope note from PR #37668). It must be verified first: p3.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs
Parked by seat repo:objectstack#1 (area
o1-C, epic #37000 hand-off 7206523866): this card amends files of PR #37668 (the knowledge settings manifest and its changeset / docs note), which is open and unmerged, so its fix would stack on an unmerged PR. Pre-claim deps check failed in o1-C; back topm:queuewhen #37668 merges.Also owes a cloud fact before dispatch (per-organization fallback for the Turso group): o1-C sends
Request: cloud-confirmwhen it claims.Blocked-by: #37668
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Re-parked by area o1-C · 2026-11-27T08:48Z: #37668 merged (9f9db81), so the earlier blocker is gone, but #37678 (claimed now) moves the Turso group, and with it this sentence and its 11 locale strings, out of
knowledge.manifest.tsinto the store that reads it. Editing the sentence before that lands would stack on an unmerged PR. The cloud fact (what an emptyturso_urldoes in a per-organization cloud deployment) is still owed; o1-C sendsRequest: cloud-confirmwhen this card is claimed.Blocked-by: #37678
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Re-parked by area o1-C · 2026-11-27T11:01Z: #37678 is delivered (PR #37902 merged ff63b02); the Turso group, with this sentence and its 11 locale strings, now lives in
packages/plugins/knowledge-turso/src/settings-contribution.ts. #37907 edits the same group (it moves the Test connection button there), so this card runs after it. The cloud fact is still owed; o1-C sendsRequest: cloud-confirmwhen it claims. Also note from the #37902 review: the group description's "On PostgreSQL … these fields are not read" is now never shown on PostgreSQL, so that clause can go with this sentence.Blocked-by: #37907
objectstack-fleet commentedon Nov 27, 2026
repo:cloud#5 · hotlong · session_01Q4EjjM14LaGXrUyBb4bBgf
Cloud fact for this card (what o1-C would ask with
Request: cloud-confirm), at the maintainer's request · 2026-11-27T11:32Z · read from code at cloud main98b536fand objectstack main73d5e347; read, not run.结论(速读):云版里
turso_url留空不会“复用本组织数据库”。托管环境(每环境一库、一组织一库)根本不挂knowledge能力:Turso 设置组从不出现,也不会回落到共享库或静默写别的库;环境若声明requires: ['knowledge'],会被记为必需能力加载失败。任何代码都不会把组织自己的库连接交给知识存储。这句应删掉。What an empty
turso_urldoes, per deployment shape1. Hosted cloud (one database per environment, one organization per database, cloud ADR-0114): the store is never mounted, so the field is never shown and never read.
knowledgesits inNOT_OFFERED_ON_CLOUD, cloudpackages/objectos-runtime/src/capability-coverage.test.ts:70-83: the framework'sresolveKnowledgeStorewould put a libSQL file on one instance's local disk (a hosted environment's database is a remote libSQL URL, not PostgreSQL), so offering it "waits on a per-environment store decision".CAPABILITY_PROVIDERSentry and is not inHOSTED_FORCED_REQUIRES(cloudapps/objectos/hosted-slate.ts:36). An environment whose artifact declares it takes theunmappedbranch:packages/objectos-runtime/src/capability-loader.ts:1205-1236records it infailedRequired, andartifact-kernel-factory.ts:2259-2272logsREQUIRED capabilities failed to loadand reports the environmentfailedto the control plane. The environment still serves, without a knowledge store.KnowledgeServicePluginorKnowledgeTursoPlugin(git grepoverapps/**andpackages/**: no hit;packages/knowledge-tursoleft cloud with cloud#5011). Without the service,search_knowledgeis not registered either (cloudpackages/service-ai/src/tools/knowledge-tools.ts:27-29).KnowledgeTursoPlugin.init()underurlFromSettings(objectstackpackages/plugins/knowledge-turso/src/plugin.ts:427-431), so a hosted tenant's Knowledge page never carries the sentence.OS_MULTI_TENANT=1) is the same: its tenant kernels are built by the hosted kernel factory (cloudapps/objectos-ee/objectstack.config.ts:43-49,:423-426).2. Self-hosted EE, single environment (
objectstack start): the open-source rule, unchanged. EE does not addknowledgeto its slate (apps/objectos-ee/objectstack.config.ts:2047-2064,:2469;enterpriseCapabilityRequiresmaps onlyai-studioandgovernance,packages/security-enterprise/src/license/entitlement.ts:227-229). If the app itself declares it, the framework decides (objectstackpackages/core/src/capability-composition.ts:327-352): PostgreSQL ⇒ pgvector and no Turso group; otherwise Turso withurlFromSettings: true, and a blankturso_urlis read as unset (plugin.ts:365-367) and opensknowledge.dbin the data directory (plugin.ts:475-486→resolveStoreUrl,:211). One deployment is one organization there, so "per organization" does not arise.So no shape reuses "that organization's own database connection": the framework store has no code path that reads a tenant or organization connection, and cloud mounts no store of its own.
For the card
description(objectstackpackages/plugins/knowledge-turso/src/settings-contribution.ts:49-55). None of the 11 locale bundles in the same file (knowledgeTursoSettingsTranslations,:102) carries this sentence, so the locales need no edit for it. Nothing moves to the cloud repo: cloud has no store to describe until the per-environment store decision above is made.knowledge.dbin the data directory."The cloud fact is given here, so o1-C need not send
Request: cloud-confirmwhen it claims.Generated by Claude Code
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Claim: PM loop round 5 · area o1-C (epic #37000; area concurrency 8) · 2026-11-27T11:34Z
Session:
session_016WV4cwPhGV4g9p1BGQaZbPAccount:
os-elon-muskBranch:
claude/area-o1C-37907(folded into #37907's branch and PR)Worktree:
objectstack-issue-37907Domain:
domain:serverArea: o1-C
Seat:
repo:objectstack#1File surface: the Turso group's fallback
descriptioninpackages/plugins/knowledge-turso/src/settings-contribution.ts(:49-55) and its locale strings in the same file (knowledgeTursoSettingsTranslations, :102): delete the cloud per-organization sentence (English only carries it), and remove the "On PostgreSQL … these fields are not read" clause in every locale (re-park note 7216590701); optionally say "Leave blank to useknowledge.dbin the data directory." in every locale.Container & model: XS,
mode:subagent(same dev as #37907), model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: medium (reason: XS copy correction, folded)Clause-②: no
Metadata-protocol: none
Responsibility: objectstack's own text,
packages/plugins/knowledge-turso/src/settings-contribution.ts| the group says a blank URL reuses an organization's own database in a per-organization cloud deployment, which no deployment does | administrators configuring from the page textThread-read: 7217205358
Premise: holds, read — the cloud fact 7217205358 (repo:cloud#5, cloud main 98b536f, objectstack main 73d5e34) says no deployment shape reuses an organization's connection: hosted cloud never mounts the store, self-hosted opens
knowledge.dbfor a blank URL (plugin.ts:365-367, :475-486). The sentence is at settings-contribution.ts:49-55 on origin/main 73d5e34.Serial constraints cleared: same file as #37907 (claimed, in flight) — folded instead of serial.
Pre-claim lane:
packages/plugins/knowledge-turso/**⇒domain:server.Pre-claim deps: Blocked-by #37907 resolved by the fold; #37678 closed (PR #37902); cloud fact received (no
Request: cloud-confirmowed).Prior rulings read: none on the surface; the cloud seat's fact is the governing reading.
Fold-or-serial: folded into #37907 (same file, same group;
Fixes #37907+Fixes #37680).objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Close-out · area o1-C · 2026-11-28T06:15Z
Delivered by PR #37982 (merged bbd9733 at 2026-11-28T06:04Z). Nothing remains on this card for the area.
pm:dispatchedremoved with this comment.