Skip to content

Commit 1af5b3e

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/issue-38493-nightly-cli-fixtures
2 parents 633be1d + 1b516cf commit 1af5b3e

64 files changed

Lines changed: 2531 additions & 246 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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
feat(app-shell): select loose items on Studio's cross-package list and move them into a package; the Packages page counts them
7+
8+
Clause-②: yes (widening)
9+
Metadata-protocol: none
10+
11+
The console's half of the move door (`POST /api/v1/packages/:id/move-in`, ADR-0084's amendment of 2026-11-26: "Loose items stay where they are, and one door moves them").
12+
13+
- Studio's cross-package list of a type (`/studio/~all/metadata/TYPE`) offers a "Loose" source value (`?source=loose`): the items bound to no package, and only those. An item of a package's `.custom` pair and an overlay of a shipped item are not loose, though the list's "Modified and new" value holds them.
14+
- Under "Loose", a person who may author metadata gets a select box per row, "Select all", and "Move into package…". The package is picked in the create's ask (the packages the server says they may write, or a new one), with nothing pre-selected.
15+
- The confirm step reads the door's dry run. It shows each item and what its addresses become (`_env/NAME` → `NAMESPACE/NAME`, the name AI clients list it under), or each refused item with the door's own code and sentence. When a moved item uses a loose item the selection leaves behind, it offers to add that item and check again. Move makes the move, whole or nothing. The confirm says that a save check that runs only on the real move can still refuse an item, and that reverting the move's package commit takes the items out of the package rather than making them loose again.
16+
- The Packages page (Setup → Packages, and its development face) shows "N items belong to no package" while there are any, counted per type, each count a link to that type's "Loose" list. It is drawn for a person who may author metadata.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/plugin-form': patch
3+
---
4+
5+
fix(plugin-form): a create wizard's final-submit required check no longer judges a field's server lock `readonlyWhen`
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
On a CREATE wizard the final-submit gate now drops a field's `readonlyWhen`, as the form renderer already does on a create (ADR-0163, "The server lock": a conditional lock is not judged on a create). Before, a `readonlyWhen` that was TRUE over the new record's values made the gate skip that field's required check, so the wizard sent a create with the required field empty and the person met the server's refusal after the last step instead of the field's own required mark. An EDIT wizard still judges the lock: a locked field is not demanded.
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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@objectstack/spec': patch
3+
'@objectstack/platform-objects': patch
4+
---
5+
6+
fix(i18n): help text that names Studio reads App Studio, and 应用搭建 in Chinese
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
Five help texts in App Studio's own forms still named the surface "Studio": the object form's Related Lists help, the tool form's Label help, the email template form's Variables help, and the email template object's Label and Managed By help. They now say "App Studio" in English and 应用搭建 in the Chinese bundles (zh-CN, and 應用搭建 in zh-Hant), the name ADR-0084's 2026-11-26 amendment gives the surface. The capability registry's `studio.access` row now carries the label "App Studio Access" and says "App Studio" in its description, the same label the Console's own language packs already show. Only display text changes: the `studio.access` name, the `/studio` address and every identifier stay as they were. Other locales keep their current text.

‎.claude/agents/os-dev.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ model: opus
8585

8686
1. **重活串行,共享验证锁只有一个入口。** 每次 build/test 都从这里走。
8787
- `bash scripts/pm/os-verify-lock.sh -c '<command>'`(或 `-- <argv>`);⛔ 永不手搓 `flock`/lockfile。
88-
- 一次前台调用领全部等待预算,阻塞到拿锁或 99;⛔ 不轮询重试,恒设 `OS_VERIFY_LOCK_SLOT`。
88+
- 一次前台调用领全部等待预算,阻塞到拿锁或 99;⛔ 不轮询重试。
8989
- 它不保证机器空闲:`check:*` 门禁、install、dev server 不走它,与持锁同核并跑。
9090
- 超前台上限者(`check:pm-dispatch-gates`、全量 dogfood):`nohup … > LOG 2>&1 &` 后 `tail --pid`。
9191
- 锁下墙钟绝对值是共享盒读数;只包命令本身,不包你的阅读与判断。
@@ -270,7 +270,7 @@ model: opus
270270

271271
- 全文 ⛔ 不出现 HTML 注释:sanitizer 落库后吃短尖括号片段,连反引号里的也吃。
272272
- 例外二:harness 自写 PR 正文首行归属注释原样留、只报,`Fixes #<n>` 紧随;派发令要求才独占
273-
末个非空行写 `<!-- signed: LANE#N · ACCOUNT · SESSION -->`(`PR_BODY_TRAILER_SHAPE`);其余 dev 自写仍禁。
273+
末个非空行写 `<!-- signed: LANE#N · ACCOUNT · SESSION -->`(`PR_BODY_TRAILER_SHAPE`,读方亦认 `LANE@ACCOUNT`);其余 dev 自写仍禁。
274274
- 凡要上 GitHub 的文本,尖括号形状片段一律改占位词拼写(`FIELD`、`IDENT.MEMBER` 一类)。
275275
- 各派发模式(`mode:subagent`、`mode:cloud`、`mode:thread`)下 GitHub 都是报告的权威源。
276276
- 评论、PR 正文都读回到尾:只认首行标记保不住正文,sanitizer 可从首个 tag 形片段吃到尾。

