Skip to content

feat(metadata-protocol, spec, lint)!: a post-publish probe finding carries the sentence for the person who published, in their language - #34513

Merged
os-zhuang merged 11 commits into
mainfrom
claude/issue-32984-build-finding-user-message
Nov 17, 2026
Merged

os-zhuang merged 11 commits into
mainfrom
claude/issue-32984-build-finding-user-message

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Part of #32984

This is the framework half of Q1, under ruling record 6929121584 on the card. Three parts of the card stay open after this merges: the console read of userMessage in ui/packages/plugin-chatbot (#34539), Q2 (the label of a field that a change will create: ruled B in record 6929142905, not built here; its cloud card is #34468 and its spec card #34469), and the cloud half of Q1 (the graph lint's findings, parked under the same ruling as #34467).

Clause-②: yes (narrowing) — narrowed: PublishPackageDraftsResponseSchema.probes FROM z.unknown() (any value parses; input and output type unknown) → TO BuildProbeReportSchema (only the report parses; type BuildProbeReport). Widened: the optional RuntimeBuildIssue.userMessage, the new RuntimeBuildIssueSchema / BuildProbeReportSchema exports, and userTextLocaleOf / renderUserText / UserTextEntry from @objectstack/lint.
Metadata-protocol: added
Skills-docs: follow-up #34552

维护者速读

  • 改了什么:发布之后的运行检查(ADR-0038 L3 探针)给每条发现多带一句 userMessage,是写给发布者本人看的话。语言按请求来定:请求语言,否则工作区默认语言,否则英文;覆盖平台 11 种语言和全部 8 个探针代码。句子里用标签称呼仪表盘、组件、数据集、视图和对象,读不到标签时才用 API 名;发布账号被拒绝读取的对象例外,按拒绝里的 API 名称呼,探针不去读它的标签。probes 在 spec 里由 z.unknown() 改为有模型的 BuildProbeReportSchema,这是一次申报过的收窄(Clause-②: yes (narrowing)),ADR-0038 追加一节修订。
  • 为什么改:构建健康卡把写给 agent 的英文 message 直接给客户看,客户看不懂,也不知道下一步做什么(卡片第 4 项)。裁决记录 6929121584 定为「出问题的一方写客户句」,客户端不再各自维护一张按代码翻译的表。
  • 风险与回滚:message、fix、code 逐字节不变,现有读取方不受影响;userMessage 是新增的可选字段。唯一变严的地方,已按收窄申报:probes 不再接受不是报告形状的值。平台自己的生产者只产出这一种形状(两套一致性测试对真实生产者实测),受影响的只会是手写这个响应的代码(别的协议宿主、测试替身),TypeScript 编译器会在调用处指出来;changeset 带 BREAKING 说明和改法。回滚就是 revert 本 PR;在控制台的第二个 PR 合并之前,界面仍显示 message。
  • 先看:① packages/spec/src/api/protocol.zod.ts 里的 RuntimeBuildIssueSchema、BuildProbeReportSchema 和 probes: 那一行(契约形状,风险最高);② packages/metadata-protocol/src/build-probes.user-text.ts(11 种语言的句子,值得请母语读者抽看措辞);③ packages/metadata-protocol/src/build-probes.ts 里每个 issues.push 新增的 userMessage: say(...),以及取标签的 labelIn / labelOf。
  • 两分钟验证:运行 pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2 src/build-probes-user-message.test.ts,预期全部通过;用例对中文句子做逐字断言,例如「仪表盘“团队看板”中的组件“未完成任务”没有显示任何数据,但“Tasks”中有记录。」
  • 需要你做的:一个动作:批准这次申报的收窄(probes 从此只接受报告形状的值,见 Acceptance notes 第 5 条)。本 PR 触及 docs/adr/** 和 packages/spec/src/**,是 Tier H;契约评审记录由席位送审。

What changes

@objectstack/spec (packages/spec/src/api/protocol.zod.ts). probes on PublishPackageDraftsResponseSchema is modeled. It was z.unknown(); it is now BuildProbeReportSchema: issues[] of RuntimeBuildIssueSchema, and checked with the seeds, views, widgets and objects counts. RuntimeBuildIssueSchema declares layer, severity, artifact, ref (optional), code, message, fix (optional) and the new optional userMessage. These are the members the probe pass already wrote, one for one, plus the new field. code stays an open string, because the producer's list may grow and a consumer treats an unknown id as any other finding. The notes that called probes "deliberately opaque" (the #9406 staging) now say which consumer reads which fields. The two types RuntimeBuildIssue and BuildProbeReport are declared once, in spec.

@objectstack/metadata-protocol.

  • build-probes.ts: every finding the probes emit carries userMessage. message, fix and code are byte-identical to before. RunBuildProbesOptions gains userTextLocales; the local RuntimeBuildIssue and BuildProbeReport interfaces are replaced by re-exports of the spec types, so the producer and the declared response cannot drift apart.
  • build-probes.user-text.ts (new): the sentence catalog. Eight codes, every branch of each, in the eleven platform locales (en, zh-Hans, zh-Hant, es, ar, fr, pt-BR, ru, de, ja, ko).
  • protocol-history-and-publish.ts: publishPackageDrafts hands the request.userTextLocales it already holds to runBuildProbes. No request parameter is added.

@objectstack/lint. userTextLocaleOf and renderUserText, the locale ladder behind findingUserMessage, are exported from the package root and from @objectstack/lint/runtime, with the UserTextEntry type. The probes use that ladder instead of a second copy.

ADR-0038. A dated amendment, "two readers, two channels", appended at the end: message and fix are the agent's text, userMessage is the person's sentence, the producer writes it under the locale ladder, and clients keep no per-code table. It cites ruling records 6819749037 and 6929121584.

Generated by their tools, not by hand. packages/spec/{api-surface,authorable-surface,declaration-map,export-origins,json-schema.manifest}/api.json, content/docs/references/api/protocol.mdx, content/docs/references/index.mdx and docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md, all written by pnpm --filter @objectstack/spec run check:generated --fix after a spec build.

Comment-only edits that the change made false. packages/client/src/index.ts (the docblock of the publish-drafts answer), packages/runtime/src/route-ledger.ts (a note string, in a module that is not bundled into the runtime's built output) and packages/metadata-protocol/src/protocol.ts (a docblock, with a zero-line delta against the facade line ceiling).

Nothing under ui/** is touched. The console keeps rendering message until the second pull request reads userMessage.

What the person reads, per code

A sentence names an artifact by its label where the probe can read one from the published item, and by its API name otherwise.

code names shown English sentence (labels: dashboard "Task board", widget "Open tasks", dataset "Task totals", object "Tasks", view "All tasks")
seed_not_applied the seeded object's label (a seed has no label) The sample data for "Tasks" did not load, so "Tasks" has no records yet. Check the sample data, then publish again.
view_read_failed view label, object label The view "All tasks" cannot read "Tasks", so it shows an error instead of records. Make sure "Tasks" is published, then publish again.
object_field_ref_unknown object label One of the settings of "Tasks" names a field that does not exist or cannot be used there, so that setting does not work. Correct the field it names, then publish again.
object_field_ref_rule_failed object label "Tasks" was published, but its field settings could not be checked. The problem is in the check itself, not necessarily in "Tasks"; contact your administrator if it happens again.
widget_not_probed dashboard label, widget title; the dataset by its API name The widget "Open tasks" on dashboard "Task board" was not checked: more than one dataset is named "crm_task_totals", so the dashboard cannot tell which one it means. Rename or remove the others, then publish again.
empty_query dashboard, widget, dataset and object, all by label The widget "Open tasks" on dashboard "Task board" shows no data, although "Tasks" has records. Check the fields that its dataset "Task totals" measures and groups by, then publish again.
widget_query_failed dashboard, widget and dataset by label; the object by label for a query that fails, and by the API name the refusal names for a refusal or an undecided read (nothing of that object is read); no object when the refusal names none The widget "Open tasks" on dashboard "Task board" could not load its data: the account that published it does not have read access to "crm_task". Ask an administrator for that access, then publish again. People who already have it can see the widget.
probes_unavailable no name: one finding covers every dashboard of the publish Dashboard widgets were not checked (3 in total), because analytics is not available in this environment. Open each published dashboard to see whether its widgets load.

widget_not_probed names its dataset by API name on purpose: the read of that dataset was refused, so there is no body to take a label from, and the name is the subject of the sentence (two datasets share it). seed_not_applied, widget_not_probed and widget_query_failed have more than one branch; the table shows one of each.

Every code and branch, in English and in Simplified Chinese
en | seed_not_applied (no-rows) | The sample data for "Tasks" did not load, so "Tasks" has no records yet. Check the sample data, then publish again.
en | seed_not_applied (unreadable) | The sample data for "Tasks" could not be checked, because "Tasks" could not be read after publishing. Publish again, and contact your administrator if it happens again.
en | view_read_failed | The view "All tasks" cannot read "Tasks", so it shows an error instead of records. Make sure "Tasks" is published, then publish again.
en | object_field_ref_unknown | One of the settings of "Tasks" names a field that does not exist or cannot be used there, so that setting does not work. Correct the field it names, then publish again.
en | object_field_ref_rule_failed | "Tasks" was published, but its field settings could not be checked. The problem is in the check itself, not necessarily in "Tasks"; contact your administrator if it happens again.
en | widget_not_probed (outside-closure) | The widget "Open tasks" on dashboard "Task board" was not checked: its dataset "crm_task_totals" belongs to a package that this one does not depend on. Add that package as a dependency, or keep the dataset in this package, then publish again.
en | widget_not_probed (ambiguous-in-closure) | The widget "Open tasks" on dashboard "Task board" was not checked: more than one package that this one depends on has a dataset named "crm_task_totals", so the dashboard cannot tell which one it means. Depend on only one of them, or keep the dataset in this package, then publish again.
en | widget_not_probed (several-holders) | The widget "Open tasks" on dashboard "Task board" was not checked: more than one dataset is named "crm_task_totals", so the dashboard cannot tell which one it means. Rename or remove the others, then publish again.
en | empty_query | The widget "Open tasks" on dashboard "Task board" shows no data, although "Tasks" has records. Check the fields that its dataset "Task totals" measures and groups by, then publish again.
en | widget_query_failed (access) | The widget "Open tasks" on dashboard "Task board" could not load its data: the account that published it does not have read access to "crm_task". Ask an administrator for that access, then publish again. People who already have it can see the widget.
en | widget_query_failed (field-access) | The widget "Open tasks" on dashboard "Task board" could not load its data: the account that published it does not have read access to some fields of "crm_task". Ask an administrator for that access, then publish again. People who already have it can see the widget.
en | widget_query_failed (unavailable) | The widget "Open tasks" on dashboard "Task board" was not checked: the server could not confirm read access to "crm_task" this time. The widget needs no change; publish again later, and contact your administrator if it happens again.
en | widget_query_failed (query) | The widget "Open tasks" on dashboard "Task board" cannot load its data, so it shows an error. Check its dataset "Task totals" and the values the widget shows, then publish again.
en | probes_unavailable | Dashboard widgets were not checked (3 in total), because analytics is not available in this environment. Open each published dashboard to see whether its widgets load.
zh-CN | seed_not_applied (no-rows) | “Tasks”的示例数据没有加载成功,所以“Tasks”中还没有任何记录。请检查示例数据,然后重新发布。
zh-CN | seed_not_applied (unreadable) | 无法检查“Tasks”的示例数据,因为发布后无法读取“Tasks”。请重新发布;如果问题再次出现,请联系管理员。
zh-CN | view_read_failed | 视图“All tasks”无法读取“Tasks”,因此它会显示错误而不是记录。请确认“Tasks”已发布,然后重新发布。
zh-CN | object_field_ref_unknown | “Tasks”的某项设置引用了一个不存在或不能在该处使用的字段,因此这项设置不会生效。请更正它引用的字段,然后重新发布。
zh-CN | object_field_ref_rule_failed | “Tasks”已发布,但无法检查它的字段设置。问题出在检查本身,不一定出在“Tasks”上;如果再次出现,请联系管理员。
zh-CN | widget_not_probed (outside-closure) | 仪表盘“Task board”中的组件“Open tasks”未被检查:它的数据集“crm_task_totals”属于当前软件包未依赖的软件包。请把那个软件包添加为依赖,或把该数据集放在当前软件包中,然后重新发布。
zh-CN | widget_not_probed (ambiguous-in-closure) | 仪表盘“Task board”中的组件“Open tasks”未被检查:当前软件包依赖的多个软件包中都有名为“crm_task_totals”的数据集,仪表盘无法确定用的是哪一个。请只依赖其中一个软件包,或把该数据集放在当前软件包中,然后重新发布。
zh-CN | widget_not_probed (several-holders) | 仪表盘“Task board”中的组件“Open tasks”未被检查:有多个数据集都叫“crm_task_totals”,仪表盘无法确定用的是哪一个。请重命名或删除其余的数据集,然后重新发布。
zh-CN | empty_query | 仪表盘“Task board”中的组件“Open tasks”没有显示任何数据,但“Tasks”中有记录。请检查它的数据集“Task totals”用于度量和分组的字段,然后重新发布。
zh-CN | widget_query_failed (access) | 仪表盘“Task board”中的组件“Open tasks”无法加载数据:发布时使用的账号没有“crm_task”的读取权限。请让管理员授予该权限,然后重新发布。已有该权限的人可以正常看到这个组件。
zh-CN | widget_query_failed (field-access) | 仪表盘“Task board”中的组件“Open tasks”无法加载数据:发布时使用的账号没有“crm_task”中部分字段的读取权限。请让管理员授予该权限,然后重新发布。已有该权限的人可以正常看到这个组件。
zh-CN | widget_query_failed (unavailable) | 仪表盘“Task board”中的组件“Open tasks”未被检查:服务器这次无法确认“crm_task”的读取权限。该组件无需修改;请稍后重新发布,如果再次出现,请联系管理员。
zh-CN | widget_query_failed (query) | 仪表盘“Task board”中的组件“Open tasks”无法加载数据,因此会显示错误。请检查它的数据集“Task totals”以及该组件显示的值,然后重新发布。
zh-CN | probes_unavailable | 仪表盘组件未被检查(共 3 个),因为当前环境中没有可用的分析服务。请打开每个已发布的仪表盘,确认其中的组件能否正常加载。

Tests

  • packages/metadata-protocol/src/build-probes-user-message.test.ts (new). Fourteen real probe runs, one per code and branch, over published items with labels. For each run and each of the eleven locales: userMessage equals the catalog sentence for the expected params, the labels appear, the API names of labelled artifacts do not, message and fix are unchanged, and the finding and the report parse through the spec schemas with nothing stripped. It also pins the ladder (request locale over workspace default, default when the request names none, an unknown locale falling through, the en floor, regional tags such as de-AT, zh-TW and zh-Hant-HK), the label fallbacks (no label, blank label, unreadable body, a read that throws), and the catalog itself: its keys are the codes scanned from build-probes.ts, every code is exercised, and every entry answers in every platform locale.
  • packages/metadata-protocol/src/build-probes-rule-failure.test.ts: the rule-failure finding carries the English and the Chinese sentence, and neither contains the thrown text.
  • packages/spec/src/api/protocol.test.ts: the report and the finding schemas accept what the producer emits, keep userMessage, accept a code that a later probe adds, and reject a probes value that is not the report. packages/spec/src/type-alias-convention.pin.test.ts counts the two new type aliases.
  • packages/objectql/src/publish-package-drafts-response-conformance.test.ts and packages/runtime/src/domains/packages-publish-drafts-response-conformance.test.ts: the real producer's response parses through the modeled schema and equals the raw answer ("declared = returned").
  • packages/runtime/src/domains/packages-publish-drafts-probe-caller-context.test.ts: through the real REST door, a zh-CN caller reads the Chinese sentence with labels, a caller with no locale in a fr-FR workspace reads the French one, a caller with neither reads English, and a clean publish has no findings (control).

Acceptance notes

The dispatch order's mechanism assumptions, as measured on the tree:

  1. Locales reach the probe without a new request parameter: holds. publishPackageDrafts holds request.userTextLocales; the REST door fills it from the caller's locale and the workspace default (packages/runtime/src/domains/packages.ts). The probe options gained userTextLocales, and that is the whole hand-off.

  2. Reuse the lint ladder: holds, with one addition. @objectstack/metadata-protocol already depends on @objectstack/lint, so the direction is legal. The ladder was module-internal to lint, so this pull request exports userTextLocaleOf and renderUserText from lint's two barrels. That widens lint's published surface by two functions and one type, and puts lint in the changeset. Rollback of that part is dropping the two export lines.

  3. "11 platform locales": holds. PLATFORM_LOCALE_TAGS in @objectstack/spec/system has eleven tags, and the catalog pin requires each entry to answer in exactly that set.

  4. Labels through publishedItemReader: holds, per code as in the table above. A label is the published body's own label (a widget's title), resolved for the sentence's locale when it is a per-locale map. Translation bundles are not consulted: an app that keeps its labels only in a translation bundle shows the body's label, or the API name when the body has none.

  5. A declared narrowing (contract review 6933939654, M1). The model is one for one what runBuildProbes emits, and the schema is not strict, so an extra key is not rejected; the two conformance suites parse the real producer's answer and require it to equal the raw answer. But a probes value that is not the report (a string, a different object, a finding missing a member) no longer parses, where z.unknown() accepted anything, and the z.input type PublishPackageDraftsResponse moves from unknown to the report for code that writes it. The repository reads that as a narrowing with zero measured instances (ADR-0087's reading of a surface moving off unknown), so the PR body and the changeset declare Clause-②: yes (narrowing) with the FROM → TO line, the changeset carries the BREAKING note with its fix, and its ADR-0087 disposition is not-required (no-migration-prescription): probes is a response field the platform writes, so nothing exists for objectstack migrate meta to rewrite. type-surface-only does not apply (the diff touches packages/spec). The full dogfood battery ran on the final head (Verification).

  6. Metadata-protocol: added (corrected by the seat from none). check:authorable-surface is green and authorable-surface.base.json did not move, but packages/spec/authorable-surface/api.json gained ten keys (the keys of the two response schemas), and the changeset ratchet reads a moved shard as keys entered; the changeset says added with spec at minor. The probe writes these keys; no metadata author does.

  7. An object the caller was refused is named as its refusal names it (contract review 6933939654, S1). After a read-admission refusal (access, field-access) or a read gate that could not decide (unavailable), the sentence names the object by the API name the refusal carries, exactly as fix names it, and the probe reads nothing of that object, its label included. Only a query that failed for another reason reads the dataset's object for its label. Pinned in build-probes-user-message.test.ts (zero object reads for the three failures, with the query failure as the control) and through the REST door.

Other notes:

Verification

Round 2 (rework after contract review 6933939654 and L1 6933808750), final head e5d2d0c9 (origin/main merged once more through scripts/pm/os-regen-merge.sh; check:generated then 14 of 14 up to date with nothing to commit). Each command ran through scripts/pm/os-verify-lock.sh; the verdict is the lock's own line. The round-1 blocks after this one are on head c082171d5, whose feature code is unchanged since 3b2707ab6; round 1's last head 8d8b7cd7 differs from c082171d5 by a main merge whose packages/ patch-id for this PR's own changes is unchanged (a18ddbbd9d4f, measured by L1), plus the reference index and the changeset.

Round 2: affected packages, the dogfood battery, the S1 ablation, the derived gates
Head e5d2d0c9. Closure build (turbo, dogfood/runtime/objectql/client and their dependencies): 70/70, VERDICT command-exit 0.

pnpm --filter @objectstack/spec test              VERDICT command-exit 0 · Test Files 846 passed (846) · Tests 27091 passed | 1 todo (27092)
pnpm --filter @objectstack/spec typecheck         VERDICT command-exit 0
pnpm --filter @objectstack/metadata-protocol test VERDICT command-exit 0 · Test Files 347 passed | 9 skipped (356) · Tests 23003 passed | 45 skipped (23048)
pnpm --filter @objectstack/metadata-protocol typecheck  VERDICT command-exit 0
pnpm --filter @objectstack/lint test              VERDICT command-exit 0 · Test Files 214 passed (214) · Tests 9091 passed (9091)
pnpm --filter @objectstack/lint typecheck         VERDICT command-exit 0
pnpm --filter @objectstack/objectql test          VERDICT command-exit 0 · Test Files 604 passed (604) · Tests 13504 passed (13504)
pnpm --filter @objectstack/objectql typecheck     VERDICT command-exit 0
pnpm --filter @objectstack/runtime test           VERDICT command-exit 0 · Test Files 609 passed (609) · Tests 11274 passed | 19 skipped (11293)
pnpm --filter @objectstack/runtime typecheck      VERDICT command-exit 0
pnpm --filter @objectstack/client test            VERDICT command-exit 0 · Test Files 58 passed (58) · Tests 812 passed (812)
pnpm --filter @objectstack/client typecheck       VERDICT command-exit 0

Dogfood battery (owed by the (narrowing) arm), on the final head, the command CI runs, no shard, no path:
pnpm --filter @objectstack/dogfood test           VERDICT command-exit 0 · Test Files 478 passed | 3 skipped (481) · Tests 4030 passed | 44 skipped (4074)

S1 ablation (scripts/ablation-replace.mjs on head 1c79f8cd, the commit that added the rule):
  build-probes.ts: `refusal || unavailable ? saidObject : await labelOf('object', saidObject)` -> `(await labelOf('object', saidObject))`
  anchor x1 -> x0; build-probes-user-message.test.ts: Tests 5 failed | 29 passed (34)
  restored: blob == HEAD (a7c237a789e8), `git diff HEAD` empty

Derived gates: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack -> 125 commands.
  Each ran as printed (< /dev/null, exit captured before any pipe). 122 exit 0 on the first pass; 3 exit 3 (prerequisite
  not met, nothing measured): check-plugin-teardown-shape --self-test (its pinned control commit was not in this shallow
  clone; fetched), check:skill-examples and check:dual-build-cjs-loads (unbuilt dists). After the prerequisites, all three exit 0.
  Reconciliation: --ran -> 125 derived, 125 run, 0 NOT-MEASURED, 0 UNRUN.
  node scripts/check-adr-0087-registration.mjs --base origin/main
    ✓ 1 declared-breaking changeset(s), each carrying an ADR-0087 disposition.
    .changeset/32984-build-probe-user-message.md  [BREAKING+bang+clause-②-narrowing]  not-required (no-migration-prescription)

CI on e5d2d0c9: 60 success, 12 skipped, 0 failure (Check Changeset green after the body's declaration line was rewritten).
Affected packages: tests and typecheck
Head c082171d5. Each command ran through scripts/pm/os-verify-lock.sh; the verdict is the lock's own line.

pnpm --filter @objectstack/spec test
  VERDICT command-exit 0 · Test Files 846 passed (846) · Tests 27079 passed | 1 todo (27080)
pnpm --filter @objectstack/spec typecheck
  VERDICT command-exit 0
pnpm --filter @objectstack/runtime typecheck
  VERDICT command-exit 0
pnpm --filter @objectstack/runtime exec vitest run --maxWorkers=2 src/domains/packages-publish-drafts-response-conformance.test.ts src/domains/packages-publish-drafts-probe-caller-context.test.ts
  VERDICT command-exit 0 · Test Files 2 passed (2) · Tests 16 passed (16)
pnpm --filter @objectstack/client typecheck
  VERDICT command-exit 0 (tsc, then check:test-typecheck: OK)
pnpm --filter @objectstack/client test
  VERDICT command-exit 0 · Test Files 58 passed (58) · Tests 812 passed (812)

Head 3b2707ab6. The later commit changes one spec test file and one runtime test file, both re-run above,
so these suites read the same sources on both heads.

pnpm --filter @objectstack/metadata-protocol test
  VERDICT command-exit 0 · Test Files 347 passed | 9 skipped (356) · Tests 23002 passed | 45 skipped (23047)
pnpm --filter @objectstack/metadata-protocol typecheck
  VERDICT command-exit 0
pnpm --filter @objectstack/lint test
  VERDICT command-exit 0 · Test Files 214 passed (214) · Tests 9083 passed (9083)
pnpm --filter @objectstack/lint typecheck
  VERDICT command-exit 0
pnpm --filter @objectstack/objectql test
  VERDICT command-exit 0 · Test Files 604 passed (604) · Tests 13504 passed (13504)
pnpm --filter @objectstack/objectql typecheck
  VERDICT command-exit 0
pnpm --filter @objectstack/runtime test
  VERDICT command-exit 0 · Test Files 609 passed (609) · Tests 11274 passed | 19 skipped (11293)

Not run locally: the vitest `repo` project (test:repo). CI's Test Core runs it.
Reverse verification and four ablations (one-time proofs, nothing left in the tree)
All five ran on head 3b2707ab6, after the implementation was committed. Every mutation was written by
scripts/ablation-replace.mjs (the anchor must match; the write and the restore are verified on disk), the
expected direction was red each time, and every restore ended with `git diff HEAD` empty.

Reverse verification: the probes are typed by the spec schema, not by a stale declaration.
  A finding with severity 'info' in build-probes.ts, then
  pnpm --filter @objectstack/metadata-protocol typecheck
  src/build-probes.ts(671,13): error TS2322: Type '"info"' is not assignable to type '"error" | "warning"'.
  VERDICT command-exit 2. Restored: blob == HEAD.

Ablation 1: runBuildProbes ignores userTextLocales.
  build-probes-user-message.test.ts and build-probes-rule-failure.test.ts
  Tests 25 failed | 13 passed (38). Restored.

Ablation 2: the label lookup returns the API name.
  The same two files: Tests 26 failed | 12 passed (38). Restored.

Ablation 3: `probes` in spec back to z.unknown().
  packages/spec/src/api/protocol.test.ts: Tests 1 failed | 265 passed (266).
  The failing case is "probes is the report or it is absent". Restored.

Ablation 4: publishPackageDrafts stops handing the locales to the probes.
  The runtime door test resolves @objectstack/metadata-protocol through dist/, so each leg was built and
  checked in the built output before its run was read.
  Mutate, build, node scripts/ablation-dist-preflight.mjs @objectstack/metadata-protocol ablation32984ProbeLocalesDropped
    dist/: marker present in 2 built files
  packages-publish-drafts-probe-caller-context.test.ts: Tests 2 failed | 4 passed (6)
  Restore, build, preflight --absent
    dist/: marker absent from all 24 built files · tree: working tree clean against HEAD
  The same file: 6 passed.
Gates: the derived local list and its reconciliation
Head c082171d5.

Derivation: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack
  125 commands, from the tree at c082171d5 (26 paths against merge base 0e2e4f568; +2270 / -109).
  Each command ran as printed, with its exit code captured before any pipe.

Reconciliation: node scripts/pm/dispatch-gates.mjs --ran RAN_LIST --repo objectstack-ai/objectstack
  Run reconciliation — 125 derived, 124 run, 1 NOT-MEASURED, 0 UNRUN.

Exit 0: 124.
NOT MEASURED: 1. node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3.
  Its positive control is pinned to commit 621a4876, which this shallow checkout cannot reach.
  CI runs it on a full checkout.

Two gates were red on 3b2707ab6 because of this change. Both are green on c082171d5:
  pnpm check:error-code-casing
    Was: four lowercase probe codes in packages/spec/src/api/protocol.test.ts read as error codes.
    They are ADR-0112 D6c diagnostics codes carried in a 200, so each line now carries the gate's mark.
    ✓ no unlisted lowercase error codes in 12701 scanned file(s) (ADR-0112).
  pnpm check:test-source-alias
    Was: the edited runtime conformance test reached a dynamic @objectstack/metadata import inside a case.
    It now imports that package at module top, as the sibling door tests do.
    check-test-source-alias OK — 122 packages with tests scanned

Thirty of the 124 first ran while a package rebuild was writing dist/. All thirty ran again on a quiet
tree, all exit 0, and those second readings are the ones counted.

Verdict lines of the gates this change is most likely to move:
  pnpm --filter @objectstack/spec run check:generated
    ✓ All 14 generated artifacts are up to date
  pnpm --filter @objectstack/spec run check:api-surface
    @objectstack/spec public API surface + factory signatures unchanged ✓
  pnpm --filter @objectstack/spec run check:authorable-surface
    exit 0; authorable-surface.base.json is untouched by this branch (its baseRev lag is the gate's own
    information line, not an error)
  pnpm check:facade-delegation-only
    ✓ packages/metadata-protocol/src/protocol.ts: 11634 lines, ceiling 11705 (71 left; ruling 6897467376)
  pnpm check:dual-build-cjs-loads
    ✓ 124 published require entry point(s) across 72 package(s) load; 2610 emitted CommonJS file(s) parse
  pnpm check:type-check-debt
    check-type-check-coverage --re-measure: OK — 0 raw tsc error(s) total, none above its recorded number.
  node scripts/check-empty-changeset.mjs --base origin/main
    ✓ No empty-frontmatter changeset introduced by this diff (1 declaring changeset(s) added).

Outside the derived list:
  node scripts/check-platform-checklist.mjs --changed-from origin/main
    OK — 4 anchored file(s) in the change set, 51 anchor(s) judged, 0 lost.
  node scripts/check-nul-bytes.mjs
    OK (scanned 25691 text file(s); no raw ASCII control bytes).
  pnpm check:dev-prereqs (a reading about this machine, kept local)
    exit 1, "The workspace is not built": 34 of 107 workspace packages have no dist, the named ones
    under ui/. This worktree built only what this change needs.
Merge check against open pull requests that touch these files
`git merge-tree --write-tree` of head c082171d5 against origin/main and against the head of every open
pull request that shares a file with this branch, or that opened or moved while this work was running.

origin/main (bdd51769e): exit 0. This branch last merged main at 0e2e4f568. The ten commits since then
  touch none of the spec or generated files here; one shares packages/client/src/index.ts and merges clean.
34472, the pull request that owns the console lines (ui/** only): exit 0, no shared file.
34439: exit 0. Shares packages/metadata-protocol/src/protocol.ts, no conflict.
34267: exit 0. Shares the generated content/docs/references/index.mdx.
34238: exit 1. The only conflicted file is packages/metadata-protocol/src/protocol-save.ts, which this
  branch does not touch. Control leg: origin/main against 34238 gives exit 1 with the same single file,
  so that is its own drift from main. It also regenerates content/docs/references/api/protocol.mdx, and
  edits protocol.zod.ts and protocol.ts without a text conflict.
28 further open pull requests: exit 0, no shared file.

Where two branches regenerate the same file, the one that lands second regenerates it from the merged
tree with scripts/pm/os-regen-merge.sh.

Generated by Claude Code

…e user-text ladder from lint

Claude-Session: https://claude.ai/code/session_01FEkQ5pXLdNhF4Uiyzmgi9Z
Co-authored-by: Claude <noreply@anthropic.com>
…Message in the request's language

The probe renders one sentence per code and branch from its own catalog
(eleven platform locales) under the lint ladder, names an artifact by its
label where it can read one, and publishPackageDrafts hands it the
request's userTextLocales. message, fix and code are unchanged.

Regenerates the spec artifacts the modeled probes report moves, appends the
ADR-0038 amendment and adds the changeset.

Claude-Session: https://claude.ai/code/session_01FEkQ5pXLdNhF4Uiyzmgi9Z
Co-authored-by: Claude <noreply@anthropic.com>
…gate; pay the metadata load at collection

`check:error-code-casing` read four lowercase probe codes in the spec protocol test as error codes.
They are ADR-0112 D6c diagnostics codes carried in a 200, so each line carries the gate's own mark.

`check:test-source-alias` judges every test file a change edits. The runtime publish-drafts
conformance test reaches a dynamic `@objectstack/metadata` import through the dispatcher, so it now
pays that load at module top, as the sibling door tests do.

Claude-Session: https://claude.ai/code/session_01FEkQ5pXLdNhF4Uiyzmgi9Z
Co-authored-by: Claude <noreply@anthropic.com>
`content/docs/references/index.mdx` is generated and both sides moved it: main gained
`BulkActionResult`, this branch gained `BuildProbeReport` and `RuntimeBuildIssue`. Regenerated from the
merged tree by `check:generated --fix` after the merge commit.

Claude-Session: https://claude.ai/code/session_01FEkQ5pXLdNhF4Uiyzmgi9Z
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 5 package(s): @objectstack/client, @objectstack/lint, @objectstack/metadata-protocol, @objectstack/runtime, @objectstack/spec, touching 41 documentable anchor(s). ⚠️ 7 changed file(s) yielded no anchor (packages/lint/src/index.ts, packages/lint/src/runtime.ts, packages/spec/api-surface/api.json, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

2 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/concepts/metadata-lifecycle.mdx (via ObjectStackProtocolImplementation (symbol, a top-level class))
  • content/docs/kernel/cluster.mdx (via ObjectStackProtocolImplementation (symbol, a top-level class))

⛔ 3 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v16.mdx (via ObjectStackProtocolImplementation (symbol, a top-level class))
  • content/docs/releases/v17/17-0.mdx (via ObjectStackProtocolImplementation (symbol, a top-level class))
  • content/docs/releases/v17/17-1.mdx (via publishPackageDrafts (symbol, a method of class ProtocolHistoryAndPublishFacet))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 7 changed file(s) yielded no anchor (packages/lint/src/index.ts, packages/lint/src/runtime.ts, packages/spec/api-surface/api.json, …) — pages documenting those are invisible to this run
  • 11 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 183 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 107d2e8497270aad611f77a81bc341f48c6d3e00 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from cc0100dc37d06b72f42845bd4e84035b5e7ac09e — the merge of head e5d2d0c9081e04e2b149050e5fe45e0694de6393 into base 107d2e8497270aad611f77a81bc341f48c6d3e00, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin cc0100dc37d06b72f42845bd4e84035b5e7ac09e && git checkout cc0100dc37d06b72f42845bd4e84035b5e7ac09e
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 107d2e8497270aad611f77a81bc341f48c6d3e00 e5d2d0c9081e04e2b149050e5fe45e0694de6393 && git checkout -B drift-repro 107d2e8497270aad611f77a81bc341f48c6d3e00 && git merge --no-ff e5d2d0c9081e04e2b149050e5fe45e0694de6393

node scripts/docs-audit/affected-docs.mjs --json 107d2e8497270aad611f77a81bc341f48c6d3e00

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 107d2e8497270aad611f77a81bc341f48c6d3e00 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 16, 2026
…ures: added, spec at minor

`Check Changeset` on the pull request reads a moved `packages/spec/authorable-surface/api.json` shard as
keys entered, and refuses `Metadata-protocol: none` beside it. The shard gained the ten keys of the two
probe-report schemas, so the kind is `added` and `@objectstack/spec`, the package that carries the
shard, is graded `minor`. The other two packages stay `patch`.

Claude-Session: https://claude.ai/code/session_01FEkQ5pXLdNhF4Uiyzmgi9Z
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5pXLdNhF4Uiyzmgi9Z

State · 2026-11-17T00:24Z · head 8d8b7cd73e977abf14991e35813d5a69844fc56e


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract-review-claim: session_01FEkQ5mjfxPu5HKjUtuveBR · head 8d8b7cd · 2026-11-17T00:27Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn

席位核对 · PR #34513 · L1-b · 2026-11-17T00:30Z

Head-sha: 8d8b7cd(merge-base 0e2ead3;26 个文件,+2270/−109;dev 报告 6933638650,状态说明 6933691752)

结论:REWORK(3 项,都在正文;代码和测试可以接受)

已核对、没有问题的部分

  • 形态:Part of #32984,是 Q1(6929121584,B)的框架一半。

  • spec 模型:RuntimeBuildIssueSchema 和 BuildProbeReportSchema 与 main 上 build-probes.ts 的 RuntimeBuildIssue / BuildProbeReport(含 [P0] Studio package publish accepts a dangling highlightFields reference — the authoring gate never sees what the app builder produces #15254 的 checked.objects)逐个成员对照一致,只多了可选的 userMessage。schema 不是 strict,code 仍是开放字符串。metadata-protocol 这一侧改为 re-export spec 的类型,所以只有一处声明。

  • 语言链:publishPackageDrafts 把原有的 request.userTextLocales 透传给 probe。lint 导出了 userTextLocaleOf、renderUserText 和 UserTextEntry(两个 barrel 都导出了),probe 用的是同一条语言链。

  • 测试:

    • build-probes-user-message.test.ts 跑了 14 次真实 probe,每次覆盖全部 11 个语言;
    • 钉住了语言链(de-AT、zh-TW、zh-Hant-HK、未知 locale、en 兜底),以及 label 的各种回退情况;
    • 目录的键取自 build-probes.ts 扫出的 code,每个 code 都被跑到,每条在每个平台语言下都有句子;
    • 两份 conformance 测试断言"declared = returned";
    • REST 门的测试覆盖了 zh-CN 调用者、fr-FR 工作区默认、两者都没有回落英文、以及一个干净的对照组。

    四次消融都有读数,恢复后都核对过。

  • changeset:spec 是 minor(Metadata-protocol: added,与 ratchet 读到的 authorable-surface 移动一致),metadata-protocol 和 lint 是 patch。逐句与 diff 对照过,相符。Check Changeset 早先那次红是正文还写着 none 时跑的;正文改成 added 后重跑为 success。

  • 读数所在的 head:正文的读数取自 c082171。之后的 3dc7aec 合进了 main 的 14 个提交,packages/ 下 PR 自己的 patch-id 在合并前后都是 a18ddbbd9d4f,所以读数仍然成立。之后两个提交只是重新生成索引和改 changeset。门禁派生 125 族,124 族 exit 0,1 族 NOT MEASURED 并写明了原因。

  • 交给契约评审的一点:Acceptance notes 第 5 条,作者自己点出 probes 从 z.unknown() 收紧为模型后,"不是报告形状的值"不再能通过解析,并给了理由:现有生产方不会发出这种值,运行期也没有用这个 schema 解析响应的地方。这一处是否仍算 yes (widening)、不需要 (narrowing) 臂,由契约评审定。L1 不替它判断,只记在这里。

  • Tier H:本 PR 改了 docs/adr/0038 的修订段,要由维护者合并或经他授权批准。

R1 · Skills-docs: follow-up owed 没有 #N

声明行写着 Skills-docs: follow-up owed — skills/objectstack-api/SKILL.md, skills/objectstack-i18n/SKILL.md,状态说明也写了"card still to file"(卡还没立)。请立卡,并在这一行和 changeset 里引用 #N。

R2 · 正文第 6 行说 Q2 "not ruled",与记录不符

原文:"Q2 (the label of a field that a change will create, record 6929142905, not ruled)"。可是 6929142905 本身就是 Q2 的裁决记录:「Ruling: Q2 · letter B · maintainer 「B 加标签并把格式写进契约」 2026-11-16T20:58Z」。

请改成"已裁 B,本 PR 不做",并引用它带出的两张卡(云端卡、契约卡)的 #N。同一行里"the console read … a second pull request"现在已经是 #34539,也请改为引用这个编号。

R3 · Acceptance notes 最后一条里有一个观察没有 #N,也没有给"不是缺陷"的理由

"noted and not filed"那一条里有两处观察:

  • 第一处:widget 没有 id、而 title 是按语言的映射时,会打印出 [object Object]。这一处已经给了理由:"the schema requires id"(schema 要求必须有 id),可以接受。
  • 第二处:「publishedItemReader returns the wrapper as a body when a protocol answers with an empty wrapper」(protocol 回了一个空包装时,publishedItemReader 会把包装本身当成 body 返回)。这一处既没有 #N,也没有可以核对的"不是缺陷"的理由。

请立卡引用,或者给出可以核对的理由,说明为什么它不是缺陷。

Nit(不阻塞)

正文 Verification 一节开头写的是 "Local runs are on head c082171d5"。建议补一句:本 head 8d8b7cd 与 c082171 的 PR 自身 patch-id 相同,为什么读数可以沿用。这样读者不用自己去量。

CI

我读的时候这个 head 上还有 31 项在跑,除了上面那次被重跑取代的 Check Changeset,没有别的红。修完后我只读 delta,并会等 CI 全部跑完再给结论。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-project-manager · session_01FEkQ5pXLdNhF4Uiyzmgi9Z

State · 2026-11-17T00:30Z · head 8d8b7cd73e977abf14991e35813d5a69844fc56e (unchanged) · handed to seat repo:objectstack#2

Under the maintainer's 「后续不再开发,只跟进pr落地」 this card thread stops here. L1-b REWORK 6933808750 asks for body and card work only (no code): R1 file the Skills-docs follow-up card and cite #N in the declaration line and changeset; R2 correct the body's "Q2 … not ruled" (6929142905 ruled B; cite its cloud and spec cards) and name the console PR as #34539; R3 give the remaining noted observation a #N or a not-a-defect reason. Then: L1-b delta, review#2 contract-tier L2 (claimed 6933742647), CI green, assignee, maintainer approval (Tier H), seat lands.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Seat repo:objectstack#2, which took this PR over from seat #1 (hand-off 6933723686):

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

review#2 · os-project-manager · session_01FEkQ5mjfxPu5HKjUtuveBR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 8d8b7cd73e977abf14991e35813d5a69844fc56e
Local-runs: none
Scope: packages/spec/src/api/protocol.zod.ts, docs/adr/0038-build-verification-loop.md + packages/metadata-protocol/src/build-probes.ts, packages/metadata-protocol/src/build-probes.user-text.ts, packages/metadata-protocol/src/protocol-history-and-publish.ts, packages/metadata-protocol/src/protocol.ts, packages/lint/src/index.ts, packages/lint/src/runtime.ts, packages/client/src/index.ts, packages/runtime/src/route-ledger.ts, packages/spec/src/api/protocol.test.ts, packages/spec/src/type-alias-convention.pin.test.ts, the five packages/spec/*/api.json baselines, the two response-conformance suites, .changeset/32984-build-probe-user-message.md
Security-touching: yes

First review of this head. Card #32984, ruling 6929121584 (Q1 letter B, applying 6819749037), claim 6929287163, state 6933691752. No earlier record on the PR.

① Derived judgments

  • New exports RuntimeBuildIssueSchema, BuildProbeReportSchema and their two types in @objectstack/spec/api: a widening, right. Member for member what runBuildProbes wrote on main (layer, severity, artifact, ref?, code, message, fix?), plus the optional userMessage. code stays an open string: right, a consumer must not fail on a later id.
  • PublishPackageDraftsResponseSchema.probes moves from z.unknown().optional() to BuildProbeReportSchema.optional(): this shrinks a published accept set, and the declaration calls the whole diff a widening. Wrong, see M1.
  • @objectstack/lint gains renderUserText, userTextLocaleOf and the UserTextEntry type on both barrels: a widening, declared in the changeset. Right.
  • RunBuildProbesOptions.userTextLocales (optional) and publishPackageDrafts passing the request.userTextLocales it already holds: no new request parameter, as ruling parameter 2 expects. Right.
  • The producer writes the sentence, in the request's language: holds. build-probes.ts composes userMessage at every issues.push through buildProbeUserMessage; the local ProbeFinding type makes it required at the emit site. The locale is the lint ladder over userTextLocales, which the REST door fills with userTextLocalesOf(executionContext) (packages/runtime/src/domains/packages.ts:3098): request locale, workspace default, then en. message, fix and code are unchanged in the diff.

② Semver level

  • Levels: spec minor with Metadata-protocol: added (the authorable-surface/api.json shard gained ten keys), metadata-protocol and lint patch. These match what the diff publishes.
  • Clause-②: yes (widening) on the PR body and the changeset does not match the diff: M1.

③ Boundary flags

  • Check-runs on the head: 33 success, 12 skipped, 23 still running (Test Core 1, 3, 5, 6, 7, 8 of 8; Test UI 1 to 14 and 16 of 16; Type Check UI; Type Check · workspace). One red, Check Changeset run 133716842619: it read Metadata-protocol: none beside the moved authorable-surface/api.json shard. The seat corrected the body line, and the later Check Changeset run 133718774752 on the same head is green, so the red is superseded. The pending runs are not verdicts yet; Type Check UI is the one that would show a typed probes breaking a ui fixture.
  • Dev flag, Acceptance note 5 ("widening only: the reading to review"): answered by M1. The reading does not hold under the repository's own rules.
  • Dev flag, note 6 (Metadata-protocol: added): right, and the green rerun agrees.
  • Dev flag, lint's two exports wider than the order's file surface: accepted, one ladder instead of a second copy.
  • Skills-docs: follow-up owed: the card is the seat's to file before ACCEPT; not judged here.
  • SQL push-down: not applicable. The label reads go through the memoized item reader and happen only on a finding.

④ Design judgment

M1 (must-fix) — packages/spec/src/api/protocol.zod.ts, probes: the diff narrows a published accept set and declares Clause-②: yes (widening). On main, PublishPackageDraftsResponseSchema parses any probes value, and protocol.test.ts pins that on purpose ("any shape passes through unmodified", with { anything: 'else' } as "a future shape this contract deliberately does NOT constrain"). This diff deletes that pin and adds the opposite one ("a body that is not the report no longer parses"); the changeset says the same in its own words. The exported type PublishPackageDraftsResponse is z.input, so probes also moves from unknown to the report for anyone who writes that type (another protocol host, a test double). The repository reads this move as a narrowing even with zero measured instances: execution-duties.md (「收窄已发布接受集」), ADR-0087's sixth category (a published surface that moves off any / unknown onto a concrete type carries the breaking marker), and the packages/spec/CHANGELOG.md entries that took ComponentPropsMap members off z.unknown() (grouping, pagination: "refused where it used to parse"). Ruling parameter 3 orders the modeling; it does not relabel its direction. Required: declare Clause-②: yes (narrowing) on the PR body and the changeset (the spelling check-adr-0087-registration.mjs names for a diff that widens and narrows), with the FROM → TO line, exactly one ADR-0087 disposition marker, and the final-head dogfood battery that arm owes (os-dev.md). The maintainer's approval this Tier H pull request already waits for must then be given on the declared narrowing, not on a widening.

S1 (should-fix) — packages/metadata-protocol/src/build-probes.ts, the widget_query_failed branches that follow a read-admission refusal: the sentence names the refused object by a label the probe reads for it, where the agent text names only what the refusal itself carried. Either name it as the agent text does, or state in the code and the Acceptance notes why that read stands for this caller. Detail is in the private note.

  • The schema against its first consumer (fix(console): the publish-health line shows a finding's customer sentence and folds agent text under technical details #34539, publishHealth.ts): it reads checked.seeds/views/widgets, issues[].severity/code/message/fix/userMessage, each tolerantly. The model declares all of them. Holds.
  • The ADR-0038 amendment against the code, sentence by sentence: two channels on one finding (true, RuntimeBuildIssueSchema); the producer writes it under the declared ladder (true, above); no consumer keeps a per-code table (true of fix(console): the publish-health line shows a finding's customer sentence and folds agent text under technical details #34539); the report is modeled in @objectstack/spec/api (true); the probes compose userMessage for every finding (true, enforced by ProbeFinding); the cloud half is out (true, nothing of it in the diff). Holds.
  • Catalog: 8 codes, each in the 11 platform locales, real translations with the same branches per locale. The test pins the key set against the codes scanned from build-probes.ts and against PLATFORM_LOCALE_TAGS, and asserts literal English and Chinese sentences, so it is not only the catalog compared with itself.
  • Generated baselines: api-surface, declaration-map, export-origins (4 entries each), json-schema.manifest (2), authorable-surface (10 keys), and the strictness count 509 to 514 all agree with two new object schemas. The type-alias pin moves 854 to 856 in its three places with the two Iso_api_protocol__* lines. The route-ledger.ts note and the three docblocks now say what the schema says.
  • Tests: the spec cases refuse a non-report probes, a lossy finding, a missing counter and a fractional one; the two conformance suites parse the real producer's answer and require deep equality; the door test drives zh-CN, a fr-FR workspace default and the en floor. They would fail on the mutations the body lists.

N1 (nit) — docs/adr/0038-build-verification-loop.md: the Status line does not mention the amendment; the section is found only at the end of the file.

N2 (nit) — RuntimeBuildIssueSchema.ref.member says "by its id"; the producer writes String(w.id ?? w.title ?? '?').

Implemented-by: claude/issue-32984-build-finding-user-message
Reviewed-by: session_01FEkQ5mjfxPu5HKjUtuveBR

VERDICT: FAIL

…a refused object as its refusal does

`probes` moving off `z.unknown()` narrows a published accept set, so the
changeset declares `Clause-②: yes (narrowing)` with the FROM → TO line, the
BREAKING note and its ADR-0087 disposition, and cites the Skills-docs card.

A widget query refused read access (or whose access could not be decided)
no longer reads the refused object's label for the publisher's sentence: it
is named by the API name the refusal carries, as `fix` names it.

The ADR-0038 status line mentions the amendment, and `ref.member` says what
the producer writes.

Claude-Session: https://claude.ai/code/session_01ADHkmPq1nAfsjMkqnXC2dA
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot changed the title feat(metadata-protocol, spec, lint): a post-publish probe finding carries the sentence for the person who published, in their language feat(metadata-protocol, spec, lint)!: a post-publish probe finding carries the sentence for the person who published, in their language Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq

Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head e5d2d0c · 2026-11-17T02:48Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmQtnGcx7hYEL11ptVs

席位核对

L1 delta: ACCEPT · PR #34513 · card #32984 (Q1 framework half) · area o2-C · L1-a2 · 2026-11-17T02:49Z

Head-sha: e5d2d0c9081e04e2b149050e5fe45e0694de6393

This reads the delta from 8d8b7cd7. The previous L1 was REWORK 6933808750 (L1-b, seat 1): R1–R3 plus one nit. That reviewer sat on seat 1, which has wound down, so this delta comes to the repo:objectstack#2 L1 under the o2-C takeover. Final report: 6936442936 on #32984.

What moved (read in git)

  • 1c79f8cd: answers the contract review (M1 narrowing, S1 refused-object label) and L1's R1. Changes the changeset, the ADR-0038 amendment, build-probes.ts, build-probes.user-text.ts, protocol.zod.ts, and two test files.
  • 6c433ae2: regenerated content/docs/references/api/protocol.mdx (3 rows), mirroring the new userMessage and member describes.
  • e5d2d0c9: merge of origin/main through os-regen-merge.sh. git show --remerge-diff is empty, so the merge has no hand edits.

L1 items

What the delta adds, checked for L1

  • The narrowing declaration (M1). The title now carries !. The changeset reads feat(…)!, Clause-②: yes (narrowing) with FROM z.unknown() → TO BuildProbeReportSchema spelled out, a BREAKING paragraph with the fix, and an ADR-0087 not-required (no-migration-prescription) disposition. check-adr-0087-registration is quoted green. The (narrowing) arm owes a Skills-docs: line (present, skills: teach RuntimeBuildIssue.userMessage in the api and i18n skills #34552) and a full dogfood battery pinned to this head: pnpm --filter @objectstack/dogfood test at e5d2d0c9, 478 files passed | 3 skipped, exit 0, plus CI's Dogfood Regression Gate success on this head. Owed items present. Whether the declaration itself is right is the contract review's call, not this record's.
  • The refused-object label (S1). For access, field-access and unavailable failures, build-probes.ts now names the object by the API name the refusal carries and never calls labelOf for it. The query path still reads the label. The new test counts zero object reads for the three failures, with the query failure as the control. The S1 ablation (put labelOf back) reads 5 failed / 29 passed, restored to blob == HEAD. The two changed tests swap the expected object name from label to API name and move the label into hidden. Both changes are forced by the rule change, and the body names them.
  • Prose faces. I checked each sentence against the code: the changeset's new sentence on the refused object, the ADR-0038 amendment's two edited sentences, the protocol.zod.ts JSDoc and the userMessage and member describes, the user-text table row for widget_query_failed, and the regenerated protocol.mdx rows. All of them match the widget_query_failed site in build-probes.ts.
  • Gates. 125 derived, 125 run, 0 NOT-MEASURED. Three first answered exit 3 on prerequisites and were re-run to exit 0, with the reasons given.
  • CI on this head (check-runs, filter=latest, 76 runs): success=62, skipped=14, nothing red or pending. That includes Check Changeset, Dogfood Regression Gate and Governed Surface Queue Guard.

L2 and landing

  • L2 owed at this head: CONTRACT_REVIEW_TIER (published schema plus the narrowing). The area reports that the M1 and S1 delta went to this project's L2 review seat. Keep needs:contract-review until a same-shape PASS at e5d2d0c9 is on file.
  • Landing tier (node scripts/pm/check-governed-merges.mjs --pr 34513): ⛔ GOVERNED, Tier H. docs/adr/0038-build-verification-loop.md is not an add-only note, so the low-risk arm does not apply. Size: 2462 changed lines, ≤ 3000. Once L1 ACCEPT and an L2 PASS are both on file at this head, the final four steps apply: seat record and 速读, pm:awaiting-merge, review request to the approvers, and the round report. ⛔ Do not mark it ready, queue it or arm auto-merge before an approval is on file.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: e5d2d0c9081e04e2b149050e5fe45e0694de6393
Local-runs: none
Scope: packages/spec/src/api/protocol.zod.ts, docs/adr/0038-build-verification-loop.md + packages/metadata-protocol/src/build-probes.ts, packages/metadata-protocol/src/build-probes.user-text.ts, packages/metadata-protocol/src/protocol-history-and-publish.ts, packages/metadata-protocol/src/protocol.ts, packages/lint/src/index.ts, packages/lint/src/runtime.ts, packages/client/src/index.ts, packages/runtime/src/route-ledger.ts; the narrowing floor, every other path of the diff outside the prose faces: packages/spec/src/api/protocol.test.ts, packages/spec/src/type-alias-convention.pin.test.ts, packages/metadata-protocol/src/build-probes-user-message.test.ts, packages/metadata-protocol/src/build-probes-rule-failure.test.ts, packages/objectql/src/publish-package-drafts-response-conformance.test.ts, packages/runtime/src/domains/packages-publish-drafts-response-conformance.test.ts, packages/runtime/src/domains/packages-publish-drafts-probe-caller-context.test.ts, the five packages/spec api.json baselines and the strictness count (generated, listed and not reviewed); cited code read and not reviewed: packages/runtime/src/domains/packages.ts, packages/metadata-core/src/object-schema-fls.ts, packages/lint/src/finding-user-text.ts, packages/core/src/security/assemble-execution-context.ts, packages/services/service-analytics/src/field-read-admission.ts, ui/packages/plugin-chatbot/src/publishHealth.ts on main, scripts/check-adr-0087-registration.mjs, docs/adr/0087-metadata-protocol-upgrade-contract.md
Security-touching: yes

Full at-tier review of this head, on the schema face, the rules face (ADR-0038) and the narrowing face the PR declares. Card #32984 with every comment, rulings 6929121584 (Q1 letter B) and 6929142905 (Q2 letter B), claim 6929287163, takeover 6934066071, final report 6936442936; PR body, file list, net diff against main, and the check-runs on this head. An earlier at-tier record, 6933939654, did not pass an older head and raised M1, S1, N1 and N2; the original reviewer's seat has closed and no thread reaches it across projects, so this record reviews the new head in full and closes each of those items by id in section ④. The detail of S1 sat in a private note this review could not read; S1 is judged from its public wording and from the code.

① Derived judgments

  • PublishPackageDraftsResponseSchema.probes moves from z.unknown().optional() to BuildProbeReportSchema.optional(): a narrowing of a published accept set, and now declared as one. Right. A value that is not the report no longer parses, and the input type moves from unknown to the report.
  • New exports RuntimeBuildIssueSchema, BuildProbeReportSchema and their two types in @objectstack/spec/api: a widening. Right. Member for member what runBuildProbes wrote on main (layer, severity, artifact, ref, code, message, fix, and checked with four counters), plus the optional userMessage. code stays an open string, which is right for a list the producer may grow.
  • @objectstack/metadata-protocol: RuntimeBuildIssue and BuildProbeReport become re-exports of the spec types, and RunBuildProbesOptions gains the optional userTextLocales. Right: one declaration, no new request parameter (publishPackageDrafts passes the request.userTextLocales it already held).
  • @objectstack/lint exports renderUserText, userTextLocaleOf and the UserTextEntry type on both barrels: a widening, declared. Right.
  • message, fix and code of every finding are untouched in the diff. Right, as ruling parameter 1 requires.
  • A parse of the response now strips a member inside probes that the model does not declare, where the opaque declaration carried the value through by reference. Zero instances: the two conformance suites parse the real producer's answer and require equality. See N5.

② Semver level

  • Levels: spec minor, metadata-protocol patch, lint patch. They match what the diff publishes; the repository does not use a major bump, and the break is carried by the ! and the BREAKING note.
  • Clause-②: yes (narrowing) is spelled line-leading on the PR body and on the changeset, each with the FROM z.unknown() → TO BuildProbeReportSchema line and the widened members named beside it. The title and the changeset headline carry !. The changeset carries one BREAKING note, with the fix for a hand-written producer or test double. This matches the diff.
  • Metadata-protocol: added with spec at minor: right. packages/spec/authorable-surface/api.json gained ten keys, and the ratchet reads a moved shard as keys entered. No metadata author writes these keys; the kind is the gate's measurement, and Check Changeset is green on this head.
  • ADR-0087 marker not-required (no-migration-prescription), exactly one: right. probes is a field of a response the platform writes. It is not stored: publishPackageDrafts computes it and returns it, and nothing in the repository persists it or parses a response through this schema outside tests (the console reads it tolerantly, with no schema parse). So no stored or sent document that parsed before can fail at a save door, a publish or a boot, and objectstack migrate meta has nothing to rewrite. The two categories that rest on the compiler do not apply: type-surface-only refuses a diff that touches packages/spec, and runtime-interface-only refuses a schema surface. ADR-0087 refuses this marker on Metadata-protocol: narrowed, which this is not, and keeps it for added. The body's fix sentence addresses a source-code consumer, not a metadata upgrader; the registration gate read it and passed.
  • One edge, measured as zero in the repository: a client that parses an answer from a server older than the checked.objects counter through the new schema would be refused at checked. No client here parses the response.

③ Boundary flags

  • Check-runs on this head: 76 listed, 62 success, 14 skipped, none failed, none pending. Green among them: Check Changeset, Governed Surface Queue Guard, PR-body guards, Spec property liveness, TypeScript Type Check with its four lanes, Lint and Repo Gates with its lanes, Test Core with 8 of 8 shards, Test UI with 16 of 16 shards, Type Check UI, Build Core, Build Docs.
  • Dogfood Regression Gate reads success as a rollup whose three shards were skipped by the path filter. The final-head dogfood battery the narrowing arm owes therefore rests on the lane's own locked run in report 6936442936 (478 files passed, 3 skipped), not on a check-run. The adopting seat accepts or re-asks that; it is not a finding of this review.
  • The lane's gate account (125 derived, 125 run, all exit 0) is read as an account only; the check-runs above are the verdicts.
  • Ruling 6929121584 parameter 3 says Clause-② yes (widening). The diff is a declared narrowing. The maintainer's Tier H approval must therefore be given on the narrowing, which the PR body's own request line asks for. Escalated to the adopting seat as the one decision this PR still waits on.
  • Dev flag, Acceptance note 5 (the narrowing reading and the marker): answered in ② and ④, holds.
  • Dev flag, note 6 (Metadata-protocol: added): holds.
  • Dev flag, note 7 (the refused object is named as the refusal names it): answered in ④, holds.
  • open_questions of 6936442936 (who renders the delta): answered by this record.
  • Skills-docs: follow-up #34552, the envelope-as-body observation build probes: a widget dataset that does not exist is read as the getMetaItem envelope, so the probe counts it as checked instead of skipping it #34560 and the toast surface console: publish-all-drafts and PendingDraftsBar toasts print issues[].message verbatim instead of the user's sentence #34553 are filed; not judged here.
  • Not measured: a protocol host outside this repository that calls publishPackageDrafts in process. The one door in this repository is POST /packages/:id/publish-drafts.
  • SQL push-down: not applicable. The new reads are memoized by-name item reads that happen only when a finding is emitted; no id materialisation and no in-app join.

④ Design judgment

No must-fix, no should-fix.

M1: closed. The PR body and the changeset declare Clause-②: yes (narrowing) with the FROM → TO line, the title carries !, the changeset carries the BREAKING note with its fix and exactly one ADR-0087 disposition, the schema's own comment and the ADR amendment say the same, and the final-head dogfood battery is reported.

S1: closed. Its public wording asked that the widget_query_failed sentence after a read-admission refusal name the object as the agent text does, or that the read be justified. The code takes the first option: after a refusal (access, field-access) or an undecided read gate (unavailable) the sentence names the object by the API name the error carries, the same name fix prints, and the widget plane makes no read of that object. build-probes-user-message.test.ts pins zero object reads for the three failures with a control, and the door test pins that the refused object's label is absent from the sentence. I read S1 as pointing at these branches and nowhere else.

N1: closed. The ADR-0038 Status line names the amendment.

N2: closed. ref.member now says the widget's id, else its title as a string, else ?, which is what the producer writes.

The narrowing itself, against the published spec on main. Main declared probes opaque as a staging step with its own upgrade trigger (model it once a consumer reads a field), and pinned that on purpose. Ruling 6929121584 parameter 3 orders the modeling, and the console's publish-health line on main reads checked and issues[]. The narrowing is made in the spec, at the producer's contract, and no consumer narrows anything: it takes no declared capability away at a consumer, and the declared shape is the one the only producer delivers. It holds.

The schema against its producer and its first consumer. Each describe sentence was read against build-probes.ts: probe order (seeds, views, objects, widgets), the two severities, checked.widgets staying 0 with no analytics service, the probes_unavailable artifact name, the eight codes. All agree. The consumer reads every field tolerantly and each is declared.

ADR-0038's amendment against the code, sentence by sentence: two channels on one finding (true); the producer writes the sentence under the ladder request locale, workspace default, en (true: the door fills userTextLocales from the caller's locale and the workspace locale in that order, and userTextLocaleOf falls to en); no consumer keeps a per-code table (true of the diff); the report is modeled in @objectstack/spec/api and the modeling is a declared narrowing (true); the cloud half is out (true). Its sentence on a refused object is slightly broader than the code: N4.

Access reading of the new label reads, stated as behaviour. Labels come from a by-name item read that carries no caller. The seed, view and object planes show an object's label without asking the caller's read admission, as their probes never asked it. The one door in this repository demands manage_metadata, and that capability is exempt from the object-schema mask, so each label shown is one this caller can already read at the metadata door. No access finding.

Implementing files: the locale hand-off, the lint exports, the three docblocks and the route-ledger note each say what the schema says. The catalog was read for structure and for English; the wording of the ten other locales was not judged for idiom. The tests would fail on the mutations the PR body lists, and the literal English and Chinese assertions keep the catalog from being compared only with itself.

N3 (nit) — build-probes.ts, the query branch of widget_query_failed: the probe reads the dataset's object for its label, and no locale's query sentence prints an object (the test marks it silent). The catalog's table row and the code comment say object is named by label for query, and the control case pins the read. Nothing wrong reaches the wire. Follow-up card: drop the read or use it.

N4 (nit) — docs/adr/0038-build-verification-loop.md and the RuntimeBuildIssueSchema docblock: "nothing of it is read" is true of that finding's sentence, not of the whole pass. The object plane reads the body of a published object, and a seed or view finding on the same object shows its label in the same report. Follow-up card or accepted deviation: say that the refusal's sentence reads no label of it.

N5 (nit) — the changeset's BREAKING note does not say that a parse now strips a member inside probes the model does not declare. Prose face; the seat may add one sentence or leave it.

Implemented-by: claude/issue-32984-build-finding-user-message
Reviewed-by: session_01ADHkmP44onN8RMzsPMqjRq

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmRH4UCX1tvddXMS7cq

维护者速读(席位终稿 · head e5d2d0c9081e04e2b149050e5fe45e0694de6393 · 2026-11-17T02:59Z)

  • 改了什么:发布后的运行检查(ADR-0038 L3 探针)给每条发现多带一句 userMessage,写给发布者本人看,用他的语言(请求语言 → 工作区默认 → 英文,平台 11 种语言,8 个探针代码全覆盖),用标签称呼仪表盘、组件、数据集、视图和对象;发布账号被拒绝读取的对象按拒绝里的 API 名称呼,不去读它。message、fix、code 逐字节不变。
  • 为什么改:构建健康卡把写给 agent 的英文直接给客户看(卡 console AI build chat: the plan card shows 「已搭建」 when nothing was built, a message sent mid-turn is dropped, the draft preview shows OBJECT_NOT_FOUND, and two cards speak in agent/API terms #32984 第 4 项)。按您的裁决 6929121584「出问题的一方写客户句」,句子由生产方写,客户端不再各自维护翻译表。
  • 风险:唯一变严的地方是申报过的收窄:spec 里 PublishPackageDraftsResponseSchema.probes 从 z.unknown() 改为 BuildProbeReportSchema,不是报告形状的值不再能解析。平台自己的生产者只产出这一种形状(两套一致性测试对真实生产者实测「声明 = 返回」),受影响的只有手写这个响应的代码(别的协议宿主、测试替身),TypeScript 会在调用处报出来。changeset 带 BREAKING 说明和改法,标题带 !,spec 升 minor。回滚就是 revert 本 PR。
  • 先看:packages/spec/src/api/protocol.zod.ts 的 RuntimeBuildIssueSchema / BuildProbeReportSchema 和 probes: 一行;packages/metadata-protocol/src/build-probes.user-text.ts 的 11 种语言句子(值得请母语读者抽看);docs/adr/0038 末尾追加的修订一节(24 行)。
  • 两分钟验证:pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2 src/build-probes-user-message.test.ts,预期全部通过(逐字断言中文句子)。
  • 需要你做的:批准本 PR,即批准这次收窄(probes 从此只接受报告形状)。注意:裁决 6929121584 第 3 条参数写的是 Clause-② yes (widening),实际实现是申报过的收窄,所以您的批准是对收窄的批准。契约复审 PASS:评论 6936652231,Head-sha: e5d2d0c9081e04e2b149050e5fe45e0694de6393。批准后由席位同步 main 并落地。

席位意见:建议批准。收窄只针对平台自己写的响应字段,没有元数据可迁移,实测受影响实例为零;换来的是客户端能按类型读 userMessage,生产方与声明不会再漂移。

席位核对

ACCEPT → PR #34513 comment 6936492323 (L1 delta, on L1-b REWORK 6933808750) · contract review PASS 6936652231 at CONTRACT_REVIEW_TIER (closes review#2 FAIL 6933939654's M1, S1, N1, N2 by id).

  1. Shape. Part of #32984 (the card keeps the console half fix(console): the publish-health line shows a finding's customer sentence and folds agent text under technical details #34539, Q2 cloud: changes_proposed rows carry the label the agent chose for a new object or field (parked per #32984 Q2 B) #34468/spec: declare the changes_proposed row envelope (with an optional label) and read it in the console confirmation card (#32984 Q2 B) #34469 and Q1's cloud half cloud: in-app build (L1 graph-lint) findings carry a producer-written customer sentence (userMessage), parked per #32984 Q1 B #34467). Draft, base main. Title and changeset carry !. Clause-②: yes (narrowing) with the FROM → TO line, Metadata-protocol: added, Skills-docs: follow-up #34552, in the body and the changeset. ADR-0087 disposition not-required (no-migration-prescription), which check-adr-0087-registration reads as declared and disposed.
  2. Premise measured. The locale hand-off, the lint ladder reuse, the eleven locales and the label reads are each measured on the tree (Acceptance notes 1–4). The narrowing has zero measured instances: two conformance suites parse the real producer's answer and require it to equal the raw answer.
  3. Gates. Check-runs on e5d2d0c9: 62 success, 14 skipped, none red (L1 6936492323). Local: 125 derived gates, 125 run, 0 NOT-MEASURED (/mnt/project-files/objectstack-seat2/32984-gates-ran.txt). The (narrowing) arm's dogfood battery ran on this head through the verify lock (@objectstack/dogfood 478 files passed, 3 skipped, VERDICT 0; dev report 6936442936). CI's Dogfood Regression Gate is green as an aggregate, but its three shards were skipped by the path filter, so the seat accepts the locked local run as the battery reading.
  4. Accepted deviations. The ADR amendment is 24 lines, not 10–20. The file surface is wider than the order by the lint barrels, two conformance suites, a runtime door test and three comment-only edits, all named in the body. Contract-review nits accepted as they are: N3 (the query branch reads the dataset object's label and no sentence uses it), N4 (ADR-0038 / docblock "nothing of it is read" holds for that finding's sentence, not for the whole probe), N5 (the BREAKING note could add that parsing now strips undeclared members of probes). The L1 nit (the Tests line for the caller-context case still says "with labels") is also accepted. Review routing: review#2 and L1-b (account os-project-manager) could not be reached once seat repo:objectstack#1 wound down, so this project's L1-a2 and L2 seat took the deltas; each record says so.
  5. Out of scope, where it went. Verbatim engine text in the publish-all and PendingDraftsBar toasts → console: publish-all-drafts and PendingDraftsBar toasts print issues[].message verbatim instead of the user's sentence #34553. publishedItemReader takes the getMetaItem envelope for a missing item as the body → build probes: a widget dataset that does not exist is read as the getMetaItem envelope, so the probe counts it as checked instead of skipping it #34560 (p2, after this PR). Skills teaching → skills: teach RuntimeBuildIssue.userMessage in the api and i18n skills #34552.
  6. Landing. check-governed-merges.mjs --pr 34513: GOVERNED, Tier H (docs/adr/** ×1), 2462 changed lines (≤ 3000). The PR stays draft, with no queue and no auto-merge, until an approver in GOVERNED_APPROVERS approves. After approval the seat syncs the base (the head is 20 first-parent commits behind main today), re-reads the checks and lands it (pr_ready + auto-merge).

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 17, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 17, 2026 03:18
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit b1efa37 Nov 17, 2026
82 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-32984-build-finding-user-message branch November 17, 2026 03:53
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Merged as b1efa37537, written at 2026-11-17T03:57Z. The approver os-zhuang moved it to ready and queued it by hand, which is the human merge path and stands as the review record. pm:awaiting-merge comes off in this stroke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants