Repository navigation
chore: version packages (next) - #37661
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
November 27, 2026 06:15
9d3dfbd to
a00da7a
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 27, 2026 07:21
a00da7a to
f79320c
Compare
Contributor
Author
📓 Docs Drift Check
What this run could not see
Coarse fallback — 210 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
November 27, 2026 12:11
c780ec4 to
db7a975
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 27, 2026 13:28
db7a975 to
748b852
Compare
os-zhuang
enabled auto-merge
November 27, 2026 14:03
This was referenced Nov 27, 2026
os-tesla
pushed a commit
that referenced
this pull request
Nov 27, 2026
…37851 note states the correction #37661 consumed .changeset/37608-disabled-holder-publish-rollback-refused.md into 19.0.0-next.1 and moved it to .changeset/pre/. Per the seat's ruling (.changeset/pre/ texts stay as written), this PR no longer edits it; the #37851 note now names what that note's "Not moved" list says and what holds from this release on. Claude-Session: https://claude.ai/code/session_01L9qibz3J6vDGdnFpMq3hkm Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Nov 27, 2026
Nenzyz
pushed a commit
to Nenzyz/objectstack
that referenced
this pull request
Dec 1, 2026
…nd pins say what it does (objectstack-ai#37849) <!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuDJAbBe3iTrFcF7GZrucZ32)_ Fixes objectstack-ai#37718 These are the review nits N1–N4 left by PR objectstack-ai#37714, the swimlane lane statistic. N5 moves to objectstack-ai#37844 and is not in this PR. ## Premise, measured on `main` - **N1.** `.changeset/37326-swimlane-lane-statistic.md` is still unreleased on `main`. Its last sentence reads "A swimlane board does not add the lanes that exist only past the page, as the flat board does." That can read as if the flat board also does not add them. - **N2.** `KanbanImpl.tsx` has two stale jsdocs: - `KanbanBoardProps.laneCounts` says "Drawn on the flat layout only". The swimlane layout reads it in `swimlaneColumnCount` and `swimlaneCountIsWhole`. - The `LaneFootStatistic` jsdoc names `SwimlaneFootRow`, which is defined nowhere. - **N3.** Nothing pins the `!flatLanes` gate on `extraLaneIds` in `ObjectKanban.tsx`. - **N4.** The 37326 test pins `sum` and `count` only. ## What changes - **Changeset (N1):** the sentence now ends "unlike the flat board, which adds them". The open release PR (objectstack-ai#37661) carries the old sentence. It picks up the new one when it regenerates. - **`KanbanImpl.tsx`, jsdoc only (N2):** - `laneCounts` is drawn on both layouts: the flat lane header, and a swimlane board's column title row and foot. There it is the column's count across every swimlane. A swimlane row's own count stays the cards drawn, and only takes its `+` from `laneCounts`. - `LaneFootStatistic` now names the swimlane layout's `data-kanban-swimlane-foot` row. - **`ObjectKanban.swimlaneStatistic-37326.test.tsx`:** - **(g), N4:** `avg`, `min` and `max` at the swimlane foot, one case each. Each is read from the one grouped read, grouped by the column field alone: avg `9.5`/`1.5`, min `0`/`0`, max `19`/`3`. The test's grouped-read stub now computes those three functions too. - **(h), N3:** a board laned by a lookup field, handed one page with its query, where one account's deals all sit past the page. - In swimlanes it draws the page's two columns only and asks no title read for the later lane. - **CONTROL:** the flat board draws that lane, titled by its account, after an `id IN ('a3')` read. - With the `!flatLanes` term removed, the swimlane case goes red and the CONTROL stays green. ## Decisions made here - **N3 pinned here, not with objectstack-ai#37517.** The pin sits next to the swimlane foot tests it guards and needs no other change. objectstack-ai#37517 can extend it. - **No new changeset.** No shipped behaviour changes. The one changeset edit is N1. ## Verification - `vitest` over all of `@object-ui/plugin-kanban`: 91 files, 609 passed. The 37326 file alone: 11 passed, 1 red with the gate removed, as above. - `tsc -p tsconfig.test.json` for plugin-kanban: clean. - `overlap-check`: exit 0. It shares the changeset with release PR objectstack-ai#37661, which merges cleanly. Clause-②: no Metadata-protocol: none Skills-docs: none ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (No spec change.) - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `eslint` on the changed files passes (the full `pnpm lint` runs in CI). - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. --- _Generated by [Claude Code](https://claude.ai/code/session_01L6bhgUuauSMJu1nVSQRQri)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgUuauSMJu1nVSQRQri <!-- signed: repo:objectstack#2 · os-sales · session_01L6bhgUuauSMJu1nVSQRQri --> Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz
pushed a commit
to Nenzyz/objectstack
that referenced
this pull request
Dec 1, 2026
…me only disabled packages hold, with or without a package-less row (objectstack-ai#37851) (objectstack-ai#37948) repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoHpXeKaibCgzF7LxhhjHxMf)_ Fixes objectstack-ai#37851 Clause-②: no (narrowing) Metadata-protocol: narrowed Skills-docs: none — no page under `skills/**` or `content/docs/**` teaches a per-item publish or rollback naming no package over a name only disabled packages hold; the refusal's own sentence names the fix ## 维护者速读 - 包停用后,不指明包的单项发布和回滚以前还能写进去(发布写进停用包自己的行,回滚把已删的无包定制重新插回来),现在和保存一样被拒绝,什么都不写。 - 这是 objectstack-ai#37851 裁定 A 「两处都拒绝」的实现,外加裁定要求先测的第三格(停用包自有行的裸回滚):实测在 main 上也落地,所以一并拒绝。 - 写包自己的行的两种(发布自有草稿、回滚自有行)提示"指明包"(`?package=`),指明包后照常写;会把无包行插回来的回滚提示"先启用包"。指明包的写、读、启用后的行为都不变;本改动可整体撤回。 - 无 ## What changes Ruling A on objectstack-ai#37851 (comment 7216539589, maintainer 「两处都拒绝」): the per-item publish and rollback naming no package refuse a name only disabled packages hold, as the bare save does, whether or not a package-less row is stored. PR objectstack-ai#37818 made both doors ask the disabled-holders judgment only where they read or write a package-unbound row that is already stored; three cells were left writing. - **Cell (a), per-item publish of the disabled package's own draft** (`promoteDraftForPublish`, `packages/metadata-protocol/src/protocol-history-and-publish.ts`): where no package is named and the draft address is the package's own draft (`key` and `into` that package), the door now asks `packagelessHolderRefusal` (`arms: 'disabled-holders'`) with `unbound: false`. Over a name only disabled packages hold it answers `disabledHoldersOnlyRefusal` (verb `publish`): `409 RESOURCE_CONFLICT`, "Name the package this publish is for, then send it again …", the bare save's own sentence there. That holds whether or not a package-less row is stored beside it, because the promotion never touches that row and the publish naming the package reaches the draft. This flips the control pin objectstack-ai#37818 added (its line 320). - **Cell (b), per-item rollback with the package-less row's history but no row stored** (`rollbackMetaItemUnaudited`, `packages/metadata-protocol/src/protocol-package-commits.ts`): the `active.unbound` precondition is dropped. Where the restore writes the package-unbound row (`rollbackPackageId === null`), stored or not, the door answers `disabledHoldersCustomizationRefusal` (verb `rollback`): `409 RESOURCE_CONFLICT`, "Enable the package that holds …". The restore would have inserted the package-unbound row again, which is the disabled holder's customization. - **Cell (c), per-item rollback of the disabled package's own row** (same door): measured first, as the ruling asks. On `main` 73d5e34 it answered `success: true` and restored the row (pin below, red on main). Refused in this PR as (a) is: `unbound: false`, `disabledHoldersOnlyRefusal` (verb `rollback`), and the rollback naming the package still restores it. The rollback's candidate set is the active rows' bindings plus the restore's binding, so a `.custom` pair of a disabled base is judged the way the save judges it. The judgment returns `undefined` with any enabled holder, so every answer over an enabled package is unchanged. The `packagelessHolderRefusal` docblock now says which state each door asks. Also in this PR: - **Migration entry** `disabled-holder-package-less-row-bare-write-refused` (spec, pending release): the surface, replacement, reason and acceptance criteria name the three cells and their two remedies. The `reason` sentence L2 S1 on objectstack-ai#37818 required ("with none stored they judge no holder … not refused by this entry") is replaced with what the doors now do. - **New changeset** `.changeset/37851-disabled-holder-own-row-publish-rollback-refused.md`: `minor` for metadata-protocol and spec, BREAKING scoped to the three cells, ADR-0087 `not-required (already-registered disabled-holder-package-less-row-bare-write-refused)`. Its "Not moved" paragraph also carries the correction to the 37608 note (next bullet). - **No edit to the released note** `.changeset/pre/37608-disabled-holder-publish-rollback-refused.md`. The release PR objectstack-ai#37661 (`19.0.0-next.1`) consumed it, so this PR keeps `main`'s blob byte for byte (seat ruling, Option B, comment 7222609810). Its "Not moved" list still names these three cells as landing; the objectstack-ai#37851 changeset above states the correction, and whether to edit the pre/ text before GA is the release owner's call. `Check Changeset` is green. - ADR-0150 D3 note wording (`docs/adr/**`) is not in this diff; the seat carries it to the ADR checklist, per the ruling. ## Tests `packages/objectql/src/disabled-holder-packageless-row-doors.test.ts`, inside the `describe` objectstack-ai#37818 added (same fixture: `com.acme.mail` ships `email_template` `acme.welcome` in en-US / zh-CN; `fr-FR` is a member it never ships, the cell the D11 close leaves open): - publish, the package's own draft, `it.each` over beside the stored package-less row (the flipped :320 control) and with no package-less row stored: refused 409 with the `?package=` sentence, no package named, every stored row byte-identical. CONTROL: the publish naming the package promotes it, the package-less row byte-identical. - CONTROL: publish of the package's own draft, re-enabled: the bare publish promotes it as on `main`. - rollback with the package-less row's history but no row stored (saved twice, deleted, then disabled): refused 409 with the enable sentence, no row inserted. CONTROL: re-enabled, the same rollback restores the version. - rollback of the package's own row (saved twice with `packageId`, then disabled): refused 409 with the `?package=` sentence, nothing written. CONTROL: the rollback naming the package restores it; re-enabled, it is served. <details><summary>Measurement, reach on main, fix</summary> - **Served-stack measurement before the ruling** (real `RestServer` routes over the real ObjectQL engine and protocol, in-memory driver, this fixture, `origin/main` 0a3ea67): recorded on the card, comment 7216513948. Bare `PUT` answered `409 RESOURCE_CONFLICT`; bare `POST /publish` and bare `POST /rollback` answered `200` and wrote. - **Reach on `main` 73d5e34** (pins committed first as 1217b6a, run against main's `metadata-protocol` build): `Tests 5 failed | 9 passed (14)`. The four refusal pins and the re-enabled publish control failed with `no refusal: expected [ undefined, undefined ] to deeply equal [ 409, 'RESOURCE_CONFLICT' ]`; that includes cell (c), so the ruling's third cell lands on `main`. - **Fix** (42bb7de, metadata-protocol rebuilt): `Tests 14 passed (14)`. </details> ## Verification Local, at head 0480711 on `origin/main` 73d5e34, each run through `os-verify-lock`: | Run | Result | |---|---| | `pnpm --filter @objectstack/metadata-protocol test` | `Test Files 372 passed \| 9 skipped (381)`, `Tests 23598 passed \| 45 skipped (23643)`, exit 0 | | `pnpm --filter @objectstack/objectql test` | `Test Files 642 passed (642)`, `Tests 14535 passed (14535)`, exit 0 | | `pnpm --filter @objectstack/rest test` | `Test Files 432 passed (432)`, `Tests 8972 passed \| 351 skipped (9323)`, exit 0 | | `typecheck` metadata-protocol, objectql | exit 0 | | spec `vitest run src/migrations` | `Tests 206 passed (206)` | | Derived gate families (`dispatch-gates.mjs --commands`, 98 commands) | 95 exit 0 (spec `check:api-surface`, `check:browser-reachable-entries`, `check:dual-source-exports`, `check:entry-nameability`, `check:exported-any` and cli `migrate-meta-engine-guidance.test.ts` green after a spec + cli rebuild). `check-empty-changeset` was red at this head on the then-DELIBERATE CORRECTION of the 37608 note; that edit is gone at `c488ff99` (Option B) and `Check Changeset` is green there | NOT MEASURED locally: `check:dual-build-cjs-loads`, reason: it needs every package's `dist/` (no `adapters/hono`, `apps/account` build here); CI's Lint & Repo Gates runs it. `check-plugin-teardown-shape --self-test`, reason: shallow clone cannot reach its pinned fixture commit; checker-health only. Dogfood battery at the final head `c488ff99`, under `os-verify-lock` (card comment 7223157350): closure build exit 0; spec `check:generated` 14 of 14 up to date; pin file 14 of 14 passed; dogfood 490 test files passed (3 skipped), 4144 tests passed (68 skipped). CI at `c488ff99`: 58 success, 11 skipped, none red. ## Acceptance notes - The enable sentence says "the row stored for it under no package is that package's customization". In cell (b) no such row is stored at the moment of the refusal; its history is, and the restore would store it. The ruling names that sentence for (b), so this PR keeps it unchanged. - In-process `publishMetaItem` with `packageId: null` present (objectstack-ai#37818 record N1) still takes the named branch; unchanged here. --- _Generated by [Claude Code](https://claude.ai/code/session_01L9qibz3J6vDGdnFpMq3hkm)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz
pushed a commit
to Nenzyz/objectstack
that referenced
this pull request
Dec 1, 2026
… checks; the group text drops the cloud fallback (objectstack-ai#37982) repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP Fixes objectstack-ai#37907 Fixes objectstack-ai#37680 Clause-②: yes (narrowing) Metadata-protocol: none Skills-docs: none — no skill under `skills/**` teaches the Knowledge page's test action, `knowledgeTestActionHandler` or the Turso group's text. ## 维护者速读 - 用户能看到什么变化:PostgreSQL 部署的知识设置页上不再有「测试连接」按钮;用 Turso 存储的部署里,按钮跟 Turso 字段放在一起,说明文字不再提云版按组织复用数据库,改为说明留空即用数据目录里的 knowledge.db。 - 为什么做:知识检索设置的复审收尾,让按钮只出现在它检查的字段旁边,并改正一句与实际不符的说明(云版事实已由云席位核实)。 - 出错会怎样:只影响设置页上的按钮和说明文字,不改任何已存数据;可直接撤回本次合并。 - 要你做什么:无。 ## What changes - **N1 (objectstack-ai#37907).** The `test` action_button and `knowledgeTestActionHandler` move from `@objectstack/service-settings` (manifest declaration, handler, package export) and `@objectstack/service-knowledge` (registration) into `@objectstack/knowledge-turso`'s settings contribution. The button is now the last entry of the Turso group, right after `turso_auth_token`, and `contributeKnowledgeTursoSettings` registers the handler only where it adds the group. So: - no knowledge-turso, or knowledge-turso given its own `url`/`client`: the page has no Test connection, and `POST /api/settings/knowledge/test` answers `400 SETTINGS_ACTION_FAILED` (no handler registered), the same envelope as an action no page declares; - knowledge-turso reading its URL from settings: the action is on the page and answers the Turso form check with `200`, as before. - The label moved too: out of the eleven service-settings bundles (`settings.knowledge.actions.test`), into `knowledgeTursoSettingsTranslations`, same strings, all 11 locales in step. - `@objectstack/service-settings` no longer exports `knowledgeTestActionHandler`; `@objectstack/knowledge-turso` does (plus `KNOWLEDGE_TURSO_TEST_ACTION` and two structural types). The migration line is in the changeset. - **N2 (objectstack-ai#37907).** `KnowledgeTursoPlugin.init()` warns once when `contributeKnowledgeTursoSettings` returns false under `opensFromSettings()`, naming the consequence (nothing can be saved there, the store opens its default file, path given) and the fix. The function now answers whether the page carries BOTH Turso keys, so a host page declaring one group id without the keys also warns. - **N3 (objectstack-ai#37907).** `content/docs/ai/knowledge-rag.mdx` (the Settings → Knowledge bullet) now gives the tidy-up for a PostgreSQL deployment that saved the two Turso keys, naming the `sys_secret` row the `turso_auth_token` row's handle points at. The card's else-branch: the 37678 note is no longer pending (see below). - **objectstack-ai#37680, folded.** The Turso group description: the English fallback loses "In a cloud deployment with a database per organization, leave blank to reuse that organization's own database connection." (no deployment does that: cloud fact 7217205358 on objectstack-ai#37680), and every locale loses the "On PostgreSQL ... these fields are not read" clause (the group is never shown on PostgreSQL). Each now says "Leave blank to use knowledge.db in the data directory." in its language, 11 locales plus the fallback, in step. Written without backticks around `knowledge.db` because the page renders the string as plain text. - `content/docs/ai/knowledge-rag.mdx` says Test connection comes with the two fields. ### No changeset correction The 37678 note (PR objectstack-ai#37902) was consumed by main's version pass (objectstack-ai#37661): it now lives at `.changeset/pre/37678-knowledge-turso-settings-group.md` and its text is published in the `19.0.0-next.1` CHANGELOG sections of `@objectstack/knowledge-turso` and `@objectstack/service-settings`. Earlier heads of this PR edited its tidy sentence as a DELIBERATE CORRECTION of a pending note; contract record 7224029827 (S2) showed that edit no longer reaches any reader before the stable cut and would keep the whole `19.0.0-next.1` section at that cut. This head leaves the consumed note byte-identical to main and puts the `sys_secret` clause on the docs page instead, as card objectstack-ai#37907 routes it for a note that is no longer pending. The two published CHANGELOG entries are release-owned and are not touched here. This PR's own note is `.changeset/37907-knowledge-turso-test-connection.md` (patch on the three packages, one ADR-0087 marker, BREAKING paragraph for three readers). ## Tests See the report on objectstack-ai#37907 for the run log at the final head. New and moved pins: - `packages/plugins/knowledge-turso/src/__tests__/settings-contribution.test.ts` (real LiteKernel, real settings service and HTTP door, real knowledge service): no-store page has no action_button and the test door answers the undeclared-action envelope (control: `never_declared`); store-from-settings page carries `turso, turso_url, turso_auth_token, test` in front and the door answers 200 where the control is 400; own-url page has no action; copy carries the action label in 11 locales and the settings bundle no longer does; the description pin (PostgreSQL named once, `knowledge.db` named, no cloud or "not read" clause, in the fallback and 11 locales); the handler unit pins moved from service-settings; the N2 pins (no settings service and a host page with `test` but no keys each warn once; a contributed page and an own-url store say nothing). - service-settings: the manifest declares no action_button; the retired-keys pin now asserts the no-handler envelope against an undeclared control, and its re-registration case keeps a stub handler. - service-knowledge: the mounted page has no `test` and its door answers as an undeclared action. ## Acceptance notes - `knowledgeTestActionHandler` leaving `@objectstack/service-settings`' entry is a removed export of a published package; the dispatch order and the card name the handler's move, and the changeset carries the FROM/TO import line. Flagged for the seat with the narrowing. - The manifest `version` stays 5: an action_button carries no key, and the spec's bump rule is about keys. ## Verification Two-minute check: `pnpm --filter @objectstack/knowledge-turso exec vitest run src/__tests__/settings-contribution.test.ts` — every describe green, including "has no Test connection" and "answers Test connection with the Turso check". Read first: `packages/plugins/knowledge-turso/src/settings-contribution.ts` (`contributeKnowledgeTursoSettings`: registration order and the new both-keys return), `packages/plugins/knowledge-turso/src/plugin.ts` (`init()` warn), `.changeset/37907-knowledge-turso-test-connection.md`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP --------- Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz
pushed a commit
to Nenzyz/objectstack
that referenced
this pull request
Dec 1, 2026
…-ai#37924) repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6Jao3kn7MME6XXkhPoFyJyisdQ)_ Fixes objectstack-ai#37856 Fixes objectstack-ai#37827 Clause-②: no (narrowing) Metadata-protocol: narrowed Skills-docs: follow-up objectstack-ai#37857 ## 维护者速读 - 作者和终端用户:记录页、列表行、仪表盘上不再有「问 AI」动作按钮,进入助手只走页头的「问 AI」入口,它自动带上当前记录。 - 属于「问 AI」入口专题:按维护者裁定,在 19.0.0 正式版之前撤掉只在预发布版出现过的这个动作类型。 - 已写了这种动作的作者会在校验时看到一句处方;升级命令能删的自动删,被引用的留给作者手删;库里已存的这种动作直接不显示,可按名删除。正式版前撤回本 PR 即可恢复。 - 要你做什么:批准合入;请在下一个预发布版之前合入(技能文档那张卡 objectstack-ai#37937 已先合,技能示例检查已绿;next.1 已经带上了技能的改动,本 PR 合入后两边才一致)。 ## What changes ADR-0160 D7, seventh amendment: `ask_ai` leaves `ActionType` before 19.0.0 with no compatibility shim. It was published only on `19.0.0-next.0`. - **Refusal with one prescription** (`packages/spec/src/ui/action-ask-ai-retired.ts`, not barrel-exported) in every slot that takes an action type: `ActionType` (now `enumWithRetiredValues`, so the dashboard header's derived `actionType` refuses it too), a declared or inline action's `type`, `actionType` on `action:button` / `action:icon` rows, and `type` on `action:group` / `action:menu` members. - **ADR-0087 kit**: D2 conversion `action-type-ask-ai-removed` (retired from the load path, `retiredAfter: '18.6.0'`) and D3 entry `ui-action-type-ask-ai-retired`. `ConversionContext.atRest` tells the two doors apart: - over sources (`os migrate meta --from 18`) a declared `ask_ai` action is deleted only when no string anywhere else in the stack names it; a named one stays as written with every reference, and is listed by the D3 entry. (The conversion's `reportTodo` call is not reached in production: `os migrate meta` passes no context, and at rest `keep` is always false. L2 N1, 7218663105.) The conversion never deletes a reference. - at rest (stored rows, built artifacts) every `ask_ai` action, row and member is deleted. - **Stored seam answers "no item"**: `applyConversionsToStoredItem` returns `undefined` when the chain leaves nothing of a row. Its callers in `metadata-protocol` (overlay reads, list drafts, registry hydration, diff load, package duplicate/import), `metadata` (`DatabaseLoader`), `core` (authored translation sync) and `service-datasource` serve and register nothing for such a row. `DatabaseLoader` still reads a row's identity (name, object binding) from the stored body, so the delete door reaches it. `migrateStoredMetadata` lists it `skipped` with `DELETE /api/v1/meta/action/<name>` instead of re-saving it. - **Removed with the type** (revert of b7dee0e, adapted): ActionRunner's ask_ai executor and `setAssistantFocusHandler` / `drawsAction` / `isAskAiAction`; `<ActionProvider onAskAi>` and `useDrawsAction()`; the renderers' drawn-action gates; `useAskAiHandler`; `setChatFocus` and its hosts. The conversation pin from objectstack-ai#36999 stays, set from the composer chip only. objectstack-ai#37827 (the record page dropping the handler) closes because the handler is gone. - `ActionType`'s live members are now the non-exported `ACTION_TYPE_VALUES` array it wraps. `scripts/check-skill-identifier-liveness.mjs` binds the `### Action Types` table to it (the `SeedMode` precedent). This one gate file is outside the claim's file surface; it is the only way that gate can read the enum now. ## Tests - `packages/spec/src/ui/action-ask-ai-retired.test.ts`: the refusal and its path in each slot, with live-type controls. - `packages/spec/src/conversions/action-type-ask-ai-removed.test.ts`: source keeps the named action and deletes the unnamed one, lists the D3 entry, and reports the todo when a context is passed (a test-only path; see above); at rest deletes both; idempotent; stored seam answers `undefined` for an ask_ai `action` row and strips only the action from an object row. - `packages/spec/src/shared/retired-key-removal-version.pin.test.ts`: the conversion joined to its prescriptions (names 19.0.0 and `--from 18`). - `packages/metadata/src/loaders/database-loader-ask-ai-retired-row.test.ts` (real SQLite): load serves nothing, `exists` and `delete` reach the row, and a same-name write keeps the two object bindings apart. Ablation: reading identity through the converted body turns the last case red. - `packages/metadata-protocol/src/protocol.stored-ask-ai-retired-row.test.ts`: the stored pass lists the row `skipped` with the delete door, an apply run writes nothing, the list read serves only the live row. Ablation: removing the skip branch turns two cases red. ## Acceptance notes - **Landing order**: C1s objectstack-ai#37857 (PR objectstack-ai#37937) merged first as `4de4e3e9`, and this branch merged it (`24857955`, head `ffd87c6a`). `check:skill-examples` is green on the merged tree (351 examples). The release PR objectstack-ai#37661 (`30a8047b`, `19.0.0-next.1`) merged between the two, so a next.1 published from that tree has the skills without the `ask_ai` teaching while the spec still parses it. This PR closes that window and should land before the next prerelease. The record is on objectstack-ai#37937. - **Baselines**: `check:api-surface`, `check:authorable-surface` and `check:generated` are green with no baseline file changed. The reference pages under `content/docs/references/` are regenerated (the enum lists lose `ask_ai`). - `git grep -n ask_ai` outside `skills/**`, `docs/adr/**`, `.changeset/pre/` and the CHANGELOGs leaves only the prescription and its two schema call sites, the conversion and its semantic entry, and their tests. The Studio canvas strings (`designer.canvas.askAi*`) are untouched. - `.changeset/pre/37142-ask-ai-action-type.md` and the `setChatFocus` line of `.changeset/pre/36999-conversation-focus.md` are left as written. This PR's changeset carries the correction. Whether the prerelease texts themselves change is for the release owner. - **brightrule**: it declares `brightrule_policy_ask` (`type: 'ask_ai'`) and has to drop it before it moves to a build with this change. It was not booted here, and this repo cannot read its source. The card's acceptance line "brightrule boots on the new version" is a release gate, not a merge gate. It is carried by brightrule's owner, epic:objectstack-ai#5027#1, who gets a Notify with the merge sha on objectstack-ai#37634. ## Verification <details><summary>Readings</summary> - spec: `vitest run` full package 976 files / 29,727 tests, 1 red before the pin join (fixed, 68/68 after); `src/ui src/conversions src/migrations` 224 files / 7,701 tests green. - typecheck green: spec (`tsc` + `check:test-typecheck`), metadata, metadata-protocol, core (+ test typecheck), runtime (+ test typecheck), service-datasource, `@object-ui/core`, `react`, `components`, `plugin-grid`, `plugin-detail`, `app-shell`. - metadata `database-loader.test.ts` + new file: 502 green. metadata-protocol new file: 3 green. - `dispatch-gates.mjs --commands`: 128 commands run. Red found and fixed: `check:generated` / `check:test-typecheck` (stored seam's `undefined` in 4 existing tests), `check:skill-identifier-liveness`, `check:engine-double-contract` (ledger `--write`), `check:objectql-double-limit`, `check:test-source-alias`. Prerequisites cleared: `check:published-readme-exports`, `check-plugin-teardown-shape --self-test`. Still red: `check:skill-examples` (order above). - dogfood battery on the final head `ffd87c6a`: passed under the verify lock (VERDICT command-exit 0), 490 test files passed and 3 skipped, 4144 tests passed and 68 skipped, 0 failed. This is the CI command with no shard. The os-dev-report for this head is 7222528251. </details> Two-minute check: `pnpm --filter @objectstack/spec exec vitest run src/ui/action-ask-ai-retired.test.ts src/conversions/action-type-ask-ai-removed.test.ts`. Expect 2 files green. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L9qibzCKZkVMWDVKhZVdRK --------- Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@objectstack/core@19.0.0-next.1
@objectstack/lint@19.0.0-next.1
@objectstack/plugin-security@19.0.0-next.1
@objectstack/spec@19.0.0-next.1
@objectstack/setup@19.0.0-next.1
@objectstack/studio@19.0.0-next.1
@objectstack/cli@19.0.0-next.1
@objectstack/formula@19.0.0-next.1
@objectstack/mcp@19.0.0-next.1
@objectstack/metadata@19.0.0-next.1
@objectstack/metadata-core@19.0.0-next.1
@objectstack/metadata-protocol@19.0.0-next.1
@objectstack/objectql@19.0.0-next.1
@objectstack/platform-objects@19.0.0-next.1
@objectstack/knowledge-memory@19.0.0-next.1
@objectstack/knowledge-pgvector@19.0.0-next.1
@objectstack/knowledge-turso@19.0.0-next.1
@objectstack/plugin-audit@19.0.0-next.1
@objectstack/rest@19.0.0-next.1
@objectstack/runtime@19.0.0-next.1
@objectstack/service-knowledge@19.0.0-next.1
@objectstack/service-settings@19.0.0-next.1
@objectstack/verify@19.0.0-next.1
@object-ui/i18n@19.0.0-next.1
@object-ui/plugin-calendar@19.0.0-next.1
@object-ui/plugin-detail@19.0.0-next.1
@object-ui/plugin-gantt@19.0.0-next.1
@object-ui/plugin-kanban@19.0.0-next.1
@object-ui/plugin-list@19.0.0-next.1
@object-ui/plugin-timesheet@19.0.0-next.1
@object-ui/plugin-view@19.0.0-next.1
@object-ui/types@19.0.0-next.1
@objectstack/hono@19.0.0-next.1
@objectstack/account@19.0.0-next.1
@objectstack/client@19.0.0-next.1
@objectstack/client-react@19.0.0-next.1
@objectstack/cloud-connection@19.0.0-next.1
@objectstack/connector-mcp@19.0.0-next.1
@objectstack/connector-openapi@19.0.0-next.1
@objectstack/connector-rest@19.0.0-next.1
@objectstack/connector-slack@19.0.0-next.1
@objectstack/console@19.0.0-next.1
@objectstack/driver-memory@19.0.0-next.1
@objectstack/driver-mongodb@19.0.0-next.1
@objectstack/driver-odata@19.0.0-next.1
@objectstack/driver-sql@19.0.0-next.1
@objectstack/driver-sqlite-wasm@19.0.0-next.1
@objectstack/driver-turso@19.0.0-next.1
@objectstack/metadata-fs@19.0.0-next.1
@objectstack/observability@19.0.0-next.1
@objectstack/embedder-openai@19.0.0-next.1
@objectstack/organizations@19.0.0-next.1
@objectstack/plugin-approvals@19.0.0-next.1
@objectstack/plugin-auth@19.0.0-next.1
@objectstack/plugin-dev@19.0.0-next.1
@objectstack/plugin-email@19.0.0-next.1
@objectstack/plugin-hono-server@19.0.0-next.1
@objectstack/plugin-pinyin-search@19.0.0-next.1
@objectstack/plugin-sharing@19.0.0-next.1
@objectstack/plugin-webhooks@19.0.0-next.1
@objectstack/scenarios@19.0.0-next.1
@objectstack/service-analytics@19.0.0-next.1
@objectstack/service-automation@19.0.0-next.1
@objectstack/service-cache@19.0.0-next.1
@objectstack/service-cluster@19.0.0-next.1
@objectstack/service-cluster-redis@19.0.0-next.1
@objectstack/service-datasource@19.0.0-next.1
@objectstack/service-i18n@19.0.0-next.1
@objectstack/service-job@19.0.0-next.1
@objectstack/service-mailbox@19.0.0-next.1
@objectstack/service-messaging@19.0.0-next.1
@objectstack/service-package@19.0.0-next.1
@objectstack/service-print@19.0.0-next.1
@objectstack/service-push@19.0.0-next.1
@objectstack/service-queue@19.0.0-next.1
@objectstack/service-realtime@19.0.0-next.1
@objectstack/service-record-context@19.0.0-next.1
@objectstack/service-sms@19.0.0-next.1
@objectstack/service-storage@19.0.0-next.1
@objectstack/skills@19.0.0-next.1
@objectstack/trigger-api@19.0.0-next.1
@objectstack/trigger-record-change@19.0.0-next.1
@objectstack/trigger-schedule@19.0.0-next.1
@objectstack/types@19.0.0-next.1
@object-ui/console@19.0.0-next.1
@object-ui/auth@19.0.0-next.1
@object-ui/cli@19.0.0-next.1
@object-ui/collaboration@19.0.0-next.1
@object-ui/components@19.0.0-next.1
@object-ui/core@19.0.0-next.1
@object-ui/data-objectstack@19.0.0-next.1
@object-ui/fields@19.0.0-next.1
@object-ui/layout@19.0.0-next.1
@object-ui/mobile@19.0.0-next.1
@object-ui/permissions@19.0.0-next.1
@object-ui/plugin-charts@19.0.0-next.1
@object-ui/plugin-chatbot@19.0.0-next.1
@object-ui/plugin-dashboard@19.0.0-next.1
@object-ui/plugin-designer@19.0.0-next.1
@object-ui/plugin-editor@19.0.0-next.1
@object-ui/plugin-form@19.0.0-next.1
@object-ui/plugin-grid@19.0.0-next.1
@object-ui/plugin-map@19.0.0-next.1
@object-ui/plugin-markdown@19.0.0-next.1
@object-ui/plugin-report@19.0.0-next.1
@object-ui/plugin-timeline@19.0.0-next.1
@object-ui/plugin-tree@19.0.0-next.1
@object-ui/react@19.0.0-next.1
@objectstack/connector-imap@19.0.0-next.1
create-objectstack@19.0.0-next.1
@objectstack/sdui-parser@19.0.0-next.1
@object-ui/create-plugin@19.0.0-next.1
@object-ui/react-runtime@19.0.0-next.1
@object-ui/app-shell@18.6.0-next.1
@objectstack/example-crm@4.0.107-next.1
@objectstack/example-multi-package@0.0.14-next.1
@objectstack/example-showcase@0.3.29-next.1
@objectstack/example-starter@0.1.1-next.1
@objectstack/example-todo@4.0.107-next.1
@objectstack/example-embed-objectql@0.0.47-next.1
@objectstack/connector-app-docusign@0.1.5-next.1
@objectstack/connector-app-github@0.1.5-next.1
@objectstack/connector-app-stripe@0.1.5-next.1
@objectstack/dogfood@0.0.55-next.1
@objectstack/downstream-contract@0.0.53-next.1
@objectstack/http-conformance@0.1.15-next.1