Skip to content

Commit 7674028

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/project-thread-eq5jj6
2 parents c70a195 + 19f49ef commit 7674028

31 files changed

Lines changed: 369 additions & 52 deletions
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): the liveness ledger's `_note` paths follow eleven closed 2026-06 audits into `docs/audits/archive/2026-06/`
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The `_note` of `liveness/{action,agent,dashboard,field,flow,hook,object,report,skill,tool,view}.json` named its seeding audit as `docs/audits/2026-06-<type>schema-property-liveness.md`. Those audits are closed and now live under `docs/audits/archive/2026-06/`, so each note names the new path, and `liveness/README.md` says where the series sits. No status, evidence or accepted shape changes: only the path text inside notes moves.

‎.claude/skills/pm-dispatch/references/dispatch-runbook.md‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,26 +105,26 @@
105105
- 无权执行 ⇒ 点名有权者,并当轮换标把状态搬进对方的收件箱视图或决策箱。
106106
- ⛔ 不许只留一条评论等人路过:评论不是任何人的收件箱,标签才是。
107107

108-
## 云卡(`mode:cloud`)四课
109-
110-
- 一、授权面随 source 不随环境:trigger 拉起的会话无仓库授权,只读勘察。
111-
- `create_session` 带 `source_url` 出生即持推送授权。
112-
- 同时带 `outcome_branch`(= 认领分支)、显式 `model`(trigger 流不可指模型)、`title`。
113-
- `title` 以车道名开头,⛔ 不叫 os-dev,形如 `⚡ <车道> #<单号> <短语>`。
114-
- 二、派发词必带自驱条款:云会话回合一结束即停摆等 poke。
115-
- ⛔ 不为提问或中报结束回合;实现取舍自定记入 `open_questions`;碰产品行为/契约报 fork。
116-
- 合法回合终点只有两个:推送完成加终报,或硬阻塞详报。
108+
## 云卡(`mode:cloud`)五课
109+
110+
- 一、授权随 source 不随环境:trigger 会话无仓库授权只读,`create_session` 带 `source_url` 可推送。
111+
- 带 `outcome_branch`(认领分支)、显式 `model`、`title`(`⚡ <车道> #<单号> <短语>`,⛔ 不叫 os-dev)。
112+
- 二、派发词必带自驱条款:云会话回合一完即停摆,合法终点仅推送加终报、硬阻塞详报。
113+
- 取舍自记 `open_questions`,产品行为/契约报 fork;姊妹仓未 attach 够不着,跨仓跟进卡 PM 代立。
117114
- 三、交付通道:dev 自开 draft PR(`Fixes #<n>` 只写正文,`partof-closing-keyword` RULE 2,含验证记录)。
118-
- 未 attach 的姊妹仓够不着,跨仓跟进卡由 PM 代立。
119115
- trigger 定时会话维持降级通道:推送 outcome branch,终报走最后一条会话消息,PM 代开 draft PR。
120-
- 四、云卡 draft PR 一存在立即 `subscribe_pr_activity`,这是硬步骤。
121-
- 监控与转向:`get_session` 读实时状态,IDLE 加分支未推送 = 停摆待 poke。
122-
- 投递消息用绑会话 poke 触发器:`create_trigger` 带 `persistent_session_id` 加 `fire_trigger`,用后删。
116+
- 四、draft PR 一存在即 `subscribe_pr_activity`(硬步骤);`get_session` 读状态,IDLE 且未推送即停摆。
117+
- poke 用绑会话触发器:`create_trigger` 带 `persistent_session_id` 加 `fire_trigger`,用后删。
123118
- 巡检退为兜底心跳,只补订阅盲区:会话停摆、未开 PR 的分支、姊妹仓动静。
124119
- roster 不可达与 `SendMessage` 同裁,`ListAgents` 同列不到,⛔ 不复测。
125-
- 会话句柄是账号作用域的:三个会话工具对另一账号建的会话一律答 `not found`。
126-
- 该答案与从不存在不可区分,⛔ 永不读作死亡信号。
127-
- 跨账号接班活性只认 GitHub 产出读数,draft-PR 时点交报正为此存在。
120+
- 会话句柄按账号作用域:三个会话工具对另一账号建的会话一律答 `not found`。
121+
- 该答案与不存在不可区分,⛔ 不读作死亡信号;活性只认 GitHub 产出,draft-PR 即交报为此。
122+
- 五、桌面 `start_session`(`target: cloud`)实测六异。① 克隆发起会话所记分支,已删即开局死:
123+
- 先推同名指针分支(= `origin/main`),⛔ 不提交其上;复核 `get_session`→`branch`、`ls-remote --heads`。
124+
- ② `model`/`effort` 同 trigger 流不可指:继承发起席位档,认领写明,或从卡档位的会话发起。
125+
- ③ 中继凭会话 id 自选 `dispatch`,⛔ 不传 `--session`;④ 席位 `list_sessions` 只列本地,不见它。
126+
- ⑤ Claude GitHub App 的 PR 后推送不触发工作流(复核 check-suites):末推后开 PR 或用户令牌重推。
127+
- ⑥ 收不到 poke 也发不了消息,只经 PR 与报告评论交回;REWORK 由本地 os-dev 同分支同认领接。
128128