‎.claude/skills/pm-dispatch/references/cross-repo-coordination.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- 机械三务 = 自扫 sweep、自打 `type`、自做首触(含 `finding`;业务理由归召唤的总监席)。
88
- 新仓登记是一张清单:座位贴、标签、类别归属、门禁盘点、写身份锁移植(deny + hooks)。
99
- 新仓三件:加入 `GOVERNED_REPOS`、安装车队 App、写 `lanes/<repo>.md` 宪章;应用仓无分诊席。
10-
- 新仓准入只问一句:真需要常设席位吗;hotcrm 宪章见 `references/lanes/hotcrm.md`。
10+
- 新仓准入只问一句:真需要常设席位吗;hotcrm 宪章住 hotcrm 仓 `docs/PRIORITIES.md`(The seat 节)。
1111
- 车道可分席(席号 `· seat N`):忙时一车道开多席,闲时收归一席;每席独立座位贴。
1212
- 认领评论带 `Seat: <席>#N` 行申报席号(缺省席 1);同席认领互斥,他席认领不触发自退。
1313
- 拆分触发预登记:单轮逼近 fire 周期,或某仓在全序下持续断粮 ⇒ 按仓拆回多席。
Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
1-
# 车道岗位说明:repo:hotcrm
2-
3-
见 cross-repo-coordination.md;本文是本席的岗位说明,现值状态恒在座位贴,⛔ 不迁入本文件。
4-
5-
## 形态
6-
7-
- 本席为姊妹仓执行座位:在 hotcrm 仓认领、派发、L1 审核、落地。
8-
- ⛔ 不产 `domain:*`;机械三务(含首触定级)按 cross-repo-coordination.md 单车道仓条自理。
9-
- hotcrm 的规则住 hotcrm 仓,⛔ 本文不抄:`AGENTS.md`(Scope;Product, priorities and the development
10-
process;Platform Upgrades)与 `docs/PRIORITIES.md`(专题、首触、定级、阶段 × 文档)。
11-
- 跨仓机制照 `cross-repo-coordination.md` 规则 1 与多车道仓条,⛔ 本文不另写:平台缺口卡的立法
12-
与 `Blocked-by:` 回链、`repo:hotcrm` 缝标签只给真协调卡、平台卡的 `domain:*` 归分诊。
13-
14-
## 常设承诺
15-
16-
- 半状态巡查在本仓无载体:无 `half-state-patrol.yml`,无 workflow 即无锚 issue。
17-
- ⇒ SKILL.md 执行座位职责的读锚第一步在此恒空,代之以手工半边。
18-
- 手工半边:开新派发前整车道全交集读 open 卡。
19-
- 逐张核 `pm:dispatched` 与 `pm:in-review` 的交付 PR 是否已合并或关闭,先处置半状态。
20-
- ⛔ 无锚不等于免检。
21-
- pm 状态机词表各仓统一,幂等创建在 `scripts/pm/ensure-pm-labels.sh`,对 hotcrm 实跑是落地步骤。
1+
# 车道岗位说明:repo:hotcrm —— 住 hotcrm 仓 `docs/PRIORITIES.md`(The seat — who runs this backlog 节),⛔ 本文不抄;跨仓机制见 `cross-repo-coordination.md`。

‎.claude/skills/pm-dispatch/references/seat-post-protocol.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
- 会话座位查最新产出评论的时间戳;回收 = 改正文 + 审计评论。
2727
- 可跑读法:本车道 `pm:dispatched` 卡按 `updated_at` 降序一搜,或读最新认领评论。
2828
- 写侧刷新三时刻:派发、收班、暂停或交接前;时间戳恒取自 `post-stamped.mjs`。
29-
- 帖与卡正文首行恒为署名 `LANE#N · ACCOUNT · SESSION`;缺即写工具拒发(`post-stamped.mjs` 头注)。
29+
- 帖与卡正文首行恒为署名 `LANE#N · ACCOUNT · SESSION`(读方亦认 `LANE@ACCOUNT`);缺即写工具拒发(`post-stamped.mjs` 头注)。
3030
- PR 正文末非空行署 `<!-- signed: LANE#N · ACCOUNT · SESSION -->`,整篇经 `dispatch.mjs` 的 `issue_patch`。
3131
- 刷新前回执敲门;`--body` 拦截:评论晚于末次戳 ⇒ `--ack-through=ID`;空座欠账无卡号 ⇒ 拒写。
3232
- 耐久状态只住正文或以 App 写入;正文守中继上限 60,000 字节,超大贴由半状态巡查浮出。
@@ -43,7 +43,7 @@
4343
- 巡查改绑 = 继任自建自绑并删旧,`Patrol:` 换号;前任笔迹归继任不自退,旧会话即结束。
4444
- 上下文读数:`get_session`(无参)`external_metadata.context_usage.used_tokens`;读不到或 0 归协调者读。
4545

46-
## 交接收尾清单(漏一步就是留残缺现场)
46+
## 交接收尾清单
4747

4848
1. 立即停止新派发。
4949
2. 认领卡落地,或同笔 `Release:`+`Resume-from:`+清 assignee 交回 `pm:queue`;`needs_decision` 进决策箱。

‎packages/metadata-protocol/src/protocol-search-and-cache.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,15 @@ export class ProtocolSearchAndCacheFacet {
9595
// language until a hard refresh (issue #1319). Folding the resolved
9696
// locale into the hash gives each locale a distinct validator.
9797
//
98+
// [#38288 · ADR-0156 D3] The locale is all of the translation this
99+
// validator holds: a translation edit, or a translation fault
100+
// beginning or clearing, moves none of these bytes. So a door that
101+
// translates the item must not hand this read its `ifNoneMatch`:
102+
// it translates first, folds what the translation contributed into
103+
// this value and judges the conditional request itself (the REST
104+
// cached door, `packages/rest`, does). The `304` below is right
105+
// only for a caller that serves `item` untranslated.
106+
//
98107
// [ADR-0131 D6] No organization is part of the validator: the
99108
// read is the environment's for every caller, so the document
100109
// hashed below is the whole scope. An org-less caller's validator

0 commit comments

Comments
 (0)