Skip to content

Commit 1d91110

Browse files
committed
Merge origin/main into claude/project-thread-6oxw6l
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jQztfi9hnsaBeBVcCU
2 parents 5fca5d6 + 6f9f008 commit 1d91110

53 files changed

Lines changed: 1758 additions & 353 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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@objectstack/cloud-connection': patch
3+
---
4+
5+
feat(cloud-connection): install-local's reseed and sample-data count reach an unmanaged copy, and retry a failed first load (#31425)
6+
7+
Clause-②: yes (widening) — `POST /api/v1/marketplace/install-local/:id/reseed-sample-data` and `GET …/:id/sample-data` now serve the base of an unmanaged copy this door made with `seedSampleData: true`, which they answered `404` before. Nothing is narrowed.
8+
Metadata-protocol: none
9+
10+
- **Reseed.** For a copy, the reseed loads the sample data again from the copy's seed receipt, through the same read of it the purge uses: the rows it creates are owned by the caller, it answers the same four counts, and a run over an intact baseline succeeds with `inserted: 0`. A copy made without the sample data answers `400 RESEED_SKIPPED`, and a receipt that could not be read answers `503 SERVICE_UNAVAILABLE`, never "no sample data".
11+
- **Retry.** A copy whose first load failed at install (`seeded.mode: 'skipped'` with `seed-receipt-unread` or `seed-error`) is loaded by the reseed from the stored receipt, instead of a re-run of the install that the import refuses `409`.
12+
- **Count.** For a copy, the count is the rows a purge of the copy would delete now; `count: 0` for a copy made without the sample data.
13+
- **Unchanged.** Any other base, a Studio-authored one with published seed items included, still answers `404` on all three doors. Uninstalling a copy is `DELETE /api/v1/packages/:baseId`, which drops its tables with their rows unless `keepData: true` keeps them all; this door does not purge on uninstall.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/service-messaging': patch
3+
---
4+
5+
feat(service-messaging): the notification preference's `quiet_hours` declares the `quiet-hours` widget
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`sys_notification_preference.quiet_hours` now carries `widget: 'quiet-hours'`, so the console draws its quiet-hours control (a time-zone picker and two times) instead of the JSON editor, as `topic` and `channel` already name their pick-or-type inputs. The field stays `json` with the same stored shape, `{ tz?, start: 'HH:MM', end: 'HH:MM' }`, and nothing new is refused. `field-types.mdx` documents the three notification preference widgets.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): the semantic migration entry `cbp-optional-master-admitted` and `controlledByParentMasterOf` name how a raw parse reads an omitted `required` on the optional master
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- **Migration entry `cbp-optional-master-admitted`.** Its `replacement` and `acceptanceCriteria` said an omitted `required` on the only `master_detail` of a `controlled_by_parent` object keeps meaning required through `ObjectSchema.create()` and on stored rows, and stopped there. They now also name the raw-parse door, as the maintainer ruled on the optional master: through `ObjectSchema.safeParse`, an object written directly in `defineStack`, or a save door, `required` defaults to `false` before the object is judged, so the omission is admitted as the optional master. `os lint` still reports the omission at `error`. The entry's `id`, `surface` and `reason` are unchanged, and so is its paragraph's meaning in the protocol upgrade guide apart from that added clause.
11+
- **`controlledByParentMasterOf` (JSDoc).** "One whose `required` is not written names no master" holds on a body read as written. On a parsed field map the omission has already defaulted to `false`, so there the field is the optional master.
12+
13+
Text only: no schema, type, export or runtime answer changes. A test now pins the three doors side by side on one omitted `required`: `ObjectSchema.create()` gives the required master, `ObjectSchema.safeParse` and `defineStack` give the optional master.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'@objectstack/cloud-connection': patch
3+
---
4+
5+
fix(cloud-connection): an unmanaged grant refused after the control plane granted it writes the environment's `package_unmanaged_import` failure row
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
cloud#3624 ruling A has both sides audit an unmanaged install. Before this, the environment wrote its `package_unmanaged_import` row only when the copy's import ran. A grant refused before the import left the control plane's grant row with no environment outcome. That covers the install-local door's install capability (403), the manifest fetch, the walled catalog and the protocol handshake, and the cloud-connection door's own two refusals.
11+
12+
- **The install-local door's refusals of a grant.** The cloud-connection door now hands the in-process door the grant beside the request: `install(request, { grant })`, with the package, version, environment and installer. When the door answers a grant with a refusal that its unmanaged copy did not already audit, it hands the `audit` slot one `package_unmanaged_import` event. The event has `outcome: 'failure'` and the answer's code and HTTP status. A throw is audited with the status it resolves to, then rethrown. The import's own success and failure events are unchanged and are never written twice.
13+
- **The cloud-connection door's own refusals.** A grant it cannot read (502) and an environment without the install-local door (503) each hand the environment's `audit` slot the same failure event. The multi-tenant slot is the environment kernel's; the single-environment slot is the host's.
14+
- **What is not audited.** A plain `POST /api/v1/marketplace/install-local` call, which no grant started, writes no row for a refusal. Nor do a control-plane refusal, a managed install, and the cloud-connection door's checks before the control plane is called. No grant exists for any of them.
15+
- The events go through the `audit` slot, never as a hand-built row. An audit slot that throws changes no answer, and the failure is logged at `error`. The row's metadata keys are the ones #30964 shipped. The refusal row names the granted marketplace package id, and carries `environment_id`, because the grant names its environment.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@object-ui/auth': patch
3+
---
4+
5+
fix(auth): with email+password sign-in off, phone sign-in on and no single sign-on, the login card draws the phone way in on first paint instead of a single sign-on view
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`LoginForm` collapsed into the single sign-on view whenever the server turned email+password sign-in off (`emailPassword.enabled: false`), whether or not single sign-on existed. A deployment that signs in by phone only showed its users "Use a password instead" and, behind it, a "Back to single sign-on" button with no single sign-on anywhere. Now, with the password door shut, no single sign-on offered (`features.sso`) or enforced (`features.ssoEnforced`) and a phone way in advertised (`features.phoneNumber` or `features.phoneNumberOtp`), the form is drawn on first paint:
11+
12+
- the identifier field reads "Phone number" (the existing `phoneLabel` / `phonePlaceholder` labels), since the server refuses an email address;
13+
- with phone OTP the only way in, the form opens on the verification-code step and offers no switch to a password form the server refuses;
14+
- no "Back to single sign-on" button, no sign-up link and no password-form description, all of which name a door the server refuses.
15+
16+
A shut password door with single sign-on offered, declared enforcement, the no-method state and a failed config fetch (the password form, break-glass) are unchanged.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@object-ui/plugin-calendar': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
fix(plugin-calendar): a reschedule of a record that is gone for this session toasts a translated sentence naming the object by its label
7+
8+
Clause-②: yes (widening)
9+
Metadata-protocol: none
10+
11+
- **`@object-ui/plugin-calendar`:** when a drag-to-reschedule is refused with `404 RECORD_NOT_FOUND` (the record was deleted, or row-level security no longer shows it to this user), the toast used to show the server's own sentence, "Record ID not found in OBJECT_NAME": English in every session, with the record id and the object's machine name. It now says, in the session language, that this record of the object (named by its label) no longer exists or is no longer accessible. The label is the one the object schema serves, else the app's translation of it; with neither, the toast says the existing generic "This record doesn't exist, or you don't have access to it." and never the machine name. The event still snaps back to its day. A refusal the producer marked for the user, an external-source refusal and a permission refusal keep their own messages, ahead of this one.
12+
- **`@object-ui/i18n`:** `calendar.rescheduleNotFound` in all eleven locale packs (zh-Hant generated from zh-Hans).

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@
2626
- 判据唯一来源是签名台账(锚点 issue),优先于现场判断;只有人工能升级台账。
2727
- 疑似新 flaky 只留提请,⛔ 不自行加表;纯计数不追记,只有改变修法作用域时才记。
2828
- 四分支:已知 flaky ⇒ 原样重投;已修签名再现 ⇒ ⛔ 不重投,判新问题重新诊断。
29-
- 基上缺已合修复 ⇒ merge main 推新提交,重跑无效。
29+
- 基上缺已合修复 ⇒ merge main 推新提交,重跑无效;新语种包落地致翻译门禁红同属此支。
3030
- 新签名 ⇒ ⛔ 不重投,PR 与其 `Fixes` 卡各留完整签名与初判;下条三事实全立可重投一次。
3131
- 三事实:失败文件 import 闭包与 diff 不相交、队列基座同 shard 绿、首错是超时非断言。
3232
- 每次处置留审计评论,重投写签名与台账依据或三行回执;同签名再弹即停,交下一席重诊。
33+
- 标签 PR 末次绿 PR 跑后 main 落新语种包 ⇒ 挂 auto-merge/入队前 merge main 重跑,`behind` 例外。
34+
- 标签即 `check-generated-translation-bundles`、`check-no-new-untranslated-declared-labels` 所计显示标签。
3335