129129
## 卡线程(`mode:thread`)
130130

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@
143143
- 资源与后端:S 级机械 + M ⇒ `mode:subagent`;S 级但不机械(判断面在设计不在门禁)按 M 待遇。
144144
- `mode:cloud` 只保留给 L/XL、活过 PM 会话的工作、浏览器/dogfood 验证;build 重的 M 卡逐卡判。
145145
- 申报文件面写 `packages/spec/src/**` 且至少另一包 ⇒ build 重,派 `mode:cloud`,一卡一容器。
146-
- 一容器同时至多跑一个 build 重子代理;云会话建闭包拉 turbo 远程缓存。
147-
- 首张这类派发实测固定开销(安装 + 拉缓存)并记在其卡上。
146+
- 一容器同时仅一个 build 重子代理;云会话建闭包拉 turbo 远程缓存,首张实测固定开销记卡。
148147
- 归档义务只落在云卡;OOM 死的单独重派;判定连同档位写进认领评论。
148+
- 桌面 `start_session` 起的云卡照 runbook〈云卡五课〉五;席位看不见其会话,归档落维护者。
149149
- 一次性云卡用 `create_session`,⛔ 不用 create_trigger+fire;trigger 流只留给定时/重复型。
150150
- 接手中断的 dev:先试 SendMessage 复活,不可用才走接手协议,⛔ 不重跑原派发词。
151151

