Skip to content

Commit 9d2dd69

Browse files
committed
Merge origin/main into claude/issue-35238-d-line9
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
2 parents f8f30ba + 63acc6c commit 9d2dd69

57 files changed

Lines changed: 1745 additions & 214 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@object-ui/plugin-view': patch
3+
'@object-ui/app-shell': patch
4+
'@objectstack/console': patch
5+
---
6+
7+
perf(plugin-view, app-shell): an object list stops loading the form package before its first screen
8+
9+
Clause-②: no
10+
Metadata-protocol: none
11+
12+
An object list page fetched the whole form package (about 46 KB gzip) before its first screen, though it draws a form only when someone creates or edits a record. Two things did this. The object view imported its create and edit form statically, and the console drew a closed record-form dialog on every object page. Now the object view loads its form the first time one opens, and the console mounts the record-form dialog the first time it opens and keeps it mounted after that, so closing it works as before.
13+
14+
Nothing a user sees or saves changes, apart from a short wait the first time a form opens on a page. Nothing to migrate.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/plugin-kanban': patch
3+
---
4+
5+
fix(kanban): a list view board laned by a text field draws its "Uncategorized" lane when every record with no value sits past the first page, and loads the rest of a lane's cards with "Load more"
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
A list view hands its kanban one page of the view's query, and on a board laned by a text field the grouped lane read already counts each whole lane. The trailing "Uncategorized" lane was drawn only by the cards it held, so when every record with no value, or an empty one, sat past the first page those records had no lane on the board; and a lane that counted 30 records while drawing the page's 13 offered no way to load the rest. Both now behave as on a board laned by a lookup: "Uncategorized" is drawn last from the read's count with the "Cards not loaded" line, and a lane that draws fewer cards than it counts offers "Load more", reading its next records under the view's filter, order and search ("Uncategorized" reads the records whose value is empty or blank). A source with no grouped door, or a read that is refused or cut, draws the page's cards as before. A text value whose records all sit past the page still draws no lane of its own. Boards laned by a field's options already page each lane under a list view and are unchanged. Nothing to migrate.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
fix(app-shell): the record page greys Edit on a hand-locked document whose inline lines are locked too
6+
7+
Clause-②: yes (widening)
8+
Metadata-protocol: none
9+
10+
The record page's Edit was always live on an object whose field groups place an inline child collection, because the edit form still edited its lines. Now that a parent's whole-record hand lock (`uiReadonlyWhen`) locks those lines as well, Edit goes off with the state-lock reason when the lock holds over the record, every header field the form draws is read-only, and no field of any placed child object owns a hand lock that could open a line cell. Without a child object's definition, or when a child field declares a `uiReadonlyWhen` of its own, Edit stays live as before.
11+
12+
Additive: the exported `editFormLockedByState` takes an optional fourth argument, `childObjectDef` (a child object name to its served definition); callers that omit it behave as before.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@object-ui/plugin-form': patch
3+
---
4+
5+
fix(plugin-form): a parent's whole-record hand lock locks its inline master-detail lines in the edit form
6+
7+
Clause-②: yes (widening)
8+
Metadata-protocol: none
9+
10+
The master-detail edit form now reads the parent object's `uiReadonlyWhen` (the whole-record hand lock) over its lines too. While it holds over the parent record, a person adds, duplicates, removes or reorders no line, the per-row editor is not offered, and every line cell is locked unless its child field declares a hand lock of its own (`uiReadonly: true` or a `uiReadonlyWhen`), which then judges that cell instead — the same override the object level already reads. So a child field whose own `uiReadonlyWhen` is the constant `false` keeps that one cell editable on a confirmed order; `uiReadonly: false` is not such a declaration. A create is not judged. A fully configured entry (typed columns and the relationship field, so no child schema is read) has every line cell locked while the parent lock holds. REST, import, action and flow writes are unchanged: nothing on the server reads either key.
11+
12+
New export `childLinesOpenUnderParentHandLock`, from the package root and from `@object-ui/plugin-form/core`: whether a child object's lines can still be edited under a locked parent (some child field owns a hand lock that is not static).
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/rest': patch
3+
---
4+
5+
fix(rest): the cached `GET /meta/:type/:name` validator moves when the served translation moves
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The default by-name metadata read (the cached door, `metadata.enableCache: true`) computed its `ETag` from the stored document and the locale, and translated the item only after judging `If-None-Match` against it. A client revalidating after a translation edit was answered `304` and kept the old labels; a client that read the item during a translation fault was answered `304` after the fault cleared and kept the `translationWarning`.
11+
12+
The door now translates the item on every request before it judges the request, and folds what the translation contributed (the translated item, and the `translationWarning` of a fault) into the validator. A translation edit, a fault that begins and a fault that clears each answer `200` under a new `ETag`; an unchanged translation still revalidates to `304`. A read whose translation changes nothing keeps the `ETag` it had before. The translated answer itself is not cached.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@objectstack/rest": patch
3+
"@objectstack/types": patch
4+
---
5+
6+
Clause-②: no
7+
Metadata-protocol: none
8+
9+
A `/data` create, update, delete or query refusal that carries a `userMessage` now sends `Vary: Accept-Language`, as the `/data` reads and the runtime dispatcher already did. A shared cache in front of those routes can no longer hand one caller's refusal sentence, in its language, to a caller asking in another. Status, code and body are unchanged. In `@objectstack/types`, the `answerVariesByLanguage` module note now names the `/data` CRUD and query routes as asking it (comment only).
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
fix(app-shell): every door into a package's Studio opens its 概览 Overview
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Opening a package's Studio now lands on its 概览 Overview page from every door, the way the bare package address and Studio's own entry already did. The doors that still opened the object list now open the Overview: the command palette's (⌘K) package entries, an app's Design in Studio (the app header's bridge where the page is the app's root, a system page or an interface list with none chosen), the "Open in App Studio" of an app whose menu is empty, and in Setup → Packages the detail sheet's "Open in Studio", the landing after New Package and the customizations section's "Customize in Studio". The object list keeps its address, `/studio/<package>/data`, for anyone who wants it.