3436
## A. 碰生成物的 PR:入队前先同步 + 整体重生成
3537

@@ -54,15 +56,13 @@
5456
- 落地评论 = 两个读数的探针表 + 一行状态变更(摘标/关卡/收口),⛔ 不复述 `## 席位核对`。
5557
- 转 ready/入队前跑 `check-governed-merges.mjs --pr N`:受管面照两层;>3000 行(含生成物)照 Tier H。
5658
- ⛔ 两层不由席位批准;清标即落地同受此闸,漏判会被队列守卫在 merge group 里拒收。
57-
- 再读 `mergeable_state`:`dirty` ⇒ 先 merge `origin/main` 再挂;生成物在面上按 A 的固定序。
5859
- 挂 auto-merge 的同一动作里重测生成物漂移,⛔ 不复用更早的零;非零 ⇒ 按 A 的固定序。
5960
- ready + 全绿 ≠ 已入队:队列从不主动拉 PR,入队是显式动作。
6061
- 零 `enqueued` 事件按序查三条:① `mergeable_state` 是否 `dirty`。
6162
- ② enable-auto-merge 调用根本没落地,重发与效果验证序列见 `platform-readings.md`。
6263
- ③ PR 碰 `.github/workflows/**`:令牌常驻 `workflows: write`(裁决评论 6104822731),仍拒即授权漂移。
6364
- 确认 MERGED 同一动作里给 `Part of` 卡收口、`Fixes` 卡代关但标也须摘,⛔ 不拆到下轮巡检。
6465
- 摘标换回 `pm:queue` 或按剩余物定级,加一条写清交付了什么、剩下归谁的评论。
65-
- 同刻读相关卡 `closed_by_pull_requests`,确认没有卡被正文闭合关键词误关。
6666
- 每次合并后重拉一次车道盘点与预期状态对账,⛔ 不留给下轮巡检。
6767
- 取 open 卡清单对照预期 diff:预期之外从 open 消失的,就是被闭合关键词静默误关的卡。
6868
- 落地后再核一次落地判据本身:队列的合并同样走 os-regen,A 的静默吞并一样能发生。

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ tests excluded, at commit `95294be3`).
192192

193193
**Everything needed to run an app is in this repository** — protocol,
194194
microkernel, SDK, CLI, the production runtime and Console, permissions, audit,
195-
and MCP. ObjectOS Cloud and Enterprise add hosting and multi-environment
196-
operations, Build & Ask, SSO, and support.
195+
and MCP — single sign-on (OIDC / SAML) included, free. ObjectOS Cloud and
196+
Enterprise add hosting, Build & Ask, and support.
197197
This repository is Apache-2.0, except `ui/` (the Console and `@object-ui/*`), which is MIT — both permissive
198198
([LICENSING.md](./LICENSING.md)). The definition lives in your repository as
199199
ordinary TypeScript, versioned in your VCS and reviewable as a diff — not a

0 commit comments

Comments
 (0)