‎docs/audits/2026-06-record-search-liveness.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Record search is a **declared-but-unenforced** capability (cf. ADR-0049). `$sear
3131
- `object.searchable` boolean (`object.zod.ts:52`) — consumed by metadata-admin UI + the command-palette object gate; **not** the data layer.
3232
- `object.search` (`SearchConfigSchema`, `object.zod.ts:113`) — `fields`/`displayFields`/`filters`; **no runtime consumer**.
3333
- `view.searchableFields` (`view.zod.ts:522`) — UI input control + ListView; not the data layer.
34-
- field-level `searchable` — **DEAD** (per `2026-06-fieldschema-property-liveness.md`).
34+
- field-level `searchable` — **DEAD** (per `archive/2026-06/2026-06-fieldschema-property-liveness.md`).
3535

3636
## 4. Lookup search (objectui) — sends `$search`, gets a no-op
3737
- `LookupField.tsx:311` / `RecordPickerDialog.tsx:451` — bare `$search`. The picker "works" visually only because datasets are tiny; there is **no server filtering**.

‎docs/audits/README.md‎

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,29 @@
22

33
> **Lifecycle of a file in `docs/audits/`:** an audit is *open* while its findings are being worked and *closed* once each one is fixed, ruled out or carried into a tracked ledger or issue; a closed audit moves to `docs/audits/archive/`, and git history keeps every version.
44
5+
> **Closed but kept in place:** a closed audit that an ADR cites by path stays where it is, because ADRs are append-only and a move would leave a dead link in their text. So does one cited by path from a published `CHANGELOG.md`, which is release-owned. In the 2026-06 series that holds `2026-06-handwritten-docs-accuracy-followups`, `2026-06-metadata-functional-completeness`, `2026-06-react-blocks-conformance`, `2026-06-react-tier-authoring-dogfood`, `2026-06-record-search-liveness` and `2026-06-security-identity-property-liveness` (ADR-cited), and `2026-06-appschema-property-liveness`, `2026-06-dead-surface-disposition-plan` and `2026-06-validationschema-property-liveness` (cited from `packages/spec/CHANGELOG.md`).
6+
57
A protocol-level audit of **every ObjectStack metadata type**: for each schema property, cross-reference its spec definition against its **actual consumers** (`file:line`) in the runtime and renderers, to answer two questions in order — **(1) does the property take effect?** and **(2) is it necessary / reasonable?**
68

79
Liveness is judged by **code consumption**, not browser observation (an unreactive UI can't distinguish "dead property" from "data didn't trigger it"). "DEAD" = parsed but read by no non-spec/non-test consumer → a **silent no-op** for authors.
810

911
## Per-type reports
1012
| Type | Doc | Health |
1113
|---|---|---|
12-
| field | `2026-06-fieldschema-property-liveness.md` | ~half dead |
13-
| object | `2026-06-objectschema-property-liveness.md` | ~half dead |
14-
| view | `2026-06-viewschema-property-liveness.md` | list-family healthy; chart/form-variants broken |
14+
| field | `archive/2026-06/2026-06-fieldschema-property-liveness.md` | ~half dead |
15+
| object | `archive/2026-06/2026-06-objectschema-property-liveness.md` | ~half dead |
16+
| view | `archive/2026-06/2026-06-viewschema-property-liveness.md` | list-family healthy; chart/form-variants broken |
1517
| app | `2026-06-appschema-property-liveness.md` | nav core healthy; aspirational tail |
1618
| page | `archive/2026-06/2026-06-pageschema-property-liveness.md` | drift breaks layouts |
17-
| dashboard | `2026-06-dashboardschema-property-liveness.md` | ADR-0021 half-done |
18-
| report | `2026-06-reportschema-property-liveness.md` | dataset live; chart dead |
19+
| dashboard | `archive/2026-06/2026-06-dashboardschema-property-liveness.md` | ADR-0021 half-done |
20+
| report | `archive/2026-06/2026-06-reportschema-property-liveness.md` | dataset live; chart dead |
1921
| dataset | `archive/2026-06/2026-06-datasetschema-property-liveness.md` | live; Studio under-covers |
20-
| action | `2026-06-actionschema-property-liveness.md` | disabled-CEL ignored; form/shortcut dead |
21-
| flow | `2026-06-flowschema-property-liveness.md` | enum out of sync; runAs unenforced |
22-
| agent | `2026-06-agentschema-property-liveness.md` | autonomy + access-control aspirational |
23-
| tool | `2026-06-toolschema-property-liveness.md` | **write-only metadata** |
24-
| skill | `2026-06-skillschema-property-liveness.md` | triggerPhrases display-only |
25-
| hook | `2026-06-hookschema-property-liveness.md` | **healthy** (near-total) |
22+
| action | `archive/2026-06/2026-06-actionschema-property-liveness.md` | disabled-CEL ignored; form/shortcut dead |
23+
| flow | `archive/2026-06/2026-06-flowschema-property-liveness.md` | enum out of sync; runAs unenforced |
24+
| agent | `archive/2026-06/2026-06-agentschema-property-liveness.md` | autonomy + access-control aspirational |
25+
| tool | `archive/2026-06/2026-06-toolschema-property-liveness.md` | **write-only metadata** |
26+
| skill | `archive/2026-06/2026-06-skillschema-property-liveness.md` | triggerPhrases display-only |
27+
| hook | `archive/2026-06/2026-06-hookschema-property-liveness.md` | **healthy** (near-total) |
2628
| validation | `2026-06-validationschema-property-liveness.md` | **healthy** (all 6 types enforced) |
2729
| security/identity (role, permission, policy, sharing) | `2026-06-security-identity-property-liveness.md` | **policy 100% dead** |
2830
| system/integration (email/i18n/theme/job/webhook/portal) | `archive/2026-06/2026-06-system-integration-property-liveness.md` | email + portal dead |
@@ -44,7 +46,7 @@ The most serious cluster — properties that imply a security boundary but enfor
4446
### 2. 🔴 ADR-0021 analytics migration debt
4547
Spec moved to `dataset`+`values`/`dimensions`, but: the **chart view variant** + **dashboard renderer + Studio WidgetConfigPanel** still read the *removed* legacy `object/valueField/categoryField/aggregate` shape. (Same debt that invalidated the showcase dashboard/report seeds.)
4648

47-
**✅ Report slice resolved (#3463 + 2026-07 close-out).** `report.chart` is **wired** (`DatasetReportRenderer` plots `chart.xAxis`/`yAxis` via `DatasetReportChart`, now dogfooded by the showcase `…_chart` report); `ReportColumn`/`ReportGrouping` (+ objectui `SpecReport*` re-exports) and the unread `chart.groupBy` + dead `aria`/`performance` are **removed**; the legacy `ReportViewer` chart fallback is **retired**. See [`2026-06-reportschema-property-liveness.md`](./2026-06-reportschema-property-liveness.md). The **chart-view / dashboard / WidgetConfigPanel** legacy-shape readers above remain open.
49+
**✅ Report slice resolved (#3463 + 2026-07 close-out).** `report.chart` is **wired** (`DatasetReportRenderer` plots `chart.xAxis`/`yAxis` via `DatasetReportChart`, now dogfooded by the showcase `…_chart` report); `ReportColumn`/`ReportGrouping` (+ objectui `SpecReport*` re-exports) and the unread `chart.groupBy` + dead `aria`/`performance` are **removed**; the legacy `ReportViewer` chart fallback is **retired**. See [`2026-06-reportschema-property-liveness.md`](./archive/2026-06/2026-06-reportschema-property-liveness.md). The **chart-view / dashboard / WidgetConfigPanel** legacy-shape readers above remain open.
4850

4951
### 3. 🟠 Naming drift → silent no-ops (spec key ≠ consumed key)
5052
field `maxLength`/`minLength`/`referenceFilters`/`maxRating`; page `type`→`pageType` & `label`→`title` & `visibility`; dashboard `title` vs `label`; app `accentColor`/`badgeVariant`/`separator` (renderer reads, **not in spec**); action `disabled`→`enabled`; flow `http` vs `http_request`; skill `requiredPermissions` vs `permissions`; agent `knowledge.{topics→sources}`; webhook `object`→`object_name`, `isActive`→`active`.

docs/audits/2026-06-actionschema-property-liveness.md renamed to docs/audits/archive/2026-06/2026-06-actionschema-property-liveness.md

File renamed without changes.

docs/audits/2026-06-agentschema-property-liveness.md renamed to docs/audits/archive/2026-06/2026-06-agentschema-property-liveness.md

File renamed without changes.

docs/audits/2026-06-dashboardschema-property-liveness.md renamed to docs/audits/archive/2026-06/2026-06-dashboardschema-property-liveness.md

File renamed without changes.

docs/audits/2026-06-fieldschema-property-liveness.md renamed to docs/audits/archive/2026-06/2026-06-fieldschema-property-liveness.md

File renamed without changes.

docs/audits/2026-06-flowschema-property-liveness.md renamed to docs/audits/archive/2026-06/2026-06-flowschema-property-liveness.md

File renamed without changes.

0 commit comments

Comments
 (0)