‎.claude/skills/pm-dispatch/references/area-lease.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,22 @@
4040
- 认领前照 `dispatch-runbook.md` 派发前置核前提;开线程请求交席位攒批(`coordinator.md` 三)。
4141
- 写码与开发期读码全经 `os-dev` 等子代理(一卡或一组耦合卡,文件面不相交)。
4242
- 同系列卡可从前卡分支起步(AGENTS.md §2 主干形,⛔ 不叠 PR);新测试建按卡命名的新文件,AGENTS.md 共享 harness 规则适用时除外,由重叠检查定排队。
43-
- 席线程只协调,⛔ 不读 diff 与日志;ACCEPT 欠的自读(`contract-review.md`、〈路径分叉〉)除外。所落 PR 欠的红检查读日志(`readings-ci.md`)派子代理读,一读兼守本条与该文。
43+
- 席线程只协调,⛔ 不读 diff 与日志;ACCEPT 欠的自读(`contract-review.md`、〈路径分叉〉)除外。所落 PR 欠的红检查日志派子代理读(`readings-ci.md`)。
4444
- 每区 dev 位空即补;逐位上张 PR 入合并队列才领下张,此前跑修复轮;Tier H 或待裁 PR 让位。
4545
- 席每轮逐区查,核认领 Container & model 行;取卡照点名范围次序,p0/p1 插队;p3 留收口或搭同文件 PR 成批(每 PR ≤5 卡)。
4646
- 认领必答:同区卡过 `execution-duties.md` 折叠五门即默认合一 PR,否则串行;额度墙亦照该文。
4747
- 留道:域席已退役,修法已清的卡碰哪个域的路径都在本席开发、本席 L1/L2,先于 `domains/spec.md` 的移道;交出闭集:他席已认领、cloud 路由、披露纪律卡、ADR。
4848
- 送审:≤50 行、只改文本或测试、`Clause-②: no` 且无他契约面 PR 由区照 `l1-review-checklist.md` 自审落地,ACCEPT 点名自审;余者由 L1 线程 ACCEPT 读,先于 `contract-review.md` 不起第二个 agent。
4949
- 契约记录只欠 `contract-review.md` 四面,head 移动照其例外;同 patch-id 干净合 main 只保 ACCEPT。
5050
- 落地:区先读 `check-governed-merges.mjs --pr N`;非受管 PR 照 `landing-operations.md` 自落,受拒报原文。
51-
- PASS 且全绿的非受管 PR 10 分钟内落地;挂前先查 PR 上已有落地评论,有即 ⛔ 不再挂。
51+
- PASS 且全绿的非受管 PR 10 分钟内落地;挂前先查已有落地评论,有即 ⛔ 不再挂。
5252
- 受管面与过线卡的 PR 区 ⛔ 不落,交席位;席位照 SKILL.md〈路径分叉〉①–④ 一笔交棒。
5353
- 席位每轮照 `execution-duties.md` 四件套行复查全部已 PASS 受管 PR,各区转来的一并在内。
5454
- 性能卡与 PR 的提速数字只引已过 L1 的 bench PR 读数;⛔ 不引估算或未过 L1 的本地测量。
5555
- 席只裁路由(拆并延、归区;区边界扩、缩、并、释放,重写租约表为记);改可见行为或解读 ADR 照 SKILL.md〈升级与决策〉呈维护者。
5656
- 卡碰租约外文件 ⇒ 区交席位,⛔ 不留卡等维护者;席三选一:扩区;该区只认领此卡(文件级 `File surface:`,`check-handover.mjs --inflight` 复查);转他席。⛔ 不呈维护者、不起评审,只留否决窗口。
5757
- 租约外是共享热文件(如 `packages/core`)⇒ 默认逐卡认领、租约路径不动:租约罩热文件即挡他席。
58-
- 仅呈维护者选项组过独立评审,多卡一批;席自裁 ⛔ 不起评审,自读码。均带 `Prior rulings read:` 行,开工前呈 ⛔ 不在施工中途。
58+
- 仅呈维护者选项组过独立评审(档位照 `decision-analysis.md`),多卡一批;席自裁 ⛔ 不起评审,自读码。均带 `Prior rulings read:` 行,开工前呈 ⛔ 不在施工中途。
5959
- 席信箱只收:待裁、待落地受管 PR、跨区冲突、阻塞、交接完成;安全照 `security-findings.md`。
6060
- 线程约 150k 即在干净点轮换,⛔ 不在 L1/L2 中途;交接写 `/mnt/project-files/<席>/handover-<区>.md`。
6161
- 省耗:跨线程只传指针;⛔ 不减 dev。

