Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/adr/0037-live-canvas-draft-preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Everything hard about live preview already exists in the platform; it has simply
| SPA usage of `preview=draft` | — | ❌ none (the gap) |
| Draft **data** (seed rows before publish) | — | ❌ does not exist (Phase 3) |

> **Note (2026-11-30, [#37753](https://github.com/objectstack-ai/objectstack/issues/37753), carried by [#38438](https://github.com/objectstack-ai/objectstack/issues/38438); built by [#38398](https://github.com/objectstack-ai/objectstack/pull/38398)).** The build-progress stream frame is retired, so two passages no longer describe `main`: TL;DR item 2's "the streaming build tree (`data-build-progress` parts)", and the row of the table above that marks "`data-build-progress` stream parts" ✅ shipped. No decision changes. The frame's one reader, the build chat's progress panel, left with the build chat frontend ([#37720](https://github.com/objectstack-ai/objectstack/pull/37720)), and its producer, the cloud build loop, with objectstack-ai/cloud#5046. #38398 then removed the frame's declaration from `@objectstack/spec/ai` (the module `packages/spec/src/ai/build-progress.zod.ts`, its schemas, types and constants). The upgrade guidance is the ADR-0087 entry `ai-build-progress-frame-retired` (`packages/spec/src/migrations/entries/semantic/19.ai-build-progress-frame-retired.ts`): a host that still streams a progress part of its own passes any `data-` part name to `ctx.onProgress` and owns the payload it sends. Phase 2's first invalidation source, the `buildProgress.items` diffs, was the same signal as the chat held it, and no code under `ui/` holds it any more. The per-edit signal, each authoring tool's `drafted` envelope, is not this note's subject. Both passages are left as written; read them with this note.

### Why now

The 2026-06-10 reliability batch closed the failure modes a live canvas would have amplified: dangling dataset references auto-heal, seed data reliably lands on publish (loudly when it can't), the build streams artifact-level progress, and reloaded conversations render honestly. The canvas is now an additive surface over trustworthy primitives, not a magnifier for bugs.
Expand Down
4 changes: 4 additions & 0 deletions docs/adr/0084-application-builder-information-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ Every type the spec registers, enumerated at `origin/main` `151e8123` from `pack

*(Rewritten 2026-11-29, card [#37087](https://github.com/objectstack-ai/objectstack/issues/37087), which carries out [Amendment (2026-11-26)](#amendment-2026-11-26-moves) for one row and decides nothing: `form`. The same change takes the type off the directory's hidden types and brings its designer, so Studio lists it and its row is written: 界面 UI, fifth, directly after `report` ([item 11](#amendment-2026-11-26-silent)), and its tier is 常用; `view` and `action`, the two types behind it, are each one place later. Read again at `origin/main` `3014176695`: the registry holds the same 35 entries, and the table now has a row for each — 35 rows, counting 数据 Data 8 · 界面 UI 7 · 自动化 Automation 2 · 平台 Platform 7 · 访问 Access 6 · AI 5. The four rows that amendment left to their changes are now each rewritten or written: `dataset`'s, `position`'s, `datasource`'s and `form`'s.)*

*(Amended 2026-11-30, card [#38438](https://github.com/objectstack-ai/objectstack/issues/38438), from the contract review of the change that wrote the note above ([comment 7258340131](https://github.com/objectstack-ai/objectstack/pull/38619#issuecomment-7258340131), N1), which decides nothing: that note's "The same change takes the type off the directory's hidden types and brings its designer" is true of card #37087 and loose for the change. The card landed in two pull requests. The first ([#38484](https://github.com/objectstack-ai/objectstack/pull/38484)) brought the designer (`ui/packages/app-shell/src/views/studio-design/publicForm/PublicFormsDesigner.tsx`). The second ([#38619](https://github.com/objectstack-ai/objectstack/pull/38619)), the change that wrote the row, lists the type: it takes `form` off the directory's hidden types (`ui/packages/app-shell/src/views/metadata-admin/directoryScope.ts#HIDDEN_DIRECTORY_TYPES`) and gives it its place in the menu (`ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.ts#STUDIO_MENU_PLACEMENT`). The row, its order and its tier stand as that note gives them, and that note is left as written.)*

The rows are in the menu's order: by group, then by **Order**, which counts inside a group. **Tier** is 常用 Common or 高级 Advanced. The Chinese word beside a registered name is the one the ruling or its proposal uses for that type; a type neither names in Chinese has none. `field` carries no order and no tier because it draws no row (the second reading below).

The table is the registry read at one commit. **The rule above is what binds**: a type added to the registry, or given another domain there, moves in the menu without this table being edited, and where the two disagree the registry is right. *(Amended 2026-11-25: that sentence is about the Group and `domain` columns. The Order and Tier columns are read from no registry — they are decided in this record, and a type the table has no row for is drawn in 高级 Advanced, at the end of its group: [Amendment (2026-11-25)](#amendment-2026-11-25).)*
Expand Down Expand Up @@ -449,6 +451,8 @@ Two things about 概览 are not decided here, and neither is yet a question: on

*(Amended 2026-11-28, card [#37958](https://github.com/objectstack-ai/objectstack/issues/37958), ruling record [comment 7218879913](https://github.com/objectstack-ai/objectstack/issues/37424#issuecomment-7218879913), the maintainer's 「全部按建议」 on the decision card for the full page's open questions: both are decided, and with them where ADR-0146 D3's line per package stands. **(1) Revert and the publish history**: on a read-only package with a pair they act on the pair, the same target as Pending and Publish. Revert is greyed only where nothing can be published (a read-only package with no pair) or the pair has nothing pending. **(2) Export** (option A): with a pair, 概览's Export downloads the pair, labelled as the base's customizations (「导出 HotCRM 的定制」); with no pair it downloads the package, as before. The cost is accepted: once a pair exists the base is not exported from the UI (it comes from the marketplace or from code). The ground: the uninstall refusal (`packages/objectql/src/registry.ts#PackageUninstallExtendedError`) and ADR-0146 D8 item 3 name the pair's export as the way to keep customizations. **(3) 概览's address** stays `/studio/<package>/overview`: a package page, not a metadata address, like the default sharing overview's `owd`. The bare `/studio/<package>` and the Studio entry's return to the last package open 概览 too, so opening a package has one landing; both landed on the object list before. This ruling names those two doors only, and one landing for every door is not ruled: the command palette's (⌘K) package entries, an app's design-in-Studio entry (`ui/packages/app-shell/src/utils/appRoute.ts#appStudioDesignPath`), the "Open in Studio" of an app's empty menu, and Setup's doors, which go with the Setup slimming (decision 10; [#37401](https://github.com/objectstack-ai/objectstack/issues/37401)), still open the object list, and that question is put to the maintainer at the merge of this amendment's pull request ([#38318](https://github.com/objectstack-ai/objectstack/pull/38318)). **(4) The line per package**, `<base> 已定制 n 项 · 已停用 m 项` (ADR-0146 D3; option B), is not on 概览: it stands under the title of the 全部类型 All types page, which already showed the customized count and gains the switched-off count. The detail panel of Setup → Packages is left as it is and goes with the Setup slimming ([#37401](https://github.com/objectstack-ai/objectstack/issues/37401)). Three costs are accepted: the 全部类型 row sits last in the 高级 Advanced fold; "switched off m" has no list to filter to; and the separate re-order count has no home.)*

*(Amended 2026-11-30, card [#38392](https://github.com/objectstack-ai/objectstack/issues/38392), ruling record [comment 7247357556](https://github.com/objectstack-ai/objectstack/issues/37958#issuecomment-7247357556), the maintainer's 「OK」 to 「⌘K、应用里的「在 Studio 中设计」、空菜单和设置页这几个入口,现在打开的还是对象列表。要不要都改成先进概览页?」: one landing for every door is ruled, so item (3)'s "one landing for every door is not ruled" and its list of doors that "still open the object list" no longer describe `main`. Every door that opens a package's Studio lands on `/studio/<package>/overview`, not on the object list (`ui/packages/app-shell/src/views/studio-design/studioOverviewAddress.ts#studioPackageOverviewPath`): the command palette's (⌘K) package entries; an app's design-in-Studio entry (`ui/packages/app-shell/src/utils/appRoute.ts#appStudioDesignPath`, where `#appStudioRoutePath` also falls back for the bare app root, a `system` route and an interface list); the "Open in App Studio" of an app's empty menu; and the three doors of Setup → Packages, which are "Open in App Studio" on an authored package's detail panel, the landing after New Package, and "Customize in App Studio" in the customizations section of a read-only base's detail panel. The pair's bare address `/studio/<base>.custom`, landed by [#38318](https://github.com/objectstack-ai/objectstack/pull/38318), lands on its base's 概览 and is covered by this ruling. `/studio/<package>/data` stays a working address for the object list (`ui/packages/app-shell/src/views/studio-design/studioAddress.ts#studioHomePath`). The review-changes deep link (`#studioChangesReviewPath`, `/studio/<package>/data?changes=review`) still builds that address: it opens the Changes drawer over the object list, and it is read as no door under this ruling, by a seat reading of 2026-11-29 recorded on the pull request that built this, not by a ruling. Built by [#38501](https://github.com/objectstack-ai/objectstack/pull/38501); the census of the doors is pinned in `ui/packages/app-shell/src/views/studio-design/studioDoorsOverview-38392.test.ts`. The amendment of 2026-11-28 is left as written; read its item (3) with this one.)*

### Placements, and what moves to Setup {#amendment-2026-11-26-moves}

Decision 12 draws the line: **Studio develops one package; Setup runs the organization and holds what is global** (maintainer: 「同意」). Five places are settled by it, by decision 6, and by the rulings of the same day on what the two had left open ([comment 7187264388](https://github.com/objectstack-ai/objectstack/issues/37451#issuecomment-7187264388)). A sixth is written for a type that is about to join the menu.
Expand Down
18 changes: 18 additions & 0 deletions docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,24 @@ Keys that merely hide/re-arrange correct information (`hideRelatedTab`, `showRef
> object key that only hides or only re-arranges still needs its own ruling, above all per-page
> show/hide switches.

> **Note (2026-11-30, [#37792](https://github.com/objectstack-ai/objectstack/issues/37792), carried by
> [#38438](https://github.com/objectstack-ai/objectstack/issues/38438)).** The 2026-11-27 note says
> "Neither key is in the spec yet: `ObjectSchema` is strict and refuses both until #37792 lands
> `pinOverview` and #37802 lands `fieldTabs`." The first half is answered, and no decision changes.
> `pinOverview` is in the spec: `ObjectSchema.pinOverview` is an optional boolean
> (`packages/spec/src/data/object.zod.ts#pinOverview`). Absent or `true`, the pin stays derived, as before.
> `false`: the desktop full standard record page never pins, at any width; the overview is its first
> tab, open by default, and its fields lay out by width in up to three columns, also when the
> overview holds a related table. The side preview and a phone draw as before. The reader is
> `ui/packages/plugin-detail/src/synth/recordPageColumns.ts#recordPagePinsDetails`. An object
> extension does not carry the key: `ObjectExtensionSchema` refuses it with guidance that names
> `ObjectSchema.pinOverview`, so the switch is declared by the package that defines the object, and
> its paired `.custom` package does not write it either. Built by
> [#38679](https://github.com/objectstack-ai/objectstack/pull/38679). The second half stands:
> `fieldTabs` is not in the spec, and `ObjectSchema` refuses it until
> [#37802](https://github.com/objectstack-ai/objectstack/issues/37802) lands it. The 2026-11-27 note
> is left as written; read that sentence with this note.

### 3. Deletions (all evidenced zero-author)

- **`detail` block removed from `ObjectSchema`** — all three typed keys. `renderViaSchema` retires *together with* the legacy monolith renderer path in objectui (separate execution PR; the key is only that path's steering wheel, deleting it alone saves nothing). `hideReferenceRail`/`hideRelatedTab` are removed outright (the former is a proven no-op for spec authors; the latter's raison d'être — overriding rail/tab dedup — died with the rail).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,34 @@ name suffixed, the base untouched (N-23c).
> write a key, the App's pair is served ([D3](#d3)). The 2026-11-22 note is left as written; read "the base's
> arrangement stays the base's" with this note.

> **Note (2026-11-30, [#36548](https://github.com/objectstack-ai/objectstack/issues/36548), built by
> [#38706](https://github.com/objectstack-ai/objectstack/pull/38706); carried by
> [#38438](https://github.com/objectstack-ai/objectstack/issues/38438)).** One sentence of the note above no longer
> describes every door: "A `.custom` package that is not the object's pair is not applied, and the boot log names it."
> Maintainer ruling (record
> [`7268226134`](https://github.com/objectstack-ai/objectstack/issues/36548#issuecomment-7268226134); this note is its
> item 5, arm (c)), on the question 「非配对的定制包写页面排布,保存和安装时要不要当场拒绝?」, verbatim:
> 「保存和安装都拒绝」. So at every door that can read the installed packages, a `.custom` package that is not the
> object's pair is refused when its object extension writes `fieldGroups`, `relatedLists` or `actionLayout`: at the
> save, the restore and the draft promotion of the item (`VALIDATION_ERROR` / 400), and at marketplace install
> (`VALIDATION_ERROR` / 422, with nothing installed). A package duplicate saves each copied row through the save door,
> so it meets the same refusal row by row, and it answers in its own shape: the refused row is listed in the
> duplicate's `failed[]` with the save door's sentence as its `error` and no code, and nothing is stored for that row
> (`packages/metadata-protocol/src/protocol-package-commits.ts#duplicatePackage`; pinned in
> `packages/objectql/src/protocol-custom-arrangement.test.ts`). The refusal names the object's pair in its
> first sentence, or says that the object has none, and no error code is minted. The judge is the one the note above
> names, now asked with the lookup the registry fold serves by
> (`packages/metadata-core/src/customization-pair-lookup.ts#pairsOf`, of the object's owner). A per-package pair an
> earlier version created stays admitted on its own package's objects. A target whose owner the door does not know
> (at install, neither the delivered artifact nor the registry names it) is not judged by role, by item 3 of the same
> ruling; there the registry fold's skip is the backstop, as in the paragraph below.
>
> Where no door can read the installed packages, the sentence stands as written: `os validate` and `os build`, which
> keep the suffix rule alone, a code-defined stack booted without them, and a stack that names no package id. There
> the writer is still not applied and the boot log names it, because boot never refuses. With this note, the note
> above agrees with the note below ("Any other package is refused"). The upgrade guidance is the migration entry
> `non-pair-custom-arrangement-refused`. The note above is left as written; read that sentence with this note.

> **Note (2026-11-24, [#36366](https://github.com/objectstack-ai/objectstack/issues/36366), built by
> [#36629](https://github.com/objectstack-ai/objectstack/pull/36629)).** `actionLayout` is the third key of that exception
> (`packages/spec/src/data/field-customization.ts#CUSTOM_ARRANGEMENT_KEYS`). It arranges an object's actions for one
Expand Down
Loading
Loading