Skip to content

Commit 212babc

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/issue-38249-inline-lines-hand-lock
2 parents 9166fa4 + c610020 commit 212babc

270 files changed

Lines changed: 9449 additions & 7268 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: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): the objectstack-data and objectstack-automation entry files become routers
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`skills/objectstack-data/SKILL.md` goes from 26.9 KB to 9.0 KB and `skills/objectstack-automation/SKILL.md` from 28.2 KB to 10.7 KB. Each now holds three things: four first checks (the installed `@objectstack/spec` version, what the project already has, the type's contract, `os validate`) and what to do when there is nothing to read yet (say so, and still give the whole definition as code), the traps that parse and then fail at run time, and a table that says which file to open for what you are writing. No rule's teaching changes. Text moved, and this entry says where it went. The ten skill files the move touches are 1.6 KB larger together (161.5 KB to 163.0 KB): objectstack-data is 2.3 KB smaller, objectstack-automation 3.9 KB larger.
11+
12+
**objectstack-data.** The entry keeps `Conditional Field Rules`, `Object Definition`, `Field Type Selection`, `Relationship Patterns`, `Validation Patterns` and `Access depth` under their headings, each cut to the rules that fail silently. What left:
13+
14+
- The object key table (the `color` row among it), the `enable` table (`fieldHistory`, `trackHistory`), `Search Fields (searchableFields)` and `Object Extension Model` (an extension's `place`, the paired `.custom` package's `fieldGroups` / `relatedLists` / `actionLayout`) are in `references/examples-objects.md` (`#object-keys`, `#search-fields-searchablefields`, `#object-extension-model`).
15+
- `Schema evolution on an existing database` is `rules/field-types.md#changing-a-field-that-has-data`, and objectstack-project points there now. The detail of choosing a type (a box that must be checked, the seeded-row default, why a person stays optional) is `rules/field-types.md#choosing-a-type`.
16+
- The `Conditional Field Rules` example and its bullets (`showOnCreate` among them), and what a bare field ref does at run time, are `rules/validation.md#conditional-field-rules`. The note that an omitted optional field reads as `null` on insert is `rules/validation.md#script-validation`.
17+
- `Ownership queues` and the mechanics of `readScope` / `writeScope` are in `rules/security.md`.
18+
- A handler named apart from the record owner is `rules/relationships.md#record-owner-and-other-people-on-a-record`.
19+
- Anchors that no longer exist in `SKILL.md`: `#skill-boundaries`, `#quick-reference--detailed-rules`, `#object-capabilities-enable`, `#search-fields-searchablefields`, `#schema-evolution-on-an-existing-database`, `#common-patterns`, `#naming-rules-summary`, `#index-patterns`, `#object-extension-model`, `#security--access-control`, `#ownership-queues--park-a-record-for-a-team-to-claim`, `#verify-your-work`, `#references`. `#conditional-field-rules`, `#object-definition`, `#field-type-selection`, `#relationship-patterns` and `#validation-patterns` still do.
20+
21+
**objectstack-automation.** The entry keeps `Data Operations`, `External Integration`, `notify`, `Failure routing & runAs`, `Filter operands (config.filter)`, `Valid-but-silently-wrong (passes build, fails at runtime)` and `Integrations are declared, not coded` under their headings, each cut to the rules that fail silently. Beside them it states the facts of a flow's shape an answer needs before it opens a second file: a project flow is `defineFlow` in a `*.flow.ts`, the five flow `type`s (`type: 'schedule'` and where its cadence sits), `variables`, the trigger on the start node, the `approval` node, the option label of a notice (evaluated once per run), and `Assignment rules` (`defineAssignmentRule`, beside the approval node for the same queue). What left:
22+
23+
- `references/examples-flows.md` now also holds `Flow Types`, packaged flows (`.custom` overrides, `defaultActive`), the control-flow node table, the detail of the `http`, `connector_action` and `screen` nodes, `Triggers` (the `requires` tokens, the trigger types) and `Assignment rules` in full (ordered entries, `least_loaded`, a packaged rule's queue). For `notify`, failure routing and `runAs`, filter operands and value slots, a section titled "the rest" holds what the entry's section no longer says. Of the option-label trap, the entry keeps the rule and its outcome (a label is refused at publish where the options are inline, else it matches no row or fails the run); the example, and the filter operand for rows that still hold a label, are in the rest section.
24+
- `references/integration-recipes.md` now also holds `Inbound webhook (api) triggers` and the list of cases that are platform code.
25+
- Anchors that no longer exist in `SKILL.md`: `#when-to-use-this-skill`, `#flows--visual-logic-orchestration` (now `#flows`), `#flow-types`, `#control-flow`, `#human-decision`, `#flow-variables`, `#assignment-rules--route-a-new-record-to-a-queue-or-a-person` (now `#assignment-rules`), `#triggers--event-driven-automation` and its four subsections, `#verify-your-work`, `#references`.
26+
27+
**Not carried over, because the contract or a check already says it.** From objectstack-data: the `label`, `datasource`, `displayNameField`, `searchable`, `apiEnabled`, `files` and `clone` rows (their defaults are in `data/object.zod.ts`, which the entry's third check points at), the `titleFormat` row (a save and `os validate` refuse the key by name), the four-row `sharingModel` table (the four values are one bullet of `Object Definition`), the `Skill Boundaries` table (it listed the neighbouring skills, which the description still names), and the sections that only listed the other files (the rules list, `Naming Rules Summary`, `Index Patterns`).
28+
29+
**One correction.** The multi-value lookup note in objectstack-data showed a `{record.tags.0}` token "in flow values". A flow value slot refuses that token, as objectstack-automation teaches. The note, now in `rules/relationships.md`, shows the CEL spelling `record.tags[0]`. objectstack-automation's value-slot rule likewise shows the CEL spelling (`has(record.owner) ? record.owner : null`, `record.tags[0]`) and no longer prints the refused token beside it: the refusal names the spelling.
30+
31+
**Three eval cases accept the spellings the bundles teach.** Each failed correct answers on a literal: `flows-triggers-approvals` case 1 now forbids `values: {`, the key form a node carries, where it forbade the bare word `values:` that a prose heading also spells; `hooks-security-seeds-datasources` case 7 takes the refusal's translation as the nested `hooks: {` literal, as its JSON spelling, or as the dotted key `hooks.<hook>.refusals.CREDIT_LIMIT.message` that `references/data-hooks.md` teaches; `objects-fields-relationships` case 10 takes the yes/no field as `type: 'boolean'` or as `Field.boolean(`. A recorded round regrades the three as changed cases, outside its pass rates.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
feat(app-shell): App Studio's package overview gets Export as a button, a Publish history tab with the revert, and is where opening a package lands
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
A package's 概览 Overview in App Studio is now the full page.
12+
13+
- **Export** is a button of the page header and has left the ⋯ menu. On a read-only package that has customizations (a `.custom` package paired with it), the button reads "Export customizations of NAME" (「导出 NAME 的定制」) and downloads that `.custom` package; the read-only package itself is no longer exported from this page. On any other package it reads "Export" and downloads the package, as before.
14+
- **Publish history** is a third tab (`?tab=history`): the package's publishes, newest first, each with what it was, when, how many items and who published it, by the user's name where the user directory has one. "Revert to last publish" is on this tab with the confirmation it always had, and has left the ⋯ menu. An entry has no revert of its own here.
15+
- On a read-only package with customizations, the history and the revert act on the `.custom` package, the same one Pending and Publish act on. The revert is greyed only where nothing can be published (a read-only package with no customizations) or nothing is pending, and it says which.
16+
- The ⋯ menu keeps "Edit package info", "Duplicate as a new package", "Adopt loose items" and "Manage in Setup…".
17+
- **Opening a package lands on 概览.** The address `/studio/<package>` and App Studio's return to the package last opened now open `/studio/<package>/overview`; both opened the object list before. `/studio/<package>/data` still opens the object list, and the other retired addresses keep their redirects.
18+
- The 「全部类型」 All types page says what is switched off beside what is customized: "3 customized · 2 switched off on HotCRM" (「HotCRM 已定制 3 项 · 已停用 2 项」). With nothing switched off the line is unchanged.
19+
- **Read-only reasons reach keyboard and screen-reader users.** The lock beside a read-only package's name in the package switcher is named by the reason, and the switcher button is described by it, in the collapsed column too. On a read-only package with nothing to publish, the Pending tab is described by the same reason and says it in words when opened.
20+
21+
New `studio` keys, in en and zh: `engine.studio.overview.tab.history`, `engine.studio.overview.exportCustomizations`, `engine.studio.overview.history.{note,noteCustomizations,empty,loading,loadFailed,unreachable,published,undone,items,itemsOne}` and `engine.directory.customizations.totalSwitchedOff`. Other languages fall back to en.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): the dataset authoring rule teaches the two existing ways to make an ambiguous business word ask back
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`skills/objectstack-ui/rules/dashboards.md`, the dataset example's vocabulary comment: a word with two readings (`overdue`) that the AI must ask about is written as a synonym of a measure in each of two datasets, and is then asked about whenever the asker can read both. Inside one dataset a repeated synonym is refused, so the word goes inside each reading's own label or synonym (`overdue invoices`, `overdue tasks`): it then equals neither, and the platform may offer both as candidates to ask about. That second way is taught as not guaranteed, because an exact match on any readable member suppresses the candidates.
11+
12+
No key, schema or behaviour changes: the text describes what `list_datasets` already does (ADR-0149 D1 and D3).
13+
14+
No token ceiling moved: the addition is paid by deletions in the same file (a restated sentence above the dataset envelope table, the date-granularity rule of thumb, three asides in the drilldown bullets).

‎.claude/settings.json‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,23 @@
8787
"Bash(curl -sS -X PATCH https://api.github.com/repos/objectstack-ai/hotcrm/issues/* *)",
8888
"Bash(curl -sS -X PATCH https://api.github.com/repos/objectstack-ai/mobile/issues/* *)",
8989
"Bash(git commit -F *)",
90-
"Bash(git push -u origin claude/issue-*)"
90+
"Bash(git push -u origin claude/issue-*)",
91+
"Bash(git commit --allow-empty -F *)",
92+
"Bash(git push -u origin claude/mailbox-*)"
9193
],
9294
"ask": [
9395
"Bash(git commit -F * *)",
9496
"Bash(git push -u origin claude/issue-* *)",
95-
"Bash(git push -u origin claude/issue-*:*)"
97+
"Bash(git push -u origin claude/issue-*:**)",
98+
"Bash(git commit --allow-empty -F * *)",
99+
"Bash(git push -u origin claude/mailbox-* *)",
100+
"Bash(git push -u origin claude/mailbox-*:**)",
101+
"Bash(git push -u origin claude/issue-*\\**)",
102+
"Bash(git push -u origin claude/mailbox-*\\**)",
103+
"Bash(xargs git push -u origin claude/issue-*)",
104+
"Bash(xargs git push -u origin claude/mailbox-*)",
105+
"Bash(xargs git commit -F *)",
106+
"Bash(xargs git commit --allow-empty -F *)"
96107
],
97108
"deny": [
98109
"mcp__github__issue_write",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
- 排队卡含他车道项 ⇒ 发现席自拆:新卡无 `domain:*`,首行 `carries item k of #N; #N keeps items …`。
4040
- 分诊首触定域可改判;拆出卡 ⛔ 不承父卡域(承域只及本车道 sub-issue),父卡余项照 `Fixes`。
4141
- `ui/**` 余项照常自派不拆(同仓同 worktree、门禁、合并队列),⛔ 不作 UI 跳过,非他车道项。
42-
- 派 `ui/**` 余项前,在飞求交加读 `domain:ui` 认领文件面,现读 `check-handover.mjs --inflight`;相交 ⇒ 照重叠检查排队或让行。
42+
- 派 `ui/**` 余项前,在飞求交加读 `domain:ui` 认领文件面,现读 `check-handover.mjs --inflight --paths=PATH[,PATH…]`;相交 ⇒ 照重叠检查排队或让行。
4343
- 自在飞派发升级出的卡首行一句:本卡承哪一半、父卡留哪一半;缺此行不入队不入箱。
4444
- 分诊预见的后续工作是一张卡,触发条件落地时立卡;⛔ 分诊一句话永不授权无卡编辑。
4545
- 阻塞项无主 ⇒ 被挡席认领做掉,不限大小;在该卡走完整认领、尊重其热文件串行队。

‎.claude/skills/pm-dispatch/references/landing-operations.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
- p0 fix-forward 止血跳队,限机械、根因已核实;维护者可按 governed 例外人工直合一行修复。
9494
- 止血非机械 ⇒ 锚卡点名归属车道、敲其信箱 `Notify: main-red`;根因卡恒归该车道。
9595
- main-red 约定②:一个失败 check 只锚一张卡,先立者赢,后见者评论到锚卡,⛔ 不另立。
96-
- 约定③:锚卡一轮分诊无人认领 ⇒ 分诊与总监当轮轮报点名卡与归属车道。
96+
- 约定③:锚卡一轮(`seat-lifecycle.md`)分诊无人认领 ⇒ 分诊与总监当轮轮报点名卡与归属车道。
9797
- 再一轮无人认领 ⇒ 分诊贴标准认领行、派一个 os-dev 只做止血;每轮一张,分诊不成车道。
9898
- 止血 PR 的 L1/L2 归车道席或总监,⛔ 非分诊;Tier H 仍等审批人;车道席到场经认领行交回。
9999

‎.claude/skills/pm-dispatch/references/readings-ci.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
- 并发输出的相邻不等于因果:先查 `turbo.json` 依赖边,⛔ 不只看 tail。
2323
- turbo 一败多包同印 `ELIFECYCLE Command failed`:权威读数是 `Failed:` 行与该包自己的 `##[error]`。
2424
- 公开发出的诊断被推翻时,更正发在同样公开的位置,据它开的 PR 撤回 draft、解绑 `Fixes`。
25-
- required checks 的名单是每仓事实,objectstack 十一个:
25+
- required checks 的名单是每仓事实,objectstack:
2626
`TypeScript Type Check` · `Lint & Repo Gates` · `Test Core` · `Build Core` · `Lint UI` · `Test UI` ·
27-
`Governed Surface Queue Guard` · `Type Check UI` · `Build & E2E UI` · `Live E2E UI` · `Dogfood Regression Gate`。
27+
`Governed Surface Queue Guard` · `Type Check UI` · `Build & E2E UI` · `Live E2E UI` · `Dogfood Regression Gate` ·
28+
`Temporal Conformance (live PG + MySQL)`。
2829
- ⭐ 本表的 `mustName` 声明 `statesTheSet` ⇒ 必须逐字等于注册表,加注册行不跟改本表即红。
29-
- ⇒ 门绿即名单逐字齐全的读数;⛔ 但数量词未钉:实测 七→六 照绿,只能手跟改。
30+
- ⇒ 门绿即名单逐字齐全;数量词门不钉,本表已删。
3031
- ⛔ 聚合命令同样不作判定:`check:type-check-debt` 可在包级 typecheck 绿时红。
3132
- `check:i18n` 以 PREREQUISITE NOT MET(workspace CLI 未 build)退 3,不是漂移。
3233
- 退出码是字段字面值:判据取门禁印的判定行,⛔ 不取码 —— 同一脚本里一个码可两义。

‎.gitattributes‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ packages/spec/declaration-map/** merge=os-regen
157157
packages/spec/api-surface-signatures.json merge=os-regen
158158
docs/audits/2026-07-unknown-key-strictness-ledger.counts/** merge=os-regen
159159
content/docs/references/** merge=os-regen
160+
packages/spec/docs/references/** merge=os-regen
160161
skills/*/references/_index.md merge=os-regen
161162
skills/objectstack-ui/references/react-blocks.md merge=os-regen
162163
scripts/platform-object-tenancy-census.json merge=os-regen

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ concurrency:
136136
# in their `if:` — `dogfood-verify` and `ui-published-artifacts` — and
137137
# `temporal-conformance`, which since ruling record 7146156389 (#37095)
138138
# also runs on a `merge_group` entry whose diff hits the filter's
139-
# `temporal_live` paths (never on `pull_request`). It is NOT in the required
140-
# set, so that queue run is advisory: a red does not eject the entry, it
141-
# lands and shows on `main`. Nothing is deleted: the jobs moved off the per-PR
139+
# `temporal_live` paths (never on `pull_request`). It is in the required set
140+
# again (ruling record 7238262118), so a red on that queue run ejects the
141+
# entry instead of landing on `main`. Nothing is deleted: the jobs moved off the per-PR
142142
# path, `ui-published-artifacts` never had one (#26717). A red in one of them is a main-red
143143
# for the owning lane, and the publish lane reads the full battery before its
144144
# approval (release.yml's `full-battery` job,
@@ -147,7 +147,9 @@ concurrency:
147147
# `core` output, which is 'true' on `merge_group` (letter C was not ruled).
148148
# The queue enforces only the ruleset's required set. `Dogfood Regression
149149
# Gate` left it by #22998 and rejoined it by the #30461 follow-up ruling
150-
# (ruling record 6669982756); check:required-contexts pins its row.
150+
# (ruling record 6669982756); `Temporal Conformance (live PG + MySQL)` left it
151+
# by #22998 and rejoined it by ruling record 7238262118 (#38087).
152+
# check:required-contexts pins both rows.
151153
#
152154
# Spelled as a DENY-list of the per-PR events on purpose — the filter
153155
# contract's half 1 below, applied to events: a trigger added to `on:` later
@@ -2538,16 +2540,19 @@ jobs:
25382540
# driver-memory, driver-mongodb, service-analytics) — the other backends the
25392541
# temporal conformance matrix holds to one standard. Its NAME still says
25402542
# "live PG + MySQL" on purpose: it was a required check until #22998 moved
2541-
# the job to the full battery, and its readers (the scheduled run's red card,
2542-
# merge-queue triage history, every instruction that names it) find it by
2543-
# that literal — renaming it is a contract change, not a tidy-up.
2543+
# the job to the full battery, and is one again since ruling record
2544+
# 7238262118 (#38087), pinned by `check:required-contexts`; its readers (the
2545+
# ruleset, the scheduled run's red card, merge-queue triage history, every
2546+
# instruction that names it) find it by that literal — renaming it is a
2547+
# contract change, not a tidy-up.
25442548
temporal-conformance:
25452549
name: Temporal Conformance (live PG + MySQL)
25462550
needs: filter
25472551
# See THE FILTER CONTRACT on the filter job's outputs (#4928). Full battery
25482552
# (see THE TWO SPEEDS above `jobs:`, #22998), plus the merge queue when the
25492553
# entry's diff hits the `temporal_live` paths ([#37095], ruling record
2550-
# 7146156389). Never on pull_request.
2554+
# 7146156389). Never on pull_request. A skip publishes the required
2555+
# context as `skipped`, which the ruleset counts as passing.
25512556
if: ${{ !cancelled() && needs.filter.outputs.core != 'false' && github.event_name != 'pull_request' && (github.event_name != 'merge_group' || needs.filter.outputs.temporal_live != 'false') }}
25522557
runs-on: ubuntu-latest
25532558
timeout-minutes: 30

0 commit comments

Comments
 (0)