‎.claude/skills/pm-dispatch/references/decision-analysis.md‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@
1919
- 问题写客户看到的症状、谁碰到、多频繁;选项句写选了客户看到什么、约几个 PR。
2020
- ⛔ 速读不写代码名、文件路径、命令、裁决字母、裸卡号;点到的卡配一句中文说明。
2121
- 四轴、四棱块、自检行、置信缺口、工作量先例归英文分析段,⛔ 不删。
22-
- 例(新应用的菜单名被存成译文):
23-
- 问题:在中文界面下新建或编辑应用,菜单里自动生成的名字被存成中文;换成英文界面,
24-
菜单还是中文。
25-
- 选项:A 存原文,切换语言时菜单名跟着变,一个小 PR;B 维持现状。
26-
- 推荐 A:应用要给不同语言的人用。
27-
- 不定会怎样:中文用户建的应用,在其他语言下菜单一直是中文。
22+
- 英文段首两行 `Served-tier: <CONTRACT_REVIEW_TIER | TIER_DEFAULT>`、`Analysed-by: <session>`(执笔会话或子代理),⛔ 不写模型 id;标 `CONTRACT_REVIEW_TIER` 须执笔转录过 `verify-review-tier.mjs`(`--tier-evidence=` 只判 L2 记录)。
23+
- 呈维护者前读该行:缺或未达档 ⇒ 达档重跑,贴带两行的 delta 评论(逐棱同异)再呈;⛔ 永不呈读不出档的分析。
2824

2925
分析段骨架:背景 / Governing text(引文 + grep,或 none found + 检索式)/ 协议声明、是否改协议 /
3026
带 re-check 命令的前提 / 具体问题 / 选项 / 推荐 / 相关单与 PR。正文六项:

‎.claude/skills/pm-dispatch/references/triage-duties.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
- `needs-user-decision` = 设计卡、契约形状提案、需要 appetite 的多周程序;只挂 issue。
4747
- 先例已定新键/值/导出名非契约形状提案;分诊审计 ⛔ 不自加门,唯语义/形状真分歧呈人。
4848
- 碰迁移形状或删已发布能力也进决策箱;说明书脱节不进:有裁定出处才是 (b),否则改文档。
49-
- 决策卡速读居四棱块之上、同题,至多四行业务话;写法与例见 `decision-analysis.md`。
49+
- 决策卡速读居四棱块之上、同题,至多四行业务话;写法见 `decision-analysis.md`。
5050
- 首行写立卡门类别 ①–④;四类定义、⛔ 清单、四答、理由判据与配额见 `filing-gate.md`。
5151
- `finding` = 三类内待定级:(a) 可复现缺陷(复现或失败探针);(b) 违背已声明契约(引契约文);
5252
- (c) AI 写元数据会被运行时拒收或静默丢弃的陷阱;其余进 PR `## Acceptance notes`,⛔ 不立卡。

0 commit comments

Comments
 (0)