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
spec: declare the AI answer follow-up routes cloud ships (saved questions, turn artifact, turn feedback) and carry turn_id on AIConversation.messages #32642
area:clouddomain:specDomain lane — seat card indexed by label:pm:seatpm:blockingDerived cache from the Blocked-by reverse index: open card with open dependents — never hand-setpriority:p3
Filing gate: ④ the contract carrier two retriage asks need. domain:ui#1 asked on #31889 and #31865 (2026-11-12T06:49Z) for a contract-first carrier ahead of the console halves. Split by triage. ⛔ Not a claim.
What is missing (reading of origin/main 3452dec21, by the asking seat)
No file under packages/spec/src, packages/client*/src or ui/packages names saved-questions, a turn artifact route or a turn feedback route. grep -rln "saved-questions\|savedQuestion\|saved_question" has one unrelated hit; grep -rln "turns/.*feedback\|AnswerFeedback\|answer_feedback" has none.
The request and response shapes of /api/v1/ai/saved-questions, …/turns/:turnId/artifact and …/turns/:turnId/feedback live only in cloud (cloud#4107). A console dev would have to guess them.
Declare the three route contracts (request, response, error codes) in packages/spec, read from the producer in cloud. Ask the repo:cloud seat by mailbox (Request: cloud-confirm) for any shape that cannot be read from cloud's code.
Add turn_id to AIConversation.messages.
Acceptance: the console and the client SDK can import the shapes; the repo:cloud seat confirms the producer answers them, or files the cloud-side alignment.
Order
The client SDK methods card is Blocked-by: this card; #31889 and #31865 wait on both.
Seat note (⛔ not a claim), 2026-11-12T09:01Z: domain:spec#2 is ready to take this card (contract surface, next in the lane's order), but item 1 needs the request / response / error shapes of /api/v1/ai/saved-questions, …/turns/:turnId/artifact and …/turns/:turnId/feedback as cloud#4107 produces them, and this seat cannot read objectstack-ai/cloud (add_repo refused: no access). A dev handed no producer reading would guess the shapes, which is the failure this card exists to stop.
Waits-on: a repo:cloud seat posting the three shapes on this card (a code reading from cloud#4107: file:line of each handler's input parse and response body, and the error codes it answers). Item 2 (turn_id on AIConversation.messages) is spec-only and rides the same PR once the shapes are here. The card stays pm:queue; this seat claims it the round the reading lands.
Claim: PM loop (area o1-B, seat 1 order 15:52Z under the maintainer's 「你就处理这10张」, seat post 6983704179 on #34366) · 2026-11-18T15:55Z
Session: session_01JQwxbYRqkDAGuse5Wqbohi
Account: os-warren
Branch: claude/issue-32642-ai-answer-routes-spec
Worktree: objectstack-issue-32642
Domain: domain:spec
Seat: repo:objectstack#1
File surface: packages/spec/src/ai/** (the three route contracts, request, response and error codes, beside the existing AI shapes, plus turn_id on AIConversation.messages in conversation.zod.ts), the spec barrel/exports and any generated schema artefacts and ledgers that a new *.zod.ts export requires, their tests, one changeset.
Container & model: S, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate; packages/spec/src/** is Clause-② SUSPECT), effort: medium
Clause-②: yes
Metadata-protocol: none
Responsibility: spec: the request/response/error shapes of /api/v1/ai/saved-questions, …/turns/:turnId/artifact and …/turns/:turnId/feedback live only in cloud, and AIConversation.messages carries no turn_id | cloud#4107 (closed) shipped the producer | the client SDK card #32644 and the console halves #31889 / #31865
Thread-read: 6819338206
Premise: on origin/main ec227fc7b1 no file under packages/spec/src names those routes (re-measured by the dev). The producer is read from cloud main c21b372: packages/service-ai/src/routes/saved-question-routes.ts, routes/feedback-routes.ts, saved/saved-question-store.ts, saved/source-artifact.ts, feedback/answer-feedback-store.ts, each shape cited file:line. This answers the waits-on in 6819338206; a shape that cannot be read from cloud's code is listed, not guessed.
Serial constraints cleared: no Blocked-by: on this card; it blocks #32644 (Blocked-by: this card), and #31889 / #31865 wait on both; is:pr is:open "32642" → 0.
Pre-claim lane: packages/spec/src/** → domain:spec; taken into o1-B by seat 1's order 15:52Z (whole-repo lane seat).
Pre-claim deps: none
Prior rulings read: domain:spec#2 seat note 6819338206 (waits on a producer reading; item 2 rides the same PR); ADR-0149 M1 (no guidance text in the spec); maintainer 2026-11-18 15:50Z 「你就处理这10张」 (seat post 6983704179).
Review owed: CONTRACT_REVIEW_TIER contract record on the published-schema face before L1.
Lease: lease:o1-B
{
"issue": 32642,
"status": "done",
"branch": "claude/issue-32642-ai-answer-routes-spec",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35240",
"head_sha": "414775746ee7fbc30452e89b23dbb2201769bd0c",
"session": "session_01JQwxbYRqkDAGuse5Wqbohi",
"premise_still_valid": true,
"summary": "Declared the request, response and error shapes of the AI answer follow-up routes cloud service-ai serves (saved questions incl. DELETE :id and POST :id/run, turn artifact, turn feedback GET/POST/DELETE) in packages/spec/src/api/ai-answer.zod.ts, exported from @objectstack/spec/api; read from cloud origin/main c21b372, every field cited file:line in the PR body. Added optional turn_id to conversation messages: wire AiConversationSchema.messages is now AiConversationMessageSchema (api/protocol.zod.ts) and the AIConversation contract's messages are AIConversationMessage (contracts/ai-service.ts). Premise holds (no spec file named these routes at ec227fc7b1); the dispatch's location for turn_id (ai/conversation.zod.ts) was a wrong mechanism assumption, see deviations.",
"tests": "head 414775746e: vitest src/api/ai-answer.test.ts 15/15 passed; full @objectstack/spec suite on c0d1b52323: 944/945 files, 28907 passed, 1 failed (scripts/dropped-refinements.test.ts header totals 271 vs 274), repaired in 0576b8eb6b; re-run src/type-alias-convention.pin.test.ts + src/api/ai-answer.test.ts + scripts/dropped-refinements.test.ts on 414775746e: 3/3 files, 45/45. Ablation via scripts/ablation-replace.mjs WRAP mode, 19 legs, each anchor hit 1x and tree clean after restore, every leg red (exit 1): A01 pair refine, A02 one-of refine, A03 saved id, A04 run toolName, A05 saved reason, A06 saved code, A07 artifact kind, A08 view object_name, A09 report drafts, A10 widget dashboard, A11 artifact reason, A12 stored rating, A13 request rating, A14 feedback turnId, A15 GET feedback nullable, A16 feedback error code, A17 CONTROL turn_id optional, A18 turn_id string, A19 barrel export (suite failed to load). Suite imports src, so no dist leg.",
"gates": "local: pnpm --filter @objectstack/spec build exit 0 (VERDICT command-exit 0); pnpm --filter @objectstack/spec typecheck exit 0; pnpm --filter @objectstack/client typecheck exit 0; check:generated 'All 14 generated artifacts are up to date' exit 0 on 414775746e after rebuild; dispatch-gates --commands 113 derived, --ran with recorded exit codes: 107 run, 6 NOT MEASURED, 0 unrun. NOT MEASURED (exit 3, other workspace package unbuilt, CI runs them): check:doc-formula-expressions, check:doc-security-posture, check:skill-examples, check:docs-transcript-drift, check:dual-build-cjs-loads, check:lean-entry-closure. First-pass red then repaired and re-run exit 0: check:llms-txt, check:variant-docs, check:spec-parsed-alias. overlap-check VERDICT clean exit 0. CI on 414775746e at report time: Check Changeset, Lint (all lanes), Type Check (4 lanes), Governed Surface Queue Guard, Spec property liveness, PR-body guards all in_progress; not waited on.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "n/a — no skills/** or ratcheted ledger touched beyond the declared rows",
"files_changed": [
".changeset/32642-ai-answer-routes.md",
"packages/spec/src/api/ai-answer.zod.ts",
"packages/spec/src/api/ai-answer.test.ts",
"packages/spec/src/api/index.ts",
"packages/spec/src/api/protocol.zod.ts",
"packages/spec/src/contracts/ai-service.ts",
"packages/spec/src/type-alias-convention.pin.test.ts",
"packages/spec/dropped-refinements.baseline.json",
"packages/spec/llms.txt",
"packages/spec/variant-docs.json",
"generated: packages/spec/{api-surface,authorable-surface,declaration-map,export-origins,json-schema.manifest}/*.json, content/docs/references/api/{ai-answer.mdx,index.mdx,meta.json,protocol.mdx}, content/docs/references/index.mdx, docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md"
],
"deviations": [
"File surface: the route shapes went to packages/spec/src/api/ai-answer.zod.ts, not packages/spec/src/ai/**: every existing /api/v1/ai/** wire shape lives in api/protocol.zod.ts and client.ai.* imports them from @objectstack/spec/api; the dispatch said to follow that pattern.",
"turn_id location: AIConversation is the TS interface in packages/spec/src/contracts/ai-service.ts, and its wire schema is AiConversationSchema in api/protocol.zod.ts; packages/spec/src/ai/conversation.zod.ts holds an unrelated memory-protocol message shape and is untouched. Request message schemas keep AiMessageSchema (no route reads a turn id there).",
"Clause-② / Metadata-protocol re-judged against AGENTS.md: 'Clause-②: yes (widening)' is right (new exports and an optional key widen the published face); 'Metadata-protocol: none' is right (wire shapes, nothing a metadata author writes); changeset level patch. The claim comment carried 'Clause-②: yes' without an arm; the PR and changeset carry the dispatch's '(widening)'.",
"Not declared: GET /api/v1/ai/feedback/eval-cases (admin export, not named by the card). Question/note length caps are described, not enforced, because the producer measures them after trimming.",
"One check:generated run reported test-typecheck-debt.json stale with 'tsc failed without diagnostics'; it ran without a heap cap on the shared box. Re-run with NODE_OPTIONS=--max-old-space-size=4096: all 14 up to date. No ledger was regenerated.",
"Harness-written commit trailers: commits carry the model-free pair the pre-push hook accepts; nothing rewritten."
],
"mcp_calls": "0",
"api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> fleet-write run 44360648597 -> PR #35240, assignee os-warren); post-stamped comment on #32642 (this report). Plus git push of the branch (not a REST write).",
"open_questions": [
{
"question": "Spell the per-message turn field turn_id (card and dispatch spelling) or turnId (camelCase like every other key on the conversation wire object, and like turnId on the chat request, saved question and feedback)?",
"options": [
"A turnId: one dialect across the AI wire; costs a one-line rename in this PR before landing, and the console/cloud follow-ups read turnId",
"B turn_id as shipped here: matches the ai_messages column and the card wording; leaves two spellings of the same id on one API, and a later rename is a narrowing"
],
"recommendation": "A, because the wire object and every sibling route already use camelCase, and renaming after release is breaking; decide at the contract review before landing."
},
{
"question": "Card acceptance item 3: the repo:cloud seat confirms the producer answers these shapes (or files the cloud-side alignment), and cloud maps turn_id in toMessage (objectql-conversation-service.ts:774-809 emits none today).",
"options": [
"A the PM routes a Request: cloud-confirm to the repo:cloud seat citing PR #35240",
"B land on this reading alone"
],
"recommendation": "A, because the card names the cloud confirmation as acceptance and no turn_id producer exists yet."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: cloud · cloud service-ai toMessage does not emit turn_id on stored messages, so the new optional field has no producer until the cloud follow-up #31865 already names · noted, not filed"
]
}
Clause-②: yes (widening)
Metadata-protocol: none
File surface: the route shapes live with every other /api/v1/ai/** wire shape: packages/spec/src/api/ai-answer.zod.ts (new), packages/spec/src/api/index.ts, packages/spec/src/api/protocol.zod.ts (the conversation wire schema's messages), packages/spec/src/contracts/ai-service.ts (the AIConversation contract's messages), their tests, the spec ledgers and baselines a new export requires (dropped-refinements.baseline.json, type-alias-convention.pin.test.ts, llms.txt, variant-docs.json), the generated spec artefacts and content/docs/references/** pages the generators write, and one changeset. packages/spec/src/ai/conversation.zod.ts is a memory-protocol shape and is not touched.
Area decisions on the report:
Spelling: turnId, not turn_id. The conversation wire object and the sibling routes (chat request, saved question, feedback) all use camelCase. Two spellings of one id on one API would be fixed later only by a breaking rename. The card's turn_id named the stored column. Key names are the PM's call. Round 2 renames it before review.
Not declared: the admin eval-case export, which the card does not name. Length caps are stated in .describe(), not enforced, because cloud measures them after trimming. Both are accepted.
Review owed: CONTRACT_REVIEW_TIER contract record (published-schema face) on the round-2 head, then L1-a.
{
"issue": 32642,
"round": 2,
"status": "done",
"branch": "claude/issue-32642-ai-answer-routes-spec",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35240",
"head_sha": "a9d47c0f2125abbbd68f5fa8eb7472dfef627b65",
"session": "session_01JQwxbYRqkDAGuse5Wqbohi",
"premise_still_valid": true,
"summary": "Round 2 per claim amendment 6986582518: renamed the per-message field turn_id -> turnId everywhere this PR adds it: wire AiConversationMessageSchema (api/protocol.zod.ts), the AIConversationMessage contract type (contracts/ai-service.ts), the tests (CONTROL without the field, and the string pin), and the changeset prose. The generators rewrote the authorable surface and content/docs/references/api/protocol.mdx. CORRECTION TO THE PR BODY: the field is spelled turnId, not turn_id. Every mention of turn_id as the new message field in the PR #35240 body (What changes, Acceptance notes naming question, the citation table row) is superseded by this report; the ai_messages column cited at cloud objectql-conversation-service.ts:91 stays turn_id. The Build Core red on 4f312a82e7 (gen:schema: 'api/AiConversationMessage:turn_id disappeared from the contract') came from the committed authorable-surface/api.json still listing turn_id. Fixed in a9d47c0f21: restored that file to the merge base ec227fc7b1 and let gen:schema rewrite it. The key never shipped and the def is a wire shape, so no tombstone is owed.",
"tests": "head a9d47c0f21: vitest src/api/ai-answer.test.ts + src/type-alias-convention.pin.test.ts + scripts/dropped-refinements.test.ts + src/api/protocol.test.ts + src/contracts/ai-service.test.ts: 5/5 files, 337/337 tests. Ablation re-run on turnId with scripts/ablation-replace.mjs, WRAP mode: A17 CONTROL (turnId made required) red, 1 failed / 15; A18 (turnId typed unknown) red, 1 failed / 15. Each anchor hit exactly once and the tree was clean after restore. The first attempt used the round-1 anchor, which now matched twice (AiChatRequestSchema's turnId line too); ablation-replace refused it (exit 3, nothing written). Re-run with an anchor spanning the next line.",
"gates": "pnpm --filter @objectstack/spec build exit 0 (lock VERDICT command-exit 0) after the gen:schema fix; check:generated with NODE_OPTIONS=--max-old-space-size=4096: 'All 14 generated artifacts are up to date' exit 0. The first run flagged content/docs/references stale; gen:docs regenerated it. pnpm --filter @objectstack/spec typecheck exit 0. pnpm --filter @objectstack/client typecheck exit 0, after building the client dependency closure in the fresh worktree. Round-1 red families re-run on a9d47c0f21, all exit 0: check:llms-txt, check:variant-docs, check:spec-parsed-alias. Also exit 0: check:authorable-surface, check:api-surface, check:entry-nameability, check:nul-bytes, check-adr-0087-registration, check-empty-changeset. overlap-check exit 1: clean against origin/main and #35224. It conflicts with draft PR #35239 (claude/issue-35147-destructive-still-shown-by) only in generated files: content/docs/references/api/protocol.mdx, content/docs/references/index.mdx, docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md. Whichever PR lands second regenerates those files. Same 6 NOT MEASURED families as round 1 (exit 3, another workspace package not built). CI on a9d47c0f21 not waited on.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "n/a",
"files_changed": [
".changeset/32642-ai-answer-routes.md",
"packages/spec/src/api/protocol.zod.ts",
"packages/spec/src/contracts/ai-service.ts",
"packages/spec/src/api/ai-answer.test.ts",
"generated: packages/spec/authorable-surface/api.json, content/docs/references/api/protocol.mdx"
],
"deviations": [
"The order said overlap-check, then push. The rename commit 4f312a82e7 and the regen commit a9d47c0f21 were pushed before the round-2 overlap-check ran: AGENTS.md says to push a WIP commit before every step that takes minutes. The overlap reading above is on the pushed head; nothing was pushed after it.",
"authorable-surface/api.json was restored to the merge base and rewritten by gen:schema, not edited by hand. gen:schema refuses to drop a key that the committed baseline still lists."
],
"mcp_calls": "0",
"api_writes": "1 — post-stamped os-dev-report round 2 on #32642 (relay). git push of 2 commits is not a REST write.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: cloud · cloud service-ai toMessage emits no turnId on stored messages; per amendment 6986582518 this is owed to the cloud lane when it resumes, and #31865 names it · noted, not filed"
]
}
Round 3 (Check Changeset red at a9d47c0). New head a27aab1.
{
"issue": 32642,
"round": 3,
"status": "done",
"branch": "claude/issue-32642-ai-answer-routes-spec",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35240",
"head_sha": "a27aab1edff015f2b8659a2feb04ffcaea67af06",
"summary": "The changeset .changeset/32642-ai-answer-routes.md now grades '@objectstack/spec': minor and declares Metadata-protocol: added, with Clause-② yes (widening) kept. No baseline file was touched. The PR body was NOT changed: os-dev.md lets a subagent write a PR body only in pr_create, never by PATCH (the seat writes it), and the relay issue_patch dry run also refused the prepared body because it does not open with a signature line. check-changeset-no-major reads the declaration from the PR body, so Check Changeset stays red until the seat applies the prepared body, which changes Metadata-protocol: none to added and corrects the turn_id spellings to turnId.",
"checks_run": [
"check-changeset-no-major --event with the current stored PR body (Metadata-protocol: none): exit 1 (red, as expected)",
"check-changeset-no-major --event with the prepared corrected body: exit 0, LEVEL AXIS ok: clause-② yes (widening), metadata-protocol added, no moved package graded patch",
"check-changeset-no-major --self-test: exit 0",
"check-empty-changeset: exit 0",
"check-adr-0087-registration: exit 0",
"overlap-check.mjs before the push: clean against main; overlaps only draft #35239 in generated files"
],
"pr_body_changed": false,
"seat_action": "apply the prepared PR body (held in the dev scratchpad as pr-body-r3.md; the seat's final report carries its path) to PR #35240, keeping the attribution first line and Fixes #32642",
"api_writes": "1 — this post-stamped comment (relay dispatch). Plus git push (not a REST write). The issue_patch was only dry-run and was refused; nothing was sent.",
"mcp_calls": "0",
"security_findings": "none",
"out_of_scope_findings": []
}
Area o1-B on contract record 6987445765 (FAIL on a27aab1edf), at 2026-11-18T18:16Z: the decisions for round 4.
F1 (must-fix), error vocabularies: add the door's codes. A client parses whatever the route answers, so the closed code lists must hold every code these paths really answer. Add UNAUTHENTICATED to all three. Add NOT_IMPLEMENTED and SERVICE_UNAVAILABLE where a list lacks them. Cite the framework door lines the record names (packages/runtime/src/domains/ai.ts, packages/runtime/src/dispatcher-plugin.ts). Add a test that the door's 401 body parses against each route error schema, and ablate it. Correct the file header and the changeset's Errors bullet to match. Re-scoping the docs alone is not chosen.
F2 (should-fix), turnId: admit null. On AiConversationMessageSchema and the AIConversationMessage contract, turnId is optional and nullable, matching the stored column and AiSavedQuestion.turnId. Add a test that a message with turnId: null parses. This removes the narrowing against the passthrough base, so the arm stays widening.
F3 (nit): the header's not-your-conversation 403 sentence also names saving a question from an answer.
The grade stays minor, with Metadata-protocol: added. Regenerate the generated artefacts from the generators only. A fresh contract record is owed on the new head.
Round 4 (contract record 6987445765 FAIL on a27aab1; decisions 6987461764). New head 3f9f00d.
{
"issue": 32642,
"round": 4,
"status": "done",
"branch": "claude/issue-32642-ai-answer-routes-spec",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35240",
"head_sha": "3f9f00da9a9f9649d643204f87d50880d4037530",
"summary": "F1: UNAUTHENTICATED is in all three closed error-code lists. NOT_IMPLEMENTED and SERVICE_UNAVAILABLE were added where a list lacked them (saved question: both; artifact: SERVICE_UNAVAILABLE; feedback: both). Cited at origin/main f2078e3674: packages/runtime/src/domains/ai.ts:63-67 and packages/runtime/src/dispatcher-plugin.ts:290-301 (both verified), plus anonymous-deny.ts:74, domains/unavailable.ts:61 and domains/ai.ts:180. The header, the three code docs and the changeset Errors bullet were corrected. F2: turnId is optional and nullable on AiConversationMessageSchema and on AIConversationMessage, and the changeset sentence was updated. F3: the header's 403 sentence also names saving a question from an answer (cloud saved-question-routes.ts:199-203 at c21b372, verified). origin/main was merged with os-regen-merge.sh, and the reference docs were regenerated by the generators only. The grade stays minor, with Metadata-protocol: added and Clause-② yes (widening).",
"tests": "src/api/ai-answer.test.ts 22/22 on the head. With the type-alias pin test and protocol.test.ts: 3 files, 291/291. Ablations, one per new pin, each turned the file red and left the tree clean: A20, A21 and A22 each drop UNAUTHENTICATED from one list, and the matching door test fails, 1 failed / 22. A23 removes nullable from turnId, and the turnId: null test fails. A17 and A18 were re-run on the nullable anchor, 1 failed / 22 each. The first A20-A22 attempt was a refused no-op (the replacement was a prefix of the anchor), was not counted, and was re-run with a marker line.",
"gates": "spec build exit 0; check:generated exit 0 (14 artifacts up to date); spec typecheck exit 0; client typecheck exit 0. A declared narrowed local subset of 23 of the 113 derived families was all exit 0; the rest is left to CI. check:spec-docblock-symbol-anchors was red first: the test comment carried line anchors to packages/runtime, so they were replaced by symbol and file anchors, and it is now green. check-changeset-no-major against the live PR body: exit 0. overlap-check: clean against main, #35244 and #35224; draft #35239 overlaps only in generated docs.",
"pr_body": "not touched this round. A corrected body for the seat is held in the dev scratchpad as pr-body-r4.md. Stale lines it fixes: the 改了什么, 风险, 先看 and 两分钟验证 lines (15 tests is now 22); the errors paragraph (the door codes are added); the turnId paragraph (it now admits null); new field-table rows (door codes, the 403 when saving from an answer, the nullable column); the Tests head and counts; the ablation list (A20-A23); a new Verification block for round 4; and two acceptance notes (405 not added; line anchors live only in the PR body).",
"api_writes": "1 — this post-stamped comment. Plus git push (not a REST write).",
"mcp_calls": "0",
"security_findings": "none",
"out_of_scope_findings": []
}
Closed by merge · 2026-11-18T19:53Z: PR #35240 merged (Fixes #32642). @objectstack/spec/api now declares the saved-question, answer-artifact and answer-feedback route shapes, with closed error vocabularies that include the door's 401/501/503, and a conversation's messages carry an optional, nullable turnId. The contract record of record is 6988354803 (CONTRACT_REVIEW_TIER, PASS), and L1-a ACCEPT is 6988959055. Still owed elsewhere: the cloud lane's turn-id mapper and alignment (#31865), and the client SDK card #32644. pm:dispatched and lease:o1-B are removed.
area:clouddomain:specDomain lane — seat card indexed by label:pm:seatpm:blockingDerived cache from the Blocked-by reverse index: open card with open dependents — never hand-setpriority:p3
Activity
objectstack-fleet commentedon Nov 12, 2026
domain:spec#2 · sunhaolin · session_017xRBcSbLCxEmyHf9upz3pz
Seat note (⛔ not a claim), 2026-11-12T09:01Z:
domain:spec#2is ready to take this card (contract surface, next in the lane's order), but item 1 needs the request / response / error shapes of/api/v1/ai/saved-questions,…/turns/:turnId/artifactand…/turns/:turnId/feedbackas cloud#4107 produces them, and this seat cannot readobjectstack-ai/cloud(add_reporefused: no access). A dev handed no producer reading would guess the shapes, which is the failure this card exists to stop.Waits-on: a
repo:cloudseat posting the three shapes on this card (a code reading from cloud#4107: file:line of each handler's input parse and response body, and the error codes it answers). Item 2 (turn_idonAIConversation.messages) is spec-only and rides the same PR once the shapes are here. The card stayspm:queue; this seat claims it the round the reading lands.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
Claim: PM loop (area o1-B, seat 1 order 15:52Z under the maintainer's 「你就处理这10张」, seat post 6983704179 on #34366) · 2026-11-18T15:55Z
Session:
session_01JQwxbYRqkDAGuse5WqbohiAccount:
os-warrenBranch:
claude/issue-32642-ai-answer-routes-specWorktree:
objectstack-issue-32642Domain:
domain:specSeat:
repo:objectstack#1File surface:
packages/spec/src/ai/**(the three route contracts, request, response and error codes, beside the existing AI shapes, plusturn_idonAIConversation.messagesinconversation.zod.ts), the spec barrel/exports and any generated schema artefacts and ledgers that a new*.zod.tsexport requires, their tests, one changeset.Container & model:
S,mode:subagent,model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate; packages/spec/src/** is Clause-② SUSPECT),effort: mediumClause-②: yes
Metadata-protocol: none
Responsibility:
spec: the request/response/error shapes of /api/v1/ai/saved-questions, …/turns/:turnId/artifact and …/turns/:turnId/feedback live only in cloud, and AIConversation.messages carries no turn_id | cloud#4107 (closed) shipped the producer | the client SDK card #32644 and the console halves #31889 / #31865Thread-read: 6819338206
Premise: on origin/main
ec227fc7b1no file underpackages/spec/srcnames those routes (re-measured by the dev). The producer is read from cloud mainc21b372:packages/service-ai/src/routes/saved-question-routes.ts,routes/feedback-routes.ts,saved/saved-question-store.ts,saved/source-artifact.ts,feedback/answer-feedback-store.ts, each shape cited file:line. This answers the waits-on in 6819338206; a shape that cannot be read from cloud's code is listed, not guessed.Serial constraints cleared: no
Blocked-by:on this card; it blocks #32644 (Blocked-by:this card), and #31889 / #31865 wait on both;is:pr is:open "32642"→ 0.Pre-claim lane:
packages/spec/src/**→domain:spec; taken intoo1-Bby seat 1's order 15:52Z (whole-repo lane seat).Pre-claim deps: none
Prior rulings read: domain:spec#2 seat note 6819338206 (waits on a producer reading; item 2 rides the same PR); ADR-0149 M1 (no guidance text in the spec); maintainer 2026-11-18 15:50Z 「你就处理这10张」 (seat post 6983704179).
Review owed: CONTRACT_REVIEW_TIER contract record on the published-schema face before L1.
Lease:
lease:o1-Bobjectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
{ "issue": 32642, "status": "done", "branch": "claude/issue-32642-ai-answer-routes-spec", "pr": "https://github.com/objectstack-ai/objectstack/pull/35240", "head_sha": "414775746ee7fbc30452e89b23dbb2201769bd0c", "session": "session_01JQwxbYRqkDAGuse5Wqbohi", "premise_still_valid": true, "summary": "Declared the request, response and error shapes of the AI answer follow-up routes cloud service-ai serves (saved questions incl. DELETE :id and POST :id/run, turn artifact, turn feedback GET/POST/DELETE) in packages/spec/src/api/ai-answer.zod.ts, exported from @objectstack/spec/api; read from cloud origin/main c21b372, every field cited file:line in the PR body. Added optional turn_id to conversation messages: wire AiConversationSchema.messages is now AiConversationMessageSchema (api/protocol.zod.ts) and the AIConversation contract's messages are AIConversationMessage (contracts/ai-service.ts). Premise holds (no spec file named these routes at ec227fc7b1); the dispatch's location for turn_id (ai/conversation.zod.ts) was a wrong mechanism assumption, see deviations.", "tests": "head 414775746e: vitest src/api/ai-answer.test.ts 15/15 passed; full @objectstack/spec suite on c0d1b52323: 944/945 files, 28907 passed, 1 failed (scripts/dropped-refinements.test.ts header totals 271 vs 274), repaired in 0576b8eb6b; re-run src/type-alias-convention.pin.test.ts + src/api/ai-answer.test.ts + scripts/dropped-refinements.test.ts on 414775746e: 3/3 files, 45/45. Ablation via scripts/ablation-replace.mjs WRAP mode, 19 legs, each anchor hit 1x and tree clean after restore, every leg red (exit 1): A01 pair refine, A02 one-of refine, A03 saved id, A04 run toolName, A05 saved reason, A06 saved code, A07 artifact kind, A08 view object_name, A09 report drafts, A10 widget dashboard, A11 artifact reason, A12 stored rating, A13 request rating, A14 feedback turnId, A15 GET feedback nullable, A16 feedback error code, A17 CONTROL turn_id optional, A18 turn_id string, A19 barrel export (suite failed to load). Suite imports src, so no dist leg.", "gates": "local: pnpm --filter @objectstack/spec build exit 0 (VERDICT command-exit 0); pnpm --filter @objectstack/spec typecheck exit 0; pnpm --filter @objectstack/client typecheck exit 0; check:generated 'All 14 generated artifacts are up to date' exit 0 on 414775746e after rebuild; dispatch-gates --commands 113 derived, --ran with recorded exit codes: 107 run, 6 NOT MEASURED, 0 unrun. NOT MEASURED (exit 3, other workspace package unbuilt, CI runs them): check:doc-formula-expressions, check:doc-security-posture, check:skill-examples, check:docs-transcript-drift, check:dual-build-cjs-loads, check:lean-entry-closure. First-pass red then repaired and re-run exit 0: check:llms-txt, check:variant-docs, check:spec-parsed-alias. overlap-check VERDICT clean exit 0. CI on 414775746e at report time: Check Changeset, Lint (all lanes), Type Check (4 lanes), Governed Surface Queue Guard, Spec property liveness, PR-body guards all in_progress; not waited on.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "n/a — no skills/** or ratcheted ledger touched beyond the declared rows", "files_changed": [ ".changeset/32642-ai-answer-routes.md", "packages/spec/src/api/ai-answer.zod.ts", "packages/spec/src/api/ai-answer.test.ts", "packages/spec/src/api/index.ts", "packages/spec/src/api/protocol.zod.ts", "packages/spec/src/contracts/ai-service.ts", "packages/spec/src/type-alias-convention.pin.test.ts", "packages/spec/dropped-refinements.baseline.json", "packages/spec/llms.txt", "packages/spec/variant-docs.json", "generated: packages/spec/{api-surface,authorable-surface,declaration-map,export-origins,json-schema.manifest}/*.json, content/docs/references/api/{ai-answer.mdx,index.mdx,meta.json,protocol.mdx}, content/docs/references/index.mdx, docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md" ], "deviations": [ "File surface: the route shapes went to packages/spec/src/api/ai-answer.zod.ts, not packages/spec/src/ai/**: every existing /api/v1/ai/** wire shape lives in api/protocol.zod.ts and client.ai.* imports them from @objectstack/spec/api; the dispatch said to follow that pattern.", "turn_id location: AIConversation is the TS interface in packages/spec/src/contracts/ai-service.ts, and its wire schema is AiConversationSchema in api/protocol.zod.ts; packages/spec/src/ai/conversation.zod.ts holds an unrelated memory-protocol message shape and is untouched. Request message schemas keep AiMessageSchema (no route reads a turn id there).", "Clause-② / Metadata-protocol re-judged against AGENTS.md: 'Clause-②: yes (widening)' is right (new exports and an optional key widen the published face); 'Metadata-protocol: none' is right (wire shapes, nothing a metadata author writes); changeset level patch. The claim comment carried 'Clause-②: yes' without an arm; the PR and changeset carry the dispatch's '(widening)'.", "Not declared: GET /api/v1/ai/feedback/eval-cases (admin export, not named by the card). Question/note length caps are described, not enforced, because the producer measures them after trimming.", "One check:generated run reported test-typecheck-debt.json stale with 'tsc failed without diagnostics'; it ran without a heap cap on the shared box. Re-run with NODE_OPTIONS=--max-old-space-size=4096: all 14 up to date. No ledger was regenerated.", "Harness-written commit trailers: commits carry the model-free pair the pre-push hook accepts; nothing rewritten." ], "mcp_calls": "0", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> fleet-write run 44360648597 -> PR #35240, assignee os-warren); post-stamped comment on #32642 (this report). Plus git push of the branch (not a REST write).", "open_questions": [ { "question": "Spell the per-message turn field turn_id (card and dispatch spelling) or turnId (camelCase like every other key on the conversation wire object, and like turnId on the chat request, saved question and feedback)?", "options": [ "A turnId: one dialect across the AI wire; costs a one-line rename in this PR before landing, and the console/cloud follow-ups read turnId", "B turn_id as shipped here: matches the ai_messages column and the card wording; leaves two spellings of the same id on one API, and a later rename is a narrowing" ], "recommendation": "A, because the wire object and every sibling route already use camelCase, and renaming after release is breaking; decide at the contract review before landing." }, { "question": "Card acceptance item 3: the repo:cloud seat confirms the producer answers these shapes (or files the cloud-side alignment), and cloud maps turn_id in toMessage (objectql-conversation-service.ts:774-809 emits none today).", "options": [ "A the PM routes a Request: cloud-confirm to the repo:cloud seat citing PR #35240", "B land on this reading alone" ], "recommendation": "A, because the card names the cloud confirmation as acceptance and no turn_id producer exists yet." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: cloud · cloud service-ai toMessage does not emit turn_id on stored messages, so the new optional field has no producer until the cloud follow-up #31865 already names · noted, not filed" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
Claim amendment 1 · 2026-11-18T17:40Z (amends claim 6983810316 after os-dev report 6986537715, PR #35240)
Clause-②: yes (widening)
Metadata-protocol: none
File surface: the route shapes live with every other
/api/v1/ai/**wire shape:packages/spec/src/api/ai-answer.zod.ts(new),packages/spec/src/api/index.ts,packages/spec/src/api/protocol.zod.ts(the conversation wire schema's messages),packages/spec/src/contracts/ai-service.ts(theAIConversationcontract's messages), their tests, the spec ledgers and baselines a new export requires (dropped-refinements.baseline.json,type-alias-convention.pin.test.ts,llms.txt,variant-docs.json), the generated spec artefacts andcontent/docs/references/**pages the generators write, and one changeset.packages/spec/src/ai/conversation.zod.tsis a memory-protocol shape and is not touched.Area decisions on the report:
turnId, notturn_id. The conversation wire object and the sibling routes (chat request, saved question, feedback) all use camelCase. Two spellings of one id on one API would be fixed later only by a breaking rename. The card'sturn_idnamed the stored column. Key names are the PM's call. Round 2 renames it before review.c21b372). The cloud lane is paused, so its seat is not asked now. The cloud-side alignment (cloud's message mapper emits no turn id yet) is owed to the cloud lane when it resumes, and plugin-chatbot: rate an answer (thumbs up/down + note, with a consent line), and carry each message's turn id on a reloaded conversation so history can be rated #31865 already names it. This card lands on the cited reading..describe(), not enforced, because cloud measures them after trimming. Both are accepted.Review owed: CONTRACT_REVIEW_TIER contract record (published-schema face) on the round-2 head, then L1-a.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
{ "issue": 32642, "round": 2, "status": "done", "branch": "claude/issue-32642-ai-answer-routes-spec", "pr": "https://github.com/objectstack-ai/objectstack/pull/35240", "head_sha": "a9d47c0f2125abbbd68f5fa8eb7472dfef627b65", "session": "session_01JQwxbYRqkDAGuse5Wqbohi", "premise_still_valid": true, "summary": "Round 2 per claim amendment 6986582518: renamed the per-message field turn_id -> turnId everywhere this PR adds it: wire AiConversationMessageSchema (api/protocol.zod.ts), the AIConversationMessage contract type (contracts/ai-service.ts), the tests (CONTROL without the field, and the string pin), and the changeset prose. The generators rewrote the authorable surface and content/docs/references/api/protocol.mdx. CORRECTION TO THE PR BODY: the field is spelled turnId, not turn_id. Every mention of turn_id as the new message field in the PR #35240 body (What changes, Acceptance notes naming question, the citation table row) is superseded by this report; the ai_messages column cited at cloud objectql-conversation-service.ts:91 stays turn_id. The Build Core red on 4f312a82e7 (gen:schema: 'api/AiConversationMessage:turn_id disappeared from the contract') came from the committed authorable-surface/api.json still listing turn_id. Fixed in a9d47c0f21: restored that file to the merge base ec227fc7b1 and let gen:schema rewrite it. The key never shipped and the def is a wire shape, so no tombstone is owed.", "tests": "head a9d47c0f21: vitest src/api/ai-answer.test.ts + src/type-alias-convention.pin.test.ts + scripts/dropped-refinements.test.ts + src/api/protocol.test.ts + src/contracts/ai-service.test.ts: 5/5 files, 337/337 tests. Ablation re-run on turnId with scripts/ablation-replace.mjs, WRAP mode: A17 CONTROL (turnId made required) red, 1 failed / 15; A18 (turnId typed unknown) red, 1 failed / 15. Each anchor hit exactly once and the tree was clean after restore. The first attempt used the round-1 anchor, which now matched twice (AiChatRequestSchema's turnId line too); ablation-replace refused it (exit 3, nothing written). Re-run with an anchor spanning the next line.", "gates": "pnpm --filter @objectstack/spec build exit 0 (lock VERDICT command-exit 0) after the gen:schema fix; check:generated with NODE_OPTIONS=--max-old-space-size=4096: 'All 14 generated artifacts are up to date' exit 0. The first run flagged content/docs/references stale; gen:docs regenerated it. pnpm --filter @objectstack/spec typecheck exit 0. pnpm --filter @objectstack/client typecheck exit 0, after building the client dependency closure in the fresh worktree. Round-1 red families re-run on a9d47c0f21, all exit 0: check:llms-txt, check:variant-docs, check:spec-parsed-alias. Also exit 0: check:authorable-surface, check:api-surface, check:entry-nameability, check:nul-bytes, check-adr-0087-registration, check-empty-changeset. overlap-check exit 1: clean against origin/main and #35224. It conflicts with draft PR #35239 (claude/issue-35147-destructive-still-shown-by) only in generated files: content/docs/references/api/protocol.mdx, content/docs/references/index.mdx, docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md. Whichever PR lands second regenerates those files. Same 6 NOT MEASURED families as round 1 (exit 3, another workspace package not built). CI on a9d47c0f21 not waited on.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "n/a", "files_changed": [ ".changeset/32642-ai-answer-routes.md", "packages/spec/src/api/protocol.zod.ts", "packages/spec/src/contracts/ai-service.ts", "packages/spec/src/api/ai-answer.test.ts", "generated: packages/spec/authorable-surface/api.json, content/docs/references/api/protocol.mdx" ], "deviations": [ "The order said overlap-check, then push. The rename commit 4f312a82e7 and the regen commit a9d47c0f21 were pushed before the round-2 overlap-check ran: AGENTS.md says to push a WIP commit before every step that takes minutes. The overlap reading above is on the pushed head; nothing was pushed after it.", "authorable-surface/api.json was restored to the merge base and rewritten by gen:schema, not edited by hand. gen:schema refuses to drop a key that the committed baseline still lists." ], "mcp_calls": "0", "api_writes": "1 — post-stamped os-dev-report round 2 on #32642 (relay). git push of 2 commits is not a REST write.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: cloud · cloud service-ai toMessage emits no turnId on stored messages; per amendment 6986582518 this is owed to the cloud lane when it resumes, and #31865 names it · noted, not filed" ] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
Round 3 (Check Changeset red at a9d47c0). New head a27aab1.
{ "issue": 32642, "round": 3, "status": "done", "branch": "claude/issue-32642-ai-answer-routes-spec", "pr": "https://github.com/objectstack-ai/objectstack/pull/35240", "head_sha": "a27aab1edff015f2b8659a2feb04ffcaea67af06", "summary": "The changeset .changeset/32642-ai-answer-routes.md now grades '@objectstack/spec': minor and declares Metadata-protocol: added, with Clause-② yes (widening) kept. No baseline file was touched. The PR body was NOT changed: os-dev.md lets a subagent write a PR body only in pr_create, never by PATCH (the seat writes it), and the relay issue_patch dry run also refused the prepared body because it does not open with a signature line. check-changeset-no-major reads the declaration from the PR body, so Check Changeset stays red until the seat applies the prepared body, which changes Metadata-protocol: none to added and corrects the turn_id spellings to turnId.", "checks_run": [ "check-changeset-no-major --event with the current stored PR body (Metadata-protocol: none): exit 1 (red, as expected)", "check-changeset-no-major --event with the prepared corrected body: exit 0, LEVEL AXIS ok: clause-② yes (widening), metadata-protocol added, no moved package graded patch", "check-changeset-no-major --self-test: exit 0", "check-empty-changeset: exit 0", "check-adr-0087-registration: exit 0", "overlap-check.mjs before the push: clean against main; overlaps only draft #35239 in generated files" ], "pr_body_changed": false, "seat_action": "apply the prepared PR body (held in the dev scratchpad as pr-body-r3.md; the seat's final report carries its path) to PR #35240, keeping the attribution first line and Fixes #32642", "api_writes": "1 — this post-stamped comment (relay dispatch). Plus git push (not a REST write). The issue_patch was only dry-run and was refused; nothing was sent.", "mcp_calls": "0", "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
Area o1-B on contract record 6987445765 (FAIL on
a27aab1edf), at 2026-11-18T18:16Z: the decisions for round 4.codelists must hold every code these paths really answer. AddUNAUTHENTICATEDto all three. AddNOT_IMPLEMENTEDandSERVICE_UNAVAILABLEwhere a list lacks them. Cite the framework door lines the record names (packages/runtime/src/domains/ai.ts,packages/runtime/src/dispatcher-plugin.ts). Add a test that the door's 401 body parses against each route error schema, and ablate it. Correct the file header and the changeset's Errors bullet to match. Re-scoping the docs alone is not chosen.turnId: admit null. OnAiConversationMessageSchemaand theAIConversationMessagecontract,turnIdis optional and nullable, matching the stored column andAiSavedQuestion.turnId. Add a test that a message withturnId: nullparses. This removes the narrowing against the passthrough base, so the arm stayswidening.minor, withMetadata-protocol: added. Regenerate the generated artefacts from the generators only. A fresh contract record is owed on the new head.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
os-dev-report
Round 4 (contract record 6987445765 FAIL on a27aab1; decisions 6987461764). New head 3f9f00d.
{ "issue": 32642, "round": 4, "status": "done", "branch": "claude/issue-32642-ai-answer-routes-spec", "pr": "https://github.com/objectstack-ai/objectstack/pull/35240", "head_sha": "3f9f00da9a9f9649d643204f87d50880d4037530", "summary": "F1: UNAUTHENTICATED is in all three closed error-code lists. NOT_IMPLEMENTED and SERVICE_UNAVAILABLE were added where a list lacked them (saved question: both; artifact: SERVICE_UNAVAILABLE; feedback: both). Cited at origin/main f2078e3674: packages/runtime/src/domains/ai.ts:63-67 and packages/runtime/src/dispatcher-plugin.ts:290-301 (both verified), plus anonymous-deny.ts:74, domains/unavailable.ts:61 and domains/ai.ts:180. The header, the three code docs and the changeset Errors bullet were corrected. F2: turnId is optional and nullable on AiConversationMessageSchema and on AIConversationMessage, and the changeset sentence was updated. F3: the header's 403 sentence also names saving a question from an answer (cloud saved-question-routes.ts:199-203 at c21b372, verified). origin/main was merged with os-regen-merge.sh, and the reference docs were regenerated by the generators only. The grade stays minor, with Metadata-protocol: added and Clause-② yes (widening).", "tests": "src/api/ai-answer.test.ts 22/22 on the head. With the type-alias pin test and protocol.test.ts: 3 files, 291/291. Ablations, one per new pin, each turned the file red and left the tree clean: A20, A21 and A22 each drop UNAUTHENTICATED from one list, and the matching door test fails, 1 failed / 22. A23 removes nullable from turnId, and the turnId: null test fails. A17 and A18 were re-run on the nullable anchor, 1 failed / 22 each. The first A20-A22 attempt was a refused no-op (the replacement was a prefix of the anchor), was not counted, and was re-run with a marker line.", "gates": "spec build exit 0; check:generated exit 0 (14 artifacts up to date); spec typecheck exit 0; client typecheck exit 0. A declared narrowed local subset of 23 of the 113 derived families was all exit 0; the rest is left to CI. check:spec-docblock-symbol-anchors was red first: the test comment carried line anchors to packages/runtime, so they were replaced by symbol and file anchors, and it is now green. check-changeset-no-major against the live PR body: exit 0. overlap-check: clean against main, #35244 and #35224; draft #35239 overlaps only in generated docs.", "pr_body": "not touched this round. A corrected body for the seat is held in the dev scratchpad as pr-body-r4.md. Stale lines it fixes: the 改了什么, 风险, 先看 and 两分钟验证 lines (15 tests is now 22); the errors paragraph (the door codes are added); the turnId paragraph (it now admits null); new field-table rows (door codes, the 403 when saving from an answer, the nullable column); the Tests head and counts; the ablation list (A20-A23); a new Verification block for round 4; and two acceptance notes (405 not added; line anchors live only in the PR body).", "api_writes": "1 — this post-stamped comment. Plus git push (not a REST write).", "mcp_calls": "0", "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi
Closed by merge · 2026-11-18T19:53Z: PR #35240 merged (
Fixes #32642).@objectstack/spec/apinow declares the saved-question, answer-artifact and answer-feedback route shapes, with closed error vocabularies that include the door's 401/501/503, and a conversation's messages carry an optional, nullableturnId. The contract record of record is 6988354803 (CONTRACT_REVIEW_TIER, PASS), and L1-a ACCEPT is 6988959055. Still owed elsewhere: the cloud lane's turn-id mapper and alignment (#31865), and the client SDK card #32644.pm:dispatchedandlease:o1-Bare removed.