Repository navigation
Description
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Filing gate: ① follow-up of a merged-or-landing PR (L1/L2 follow-ups of PR #37902, one card per PR, items ticked per the review-follow-ups exception) · Source: topic #37000
Grading: area:ai · domain:server · Task · p3 · reach: the Knowledge settings page on a PostgreSQL deployment (contract record 7215949880 ③ and N1, measured on the handler's no-URL answer) · evidence: read.
Dedupe: repo:objectstack-ai/objectstack is:issue "PR #37902" → 1 hit (#37678, the card the PR fixes); is:issue "Test connection" knowledge → 10 hits, open ones #37678 and #37680 (neither moves the button; #24769 closed, it registered the handler). Reader: area o1-C of seat repo:objectstack#1 claims it after #37902 merges, sequenced with #37680 (same Turso group; whichever is claimed second runs overlap-check against the other).
维护者速读
- 做什么:PostgreSQL 部署的知识设置页上还留着「测试连接」按钮,它只检查已经不在页上的 Turso 字段;把按钮跟着 Turso 字段一起搬到 Turso 存储那边。顺带两个复审小项。
- 谁受益:PostgreSQL 部署的管理员不会看到一个跟本部署无关的按钮。
- 不做会怎样:按钮还在,点了只回一句「没配置 Turso URL」,内容属实、不改任何东西。
- 需要你做的:无。
What
PR #37902 (Fixes #37678, #37679) moves the Turso group out of packages/services/service-settings/src/manifests/knowledge.manifest.ts into @objectstack/knowledge-turso's settings contribution. Three review items from L1-a ACCEPT 7215975557 and contract record 7215949880 remain:
- N1 — Test connection. The button and its
knowledgeTestActionHandlerregistration stay on the base page, so on a page without the Turso fields it checks fields the page does not show. Move both into knowledge-turso's contribution (option B in the dev report on Knowledge settings: the Turso fields are contributed by the store that reads them, not shown on PostgreSQL deployments #37678, 7215704211), so a pgvector page has no Turso check; move the test-door pins with it. - N2 — silent no-contribution.
KnowledgeTursoPlugin.init()discards the booleancontributeKnowledgeTursoSettingsreturns. When it is false while the store still reads from settings, the store opens its default file with no log line. Warn onfalseunderopensFromSettings(). - N3 — the stored token's secret row. The new changeset's tidy sentence names the
knowledgesetting rows but not thesys_secretrow a savedturso_auth_tokenpoints at; without the store no API door clears it. Add the clause (on the changeset if still pending, else oncontent/docs/ai/knowledge-rag.mdx).
Acceptance
- On a deployment without knowledge-turso's store-from-settings, the Knowledge page shows no Test connection action and
POST /api/settings/knowledge/testanswers as for an undeclared action; with it, the action is on the page and answers as today. Pins in both cases. - A false contribution under
opensFromSettings()logs one warning; pinned. - The tidy text names the
sys_secretrow.
Blocked-by: #37902
Activity
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Unblocked by area o1-C · 2026-11-27T11:00Z: #37902 merged (ff63b02), the only
Blocked-by:target. Back topm:queuefor triage's first touch; o1-C claims it after. It edits the same Turso group as #37680, which is now parked behind this card.objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:server · Task · p3 · pm:queue · size XS; rationale: a review follow-up on the Knowledge settings page (topic #37000). The Test connection button should move with the Turso fields it checks. It is a small layout nit on an admin page, so the filer's p3 stands. Recorded 2026-11-27T11:18Z.
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 raised to 8 by the maintainer 2026-11-27T11:26Z) · 2026-11-27T11:29Z
Session:
session_016WV4cwPhGV4g9p1BGQaZbPAccount:
os-elon-muskBranch:
claude/area-o1C-37907Worktree:
objectstack-issue-37907Domain:
domain:serverArea: o1-C
Seat:
repo:objectstack#1File surface:
packages/services/service-settings/src/manifests/knowledge.manifest.ts(thetestaction_button :76 andknowledgeTestActionHandler:116 move out),packages/plugins/knowledge-turso/src/settings-contribution.tsandplugin.ts(they move in; N2's warn on a false contribution), the test-door pins in both packages, the new changeset of PR #37902 if still pending (N3'ssys_secretclause) elsecontent/docs/ai/knowledge-rag.mdx, a changeset. ⛔ Do not touch the group description's sentences (#37680).Container & model: XS,
mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: medium (reason: XS review follow-up moving one action with its handler and pins)Clause-②: no (narrowing) — expected: on a deployment without knowledge-turso's store-from-settings,
POST /api/settings/knowledge/teststops answering; the dev measures it and, if so, it goes to the seatMetadata-protocol: none
Responsibility: objectstack's own code,
packages/services/service-settings/src/manifests/knowledge.manifest.ts| the Test connection button and handler stay on the base page after PR #37902 moved the fields it checks | PostgreSQL deployments' adminsThread-read: 7216932830
Premise: holds, read — on origin/main 73d5e34 knowledge.manifest.ts:76 declares the
testaction_button and :116 exportsknowledgeTestActionHandler.Serial constraints cleared: probe overlap against origin/main clean, no PR shares the files; #37680 is Blocked-by this card.
Pre-claim lane:
packages/services/service-settings/**,packages/plugins/knowledge-turso/**⇒domain:server.Pre-claim deps: Blocked-by #37902 (merged ff63b02).
Prior rulings read: L1-a 7215975557 and contract record 7215949880 (N1-N3) are the governing text.
Fold-or-serial: not folded — #37680 runs after it.
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
os-dev-report
{ "issue": 37907, "folded": [37680], "status": "done", "branch": "claude/area-o1C-37907", "pr": "https://github.com/objectstack-ai/objectstack/pull/37982", "head": "9509b9972d4163de0bbfdd28605ae10e6eaaae15", "session": "session_016WV4cwPhGV4g9p1BGQaZbP", "container_model": "Container & model: XS, `mode:subagent`, model: default tier (`dispatch-gates --tier`: \"no path-derived mandate\"), effort: medium (reason: XS review follow-up moving one action with its handler and pins)", "premise_still_valid": true, "summary": "N1: the `test` action_button and knowledgeTestActionHandler left service-settings (manifest entry, handler, package export) and service-knowledge (registration); knowledge-turso's settings contribution declares the button as the last entry of the Turso group and registers the handler only where it adds the group, with the label moved in all 11 locales. Measured: no store or own-url store => no action_button and POST /api/settings/knowledge/test answers 400 SETTINGS_ACTION_FAILED, the same envelope as an undeclared control action; store-from-settings => 200 Turso check. N2: init() warns once when contributeKnowledgeTursoSettings returns false under opensFromSettings(); the function now answers whether the page carries BOTH keys, naming the default file. N3: the pending 37678 changeset's tidy sentence names the sys_secret row (DELIBERATE CORRECTION, declared in the PR body). #37680 folded per the PM's order change: the cloud per-organization sentence is gone from the fallback, the 'On PostgreSQL ... not read' clause is gone from every locale, and the fallback plus 11 locales say blank uses knowledge.db in the data directory (written without backticks, since the page renders plain text). Clause-2 measured: no (narrowing). One shape change to flag: @objectstack/service-settings no longer exports knowledgeTestActionHandler (now exported by knowledge-turso); the changeset carries the FROM/TO import.", "tests": "At 9509b9972d, under os-verify-lock (VERDICT command-exit 0): knowledge-turso settings-contribution + plugin tests 47/47; service-settings knowledge.manifest, retired-keys pin, default-action-handlers pin, translation coverage 173/173; service-knowledge knowledge-settings-contribution 33/33; knowledge-turso full `pnpm test` 4 files 187/187. Typecheck exit 0 for knowledge-turso, service-settings, service-knowledge (test layers included). Ablations, each mutated on disk and restored from HEAD (git status clean after): A1 drop the handler registration -> 3 fail (store page door, PUT+answer, N2 'registers the check'); A2 disable the N2 warn -> 2 fail (both warn pins); A3 cloud sentence back in the fallback -> 1 fail (description pin); A4 PostgreSQL clause back in de -> 1 fail (description pin); A5 button back on the base manifest -> 1 fail ('declares no action'). The first CI head (951635c598) caught an existing plugin.test.ts case whose settings fake had no knowledge page (now warns); fixed in 9509b9972d by giving the fake the page a real boot has.", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 951635c598: 100 commands, run unlocked; 95 exit 0; node scripts/check-empty-changeset.mjs --base origin/main exit 1 (the DELIBERATE CORRECTION class on .changeset/37678-knowledge-turso-settings-group.md, red by design); exit 3 PREREQUISITE NOT MET (NOT MEASURED locally, need builds outside this closure): spec check:skill-examples, check:dual-build-cjs-loads, check:published-readme-exports, check:type-check-debt — CI Lint & Repo Gates and TypeScript Type Check are success. --ran: 100 derived, 100 run, 0 unrun. The last commit touched only plugin.test.ts; pnpm check:test-source-alias and check:nul-bytes re-run at 9509b9972d exit 0. CI at 9509b9972d: success Lint & Repo Gates, TypeScript Type Check, Build Core, Governed Surface Queue Guard, Test UI, Live E2E UI, Dogfood Regression Gate (37 success, 15 skipped); failure Check Changeset (expected, deliberate correction); failure Test Core (8/10): six knowledge-turso cases 'Test timed out in 5000ms' (acceptance/contract file: URL cases, plugin url-wins, the boot-saved file case), none of them asserting anything this diff changed; the same package passed 187/187 locally at the same head and had zero timeouts on the previous head's run of that shard. Read as a runner-load flake; dev does not re-run, seat's call.", "dogfood_battery": "9509b9972d · os-verify-lock VERDICT command-exit 0 (held 41m07s, shared box) · Test Files 490 passed | 3 skipped (493) · Tests 4144 passed | 68 skipped (4212) · no failures", "mcp_calls": "0", "api_writes": "2 — via the fleet-write relay: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/37982/assignees os-elon-musk; read-back 6634 bytes sent = stored, assignee listed, no labels), run 46012278373; and this report, POST /repos/objectstack-ai/objectstack/issues/37907/comments via post-stamped. git push x4 (not REST).", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: seat · Test Core (8/10) at 9509b9972d red on six knowledge-turso 5000ms timeouts (file: URL libSQL cases); green locally at the same head; a re-run is the seat's call." ], "deviations": [ "Scope widened by the PM's mid-task order: #37680 folded (description edits), PR body carries Fixes #37907 and Fixes #37680.", "Removed export: knowledgeTestActionHandler leaves @objectstack/service-settings' entry. Taken as ordered by the dispatch (it names the handler at knowledge.manifest.ts:116 moving) rather than stopped as needs_decision; flagged for the seat with the narrowing.", "The 'blank' sentence is spelled without backticks around knowledge.db in all 12 strings: the settings page renders descriptions as plain text.", "Unexpected file: packages/plugins/knowledge-turso/src/__tests__/plugin.test.ts (its settings fake gained the knowledge page so the N2 warn stays silent where a real boot contributes).", "Long lock queueing (about two hours of queue-timeouts behind dogfood batteries); the draft PR was opened before the local test run, which followed at the same code." ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
os-dev-report
{ "issue": 37907, "status": "done", "branch": "claude/area-o1C-37907", "pr": "https://github.com/objectstack-ai/objectstack/pull/37982", "head": "b1ef64de442a994555ffb1d1f429fa9e35e441d6", "session": "session_016WV4cwPhGV4g9p1BGQaZbP", "container_model": "Container & model: S, `mode:subagent`, model: opus (default tier), effort: high (reason: a deterministic test break on a narrowing PR that blocks the queue and holds an approval)", "premise_still_valid": true, "summary": "Full dogfood battery on the PR's current head, b1ef64de44, ordered after the seat's land was refused because no battery had run at that head. Since the last battery (9509b9972d), the code changed in one commit only: 7ff81fbb2f, test-only. It fixes the queue red from main's embedderSettings pin, which called knowledgeTestActionHandler after this PR removed the import (cause and fix are in comment 7232005283 on the PR). The other commits since then are two clean merges of main (9a1f257402 and b1ef64de44). This run ran on a detached worktree at that sha. The branch was not changed and nothing was pushed.", "tests": "At b1ef64de44, inside the same locked run (VERDICT command-exit 0): dogfood closure build `pnpm --filter '@objectstack/dogfood^...' build` exit 0, then `pnpm --filter @objectstack/dogfood test` exit 0, with no OS_TEST_SHARD and no path. Earlier, at b1ef64de44, under the lock: service-knowledge 646/646, service-settings 1535/1535, knowledge-turso 247/247, and the three typechecks exit 0 (reported in comment 7232005283).", "gates": "Not re-run for this order, which asked for the battery only. The PR's check-runs on b1ef64de44 are the CI record.", "dogfood_battery": "b1ef64de442a994555ffb1d1f429fa9e35e441d6 · os-verify-lock: VERDICT command-exit 0 · held the lock 1996s (33m16s), shared box · Test Files 490 passed | 3 skipped (493) · Tests 4144 passed | 68 skipped (4212) · no failures", "mcp_calls": "0", "api_writes": "1 — this comment, POST /repos/objectstack-ai/objectstack/issues/37907/comments via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": [] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Close-out · area o1-C · 2026-11-28T06:12Z
Delivered by PR #37982 (merged bbd9733 at 2026-11-28T06:04Z). Nothing remains on this card for the area.
pm:dispatchedremoved with this comment.