Skip to content

feat(spec)!: retire the boolean arm of a relationship field's inlineEdit, which read as absent once a parent field group decides the placement - #36802

Merged
os-zhuang merged 11 commits into
mainfrom
claude/issue-35926-retire-inline-edit-true
Nov 24, 2026
Merged

os-zhuang merged 11 commits into
mainfrom
claude/issue-35926-retire-inline-edit-true

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH
Fixes #35926

Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up #37042

维护者速读

  • 用户能看到什么变化:写元数据的人(包括 AI 搭建)在主从或查找字段上写「内联编辑」为真或假时,校验直接报错并写出改法;已经存下来的旧定义在启动和迁移时自动去掉这个值,页面表现不变。字段设计器里多了一个「表格 / 表单」下拉框来选子表的编辑方式。
  • 为什么做:维护者裁定「一律只看分组」之后,子表进不进父表单只由父对象的字段分组决定,这两个真假值读起来和不写完全一样,属于写了没用的键(记录页重做专题的收尾)。
  • 出错会怎样:最坏是有人在源码里写了真假值,升级后校验被拒并看到改法;已存数据走自动转换,不会坏页面。撤回即还原本改动。
  • 要你做什么:无。

What changes

Per the maintainer's field-group ruling on #35889 (record 7046311205, 「一律只看分组」), a field group of the parent decides whether the parent's form inlines a child, so a relationship field's inlineEdit only picks the form factor of a placed child. Measured on origin/main e343ab7, every reader passes anything but 'grid' / 'form' as absent:

  • ui/packages/app-shell/src/providers/MetadataProvider.tsx (attachInlineSubforms): d.inlineEdit === 'grid' || d.inlineEdit === 'form' ? d.inlineEdit : undefined;
  • ui/packages/plugin-form/src/deriveMasterDetail.ts resolveInlineMode: true / false / undefined all take the smart default;
  • packages/lint/src/validate-field-consumers.ts formFactorOf: undefined for anything else;
  • the lint rules R5 / R6 (data-model-rules.ts) no longer read the value at all.

So false reads exactly as absent too, and the whole boolean arm is retired, not only true. One non-runtime reader treats true differently, the scenario scorer; see Acceptance notes.

  • @objectstack/spec: FieldSchema.inlineEdit narrows from boolean | 'grid' | 'form' to z.enum(['grid', 'form']), and the enum's own error map answers a boolean with the prescription (INLINE_EDIT_BOOLEAN_RETIRED, house five-part shape and os migrate meta --from 17 sentence). tsc refuses a boolean at every typed site. The route is a value narrowing like indexes[].unique: true (the same refusal-by-error-map precedent): enumWithRetiredValues takes string members only, so it cannot name a boolean arm.
  • ADR-0087: D2 conversion field-inline-edit-boolean-removed (lossless delete of a boolean on objects[] / objectExtensions[] field maps, retiredFromLoadPath: true, retiredAfter: '18.6.0'), in MAJOR_18_CONVERSIONS at order 84; D3 semantic entry field-inline-edit-boolean-retired; a step-18 rationale fragment; a JOIN row in retired-key-removal-version.pin.test.ts. No RETIRED_KEYS_BY_MAJOR row: the key is not tombstoned.
  • Liveness: field.json inlineEdit stays live for the two surviving values, now with verifiedAt, in-repo evidence and the narrowing in its note. State counts unchanged.
  • Field form: with the union gone, a select spells every value, so the omit row "no registered widget spells this union" no longer holds. The field form offers inlineEdit as a Grid / Form select on lookup / master_detail; the reconciliation ledger drops the row and the ruled class drops field.inlineEdit, as that test's own header prescribes for "a ruled key that a form offers later". i18n bundles regenerated (check-i18n-bundles.mjs --write), zh-CN / ja-JP / es-ES translated by hand; the echo-decisions count pin carries one more row label (824 after the second main merge: main's 823 plus this PR's one label).
  • relatedList prose kept true: it no longer calls itself "the read-side mirror of inlineEdit" but "the record-page side; inlineEdit picks the form factor on the form side".
  • Authored values: the CLI golden metadata-eval corpus places its line items with a parent field group (fieldGroups[].relatedList) instead of inlineEdit: true, since each prompt asks for lines entered with the parent; test fixtures in spec, cli and app-shell are respelled to 'grid' or the key is dropped. Docs (field-types.mdx, fields.mdx, common-patterns.mdx, flows.mdx) teach 'grid' | 'form'. Stale comments in project.view.ts, deriveRelatedLists.ts, validate-field-consumers.ts, score.ts fixed.
  • Changeset .changeset/35926-field-inline-edit-boolean-retired.md (spec minor, cli patch, platform-objects patch, lint patch: the lint edit is comment text on unexported functions) with FROM → TO table and ADR-0087 disposition.

File-surface notes: the claim listed examples/app-showcase/src/ui/views/task.view.ts and packages/lint/src/showcase-shape.fixtures.ts; both carry the VIEW-level inlineEdit (a different, live key) and are untouched. Producer-side files outside the listed surface, each a direct consequence of the narrowing: field.form.ts, metadata-form-zod-reconciliation.test.ts, the platform-objects translation bundles and their count pin, cli score.ts comment and four cli tests, the app-shell inspector test.

Tests

  • New packages/spec/src/data/field-inline-edit-boolean.pin.test.ts (14): true / false refused at inlineEdit with invalid_value and the prescription; 'grid', 'form', absent parse; an unknown string keeps zod's own message; @ts-expect-error on a typed boolean; the conversion deletes a boolean on both collections and leaves 'grid' / 'form'; step-18 wiring.
  • No tree-scoped absence pin: the view-level inlineEdit is a live boolean key of the same name, so a text scan cannot tell the retired spelling from the live one. The sweep is the input type and the parse.
Package runs on earlier head 5874e77 (after the first main merge at 57445a6; the second merge changed only the count pin and the changeset)
  • @objectstack/spec test: Test Files 890 passed (890), Tests 28186 passed, 1 todo; typecheck exit 0.
  • @objectstack/lint test: Test Files 231 passed (231), Tests 9567 passed; typecheck exit 0.
  • @objectstack/cli unit tier: Test Files 443 passed (443), Tests 6325 passed; typecheck exit 0. Integration tier declared to CI (no integration-tier file or spawn entry in the diff).
  • @objectstack/platform-objects test: Test Files 125 passed (125), Tests 2138 passed; typecheck exit 0.
  • @object-ui/app-shell ObjectFieldInspector.relatedList-27054.test.tsx (run from the ui/ root): 8 passed.
  • @objectstack/example-showcase typecheck exit 0.
  • test:repo (vitest repo project) not run locally: the diff edits none of its tests and the derived list does not name it; CI's Test Core carries it.

Acceptance notes

  • Run history: the first dev ran on os-dev agent defaults (no model or effort passed explicitly, before the seat's tier/effort convention); its work up to 214ce2d72c is carried. This head was produced by a seat-owned resume on the default tier (opus), effort high: a fresh worktree, origin/main merged (a merge, not a rebase) through scripts/pm/os-regen-merge.sh, the one deferred artifact (content/docs/references/data/object.mdx) regenerated from the merged tree, then every spec artifact gate re-run.
  • packages/qa/scenarios/src/score/scenario-tags.ts (records-forms.master-detail-inline-edit) credits inlineEdit === true as "edited inline". Since 主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889 inlineEdit alone inlines nothing, and since this PR a boolean is refused at parse, so that branch can only see an unparsed stack. Not changed here; carried by Scenario scorer: records-forms.master-detail-inline-edit still credits the retired inlineEdit: true (follow-up of #35926) #37127.
  • docs/adr/0035-config-driven-master-detail.md still shows inlineEdit: true as history; governed surface, not edited.
  • skills/objectstack-data/rules/relationships.md still teaches inlineEdit: true as "auto"; skills are out of this PR's surface; carried by skills: stop teaching inlineEdit: true on master-detail relationships (follow-up of #35926) #37042 (release-coupled: lands before the release that ships this narrowing). check:skill-examples is green (the block is unmarked).
  • Seven non-hand-translated locales (ar, de, fr, ko, pt-BR, ru, zh-Hant) carry the new form label filled with the source text; check:i18n-coverage reports none new.
  • Sister repos (hotcrm, cloud) not measured from this container: any stored or authored boolean there meets the conversion at rest and the prescription at authoring.
  • pnpm check:platform-checklist reads red on origin/main itself (57445a6 and a73edb3): docs/qa/platform-checklist/areas/access-security.json anchors anonymousFormExplicitWithdrawals in packages/metadata-core/src/anonymous-form-intake.ts, which no longer declares it. This diff touches neither file; the gate is outside per-PR CI and its nightly watchdog carries it.

Verification

First read (by risk):

  1. packages/spec/src/data/field.zod.ts — the narrowed enum and INLINE_EDIT_BOOLEAN_RETIRED.
  2. packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts — the lossless delete and its fixture.
  3. packages/spec/src/data/field.form.ts + metadata-form-zod-reconciliation.test.ts — the new form row and the ledger change.

Two-minute check: pnpm --filter @objectstack/spec exec vitest run src/data/field-inline-edit-boolean.pin.test.ts — expect 14 passed, the refusal message starting with `field.inlineEdit: true` and `field.inlineEdit: false` were removed in @objectstack/spec 18.7.0.

Readings on head ca353cc (second main merge at bfd1049, merge commit f671e98)
  • Count pin object-lifecycle-panel-echo-decisions.test.ts: 35 passed, pinned at 824. i18n bundles regenerated with zero byte change; check:generated: all 14 artifacts up to date.
  • pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped. cli migrate-meta-engine-guidance.test.ts: 3 passed. Full build (turbo run build --filter=!@objectstack/docs): VERDICT command-exit 0 after the post-merge pnpm install --frozen-lockfile.
  • dispatch-gates --commands derived 128 families; --ran: 128 accounted for, 127 run, 1 NOT-MEASURED: check:type-check-debt (its closure build never got a turn on the shared verify lock; CI's Type Check · debt ledger is success).
  • Full dogfood battery (pnpm --filter @objectstack/dogfood test, no shard, no path): DOGFOOD_EXIT=0, Test Files 487 passed, 3 skipped (490), Tests 4128 passed, 68 skipped (4196), 0 failed. Caveat: it ran in a locked batch whose last leg read an earlier failed build attempt (service-knowledge, outside the dogfood closure), so the lock line reads batch-last-exit 1, not the battery's own verdict; the seat review 7144293247 accepted it as head-pinned evidence.
  • PR check-runs on ca353cc: 61 success, 9 skipped, 0 failed, 0 pending; all eleven required contexts success, Check Changeset success.
Gates (local, earlier head 5874e77)
  • check:generated (after gen:schema && gen:docs over the merge, spec rebuilt from the merged tree): all 14 generated artifacts up to date.
  • dispatch-gates --commands derived 128 families; all 128 run with exit codes recorded; --ran reconciliation: 128 derived, 128 run, 0 NOT-MEASURED, 0 UNRUN (a derived zero). Exit 0 for 127, including check:dual-build-cjs-loads and pnpm --dir ui exec vitest run scripts/ (172 files passed, 2 skipped), both NOT MEASURED on the previous head. Exit 1: check:platform-checklist, the main-side anchor named in Acceptance notes.
  • check:type-check-debt under the lock: OK, 129/132 type-checked, 0 above ledger.
  • Local-only state gates: check:dev-prereqs 0, check:skill-frame-freshness 0.
  • Full dogfood battery on this head (pnpm --filter @objectstack/dogfood test under the lock, no shard, no path, every package built from the merged tree): VERDICT command-exit 0, Test Files 487 passed, 3 skipped (490), Tests 4127 passed, 68 skipped (4195), no failure.
  • PR check-runs on 5874e77: 70 runs, 61 success, 9 skipped, none failed or pending; the eleven required contexts (Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate) all success, Check Changeset success.

Generated by Claude Code

A field group of the parent decides whether the parent's form inlines a
child; true and false both read as an absent inlineEdit at every reader.
The arm is refused at the parse with its prescription, a protocol-18
conversion deletes it from stored sources, and the D3 entry records it.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011y7As8yeqbR9TKANdPKRxt
…elds

The golden corpus places its line items with a parent field group, test
fixtures respell or drop the retired value, docs teach 'grid' | 'form',
and stale comments name the field group as what inlines a child.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011y7As8yeqbR9TKANdPKRxt
…id/form select

With the boolean arm retired a select spells every value, so the union
reason that kept the key off the field form no longer holds: the
reconciliation ledger drops its row and the key leaves that ruled class.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011y7As8yeqbR9TKANdPKRxt
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation protocol:data protocol:system tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 4 package(s): @objectstack/cli, @objectstack/lint, @objectstack/platform-objects, @objectstack/spec, touching 34 documentable anchor(s). ⚠️ 4 changed file(s) yielded no anchor (packages/cli/src/lint/score.ts, packages/lint/src/validate-field-consumers.ts, packages/spec/liveness/field.json, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

27 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json 5ff858b798c5f68ad8910729c65bb6bdca4844f3.

⛔ 7 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 4 changed file(s) yielded no anchor (packages/cli/src/lint/score.ts, packages/lint/src/validate-field-consumers.ts, packages/spec/liveness/field.json, …) — pages documenting those are invisible to this run
  • 1 anchor(s) matched too much of the corpus to be a work list: master_detail (literal, 48 pages)
  • 8 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 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; 124 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 — 186 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 5ff858b798c5f68ad8910729c65bb6bdca4844f3 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 0616c3001ae4cdb31819220d1dd60371472758f0 — the merge of head ca353ccee80626d8346b6e19fc46801095e92fec into base 5ff858b798c5f68ad8910729c65bb6bdca4844f3, 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 0616c3001ae4cdb31819220d1dd60371472758f0 && git checkout 0616c3001ae4cdb31819220d1dd60371472758f0
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 5ff858b798c5f68ad8910729c65bb6bdca4844f3 ca353ccee80626d8346b6e19fc46801095e92fec && git checkout -B drift-repro 5ff858b798c5f68ad8910729c65bb6bdca4844f3 && git merge --no-ff ca353ccee80626d8346b6e19fc46801095e92fec

node scripts/docs-audit/affected-docs.mjs --json 5ff858b798c5f68ad8910729c65bb6bdca4844f3

⚠️ 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 5ff858b798c5f68ad8910729c65bb6bdca4844f3 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…nd the predicate census counts the new form row

The scenario scorer's master-detail tag reads the form factor, so each
corpus line item keeps 'grid' beside the parent field group that places it.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011y7As8yeqbR9TKANdPKRxt
…nt source hashes over the merge

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011y7As8yeqbR9TKANdPKRxt
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

Contract-review-claim: session_011y7As5bdhV5T4N9vpjmZzH · head 5874e77554e0abbf259bd2d15f9b59f029bd7b1b · 2026-11-24T16:51Z

Taking the contract review of this head (narrowing face, CONTRACT_REVIEW_TIER), together with the seat's L1 check.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 5874e77554e0abbf259bd2d15f9b59f029bd7b1b
Local-runs: probe — node scripts/check-platform-checklist.mjs on an origin/main worktree (b01d8f9), to verify the dev's main-red claim; nothing was built or run on the PR head
Scope: packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts, packages/spec/src/conversions/registry.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts, packages/spec/src/migrations/registry.ts.template, and (narrowing face: no path is a remainder) every other non-prose path of the 49-file diff: packages/spec/liveness/field.json, the three spec pin and reconciliation tests, packages/cli/src/lint/corpus.ts and score.ts with four cli tests, packages/lint/src/validate-field-consumers.ts and one lint test, the platform-objects translation bundles and their count pin, examples/app-showcase project.view.ts, ui/packages/app-shell deriveRelatedLists.ts and one inspector test + read outside the diff: ui/packages/app-shell/src/providers/MetadataProvider.tsx, ui/packages/plugin-form/src/deriveMasterDetail.ts, packages/spec/src/conversions/stored.ts, packages/qa/scenarios/src/score/scenario-tags.ts, skills/objectstack-data/rules/relationships.md, skills/objectstack-data/evals/objects-fields-relationships.json
Security-touching: no
Rule-change-verified: none

Full first-round review of this head; no earlier record or claim stood on the PR or on card 35926. Claim: comment 7138336858. Read-only shape: the diff 57445a69981..5874e77554e, the card, and the head's check-runs (61 success, 9 expected skips, 0 failed, 0 pending).

① Derived judgments

  • Both booleans read as absent at every reader, re-derived on the head tree, not taken from the PR body: MetadataProvider.tsx:781 passes only 'grid' / 'form' to resolveInlineMode and anything else as undefined; resolveInlineMode (deriveMasterDetail.ts) returns the value only when it is one of the two strings and otherwise takes the shape default; formFactorOf (validate-field-consumers.ts:1278) does the same. No server package reads the value: driver-sql/builtin-column-collision.ts and metadata-core/object-schema-fls-references.ts only name the key in classification tables. The three reader files are byte-identical between the merge base and origin/main b01d8f9.
  • So the D2 delete is lossless, for true and for false. Retiring false goes past the card's title (which names true only); it is the same key under the same ADR-0049 reasoning and the PR body states it. A false does not opt a child out of a parent field group either: the reader passes it as undefined, so nothing it did is lost.
  • The refusal is real at both channels: z.enum(['grid','form'], { error }) returns the prescription only for a boolean input and leaves every other input to zod; field-inline-edit-boolean.pin.test.ts asserts issue code invalid_value, path inlineEdit and the message for both booleans, the two controls, an unknown string, and a @ts-expect-error on a typed boolean.
  • Data at rest: the conversion walks objects[] and objectExtensions[] field maps, guarded on typeof === 'boolean', idempotent, fixture covers both collections and both ride-through values. A stored object_extension row reaches it through STORED_ONLY_COLLECTIONS in stored.ts. The standalone field metadata type has no stack collection and passes through applyConversionsToStoredItem unchanged; that is the same reach as every earlier field-level conversion (field-malformed-scale-precision-removed), not a gap this diff opens.
  • Version text: packages/spec/package.json is 18.6.0 on the head and on origin/main b01d8f9, the changeset is minor, the message says 18.7.0 and retiredAfter is '18.6.0'; the JOIN row in retired-key-removal-version.pin.test.ts holds that together if a release lands first.
  • Order slots: conversion order 84 and rationale order 124 are free on the head and on origin/main b01d8f9 (highest there: 83 and 123).

② Semver level

  • Clause-②: no (narrowing) is the correct spelling. The value answers whether the diff widens an accept set or enlarges the public surface; a narrowing answers no and carries the (narrowing) arm, which is the breaking marker (AGENTS.md Post-Task step 3; clause2-line.mjs). The diff widens nothing: no public export moves (no api-surface snapshot in the diff), the new form row and translation keys are not an accept set. The line is line-initial in the PR body and in the changeset body.
  • Metadata-protocol: narrowed is right (a value refused), and minor on @objectstack/spec is the level that kind takes. The changeset carries the **BREAKING** banner, the FROM / TO table, the one-line fix and exactly one ADR-0087 marker (registered field-inline-edit-boolean-removed, field-inline-edit-boolean-retired). No tombstone is owed: the key stays, a value leaves, on the indexes[].unique: true error-map precedent.

③ Boundary flags

  • Dev open_questions 1 (who writes the PR body): answered, the seat applied the prepared body; it reads at this head. Question 2 (signature line 1, closing line 2): answered, kept; the first-line reader reads the card relation.
  • Dev flag, check:platform-checklist red on main: verified unrelated. At the merge base 57445a6, access-security.json:1883 anchors packages/metadata-core/src/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals and that file declares the symbol 0 times (it lives in packages/spec/src/ui/anonymous-form-intake.ts). origin/main b01d8f9 re-pointed the anchor, and the gate exits 0 there (1763/1773 anchors resolved, the 10 on its named residual). This diff touches neither file.
  • Dev flag, skills text: finding S1 below.
  • Dev flag, scenario-tags.ts: finding S2 below.
  • Dev flag, sister repos not measured: escalated to the seat. An authored boolean in hotcrm or cloud meets tsc and the parse on their next spec bump; the changeset carries the fix and os migrate meta --from 17 --write applies it. Not a defect of this diff.
  • SQL push-down: no query code in the diff.
  • Author: the PR's user.login is objectstack-fleet[bot].

④ Design judgment

  • field.zod.ts: the narrowing takes no capability away at a consumer; it makes the vocabulary equal to what the readers honour since the field-group ruling (record 7046311205). The .describe() and TSDoc that ship in src/**/*.zod.ts are true after the change, and the relatedList prose no longer calls itself the mirror of a key that changed meaning. The refusal text carries no tracker number.
  • field-inline-edit-boolean-removed.ts, registry.ts: agrees with the contract above; retiredFromLoadPath: true is the right arm for a value a live author must be told about and a stored row must not trip on.
  • 18.field-inline-edit-boolean-retired.ts: states the one judgment the conversion cannot make (whether the author meant the child inlined, which only a parent field group does). Accurate against related-list-body-table.ts and the readers.
  • field.form.ts with the reconciliation ledger: offering the key as a Grid / Form select is the consequence the ledger test prescribes once its ruled reason (no widget spells the union) stops being true; the gate data.type in ['lookup','master_detail'] matches the sibling relationship rows.
  • registry.ts.template: the fragment is accurate. See N1.

Findings:

  • S1 (should-fix, carried by a card, release-coupled). The published skills teach the value this parse refuses: on origin/main b01d8f9, skills/objectstack-data/rules/relationships.md:285 reads inlineEdit: true // auto ... (default), and skills/objectstack-data/evals/objects-fields-relationships.json:439 expects "true or absent picks by the child's shape". It cannot be fixed in this PR: skills/** is a governed surface, the card excludes skills text, and the Skills-docs: rule sends a PR outside the skills lane to follow-up #N. The earlier skills card 35902 is closed and does not carry it. @objectstack/skills versions in the same fixed changeset group as @objectstack/spec, so the follow-up has to land before the release that publishes this narrowing, or one release ships a skill and a parser that disagree. Closes when the card is filed and the Skills-docs: line reads follow-up #N.
  • S2 (should-fix, carried by a card for the eval lane). packages/qa/scenarios/src/score/scenario-tags.ts:493-500 (records-forms.master-detail-inline-edit) credits inlineEdit === true, 'grid' or 'form' on the raw field as "edited inline on its master". Since the field-group ruling none of the three inlines anything without a parent field group, and after this PR true is refused at parse. The tag needs re-specifying against fieldGroups[].relatedList, which changes scores and is the eval lane's decision, not a one-token delete here. No open card names it.
  • N1 (nit). The new step-18 rationale fragment names objectstack#35889. os migrate meta prints the rationale to an author (packages/cli/src/commands/migrate/meta.ts:985), who has no tracker. check:doc-authoring does not reach this text and one landed fragment does the same, so it is not a gate failure; the words "the maintainer's field-group ruling" stand without the number.
  • N2 (nit). Untyped fixtures still spell a field-level boolean: MetadataProvider.merge.test.ts:311,380,386, MetadataProvider.composedObjectsIdentity-11699.test.tsx:87, deriveRelatedLists.relatedListsOrder-27069.test.ts:142,156. They pin reader tolerance of unparsed input; harmless, and no text scan can tell them from the live view-level key.
  • N3 (nit). resolveInlineMode still types its parameter boolean | InlineMode | undefined and its comment still says "true / undefined".

No must-fix on the contract faces. Not a contract finding, for the seat: GitHub reports this head mergeable_state: dirty against origin/main b01d8f9 (one content conflict, the count pin in object-lifecycle-panel-echo-decisions.test.ts). The head has to move by a main merge, which is neither a pure regeneration nor prose-only, so the merged head owes a delta read of this record.

Implemented-by: claude/issue-35926-retire-inline-edit-true
Reviewed-by: session_011y7As5bdhV5T4N9vpjmZzH

Review run: an isolated one-shot sub-agent of the seat session, which ran no other agent; the seat adopts.

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

席位核对 — REWORK · head 5874e77

The substance is accepted: the contract review of this head is PASS (comment 7138399935) and nothing below asks for a design change. The head cannot land as it stands, and one declaration line is still in its pre-ACCEPT spelling, so the verdict is REWORK with three mechanical items.

Must-fix

  1. Merge origin/main; this head conflicts. GitHub reports mergeable: false, mergeable_state: dirty against origin/main b01d8f9. One content conflict: the count pin in packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts (main reads 823 since the Studio list columns change; this branch reads 772). Merge through scripts/pm/os-regen-merge.sh, regenerate the i18n bundles (node scripts/check-i18n-bundles.mjs --write), and write the pin from the measured count with its comment line, not from arithmetic. Then the scoped re-checks, and, because the PR declares a narrowing, the full dogfood battery again on the final head with dogfood_battery pinned to it.
  2. Skills-docs: follow-up owed becomes follow-up #N. The seat files the owed card (skills lane) and rewrites the PR body line; the dev rewrites the same line in .changeset/35926-field-inline-edit-boolean-retired.md in the push for item 1. The card names both sites on origin/main b01d8f9, not only the one the line lists: skills/objectstack-data/rules/relationships.md:285 (inlineEdit: true // auto) and skills/objectstack-data/evals/objects-fields-relationships.json:439 ("true or absent picks by the child's shape"). It is release-coupled: @objectstack/skills is in the same fixed changeset group as @objectstack/spec, so it lands before the release that publishes this narrowing. Card 35902, which the claim pointed at for skills text, is closed and does not carry this.
  3. Add '@objectstack/lint': patch to the changeset frontmatter. packages/lint is private: false and the diff touches src/validate-field-consumers.ts; the checklist's test is the touched published package, not the size of the change. For the record, the edit is comment text on two unexported functions and ships no byte: on a built tree (fad5ea0) function formFactorOf is in dist/index.js once and its doc comment zero times, in .js and .d.ts alike. One body sentence saying so is enough.

The six checks

  • Shape. Open, draft, base main, 49 files, +524 / -70, no content/docs/releases/ path, no governed path (skills/**, .claude/**, docs/adr/** untouched), one non-empty changeset, no one-shot script in the diff. Fixes is right: the card's acceptance (the boolean follows a retirement route, every playbook gate green) is delivered whole. Declarations read Clause-②: no (narrowing) and Metadata-protocol: narrowed; the spelling is correct for a narrowing.
  • Premise, measured. Re-read on the head tree: MetadataProvider.tsx:781, resolveInlineMode and formFactorOf pass a boolean as absent; no server package reads the value. Consumer sweep for the old stance: every remaining inlineEdit: true / false under examples/, packages/lint/src/showcase-shape.fixtures.ts, packages/metadata-protocol and ui/ list, gantt and detail code is the view-level or component-level key, which is live and unchanged; the field-level leftovers are six untyped test fixtures (contract review N2).
  • Gates, check-runs at this head. 61 success, 9 expected skips, 0 unexpected skips, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check both success. dogfood_battery in report 7138019330 is pinned to the full head sha, full battery, exit 0, 487 files and 4127 tests passed, none failed. The refusal pins assert issue code, path and message, not a bare failure. check:platform-checklist is unrelated: red at the merge base 57445a6 on an access-security.json anchor naming a file that does not declare the symbol, repaired on origin/main b01d8f9, where the gate exits 0; this diff touches neither file.
  • Accepted deviations. The whole boolean arm is retired, not only true as the card's title says: false reads as absent at the same readers. The field form gains an inlineEdit select because the ledger test prescribes it once the union is gone. Files past the claim's listed surface are each a direct consequence and are named in the PR body (the form row and its reconciliation ledger, the translation bundles and count pin, the migration rationale fragment, cli and lint count pins, one app-shell test). Seven locales carry the new label as source text. The report shows no API read that git could have answered (mcp_calls 0).
  • Out-of-scope findings and Skills-docs:. Skills text: item 2. packages/qa/scenarios/src/score/scenario-tags.ts:493-500 credits inlineEdit === true (and either form factor) as "edited inline" with no parent field group: a card for the eval lane, filed by the seat, not changed here. Sister repos (hotcrm, cloud) are unmeasured: an authored boolean there meets tsc and the parse on the next spec bump, and the changeset carries the fix; the seat decides whether a cross-repo note is owed. docs/adr/0035 keeps inlineEdit: true as history, governed, untouched.
  • Landing clause. A declared narrowing: it waits for the maintainer's approval and no seat readies, arms or queues it on green. After items 1 to 3 the merged head owes its own check-runs reading, the pinned dogfood battery, a delta read of contract review 7138399935, and a fresh record here.

Sentences read one by one. Changeset: the summary line, the three FROM / TO rows, the one-line fix (os migrate meta --from 17 --write), "The view-level inlineEdit ... is a different key and is unchanged", and the three kit bullets (spec, field form, cli corpus) each match the diff. Docs: field-types.mdx (the property row, the example now 'grid', "or no inlineEdit resolving to the grid", "Without inlineEdit the form factor is picked from the child"), fields.mdx (example and row, "a boolean is refused at parse"), common-patterns.mdx (example), flows.mdx ("the children a field group of the object places"). The four content/docs/references/** pages are generated and match the new .describe() text.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

Contract-review-claim: session_011y7As5bdhV5T4N9vpjmZzH · head ca353ccee80626d8346b6e19fc46801095e92fec · 2026-11-24T20:53Z

Taking the delta read of contract review 7138399935 on this head (narrowing face, CONTRACT_REVIEW_TIER), together with the seat's L1 check of the rework round.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ca353ccee80626d8346b6e19fc46801095e92fec
Local-runs: none
Scope: packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts, packages/spec/src/conversions/registry.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts, packages/spec/src/migrations/registry.ts.template, and (narrowing face: no path is a remainder) every other non-prose path of the 49-file diff: packages/spec/liveness/field.json, the three spec pin and reconciliation tests, packages/cli/src/lint/corpus.ts and score.ts with four cli tests, packages/lint/src/validate-field-consumers.ts and one lint test, the platform-objects translation bundles and their count pin (packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts, the one non-prose path this round changed), examples/app-showcase project.view.ts, ui/packages/app-shell deriveRelatedLists.ts and one inspector test + read outside the diff: ui/packages/app-shell/src/providers/MetadataProvider.tsx, ui/packages/plugin-form/src/deriveMasterDetail.ts, packages/qa/dogfood/package.json and the workspace manifests it reaches, packages/services/service-knowledge/package.json, pnpm-lock.yaml, skills/objectstack-data/rules/relationships.md
Security-touching: no
Rule-change-verified: none

Delta read of contract review 7138399935 (PASS at head 5874e77), which said the merged head owes one. Claim: comment 7144213273. That round left should-fix findings, so the follow-up head is read as a delta by the same reviewing session; this run is a fresh one-shot sub-agent of it and re-measured what it carries over instead of trusting it. Read-only shape: the range 5874e77554e..ca353ccee80 (merge commit f671e98 onto origin/main bfd1049, then one changeset commit), the card, the dev report 7144059566, and the head's check-runs (61 success, 9 expected skips, 0 failed, 0 pending).

① Derived judgments

  • What moved, measured per file. The PR's file list is the same 49 paths before and after the merge. Comparing each file's patch against its own merge base (57445a69981..5874e77554e against bfd1049f22f..ca353ccee80), 47 of 49 are identical by patch id. The two that differ are the changeset (prose face, read by the seat) and the count pin test. So the delta on the contract faces is one test file.
  • The earlier derivation still stands on the merged tree. Between the old merge base and origin/main eec6fb3, main changed none of: field.zod.ts, field.form.ts, packages/spec/src/conversions/**, packages/spec/src/migrations/**, liveness/field.json, validate-field-consumers.ts, MetadataProvider.tsx, deriveMasterDetail.ts. The readers that pass a boolean as absent are the bytes the first record read.
  • Main brought no new author of the retired value into code. In the whole main range the only added line that spells inlineEdit is in skills/objectstack-data/rules/relationships.md (finding S1 below, already carried by a card).
  • Order slots and version text. Conversion order 84 and rationale order 124 are still free on origin/main eec6fb3 (highest there: 83 and 123). packages/spec/package.json reads 18.6.0 on the head and on main, so "removed in 18.7.0" and retiredAfter: '18.6.0' still agree with a minor.
  • The count pin, the one conflict. Main moved the pin from 771 to 823 (fifty-two Studio list column labels); this branch had moved it from 771 to 772 (the one inlineEdit select label). The resolution keeps main's comment line, appends this PR's, and pins 824. The two additions are disjoint row sets, so 823 + 1 is the expected value, and it was measured, not only added up: the dev ran the pin test at the head (35 of 35 passed, pin 824) after regenerating the bundles with no byte change, and Test Core is success on the head. origin/main eec6fb3 still pins 823, so nothing newer on main moves it again; GitHub reports the head clean.
  • The regenerated bundles. The thirteen generated translation files main and the branch both touched merged without conflict and their PR-side patches are identical to the old head's, so the merge added main's rows and kept exactly this PR's one label per locale.

② Semver level

  • Unchanged and still correct: Clause-②: no (narrowing) and Metadata-protocol: narrowed are line-initial in the PR body and in the changeset; @objectstack/spec stays minor. Check Changeset is success on the head.
  • The new '@objectstack/lint': patch entry does not change the level of anything: the lint edit is two doc comments, on formFactorOf and creditDerivedRowForm, neither of which is exported, and patch is the right level for a published package whose shipped bytes do not change.
  • Skills-docs: follow-up #37042 is true: card 37042 is open in the skills lane, names both teaching sites and states the release coupling.

③ Boundary flags

  • Dev report 7144059566 has no open_questions and no security finding.
  • Dev flag, check:type-check-debt NOT MEASURED locally (it never got a turn on the shared lock): accepted as recorded. The delta adds no type-checked source (one test literal with its comment, one changeset), and TypeScript Type Check and Lint & Repo Gates are both success on the head.
  • Dev flag, the dogfood battery's lock line reads batch-last-exit 1: judged in the seat record on this head; it is evidence about the run, not about the contract. The reading is accepted there.
  • Dev out-of-scope note (the shared lock was held for over an hour by another worktree's run): for the seat, not a finding on this diff.
  • SQL push-down: no query code in the delta.
  • Author: the PR's user.login is objectstack-fleet[bot].

④ Design judgment

  • object-lifecycle-panel-echo-decisions.test.ts: the resolution is the right one. The comment block is a running history of the count in landing order, so main's 823 line comes first and this PR's line follows it with the new total; each line still names what added its rows. The pin stays a positive control with a measured value, which is what the first seat record asked for.
  • Every other hits file is unchanged since the first record (same patch, untouched by main), so its design judgment there carries: the enum with its error map, the lossless D2 delete, the D3 entry, the form row and the registry fragment.

Findings, carried from 7138399935 and re-stated for this head:

  • S1 (should-fix): closed. Card 37042 carries it and the Skills-docs: line names it in both places. One note for that card: main has since edited the same file (the transfer-behaviour skills change), so the site is now relationships.md:288 and reads inlineEdit: true // auto (default); the card says line 285.
  • S2 (should-fix): still open, and it closes by a card, not by this diff. packages/qa/scenarios/src/score/scenario-tags.ts (records-forms.master-detail-inline-edit) still credits inlineEdit === true. Three issue searches found no open card for it. The seat files it for the eval lane and records the number on this PR; until then this record has one unclosed should-fix.
  • N1, N2, N3 (nits): unchanged, same files and lines as the first record (the tracker number in the step-18 rationale fragment, six untyped test fixtures, the resolveInlineMode parameter type and comment).

No must-fix on the contract faces.

Implemented-by: claude/issue-35926-retire-inline-edit-true
Reviewed-by: session_011y7As5bdhV5T4N9vpjmZzH

Review run: an isolated one-shot sub-agent of the seat session, which ran no other agent; the seat adopts.

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

席位核对 — ACCEPT · head ca353cc

The three must-fix items of seat record 7138432732 are done on this head, the delta contract review is PASS (comment 7144263532), and the dev owes nothing more. Two seat-side items remain before the handoff; neither moves the head.

Seat-owed before the handoff (no head move)

  1. File the eval-lane card for contract finding S2 and record its number on this PR. packages/qa/scenarios/src/score/scenario-tags.ts (records-forms.master-detail-inline-edit) still credits inlineEdit === true. No open card carries it (three issue searches). Until it exists the contract record has one unclosed should-fix, and the landing check asks for none.
  2. Refresh the PR body, which still describes the old head. Sentences that are now false or incomplete: "the echo-decisions count pin carries one more row label (772 after the main merge)" (the pin is 824); "Changeset ... (spec minor, cli patch, platform-objects patch)" (it now also names @objectstack/lint patch); the acceptance note "the follow-up is owed (reported to the seat)" (it is card 37042); and the two evidence blocks headed "head 5874e77", which should carry this head's readings from report 7144059566, including the battery caveat below and check:type-check-debt NOT MEASURED.

Rework items, each checked

  • Item 1, merge and count pin. Merge commit f671e98 onto origin/main bfd1049, a merge and not a rebase. The file list is the same 49 paths, and 47 of the 49 per-file patches are identical to the old head's by patch id; the two that differ are the count pin and the changeset. The one conflict keeps main's line (823, the Studio list column labels), appends this PR's (one inlineEdit select label) and pins 824. Measured, not added up: the pin test ran at the head (35 of 35, pin 824) after check-i18n-bundles.mjs --write changed no byte, and Test Core is success on the head. origin/main eec6fb3 still pins 823 and GitHub reports the head clean.
  • Item 2, Skills-docs: follow-up #37042. The line reads so in the PR body and in the changeset. Card 37042 is open in the skills lane, names both sites and the release coupling. Its line number has drifted: main edited the same file since, and the site is now relationships.md:288.
  • Item 3, '@objectstack/lint': patch. In the front matter, with a body bullet. Check Changeset is success.

Gates, check-runs at this head. 61 success, 9 expected skips, 0 unexpected skips, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check both success. The local subset in the report is 128 derived families, 127 run, 1 NOT MEASURED (check:type-check-debt, which never got a turn on the shared lock). That stays NOT MEASURED; the delta adds no type-checked source and the two floor jobs are green on the head.

The dogfood battery: accepted as head-pinned evidence, no re-run asked. The rule asks for a battery pinned to the head, complete, with every red fixed or reported. The report's dogfood_battery names the full head sha, the unsharded command with no path, exit 0, Test Files 487 passed and 3 skipped (490), Tests 4128 passed and 68 skipped (4196), none failed. The lock's line for that batch is batch-last-exit 1, which the lock itself says is not a verdict on the whole command, so I checked the run's own log in the seat's container instead of taking the report's word:

  • The head was written to a file before the batch started and read back equal to the pushed head, ca353cc.
  • The batch was four commands joined with ;, each followed by its own exit capture, and a last leg that greps for both DOGFOOD_EXIT=0 and BUILD_EXIT=0. The battery's exit was captured directly after it, before any pipe, and reads 0; the vitest summary lines match the report. The 1 is the last leg failing on BUILD_EXIT=1, the full build that ran first in the same batch.
  • That build failed in @objectstack/service-knowledge (TS2307 on @objectstack/service-settings), because main added that workspace dependency and the post-merge install had not been run. The lockfile delta of the merged range is exactly that one link (six lines), and service-knowledge is not in the dogfood package's workspace closure (72 packages, computed from the manifests at the head, dev and peer dependencies included). So the missing link could not reach the battery.
  • The closure the battery needs was built at this head under the lock with VERDICT command-exit 0 before the batch.
  • The skip counts equal the previous head's battery (3 files, 68 tests) and the pass count is one higher, so nothing was narrowed.

A build cut short can leave a half-written dist, but that shows up as failing imports, not as 487 files passing. The merge queue runs the same battery again. For the next round: run the battery as its own lock command, so its line reads command-exit.

Sentences read one by one (the prose delta). Changeset: the front-matter line '@objectstack/lint': patch; Skills-docs: follow-up #37042; and the new bullet "two doc comments in the field-consumer rule (validate-field-consumers.ts) now read a boolean inlineEdit as refused by the spec and as absent at the renderer; comment text on unexported functions only, so no shipped byte changes." It matches the diff: the two edited comments sit on formFactorOf and creditDerivedRowForm, neither exported, and the first seat record measured on a built tree that the comment text is absent from dist. Every other changeset sentence and all content/docs/** hunks are unchanged from the head read in 7138432732. Test comment: "824 since #35926: the field form offers the inlineEdit select ... one row label, authored in all three locales", true against the form row and the bundles.

Other checks. Shape: open, draft, base main, first line Fixes #35926, no closing keyword on another card, no content/docs/releases/ path, one non-empty changeset, every touched published package named in it, no one-shot script in the diff. The report shows no API read that git could have answered (mcp_calls 0). No new file outside the surface accepted in 7138432732.

Landing clause. A declared narrowing: it waits for the maintainer's approval. No seat readies, arms or queues it on green. The handoff to os-zhuang is ready once items 1 and 2 above are done on this same head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ca353ccee80626d8346b6e19fc46801095e92fec
Local-runs: none
Scope: packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts, packages/spec/src/conversions/registry.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts, packages/spec/src/migrations/registry.ts.template, and (narrowing face: no path is a remainder) every other non-prose path of the 49-file diff: packages/spec/liveness/field.json, the three spec pin and reconciliation tests, packages/cli/src/lint/corpus.ts and score.ts with four cli tests, packages/lint/src/validate-field-consumers.ts and one lint test, the platform-objects translation bundles and their count pin, examples/app-showcase project.view.ts, ui/packages/app-shell deriveRelatedLists.ts and one inspector test + read outside the diff: packages/qa/scenarios/src/score/scenario-tags.ts, skills/objectstack-data/rules/relationships.md, skills/objectstack-data/evals/objects-fields-relationships.json
Security-touching: no
Rule-change-verified: none

Closing delta record on the same head as 7144263532. The head has not moved: no file changed since that record, so its sections ① to ④ stand as written and are not repeated. What changed is outside the tree: the seat filed one card and rewrote the PR body. This record reads those two acts against the two findings that were carried, and nothing else. Read-only shape: cards 37042 and 37127, the PR body as it now reads, and the head's check-runs.

① Derived judgments

  • The tree is the one already reviewed. GitHub reports the PR head as ca353cc, the sha of record 7144263532; the diff, the merge resolution and the count pin are unchanged.
  • Card 37042 carries the skills text. Open, skills lane. It names both teaching sites (skills/objectstack-data/rules/relationships.md and skills/objectstack-data/evals/objects-fields-relationships.json), asks for the field-group rule to be taught instead, and states the release coupling with @objectstack/spec. The PR body and the changeset both read Skills-docs: follow-up #37042, and the body's acceptance note now names the card.
  • Card 37127 carries the scenario scorer. Open. It names packages/qa/scenarios/src/score/scenario-tags.ts, the tag records-forms.master-detail-inline-edit and the line that credits mode === true, and asks for the tag to be re-specified against fieldGroups[].relatedList. The PR body's acceptance note names the card.
  • The PR body now describes this head. The count pin sentence reads 824 (main's 823 plus this PR's one label). The changeset sentence lists @objectstack/lint patch. A block headed "Readings on head ca353cc" carries the pin test, the 128 derived families with check:type-check-debt NOT MEASURED, and the dogfood battery with its caveat (the lock line reads batch-last-exit 1 from the failed build in the same batch). The two older blocks are relabelled as an earlier head's. The CI job that body sentence cites, Type Check · debt ledger, is success on the head.

② Semver level

  • Unchanged. Clause-②: no (narrowing), Metadata-protocol: narrowed and Skills-docs: follow-up #37042 are line-initial in the rewritten body, and the changeset is the file record 7144263532 read.

③ Boundary flags

  • The body rewrite re-triggered Check Changeset, which reads the PR body. The re-run finished success, so the head reads 63 success, 11 expected skips, 0 failed, 0 pending.
  • The closing keyword read holds after the rewrite: the first line binds card 35926 only, and cards 37042 and 37127 appear with no closing verb.
  • SQL push-down: no code changed.
  • Author: the PR's user.login is objectstack-fleet[bot].

④ Design judgment

  • No design surface moved. Two notes for the cards, neither a finding on this diff. Card 37042 cites relationships.md:285; since the transfer-behaviour skills change on main the site is line 288. Card 37127's second ask keeps crediting inlineEdit: 'grid' or 'form' on its own; record 7138399935 found that neither inlines anything without a parent field group, so the eval lane should weigh that arm when it re-specifies the tag.

Findings:

  • S1 (should-fix): closed.
  • S2 (should-fix): closed.
  • N1, N2, N3 (nits): unchanged from record 7138399935; accepted as they stand.

S1 is the skills text, carried by card 37042 and named on the Skills-docs: line in the PR body and the changeset. S2 is the scenario scorer, carried by card 37127 and named in the PR body. Both were raised in record 7138399935 as findings that close by a card, not by this diff; the cards now exist. This record raises no new finding.

Implemented-by: claude/issue-35926-retire-inline-edit-true
Reviewed-by: session_011y7As5bdhV5T4N9vpjmZzH

Review run: an isolated one-shot sub-agent of the seat session, which ran no other agent; the seat adopts.

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

维护者速读

  • 用户可感:在主从或查找字段上把「内联编辑」写成真或假时,校验会直接报错并给出改法;已存的旧定义在启动和迁移时会自动去掉这个值,页面表现不变。字段设计器多了一个「表格 / 表单」下拉框。
  • 为什么做:你裁定「一律只看分组」之后,子表要不要显示在父表单里,只由父对象的字段分组决定。这两个真假值和不写完全一样,写了也没用。
  • 出错会怎样:最坏情况是有人在源码里还写着真假值,升级后校验报错,并看到改法;已存数据会自动转换,不会坏页面。技能文档里还有一处教旧写法,已另立卡 skills: stop teaching inlineEdit: true on master-detail relationships (follow-up of #35926) #37042,须在同一个版本发布前合入。
  • 要你做什么:这是申报的收窄(破坏性变更),需要你批准后才能合入。

Review request — declared narrowing (Clause-②: no (narrowing), Metadata-protocol: narrowed): field.inlineEdit loses its boolean arm.

  • Seat record: ## 席位核对 — ACCEPT 7144293247, at the current head ca353ccee80626d8346b6e19fc46801095e92fec.
  • Contract review: same-head closing PASS 7144424237 (CONTRACT_REVIEW_TIER, verify-review-tier passed, no open finding), after delta 7144263532 and the full PASS 7138399935. S1 (skills text) is carried by skills: stop teaching inlineEdit: true on master-detail relationships (follow-up of #35926) #37042 (release-coupled), S2 (scenario scorer) by Scenario scorer: records-forms.master-detail-inline-edit still credits the retired inlineEdit: true (follow-up of #35926) #37127.
  • Dogfood battery pinned to this head: 487 files passed, 3 skipped; 4128 tests passed, 68 skipped, 0 failed (see the PR body's caveat about the lock line; accepted in 7144293247).
  • What to approve: the spec enum narrowing with the INLINE_EDIT_BOOLEAN_RETIRED prescription, the step-18 lossless conversion, the field form's Grid / Form select with its ledger change, and the lint / cli / platform-objects follow-through. Changeset: spec minor, cli / platform-objects / lint patch.
  • CI at this head: 63 success, 11 skipped, 0 failed. After approval, the seat arms it.

@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 24, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 24, 2026 21:50
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 236c804 Nov 24, 2026
80 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-35926-retire-inline-edit-true branch November 24, 2026 22:27
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…jectstack-ai#36814)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwB9Gqqp1VYZwEqbXEm1YsTjU)_
Fixes objectstack-ai#36447
Clause-②: no
Metadata-protocol: none

repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB

## 维护者速读

-
报表设计器右侧属性面板在英文界面下,所有说明文字和栏目名改成业务用语(数据来源、分组、指标、排序),时间段与导出下面的六个子项也各有自己的名称和说明,与中文面板说法一致;日文、西班牙文同步补上了新增的六项。
- 属于"报表与仪表盘面板说业务话"这项体验工作的英文收尾,替用英文界面搭报表的业务管理员解决看不懂开发术语的问题。
- 只改了说明文字和表单排布,不改任何可保存的设置;出错最多是某句提示读起来别扭,直接撤回即可。
- 无

## What changes

The report authoring form (`packages/spec/src/ui/report.form.ts`)
produces the English rows the console's report panel draws below its
curated controls. Per the seat route (producer-first, no `en` overlay,
no rename of a section title whose key is slugged from its label), every
such row now reads in business terms carrying the zh-CN meaning: data
source, grouping, metric, sort.

- **Round 1**: reworded the section descriptions and hints that no pin
held.
- **Round 2**, on the seat's widened surface (claim amendment
7119493070):
- Rewords the six ledger-pinned hints and moves the two platform-objects
echo-decision ledgers' `en` sources with them. ⚠️ Each moved row records
that its zh-CN / ja-JP / es-ES verdicts and values were taken against
the OLD English and were not re-judged.
- Declares the `dateRange` and `exportOptions` children and a
Description hint as form rows, with a completeness pin
(`report-form-composite-children.test.ts`, the objectstack-ai#30267 view-form shape).
- Renames the joined-block and sort row titles in the form and in the
item schema `.meta({ title })` together, which the repeater-item-titles
pin requires.
- **Translations**: the 13 new catalog leaves are regenerated in every
platform `*.metadata-forms.generated.ts`, with zh-CN, ja-JP and es-ES
values authored. The other locales carry the English fill and its
provenance entry.
- The console's zh overlay (`metadata-form-zh-cn.ts`) carries the six
new children: that file's rule is that every `report` field string the
curated inspector renders lives there, copied from the platform zh-CN
bundle.
- **Measured premise correction**: the dashboard **widget** panel
(`DashboardWidgetInspector.tsx`) draws **zero** rows from spec text. Its
rows are console strings (`engine.inspector.widget.*`) that already read
"Data source", "Group by", "Metrics" in English.

**Row table — every English row the report panel draws from spec text**
(lines on base 4c93f88; enumerated by rendering
`ReportDefaultInspector` in English for summary, matrix and joined
reports with every section open, then re-rendered at the final head)

| Row | Source | Before | After |
|:---|:---|:---|:---|
| Section "Basics", description | report.form.ts:24 | Identity and
report type. | unchanged (same meaning as zh-CN 标识与报表类型) |
| Description, hint | i18n.zod.ts:275 (shared `I18nLabel` describe; no
form hint) | Display label — the default-language string, or an inline
locale map ({ en, "zh-CN" }) resolved at render time | One sentence on
what this report shows, displayed under its name. (form row hint; the
shared describe is untouched) |
| Section "Dataset binding", label | report.form.ts:34 | Dataset binding
| **left over** (slugged section key) |
| Section "Dataset binding", description | report.form.ts:35 | The
semantic-layer dataset this report renders. Values are the dataset’s
measures; rows are its dimensions. | Where the report’s numbers come
from, how they are grouped and sorted, and which records open when you
click a row. |
| Order, label | prettified | Order | Sort Order |
| Order, hint | report.form.ts:51 | Sort keys, most significant first (a
rows/columns dimension or a values measure). Time dimensions are
chronological by default. | What to sort by, most important first (a
grouping or a metric). Time groupings sort in date order by default. |
| Order rows, label | report.form.ts:57 = report.zod.ts:107 title |
Order By | Sort By |
| Drilldown, hint | report.form.ts:61 | Click an aggregated row/cell to
open the underlying records | Click a summarized row or cell to open the
records behind it. |
| Section "Joined blocks", label | report.form.ts:65 | Joined blocks |
**left over** (slugged section key) |
| Section "Joined blocks", description | report.form.ts:66 | Additional
dataset-bound blocks stacked into a single report (joined reports only).
| Other blocks stacked into the same report, each with its own data
source (joined reports only). |
| Blocks, hint | report.form.ts:72 | Dataset-bound sub-reports (joined
report only) | Sub-reports, each with its own data source (joined
reports only). |
| Blocks rows | report.form.ts:89-94 = `JoinedReportBlockSchema` titles
| Dataset / Rows / Columns / Values / Order | Data Source / Group By /
Group Columns By / Metrics / Sort Order |
| Section "Filter & chart", description | report.form.ts:101 |
Render-time scope filter and chart presentation. | Filter conditions and
how the chart is shown. |
| Runtime Filter, hint | report.form.ts:105 | Render-time scope filter,
ANDed at query time | A filter applied whenever the report is shown, on
top of the data source’s own conditions. |
| Date Range, hint | report.form.ts:122 | Default period and
custom-range switch. The dimension must be a date dimension of the
dataset; leave it empty when the dataset has exactly one. | The period
the report opens with, and whether people may choose their own range. |
| Date Range children | report.zod.ts:702-705 describes (no form rows) |
Dimension: Dataset dimension (declared `type: 'date'`) the window
applies to; omitted = the dataset's one date dimension · Default Range:
Default date range preset · Allow Custom Range: Allow users to pick a
custom date range | Date Field: The date grouping of the data source the
period applies to. Leave it empty when the data source has only one. ·
Default Period: The period the report opens with. · Allow Custom Range:
Let people pick their own start and end dates. |
| Export Options, hint | report.form.ts:123 | Download formats (csv,
xlsx) and file name. Who may download is the export permission on the
dataset object. | Download formats (csv, xlsx) and file name. Who may
download is set by the export permission on the data source’s object. |
| Export Options children | list-view-export-options.ts:195-198
describes (no form rows) | Formats: Formats the report's export control
offers (default: ['csv', 'xlsx']); an empty list turns the control off ·
Include Headers: Include column headers in the exported file (default
true) · File Name Prefix: Download file name prefix — replaces the
report label in the generated file name | Formats: The download formats
offered. Left unset, both csv and xlsx are offered; an empty list turns
downloads off. · Include Headers: Put the column names in the first row
of the downloaded file. · File Name: The start of the downloaded file’s
name, used instead of the report name. |

Rows the panel does not draw, because its curated controls replace them
(the server-served form still renders them):

| Row | Source | Before | After |
|:---|:---|:---|:---|
| Type, hint | report.form.ts:30 | Report type:
tabular/summary/matrix/joined | Report type: tabular, summary, matrix or
joined. |
| Dataset, hint | report.form.ts:39 | Dataset to bind
(measures/dimensions come from its semantic layer) | The report reads
its numbers from here; everyone sees only the records they have access
to. |
| Values, hint | report.form.ts:40 | Measure names (from the dataset) to
display | The metrics to total or count (from the data source). |
| Rows, hint | report.form.ts:41 | Dimension names (from the dataset) to
group rows by | The fields to group by (from the data source). |
| Columns, hint | report.form.ts:43 | Dimension names across (matrix
only) | Groups spread across the columns (matrix reports only). |
| Chart, hint | report.form.ts:108 | Chart config (type, legend, colors)
| Chart type and settings. |

**Left over — section titles whose key is slugged from the label** (not
renamed, per the seat route: renaming moves the `dataset_binding` /
`joined_blocks` keys of the zh overlay and of every `metadataForms`
catalog):

- "Dataset binding" (report.form.ts:34)
- "Joined blocks" (report.form.ts:65)

Unchanged on purpose: the "Runtime Filter" and "Drilldown" labels (zh-CN
reads the same words; the ledger records both as correct English). The
top-level Dataset / Values / Rows / Columns labels are not drawn by the
panel. The shared `I18nLabel` and list-view export describes are
untouched, per the seat route.

## Tests

<details><summary>Spec, platform translations, console tests — green at
60b7741; the last commit f2cbae0 touches two test files only, re-run
green</summary>

- spec: `pnpm --filter @objectstack/spec exec vitest run src/ui/` plus
repeater-item-titles, metadata-form-declared-rows.pin, i18n-resolver and
schema-index: Test Files 192 passed (192), Tests 7209 passed (7209).
`pnpm --filter @objectstack/spec typecheck` exit 0.
- New pin `src/ui/report-form-composite-children.test.ts`: 6 tests.
Ablation through `scripts/ablation-replace.mjs`, deleting the
`includeHeaders` row: "Tests 1 failed / 5 passed", restored blob ==
HEAD.
- platform-objects: `pnpm --filter @objectstack/platform-objects test`:
Test Files 125 passed (125), Tests 2126 passed (2126). This includes
both report echo-decision ledgers and the object-lifecycle positive
control (763, then 765 after the merge of main, then 771).
- ui, from `ui/`, over every report-form reader (all
`ReportDefaultInspector*`, `panelBusinessWording-36373`,
`report-schema`, `metadata-form-i18n`, `InterfacesPillar.report*`,
`metadataError.report*`, `ReportConfigPanel*`, `ReportView*` and more,
35 files): first run 17 failed in 5 files, all pinning the old labels.
After those pins moved: 5 passed (5), 37 tests; the other 30 files
passed.
- At merged head 60b7741: platform-objects 125/125 files, 2126/2126
tests; spec 192/192, 7209/7209; ui 35/35, 273/273. Every run exited 0
under the verify lock.
- f2cbae0: `check:test-source-alias` red on CI (lane `lint-ci-engine`,
rolled up as Lint & Repo Gates). Cause: the two edited pins reach the
console's dynamic `@objectstack/lint` / `@objectstack/formula` imports
inside a case's clock. Fix: module-top side-effect imports. Local
result: `check-test-source-alias OK`, EXIT=0, and the two files pass 2/2
files, 6/6 tests.

</details>

## Acceptance notes

- The ja-JP and es-ES values of the six reworded ledger rows still
render the old developer meaning (the zh-CN values already matched the
business meaning). Re-judging them belongs to a translator pass, not
this card.
- The Default Period select shows the stored preset (`this_month`) as
its option text, in both locales: the enum has no option labels in this
form. Out of scope here.
- Open draft PR objectstack-ai#36802 regenerates the same bundles; the generated files
are `merge=os-regen`, so whichever lands second regenerates.

## Verification

First read, by risk: `packages/spec/src/ui/report.form.ts` (the declared
children and every reworded row);
`packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts`
(moved `en` sources, counts and their reason);
`packages/spec/src/ui/report.zod.ts` (six `.meta({ title })` strings,
prose only).

Two-minute check: open a summary report in the Studio with the console
in English and expand "Period & export". It should show Date Field,
Default Period and Allow Custom Range, then Formats, Include Headers and
File Name, each with a plain-language hint. Switch to Chinese and the
same rows read 日期字段 / 默认时间段 / 允许自定义范围 / 格式 / 包含表头 / 文件名.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB)_

<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufziH9MVhWYLVCiw5eXB -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…note say which toolbar draws Refresh (objectstack-ai#36872)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwB9Gqqp1VYZwEqbXEm1YsTjU)_
Fixes objectstack-ai#36353

Clause-②: no
Metadata-protocol: none

repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB

## 维护者速读

- 用户无感:视图元数据里「紧凑工具栏」这一项的说明文字改了,写明默认就是紧凑工具栏、紧凑工具栏上没有刷新按钮;界面与行为都不变。
- 属于「列表页重做」专题的收尾:上一轮已把「刷新开关只管宽工具栏」写进刷新开关的说明,这次把相邻的工具栏说明和审计台账补齐。
- 出错时最坏是说明文字不准,作者或智能体误判某个开关管哪个工具栏;只改文字,可整体撤回。
- 无。

## What changes

- `packages/spec/src/ui/view.zod.ts`, the `compactToolbar` describe: the
first sentence is kept and two are added. It now says the compact
toolbar is on by default (omitted or `true`; `false` draws the wide
toolbar, one button per control) and that the compact toolbar draws no
Refresh button, so `userActions.refresh` governs only the wide toolbar;
pull-to-refresh is unaffected by either key. The wording follows the
`userActions.refresh` describe that objectstack-ai#36339 landed ("Governs only the
wide toolbar's Refresh button (`compactToolbar: false`): the default
toolbar has no Refresh, so the toggle changes nothing there.").
- `packages/spec/src/ui/view.form.ts`: the view form's `compactToolbar`
hint mirrors the new describe. The hint == describe pin
(`src/ui/view-form-composite-children.test.ts`, "top-level rows that
gained a hint carry their schema description") requires it.
- `packages/spec/liveness/view.json`, the `userActions` note: the
`userActions.refresh` sentence now says it drives only the wide
toolbar's Refresh button and names the reader by line: `showRefresh` at
`ui/packages/plugin-list/src/ListView.tsx:2710`, the button at `:8125`
behind `!compactToolbar`, measured at `5c2e34cdb`. The verdict stays
`live`.
- Regenerated, not hand-edited:
`content/docs/references/{ui/view,data/object,api/protocol}.mdx`
(`check:generated --fix`, which found only `check:docs` stale) and
`packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts`
(`node scripts/check-i18n-bundles.mjs --write
--filter=platform-objects`; translated locales keep their wording).
- Changeset `.changeset/36353-compact-toolbar-refresh-describe.md`:
patch for `@objectstack/spec` and `@objectstack/platform-objects`.

Description text only. `compactToolbar` stays `z.boolean().optional()`
and `userActions.refresh` is not touched, so no key, type, default or
optionality changes and the accept set is the same.

What the new sentences rest on, read on `origin/main` `5c2e34cdb`
(`ui/packages/plugin-list/src/ListView.tsx`):
1. Default: `compactToolbar: schema.compactToolbar !== false` (`:2718`).
The plugin-list registry input already says "On by default; `false`
draws one toolbar button per control"
(`ui/packages/plugin-list/src/index.tsx:236`).
2. No Refresh in the compact toolbar: the only Refresh button is
`toolbarFlags.showRefresh && !toolbarFlags.compactToolbar` (`:8125`,
`data-testid="refresh-button"`). `ViewSettingsPopover` gets no refresh
prop (the `viewSettingsElement` at `:7548`), and
`components/ViewSettingsPopover.tsx` has no `refresh` hit at all.
3. Pull-to-refresh: `usePullToRefresh({ onRefresh: handlePullRefresh,
enabled: !!dataSource && !!schema.objectName })` (`:3680`), attached
unconditionally to the list root (`ref={pullRef}`, `:7637`). It reads
neither `compactToolbar` nor `userActions.refresh`.

Prior rulings: `check-prior-rulings --paths` over both files lists 146
hit lines. The ones near the edited lines (view.zod.ts `:3710` ruling
6095014058 letter A on `sharing`, `:3733` objectstack-ai#15184 ruling B on composition
order, `:1935`/`:1946` the `hideFields`/`editInline` defaults; view.json
`:236`, `:250`, `:254`) are about other keys, and none governs
`compactToolbar` or the refresh scope. No ADR names `compactToolbar`.
The scope sentence restates what objectstack-ai#36339's describe already says
(contract review record 7076152814, N2 and N3), and no ruling is
reversed.

Read first, by risk:
1. `packages/spec/src/ui/view.zod.ts`, the `compactToolbar` line: this
is the published schema text, and the contract review reads it.
2. `packages/spec/liveness/view.json`, the `userActions` note: the line
numbers it cites.

## Tests

Final head: `ca02fd3f8`. Every local reading below was taken against
that head's tree.

<details><summary>Local readings (builds and tests under
scripts/pm/os-verify-lock.sh)</summary>

- `pnpm --filter @objectstack/spec build`: VERDICT command-exit 0.
- `pnpm --filter @objectstack/spec check:generated --fix`: rebuilt the
package first, and regenerated only `check:docs`
(`content/docs/references/**`), the one artifact it found stale. A
re-run of `check:generated` then exited 0.
- `pnpm --filter @objectstack/spec test`: Test Files 885 passed (885),
Tests 28146 passed, 1 todo (28147), exit 0.
- `pnpm --filter @objectstack/spec typecheck`: exit 0.
- `pnpm --filter @objectstack/platform-objects test`: Test Files 125
passed (125), Tests 2126 passed (2126), exit 0. `typecheck`: exit 0.
- The hint == describe pin
`src/ui/view-form-composite-children.test.ts`: Test Files 1 passed (1),
Tests 20 passed (20), VERDICT command-exit 0. With
`view-form-pagination.test.ts` and `view.test.ts`: 3 files, 573 tests
passed.
- `node scripts/check-i18n-bundles.mjs`: before the regeneration,
"platform-objects: 1 bundle(s) drifted from the schema". After `--write
--filter=platform-objects`: "OK (10 package(s), all bundles in sync)".
This ran after the build of the `@objectstack/cli` +
`@objectstack/platform-objects` closure (VERDICT command-exit 0).

</details>

No ablation and no reverse verification: the diff changes description
text, a ledger note and generated output, and no tested behaviour.

## Acceptance notes

- Card "Done when" 1 (describe states the default, no Refresh in the
compact toolbar, pull-to-refresh unaffected, matching `ListView.tsx` on
`main`; form hint, regenerated docs and the hint == describe pin in
step): done; see the three readings above. The pin passes.
- Card "Done when" 2 (liveness note names the wide-toolbar scope and the
current reader line): done (`:2710` reader, `:8125` button).
- Noted, not filed: the note's first sentence still cites
`ListView.tsx:374 toolbarFlags`, an older objectui line, for the whole
`userActions` row. Only the refresh sentence is in this card's scope.
Today the memo is at
`ui/packages/plugin-list/src/ListView.tsx:2700-2729`.
- Noted, not filed: the ten translated `compactToolbar` hints (and
`ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts:440`)
carry only the first sentence. They are still true, just less precise
than English. Translating them is a translator's edit, as with objectstack-ai#36339's
`refresh` hint.
- Overlap: `node scripts/pm/overlap-check.mjs` reports a textual
conflict with objectstack-ai#36802 in the generated
`content/docs/references/data/object.mdx` only. That file is routed
`merge=os-regen` (`.gitattributes:159`), so whichever PR lands second
regenerates it with `check:generated --fix`. It merges cleanly against
`origin/main`, objectstack-ai#36857 (which shares `view.zod.ts`) and objectstack-ai#36858.

## Verification

Two-minute check: `pnpm --filter @objectstack/spec exec vitest run
src/ui/view-form-composite-children.test.ts` shows 20 passed. `grep -n
"compactToolbar: z" packages/spec/src/ui/view.zod.ts` shows the new
describe after `z.boolean().optional()`.

<details><summary>Gates</summary>

- `node scripts/pm/dispatch-gates.mjs --commands` on the final diff
named 112 commands, and all of them ran locally. The `--ran`
reconciliation reads "112 derived famil(ies) accounted for, 112 run, 0
NOT-MEASURED".
- 108 exited 0. The other four:
- Exit 3, PREREQUISITE NOT MET, so NOT MEASURED locally (CI measures
them): `node scripts/check-plugin-teardown-shape.mjs --self-test`,
because the shallow clone cannot reach its pinned fixture commit; `pnpm
check:dual-build-cjs-loads`, because the whole-tree dist is absent;
`pnpm --filter @objectstack/spec run check:skill-examples`, because some
workspace dists are absent.
- Exit 1: `pnpm check:platform-checklist`, "ABSENT SYMBOL
`packages/metadata-core/src/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals`"
in `docs/qa/platform-checklist/areas/access-security.json`. This diff
touches neither file. The symbol is absent from that source at the base
`5c2e34cdb` and at the current `origin/main` `d9c799c10`, so it is red
independently of this PR, and it is reported to the seat.
- `pnpm --filter @objectstack/spec check:generated`: exit 0. `node
scripts/check-i18n-bundles.mjs`: exit 0. `node
scripts/pm/overlap-check.mjs`: see Acceptance notes.
- `node scripts/check-dev-prereqs.mjs` (a local-only family): exit 1,
"the workspace is not built" (44 of 108 package dists absent in this
container). This describes the machine and says nothing about the diff.
- `node scripts/pm/dispatch-gates.mjs --tier`: no path-derived mandate.

</details>

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB)_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufziH9MVhWYLVCiw5eXB -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…ms (objectstack-ai#36879)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwB9Gqqp1VYZwEqbXEm1YsTjU)_
Fixes objectstack-ai#36838
Clause-②: no
Metadata-protocol: none

repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB

## 维护者速读

-
报表设计器(英文界面)里报表顶层的四个栏目名改成与联合报表分块表格一致的说法:数据来源、指标、分组、列分组;“指标”和“文件名”两条提示改成与实际运行一致;中文面板的“日期范围”“运行时筛选”两条提示跟上了新的英文说法。
- 属于“报表面板说业务话”这项体验工作的收尾,替用英文界面搭报表的业务管理员解决同一张表单里一个设置有两种叫法的问题。
- 只改了栏目名和提示文字,不改任何可保存的设置;出错最多是某句提示读起来别扭,直接撤回即可。
- 无

## What changes

One form, one vocabulary: the report form's top-level data rows now
carry the titles its joined-blocks grid already uses (`report.form.ts`
lines 93–96 on main), and two hints now say what the runtime does.

**Label resolution, measured.** The four top-level rows declared no
`label`, and `ReportSchema` gives those keys no `.meta({ title })`, so
both readers fell through to the key:

- the console form: `SchemaForm.tsx:1931–1934`, `fieldSpec.label`, then
the localized schema `title`, then `prettify(name)`;
- the catalog extractor: `packages/lint/src/i18n-walk.ts:2771`,
`inlineText(field.label) ?? humanizeFieldPath(path)`.

A form-row `label` is therefore the route (producer-first, no `en`
overlay). Each `metadataForms.report.fields.KEY.label` leaf already
existed with the humanized text, so no catalog key is added, moved or
removed; only its `en` value changes.

| Row (key) | Old en | New en | zh-CN |
|:---|:---|:---|:---|
| `dataset` label | Dataset (prettified key) | Data Source | console
overlay 数据来源, unchanged; platform bundle 数据集, unchanged |
| `values` label | Values (prettified key) | Metrics | overlay 指标,
unchanged; platform 度量, unchanged |
| `rows` label | Rows (prettified key) | Group By | overlay 分组,
unchanged; platform 行, unchanged |
| `columns` label | Columns (prettified key) | Group Columns By |
overlay 列分组, unchanged; platform 列, unchanged |
| `values` hint (N2) | The metrics to total or count (from the data
source). | The metrics to show, such as totals, counts, averages or
ratios (from the data source). | overlay 要统计的指标(来自数据来源), unchanged;
platform 要展示的度量名(来自该数据集), unchanged |
| `exportOptions.fileNamePrefix` hint (N3) | The start of the downloaded
file’s name, used instead of the report name. | The start of the
downloaded file’s name. Left empty, the file is named after the report’s
label, or its name when it has no label. | overlay and platform:
下载文件名的开头。留空时以报表的显示名称命名,没有显示名称时用名称 (was 下载文件名的开头,用来代替报表名称) |
| `dateRange` hint (N4) | en unchanged | en unchanged | overlay:
打开报表时显示的时间段,以及使用者能否自己选择范围 (was
默认时间段与自定义范围开关。按数据来源里的一个日期分组筛选;只有一个日期分组时可留空) |
| `runtimeFilter` hint (N4) | en unchanged | en unchanged | overlay:
每次显示报表时都会应用的筛选,叠加在数据来源自身的条件之上 (was 渲染时的范围筛选,在查询时以 AND 方式并入) |

- **N3, measured at the runtime:** `ReportExport.tsx:210–217` passes
`prefix`, then the localized report `label` with `name` as its fallback,
into `buildExportFileName`
(`ui/packages/core/src/utils/export-filename.ts:58–77`), which takes the
prefix first and appends the date and time. The form's own `Label` /
`Name` rows are the words the hint now uses (显示名称 / 名称 in zh-CN).
- **N2:** a report metric is any dataset measure (sum, count, average,
ratio, derived), so the hint names examples instead of a closed pair.
- **N4:** console overlay only, per the card. `dateRange` was already a
hand-worded row (marked 36373); `runtimeFilter` is now marked the same
way, because the platform zh-CN row is the ledger-pinned rendering of
the older sentence and is left alone.
- **Locale packs:** `node scripts/check-i18n-bundles.mjs --write`
changed only `en`. The `fileNamePrefix` hint is re-translated in zh-CN,
ja-JP and es-ES (it is not one of the six rows objectstack-ai#36836 carries). The
locales that held the old English as a fill (ar, de, fr, ko, pt-BR, ru,
zh-Hant) carry a provenance entry for the leaf, so they serve the new
English until translated, which is the repository's rule for a changed
source string.
- **Ledgers:** `report-dataset-panel-echo-decisions.test.ts` pins the
`en` of four leaves this PR moves (`dataset`, `values`, `rows` labels
and the `values` hint). Each row now holds the new English and says why:
the label values are still byte-identical to their blocks twins, whose
English is now the same string; the `values` hint values promise no
narrower set than the new English. No verdict and no translated value
changed. `report-form-echo-decisions.test.ts` asserted the English of
the "Dataset" twin its section heading was rendered from; that assertion
now points at the dataset type's own label, which reads the same three
words, and the header records why the population did not move.
- Left alone, per the seat route: the slugged section titles `Dataset
binding` and `Joined blocks`, every key, type, default and Zod shape.

## Tests

<details><summary>platform-objects, spec, console readers: all green at
cf23885</summary>

- `pnpm --filter @objectstack/platform-objects test`: Test Files 125
passed (125), Tests 2126 passed (2126). The first run of the
translations folder had one red, `report-form-echo-decisions.test.ts`
"the authored vocabulary the other five rows were derived from is still
there" (expected 'Data Source' to be 'Dataset'); fixed as described
above.
- `pnpm --filter @objectstack/spec exec vitest run src/ui/ src/system/
src/kernel/repeater-item-titles.test.ts scripts/schema-index.test.ts`:
Test Files 267 passed (267), Tests 9316 passed (9316).
- `pnpm --filter @objectstack/spec --filter
@objectstack/platform-objects run typecheck`: exit 0.
- From `ui/`, `pnpm exec vitest run` over 26 report-form reader files
(every `ReportDefaultInspector*`, `panelBusinessWording-36373`,
`report-schema`, `metadata-form-i18n`,
`SchemaForm.machineNameChip-8231`, `SchemaForm.deDeveloperize-8218`,
`SchemaForm.refDatasetWidget-11601`, `InterfacesPillar.report*`,
`metadataError.report*`, `ReportConfigPanel*`, `_shared.labels`,
`export-filename`, the `ReportExport*` tests): Test Files 26 passed
(26), Tests 254 passed (254).
- `pnpm --filter @objectstack/spec check:generated`: "All 14 generated
artifacts are up to date".
- `pnpm check:i18n-stale-fill`: OK, no new stale fills.

</details>

<details><summary>Derived gate families: 91 run at cf23885, 89 exit 0,
2 not measured (prerequisite, exit 3)</summary>

- `node scripts/pm/dispatch-gates.mjs --commands` derived 91 commands
for this diff; each ran once, exit code captured before any pipe. 89
exited 0, among them `pnpm check:i18n` ("all bundles in sync, no
undeclared authoring keys"), `pnpm check:i18n-stale-fill`, `pnpm
check:test-source-alias`, `pnpm check:doc-authoring`, `pnpm
check:nul-bytes`, spec `check:docs` / `check:api-surface` /
`check:authorable-surface`, and `pnpm --dir ui exec vitest run
scripts/`.
- NOT MEASURED, exit 3: `node scripts/check-plugin-teardown-shape.mjs
--self-test` (positive control pinned to a commit this shallow checkout
cannot reach) and `pnpm check:dual-build-cjs-loads` (needs a
whole-workspace build). Both are CI's.
- `node scripts/pm/dispatch-gates.mjs --ran`: "91 derived famil(ies)
accounted for — 91 run, 0 NOT-MEASURED" (the two above are NOT MEASURED
by their own exit code).
- `node scripts/pm/overlap-check.mjs`: VERDICT clean (origin/main and
open objectstack-ai#36802 both merge cleanly).

</details>

## Acceptance notes

- The platform zh-CN, ja-JP and es-ES values for these four labels still
read the older dataset vocabulary (数据集 / 度量 / 行 / 列 and their ja-JP and
es-ES twins), at the top level and in the blocks grid alike, so each
locale stays one vocabulary inside the form. The console's curated panel
reads the business words from its own overlay. Moving the platform
values to the business wording is a translator pass over both positions
together (eight leaves), not part of this rename.
- Overlap with objectstack-ai#36836: the `values` hint is one of its six rows. Its
English moved again here; its zh-CN, ja-JP and es-ES values were not
touched, so that card should translate against the new English. The
`fileNamePrefix` hint is not one of the six and is fully translated
here.
- With a label that no longer spells the key, the server-served form
shows its machine-name hint beside these four rows
(`SchemaForm.tsx:2044–2051`), as it already does for Sort Order. This
follows from that rule; it was not checked in a browser.
- `@object-ui/app-shell` type-check was not run locally (one data file,
strings only); it is left to CI's Type Check UI.

## Verification

First read, by risk: `packages/spec/src/ui/report.form.ts` (four labels,
two hints);
`packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts`
(moved `en` sources and their reasons);
`ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts`
(three zh-CN hints).

Two-minute check: open a summary report's metadata form in Studio with
the console in English. The data rows read Data Source, Metrics and
Group By (Group Columns By on a matrix report), matching the
joined-blocks grid, and the File Name hint under Period and export says
an empty prefix names the file after the report's label.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB)_

<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufziH9MVhWYLVCiw5eXB -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…e lane, computed in the query (objectstack-ai#36857)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBDHJBvzScLgkhKgms97sNuU)_

repo:objectstack#3 · os-support-ai · session_01WGufzhoBbwh8URjwQHde8v

Fixes objectstack-ai#36520

Clause-②: yes
Metadata-protocol: semantic
Skills-docs: follow-up objectstack-ai#36422 (skills/objectstack-ui/rules/list-views.md
teaches the board lane summary, now including avg / min / max)

## 维护者速读

-
看板用户在每列底部看到的合计,从「只算已加载的卡片」改为「整列全部记录」(由服务器统一计算),服务器答不了时不显示数字;新增平均值、最小值、最大值三种列底统计,看板设置里也能直接选,原来「已加载卡片」的字样不再出现。
- 属于看板视图设置专题,替用户解决「长列的合计只算了已加载部分、数字偏小」的问题。
- 出错时列底只是不显示数字,不会显示错误的数字;卡片、拖拽和列计数都不受影响,可以直接撤回。
- 无

## What changes

A stored `kanban.summary` of type `sum` now totals every record in the
lane (computed in the query) instead of the loaded cards; where the
board cannot ask the server, no figure is drawn.

- **One grouped aggregate per board, no fetch-then-add** (AGENTS.md
Prime Directive 5). `ObjectKanban` asks ONE aggregate over the board's
own query (its resolved filter and its host's search pair), grouped by
the lane field, with the statistic as the aggregation, through the
existing door `DataSource.queryGroupHeaders` (`POST
/data/:object/query`, routed to `engine.aggregate`; the door a grouped
list view's headers and a paged grid's footer already ride). New
package-private module `KanbanLaneStatistic.ts` compiles the read
(`compileLaneStatisticQuery`) and folds the answer into lanes
(`readLaneFigures`, `laneFigureOf`): lane keys use `laneKeyOf`, so
reference lanes key by foreign key exactly as the cards do; a group
whose key is no fixed lane, and the empty group, fold into
"Uncategorized" (sum adds, min/max compare, avg weighs each group by its
`COUNT(field)`); paged lanes match keys exactly (as each lane query
does), a board of one query matches without case (as `index.tsx` buckets
cards).
- **The foot draws the read's figure** (`KanbanImpl`
`LaneFootStatistic`). The 「loaded cards」 label and its `partial` path
are gone. A lane with no record shows 0 for a sum and nothing for
avg/min/max. A lane the board knows holds records (count above 0) that
the answer has no group for draws NO figure, not 0: the door can cut the
group rows under a deployment's default page size and
`queryGroupHeaders` drops its `hasMore` (round 2, L2 S3; the whole
answer is follow-up objectstack-ai#36870). No door, a refusal, or a filter that does
not lower draws no figure, never a loaded-card reduction. Cards a host
hands in still have their `sum` added on the board; avg/min/max draw
nothing over them. Known gap, stated in the spec text and changeset
(round 2, L2 S4): `ListView` hands a board whose lanes it cannot know
before the query (lookup lanes, grouping) its fetched page, so there
`sum` totals that page, unmarked; follow-up objectstack-ai#36871.
- **Permissions.** The board asks nothing for a field the reader may not
read (the existing `checkField` gate). Server side, unchanged and
measured: the aggregate runs under the read scope stamps and the RLS
`where` injection like `find`, and the FLS aggregate-input guard
(plugin-security authz middleware, step 2.5b) refuses an aggregate over
an unreadable field with `PermissionDeniedError`; the board draws no
figure on that refusal. No server code changed.
- **Spec** (`packages/spec/src/ui/view.zod.ts`):
`KanbanLaneSummarySchema` gains the `avg`, `min`, `max` arms (each
`field` required, strict); its docblock, `.describe()` and
`KanbanConfig.summary`'s text now say the figure covers every record of
the lane, computed in the query, and name the host-handed carve-out
above. Regenerated: reference docs, strictness ledger counts, and the
`variant-docs.json` key for the union.
- **Lint** (`kanbanSummaryRefusal`): judges `avg`/`min`/`max` by their
own aggregate × field-type rows like `sum`, less the boolean class read
from the spec's `BOOLEAN_VALUE_TYPES` instead of two inline literals.
`rule-explanations.ts` text matches. `ListView`'s `laneStatisticSums`
reads the same spec class. Stale "prints a sum of 0" test comment
corrected.
- **Picker** (`ViewSettingsPopover.tsx`, round 2, L2 S2): `summaryWord`
names `avg` / `min` / `max` (Average / Minimum / Maximum) and the
lane-summary page offers each over the same fields as `sum` (number
fields, booleans excluded through `BOOLEAN_VALUE_TYPES`); picking one
writes `{ type, field }`.
- **Locales** (`ui/packages/i18n/src/locales/*.ts`, all 11 packs): the
unreferenced `kanban.laneStatistic.loadedOnly` key is removed;
`list.optionsMenu.kanbanSummaryAvg` / `Min` / `Max` are added (en
Average / Minimum / Maximum, zh-Hans 平均值 / 最小值 / 最大值, each other pack in
its own wording).

<details><summary>Files changed in round 2 (head e3e1e77)</summary>

- `ui/packages/plugin-list/src/components/ViewSettingsPopover.tsx`,
`ui/packages/plugin-list/src/__tests__/ViewSettingsPopover.kanban-36370.test.tsx`
-
`ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts`
- `ui/packages/plugin-kanban/src/KanbanLaneStatistic.ts`,
`ui/packages/plugin-kanban/src/KanbanImpl.tsx`,
`ui/packages/plugin-kanban/src/ObjectKanban.laneStatistic-36370.test.tsx`
- `packages/spec/src/ui/view.zod.ts`,
`content/docs/references/ui/view.mdx` (regenerated)
- `.changeset/36520-kanban-lane-statistic-server.md`
(`Metadata-protocol: semantic`, `@object-ui/i18n` minor, the plain `sum`
sentence, the carve-out)
</details>

<details><summary>Round 3 (paper only, head 05955a5)</summary>

- `.changeset/36520-kanban-lane-statistic-server.md`: `Skills-docs:
follow-up objectstack-ai#36422 (…)`; the two known-gap follow-ups named, objectstack-ai#36870 (the
door's `hasMore`) and objectstack-ai#36871 (the list view's one-page lane sum). The PR
body names the same cards and objectstack-ai#36880 (picker date fields for `min` /
`max`). No code change.
</details>

## Tests

Round 1 lines measured at `fcd041c766`; round 2 lines at `e3e1e77a9f`.

<details><summary>Board pins (shared harness
`ObjectKanban.laneStatistic-36370.test.tsx`, new top-level
describes)</summary>

- 70-record lane on a paged board (50 loaded): foot reads the whole
lane's sum 2415, not the loaded 1225; Won 10, empty lane 0,
Uncategorized folds the null group and an off-lane group (4); exactly
one `queryGroupHeaders` call with `{ groupBy: ['stage'], aggregations:
[{ function: 'sum', field: 'amount', alias: 'sum_amount' }] }`.
- avg / min / max each pinned from the same read (34.5 / 0 / 69 on the
long lane; weighted fold 0.8 in Uncategorized; empty lane draws none).
- Board filter lowered into `where`, host search and fields carried as
`search` / `searchFields`.
- Board of one query past its row cap draws the read's figure.
- Unreadable field: no read asked, no figure. Server refusal (403): no
figure. Source without the door: no figure. Handed rows: sum adds them,
avg draws nothing and asks nothing.
- `readLaneFigures` units: reference keys, case folding, data-derived
lanes, a non-number value.
- `pnpm --dir ui exec vitest run
packages/plugin-kanban/src/ObjectKanban.laneStatistic-36370.test.tsx`
plus the five plugin-list kanban files: Test Files 6 passed, Tests 47
passed.
</details>

<details><summary>Round 2 pins and runs (e3e1e77)</summary>

- Cut answer: the read answers no group for Won (5 records): Won draws
no figure, Lost (empty) still draws 0, Open 2415.
- Picker: an authored avg view shows `Average · Amount` selected
(`aria-checked` true, sum false); all four labels offered and picking
min calls `onChange({ type: 'min', field: 'amount' })`; zh pack names
平均值 / 最小值 / 最大值.
- `pnpm --dir ui exec vitest run` over the popover file,
`packages/i18n/src/__tests__/` (key parity included) and the board file:
Test Files 110 passed, Tests 2038 passed, 13 skipped.
- Ablation of the new guard (`if (holdsRecords) return null;` deleted
via `ablation-replace.mjs`, anchor 1 to 0, blob 5b5b7b5 to
ef1b0d2d1112): 1 failed / 17 passed, the cut-answer pin; restored, blob
equals HEAD, `git diff HEAD` empty.
- plugin-kanban, plugin-list, i18n `type-check`: exit 0.
- `@objectstack/spec` build then `check:generated --fix`: 1 stale
(`content/docs/references/**`), regenerated, re-check green.
- 21 derived families touching round-2 files (changeset, docs, spec
checks incl. `check:authorable-surface`, `check:variant-docs`,
`check:liveness`, `check:api-surface`, `check:nul-bytes`,
`check:i18n-stale-fill`, ui `vitest scripts/`): all exit 0.
</details>

<details><summary>Ablation (one, on the tested behaviour)</summary>

Committed first; `node scripts/ablation-replace.mjs` replaced the foot's
figure read (`laneFigureOf(summary.figures, …)`) with the old
loaded-card reduction (`sumLaneField(cards, …)`): anchor 1 to 0, blob
46f245e to 47dcb7a8be5f. Result: 7 failed / 10 passed (the
whole-lane sum, avg, min, max, one-query, refusal and no-door pins went
red). Restored: blob equals HEAD, `git diff HEAD` empty.
</details>

<details><summary>Package suites and typechecks</summary>

- plugin-kanban full: Test Files 84 passed, Tests 562 passed (pre-merge
head 5bca69a plus test commit).
- plugin-kanban and plugin-list `type-check`: exit 0 both (re-run on
`fcd041c766`).
- `@objectstack/lint` full: Test Files 229 passed, Tests 9514 passed
(pre-merge).
- `@objectstack/spec` full: Test Files 977 passed, Tests 29691 passed, 1
todo (pre-merge `aca894a4f`).
- `pnpm --dir ui exec vitest run scripts/`: Test Files 172 passed, 2
skipped (re-run on `fcd041c766`).
- `pnpm --filter @objectstack/spec check:generated`: all 14 artifacts up
to date after `--fix` (re-run after merging main).
</details>

<details><summary>Derived gate families</summary>

`node scripts/pm/dispatch-gates.mjs --commands` (120 commands) run with
exit codes recorded; `--ran` reconciliation: 120 derived, 117 run, 3 NOT
MEASURED (exit 3, prerequisite: `check-plugin-teardown-shape
--self-test` needs an unshallow clone, `spec check:skill-examples` and
`check:dual-build-cjs-loads` need a full workspace build). Two first-run
reds were re-run: `check:variant-docs` was a real finding (the union's
ledger key), fixed in this PR, then exit 0; `ui vitest scripts/` was
OOM-killed under contention, then green. `check-platform-checklist
--changed-from origin/main`: OK. `check:nul-bytes`: OK. `ui
check:new-line-citations`: 0 new. CI runs the full farm.
</details>

## Acceptance notes

- Read first, by risk: `ui/packages/plugin-kanban/src/ObjectKanban.tsx`
(the read's gate, question key and refresh triggers),
`ui/packages/plugin-kanban/src/KanbanLaneStatistic.ts` (lane folding),
`ui/packages/plugin-kanban/src/KanbanImpl.tsx` (`LaneFootStatistic`).
- The filter is lowered with `@object-ui/core`'s
`composeDrillFilter(filter, undefined)`, the one exported seam that runs
the spec's `parseFilterAST`; plugin-kanban declares no direct
`@objectstack/spec` dependency and its `package.json` is outside this
card's file surface.
- No explicit `limit` is sent on the lane read. The door accepts one,
but the group rows are one per distinct lane value in the filtered set,
off-lane values included, so a limit equal to the lane count would cut
more often than the deployment's default page, and a limit above
`OS_DATA_MAX_PAGE_SIZE` is refused. A whole answer needs `hasMore` from
the door: follow-up objectstack-ai#36870.
- The picker offers `min` / `max` over number fields, as for `sum` (the
round-2 order); the aggregate table also admits date fields for those
two, which the picker does not offer yet: follow-up objectstack-ai#36880.
- overlap-check: one generated-docs conflict with objectstack-ai#36802 in
`content/docs/references/data/object.mdx`; whichever lands second
regenerates.
- A `sum` over a currency field in record mode was a mixed-currency
total; the engine refuses that aggregate, so the foot now draws no
figure there.
- The figure refreshes when the board re-reads (refresh, data
invalidation, a write); between a drag and that re-read it shows the
previous answer.
- `Metadata-protocol: semantic` (L2 S1, accepted by the seat): `added`
for the three new arms, `semantic` for `sum`'s changed meaning;
precedence gives `semantic`. Level stays minor, `Clause-②: yes`.

## Verification

Two-minute check: `pnpm --dir ui exec vitest run
packages/plugin-kanban/src/ObjectKanban.laneStatistic-36370.test.tsx`;
expect 18 passed, including "draws the whole lane's sum on a lane longer
than its page, from one grouped aggregate".

https://claude.ai/code/session_01WGufzhoBbwh8URjwQHde8v

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufzhoBbwh8URjwQHde8v -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…tstack-ai#36883)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBP9pYn3ZkhGT2R2hstwEY6w)_
Fixes objectstack-ai#36816
Clause-②: no
Metadata-protocol: none

repo:objectstack#3 · os-support-ai · session_01WGufzh1FMUQYf1PcEunaaK

## 维护者速读

-
在工作室打开仪表盘设置面板的搭建者,看到的九条字段提示(名称、显示名称、列数、间距、自动刷新、页眉、组件、日期范围、全局筛选)从开发术语改成了业务说法,英文、中文和其余八种语言同步更新。
- 属于"报表与仪表盘面板说业务话"这项体验工作,是已完成的报表面板改写的仪表盘姊妹篇,替用工作室搭仪表盘的业务管理员解决看不懂开发术语的问题。
- 只改了提示文字,不改任何可保存的设置;出错最多是某句提示读起来别扭,直接撤回即可。
- 无

## What changes

The dashboard authoring form (`packages/spec/src/ui/dashboard.form.ts`)
supplies the hints the Studio dashboard settings panel draws. The route
is the one the seat set for the report panel: English wording at the
producer first, no `en` overlay, and no rename of a section title whose
key is slugged from its label. Nine hints are rewritten in business
terms, with no CSS units, casing jargon or "config".

| Row | Before | After |
|:---|:---|:---|
| Name | snake_case unique identifier | A unique internal name for this
dashboard: lowercase letters, numbers and underscores, starting with a
letter (for example sales_overview). |
| Label | Display name | The title people see for this dashboard. |
| Columns | Grid columns (default 12) | How many columns the widgets are
laid out on, from 1 to 24. Leave it empty and the dashboard picks a
width that fits its widgets. |
| Gap | Space between widgets, in steps of 0.25rem (4 = 1rem) | How much
space to leave between widgets. Larger numbers spread them further
apart; leave it empty for the standard spacing. |
| Refresh Interval Seconds | Auto-refresh (seconds) | How often the
dashboard reloads its data, in seconds. Leave it empty or enter 0 to
turn automatic reloading off. |
| Header | Dashboard header config (title, subtitle, actions) | What
shows at the top of the dashboard: its title, its description and action
buttons. |
| Widgets | Dashboard widgets with position and sizing | The charts,
numbers and tables on this dashboard, and where each one sits. |
| Date Range | Default date range selector | The period the dashboard
opens with, and whether viewers may pick their own dates. |
| Global Filters | Filters applied to all widgets | Filters viewers can
use to narrow every widget at once, or only the widgets you choose. |

The Columns and Gap rows describe what the dashboard renderer really
does with an empty value. An unset `columns` is inferred from the
widgets' widths (4 or 12), not fixed at 12. An unset gap falls back to
the standard 4.

- **Translations.** `node scripts/check-i18n-bundles.mjs --write`
rewrote the `en` leaves and kept every translated value (merge mode).
The nine leaves were then re-translated by hand in all ten translated
locales: zh-CN, zh-Hant, ja-JP, ko, es-ES, fr, de, pt-BR, ru and ar.
This follows the repository's usual rule for changed source text (the
last source-hint change, 9742142, re-translated every locale too). No
`*.source-hashes.generated.ts` moved: these leaves had no provenance
entry.
- **Console zh-CN overlay**
(`ui/packages/app-shell/src/views/metadata-admin/metadata-form-i18n.ts`,
claim amendment 7124829549). The curated dashboard inspector renders
Chinese from this overlay, not from the platform bundle. Its nine
dashboard hints now carry the platform's new zh-CN wording; before, they
still read "snake_case 唯一标识" and "栅格列数(默认 12)". The comment over the gap
row is rewritten to match.
- **The console's "Tailwind units" control**
(`metadata-form-i18n.test.ts`) read the producer's English gap hint and
asserted it still held developer units, so that its zh leg would mean
something. It was built to go red once the spec spoke plainly. Its
English leg is now a fixed literal (the pre-rewrite hint). It then holds
both the producer's English and the zh overlay free of the vocabulary,
and a new case sweeps every dashboard hint in both languages. The
`columns` zh pin moved with its row.
- **Pin.**
`packages/spec/src/ui/dashboard-form-business-wording-36816.test.ts`
names the nine rewritten rows. Each must declare a hint free of
developer vocabulary, and a sweep holds every hint in the form to the
same rule. A control proves the vocabulary test fires on the old hints.
It pins the kind of text, not a sentence.

Unchanged on purpose: section titles and descriptions; field and
repeater-row labels (each row label must equal its schema `title`); the
three header-child hints, which already read as a builder would say
them; and the `DashboardSchema` `.describe()` prose, which is author
documentation outside the panel. The widget panel (studio
`engine.inspector.widget.*`) is out of scope. Left over (slugged section
keys): none — no section title was renamed.

**Contract review.** This PR moves non-test `packages/spec/src` text, so
it owes an **L2 contract review** before landing.

## Tests

<details><summary>spec, platform-objects and console readers: green at
5af304e</summary>

- spec: `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2
src/ui/ src/kernel/repeater-item-titles.test.ts
src/system/i18n-resolver.test.ts`: Test Files 191 passed (191), Tests
7185 passed (7185). The new pin alone, verbose: 11 passed (11).
- spec `typecheck` plus `check:generated`: exit 0, "All 14 generated
artifacts are up to date" (measured at 2969e9a; the merge of main
touched no spec file of this diff).
- platform-objects: Test Files 125 passed (125), Tests 2126 passed
(2126).
- ui, from `ui/`: metadata-form-i18n, dashboard-schema,
DashboardDefaultInspector*, p1-spec-alignment and
`packages/app-shell/src/preview`: Test Files 56 passed (56), Tests 447
passed (447). Before the console change, the old control failed as
predicted: 1 failed / 78 passed.
- Ablation of the spec pin through `scripts/ablation-replace.mjs`,
putting the old gap hint back (anchor x1 to x0): Tests 2 failed / 9
passed. Restored blob equals HEAD's.
- Ablation of the console sweep, putting "snake_case 唯一标识" back into the
overlay (anchor x1 to x0): Tests 1 failed / 22 passed. Restored blob
equals HEAD's.
- eslint on the two console files: exit 0. Every run above exited 0
under the verify lock, except the two ablation legs, which were meant to
fail.

</details>

## Acceptance notes

- `ui/packages/plugin-dashboard/src/DashboardRenderer.tsx:409` reads
`schema.gap || 4`. An authored gap of 0, which `DashboardSchema.gap`
allows (`.min(0)`), would therefore render as 4 (1rem). This is read
from the code, not measured through a public door. The new Gap hint
deliberately does not promise that 0 means no space.
- `DashboardSchema.columns` says "(default 12)", but the renderer infers
4 or 12 from the widgets' widths when columns is unset
(`DashboardRenderer.tsx:391-406`). The new Columns hint describes the
inferred behaviour; the describe prose is unchanged.
- The old developer phrasing remains in the `DashboardSchema`
`.describe()` prose (`dashboard.zod.ts` gap and header) and in its
mirror in `packages/cli/src/commands/explain.ts:293`. That is author
documentation, outside the panel and outside this card's surface.
- Open PRs objectstack-ai#36879, objectstack-ai#36872 and objectstack-ai#36802 regenerate the same platform
bundles. The files are `merge=os-regen`, so whichever lands second
regenerates; `overlap-check` reports a clean merge with all three today.

## Verification

First read, by risk:
`packages/platform-objects/src/apps/translations/*.metadata-forms.generated.ts`
(the ten hand-translated sets of nine leaves);
`ui/packages/app-shell/src/views/metadata-admin/metadata-form-i18n.test.ts`
(the reworked control and the new sweep);
`packages/spec/src/ui/dashboard.form.ts` (the nine hints).

Two-minute check: open a dashboard in Studio with the console in English
and open its settings. The Layout rows should read "How many columns the
widgets are laid out on…", "How much space to leave between widgets…"
and "How often the dashboard reloads its data…". Switch to Chinese and
the same rows read 组件排布所用的列数… / 组件之间留出的空间… / 仪表盘重新加载数据的频率(秒)….

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufzh1FMUQYf1PcEunaaK)_

<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufzh1FMUQYf1PcEunaaK -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…both doors (objectstack-ai#36926)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBDErTg6aA1Xze24mDcUfseY)_
Fixes objectstack-ai#36860

> **Held for the maintainer's own review.** This is part (b) of the
card's two-PR split. The whole card measured about 3,530 changed lines,
over the 3,000-line human-review line, so the maintainer ruled that
every part goes to their own review whatever its size: splitting must
not route around it. This PR stays a draft and out of the merge queue
until the maintainer has read it. Part (a), objectstack-ai#36881, merged on L1 + L2
before that ruling and is handed to the maintainer with this one.

This part closes the card: the other 26 types, their header translations
in all 11 bundles, the console's own declarations moved into the spec,
and the runtime dispatcher translating the types listing, which folds in
objectstack-ai#36886 (the dispatcher answered `/meta/types` in English).

Clause-②: yes (widening: `/meta/types` serves `list` on 26 more entries,
and the runtime dispatcher's listing is now translated)
Metadata-protocol: none

## 维护者速读

- 工作室里 27 类元数据(对象、字段、视图、页面、流程、报表、智能体等)的列表列改由平台规范统一声明,列头按界面语言显示(11
种语言都有译文);经运行时分发器访问的主机,类型列表也不再一律显示英文。
- 属于工作室元数据列表标准化(objectstack-ai#36860 的第二部分,第一部分是 objectstack-ai#36881):控制台、命令行和 AI 客户端读同一份列定义。
- 影响打开这些列表的管理员;列名和顺序有变化(例如页面列表去掉了不存在的 route 列)。出错时页面退回默认列,合并后可直接撤回。
- 需要你亲自审阅后再决定合并:这一卡总量超过 3,000 行,按你的要求分拆后的每一部分都交你审,本 PR 不进合并队列。

## What changes

- **Registry (`@objectstack/spec`).** `METADATA_LIST_REGISTRY` declares
27 types: the first batch (`hook`, `flow`, `job`, `api`, `action`,
`report`, `dataset`, `email_template`, `assignment_rule`,
`sharing_rule`, `queue`, `agent`, `tool`, `skill`, `doc`, `seed`,
`mapping`, `picklist`, `translation`) and the eight the console declared
itself (`object`, `field`, `view`, `page`, `dashboard`, `permission`,
`position`, `book`). Every column is a key the type's schema declares,
checked by the reconciliation test, whose roster now asserts all 27.
Keys the card proposed that no schema declares were dropped or
corrected, as reported in the card's thread.
- **Headers in every language (`@objectstack/platform-objects`).** The
52 headers no form field already labels get their own
`metadataForms.<type>.fields.<path>.label` leaf, regenerated with `node
scripts/check-i18n-bundles.mjs --write` and translated in all ten
non-English locales. No zh-CN, ja-JP or es-ES leaf echoes the English. A
column the form labels reads the form's words.
- **Both doors translate the listing (`@objectstack/rest`,
`@objectstack/runtime`), objectstack-ai#36886.** `translateMetaTypesListing`
(`meta-item-read-gate.ts`) is the one translation of the types listing:
type labels and descriptions, form labels, list headers and schema
titles. `RestServer`'s `GET /meta` now delegates to it, and the runtime
dispatcher's `GET /meta` and `GET /meta/types` call it with the
request's locale and answer through `successWithHeaders` with `Vary:
Accept-Language`, as `RestServer` and the rest of the meta domain do.
Before, the dispatcher served `getMetaTypes()` untranslated, so a zh-CN
reader of a dispatcher-served host got English for all of it.
- **Console (`@object-ui/app-shell`).** `builtinComponents.tsx` and
`anchors.ts` drop their `listColumns` and keep only what the schema
cannot say: a field row's server-stamped `object` (`listExtraColumns`),
a position's holder count and granted permission sets, a view's derived
display type and a book's audience (`listCells`), and a sharing rule's
`sharedWith` rendering plus its `_packageId`. `object` was registered
twice with disagreeing columns (the later won); both declarations are
gone, so the spec's is the only one. A page's former `route` column
named no `PageSchema` key and is dropped.
- **Changelog for what admins see (`@object-ui/app-shell`).** The
changeset names the private console package, which
`.changeset/config.json` versions (`privatePackages.version: true`), and
says what changes on screen: no fixed column widths on the moved lists
(except the view list's display type and the book list's audience), the
Fields list reads name, type, label, then object, the sharing-rule
header reads "Access Level", and the Pages list shows type and
description in place of the dropped route column.
- **Summary cells read an expression's source
(`@object-ui/app-shell`).** The `summary` renderer joined only an
object's scalar members, so a cron schedule, whose `expression` is
served as the `{ dialect, source }` envelope, read `cron · UTC`. An
expression envelope member now contributes its `source`, so a cron job
reads `cron · <expression> · UTC` (the showcase job: `cron · 0 1 * * * ·
UTC`). Any other object member stays out, as before.
- **Echo ledgers (`@objectstack/platform-objects` tests).** The
bare-type ledger reads a type as bare when its catalog entry has no form
`sections`, since a type with no form now carries `fields` for its
column headers; the metadata-form catalog count grows by the 52 header
rows (771 → 823).
- **Docs.** `content/docs/protocol/kernel/i18n-standard.mdx` adds the
list columns row (`resolveMetadataListLabels`), the slot paragraph, and
says all three resolvers run in `GET /meta` on both doors.

## Tests

- `packages/spec/src/system/metadata-list-zod-reconciliation.test.ts`:
the roster assertion grows from `['hook']` to the 27 types (111 passed).
- `packages/lint/src/i18n-walk.metadata-list-columns.test.ts` (new, the
L2 N2 pin on objectstack-ai#36881): a column on a type with no form gets its own slot
entry seeded with the header (`job.schedule` → `Schedule`), a dotted
path the form leaves out gets one (`agent` `model.model` → `Model`), a
column the form labels keeps exactly one entry, the form's
(`hook.events`), and every registry column has exactly one entry (4
passed).
-
`packages/runtime/src/domains/meta-types-translation-parity-36886.test.ts`
(new): both dispatcher doors answer zh-CN with the same label, form
label and headers as `RestServer` (`{ label: '钩子', form: '事件', headers:
['名称', '事件'] }`), and both carry `Vary: Accept-Language`, as
`RestServer` does. Controls: an en request, and a host with no i18n
service, answer as declared. Ablations: putting back
`deps.success(result)` reds the zh-CN case (1 failed, 2 passed);
answering the translated body without the header reds the Vary case (1
failed, 3 passed).
- `ui/.../ResourceListPage.servedListColumns-36860.test.tsx`: mounts
each moved list under setup (`?scope=environment`) and checks the served
headers, plus the view list keeping its derived display type through its
console cell override.

## Screenshots (card acceptance, zh-CN)

Taken on a booted `examples/app-showcase`: hooks and flows built from
`9ce7a6d0` (the commits after it until `f2edd9de` change only the
changeset and tests), the Jobs list re-taken on `f2edd9de`, console at
`/apps/setup/metadata/<type>?scope=environment`, browser locale zh-CN.
Stored in the project's shared files under
`objectstack-seat3-ux/36860-shots/`:

- `hook-list-zh.png`: 钩子 (8). Headers 名称 · 显示名称 · 对象 · 事件 · 优先级 · 异步 ·
描述 · 来源. Events read as a list (`beforeInsert, beforeUpdate`), async as
✓ / ×.
- `flow-list-zh.png`: 流程 (33). Headers 名称 · 显示名称 · 类型 · 描述 · 来源. Type
reads as a badge (`autolaunched`, `record_change`, `schedule`,
`screen`).
- `job-list-zh.png`: 后台任务 (1). Headers 名称 · 显示名称 · 调度计划 · 已启用 · 描述 · 来源.
The schedule reads `cron · 0 1 * * * · UTC` (it read `cron · UTC` before
`f2edd9de`, L1 S4), enabled ✓.

Every `GET /api/v1/meta` the console made answered 200 with `Vary:
Accept-Language`. Item labels and descriptions stay in English: they are
the example app's own text, which has no zh translation.

## Acceptance notes

- L2 nits on objectstack-ai#36881 carried here: N1 (headers marked localized while the
dispatcher served them untranslated) is closed by the objectstack-ai#36886 fold; N2
pin added (above); N3 (`listInclude` prose true only after the position
move) is now true; the reconciliation roster grows.
`@object-ui/app-shell` was first left out of the changeset on that
review's advice, and is back in on this PR's L1 (S3), because
`.changeset/config.json` versions private packages. N7 (the
reconciliation test copies `humanizeFieldPath`) is unchanged.
- objectstack-ai#36887 (`GetMetaTypesResponseSchema` declares neither `schema` nor
`form`) is not in this PR; it follows as its own small PR.
- objectstack-ai#36886 is folded in without a closing keyword; it is closed by hand
when this lands.
- `report`'s `dataset` header reads `Data Source`, the report form's
label on current `main`.
- Overlap: `node scripts/pm/overlap-check.mjs` against `main` and the
two open PRs sharing files: objectstack-ai#36869 (`rest-server.ts`) merges cleanly;
objectstack-ai#36802 conflicts in `object-lifecycle-panel-echo-decisions.test.ts`,
where both PRs move the catalog count and add a receipt line. Whichever
lands second resolves it to the sum of both receipts.

## Verification

Read first, by risk:
1. `packages/runtime/src/domains/meta.ts`: the two `getMetaTypes` sites
now translated, and the locale they read.
2. `packages/rest/src/meta-item-read-gate.ts` with `rest-server.ts`:
`translateMetaTypesListing` must answer exactly what
`translateMetaTypesResponse` answered before.
3. `ui/packages/app-shell/src/services/builtinComponents.tsx` and
`anchors.ts`: what the console keeps after the move.
4. Spot-read a bundle, e.g. `zh-CN.metadata-forms.generated.ts`, for the
52 new leaves.

Two-minute check: `pnpm --filter @objectstack/runtime exec vitest run
src/domains/meta-types-translation-parity-36886.test.ts`. Expect 4
passed.

<details><summary>Gates on 2fe89a7 (first round; the rework commits
9ce7a6d, 137ae10, 06064a1 and f2edd9d re-ran the gates they touch,
listed last)</summary>

- `node scripts/pm/dispatch-gates.mjs --ran`: 125 derived, 125 run, 0
NOT-MEASURED, all exit 0. Fixed in this PR along the way:
`check:test-source-alias` (module-top imports in the new tests),
`check:spec-parsed-alias` (`MetadataListCellTypeParsed`) and
`check:engine-double-contract` (ledger rewritten with `--write`). Three
gates first exited 3 on prerequisites and were re-run green after
fetching the plugin-teardown fixture commit and building the packages
that had no dist.
- `check-governed-merges --branch HEAD`: not governed, 2,834 changed
lines (+2,591 / −243), 2,220 of them the 11 generated bundles.
- `tsc --noEmit` is clean for `@objectstack/rest` and
`@objectstack/runtime`. `@object-ui/app-shell` type-check was not
measured locally (the ui workspace deps have no dist); CI's type-check
lane is the verdict.
- Tests: runtime `domains/meta` 2,756 passed; rest meta 2,263; app-shell
`metadata-admin` 222; spec reconciliation 111; lint pin 4; rest list
headers + schema titles 6.
- Rework round 2: `servedListColumns.test.tsx` +
`ResourceListPage.servedListColumns-36860.test.tsx` 17 passed, with a
new case for a served cron envelope and a control for an object member
with no `source`; ablation (back to scalar members only) reds it (1
failed, 10 passed). ESLint clean on both files.
- Rework round: runtime parity test 4 passed; platform-objects
`bare-type-display-echo-decisions` +
`object-lifecycle-panel-echo-decisions` 73 passed (the two files CI's
Test Core (6/10) failed on 99dc6d0); `check-changeset-fixed`,
`check-empty-changeset` and `check-changeset-no-major` (with this body)
exit 0.
</details>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01WGufzg7mFFG5b13DcQ93kf

<!-- signed: repo:objectstack#3 · os-support-ai ·
session_01WGufzg7mFFG5b13DcQ93kf -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…d groups, not inlineEdit: true (objectstack-ai#37135)

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes objectstack-ai#37127
Clause-②: no
Metadata-protocol: none

## 维护者速读
- 用户无感:只改场景卡评分器;主从子表「在主记录表单内联编辑」这一项,改为只看主对象的字段分组是否放置了子表。
- 为什么做:主从子表的内联由主对象字段分组决定(「一律只看分组」),评分器却仍按已退役的布尔开关给分,按正规方式内联的构建反被判不合格。
- 出错会怎样:只影响场景评测分数,不影响任何运行中的应用;可直接回退本次改动。
- 要你做什么:无。

## What changes

`records-forms.master-detail-inline-edit`
(`packages/qa/scenarios/src/score/scenario-tags.ts`) credits a
master-detail child as edited inline ONLY when a field group of its
MASTER (the FK's `reference`) names it in `fieldGroups[].relatedList`
(by child object name or `object.field`) and the FK is one a group may
place. This is the runtime's own test, with the same two spec
predicates: objectui `attachInlineSubforms`
(`ui/packages/app-shell/src/providers/MetadataProvider.tsx`, lines
773-774) inlines a child only when `isGroupPlaceableRelationship(fk) &&
fieldGroupsPlaceRelationship(groupsOf(fk.reference), child, fk)`
(`packages/spec/src/data/related-list-body-table.ts`, lines 80 and 110).
`inlineEdit` takes no part. The `asserts` sentence and
`packages/qa/scenarios/README.md` (the tag table) say the same.

## Deviation from the card

The card asks to credit a child also "when `inlineEdit` is `'grid'` /
`'form'`". This PR does not. It follows the maintainer's field-group
ruling on objectstack-ai#35889 (record 7046311205, 「一律只看分组」), which outranks the
card's wording: the runtime inlines nothing without a placing field
group (MetadataProvider.tsx L773-775; `inlineEdit` only feeds
`resolveInlineMode`, the form factor). A scorer that credited it would
pass a build that inlines nothing. Decided by the PM (zone a4-A).

## Tests

`packages/qa/scenarios/test/score/scenario-tags.test.ts`:

- The rich fixture inlines the tasks the supported way: a `project`
field group naming `task`, no `inlineEdit` on the FK.
- The degradation table pins two failing shapes: no placing group, and a
lone retired `inlineEdit: true`.
- A `describe` pins: field-group placement credits, by child name and by
`object.field`; a group on the CHILD, or a group naming an FK with
`relatedList: true`, does not credit; `inlineEdit: true` alone does not
credit; `'grid'` and `'form'` with no placing group do not credit; a
placed child credits under either form factor.

## Acceptance notes

- **Serial: lands after objectstack-ai#36802** (merged at 22:27Z; `main` merged into
this branch since). Its `corpus.ts` places the golden corpus control
cards' children (`invoice_with_line_items`, `project_with_tasks`) with
field groups; before it, those two `scenario-cards.test.ts` pins read
red under the corrected tag. Measured green with objectstack-ai#36802's `corpus.ts` in
place at head `2c1f1e68fa`: 137/137 across `scenario-cards.test.ts` and
`scenario-tags.test.ts`. The CI run on the merged head is the verdict.

## Verification

Two-minute check: `pnpm --filter @objectstack/scenarios exec vitest run
--maxWorkers=2 test/score/` should pass, including the `master-detail
inline edit` describe and both control cards.

Files to read first:

1. `packages/qa/scenarios/src/score/scenario-tags.ts`, the tag's `run`.
The risk is the master lookup: `rawObject(f, field.reference)` is
matched by normalised name.
2. `packages/qa/scenarios/test/score/scenario-tags.test.ts`, the rich
fixture edit in `richArtifact`. Every other tag scores this fixture.

Readings: the dev reports on objectstack-ai#37127 (round 1 and fix round 7146536492).

---
🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…elationship (objectstack-ai#37170)

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Fixes objectstack-ai#37042

Clause-②: no
Metadata-protocol: none

## 维护者速读

- 用户能看到什么变化:用户无感;读「数据建模」和「界面」技能的 AI 助手不再写已被拒收的 `inlineEdit:
true`,主从明细的录入方式只写 `'grid'` / `'form'`,或者不写(按明细的字段自动选)。
- 为什么做:PR objectstack-ai#36802 已退役布尔写法(解析时拒收),技能文字还在教它;这张卡必须在带上 objectstack-ai#36802
的那次发版之前合并,否则发出去的技能会教 AI 写出被拒收的元数据。
- 出错会怎样:只改说明文字和一条测评,撤回这一个合并即可。
- 要你做什么:无。Tier S(低风险 skills 档,契约审核 7149350343 判 `Security-touching:
no`),本区在 CI 全绿后落地。

## What changes

Opened by the seat on the maintainer's authorization in seat
repo:objectstack#4's session (「objectstack-ai#37093:开 PR 放行。你应该使用 pm-dispatch
技能审核和落地pr,该放行的都放行」; 「objectstack-ai#37042:放行」); the developer's own `pr_create` in
zone a4-A's session was refused by a permission check. Branch
`claude/issue-37042-skills-inline-edit-boolean` @ `bc01139be8`,
implemented by zone a4-A's dispatch.

- `skills/objectstack-data/rules/relationships.md`, "Inline-edit form
factor": the `inlineEdit: true // auto (default)` line is removed; the
smart default is described as what an omitted key gets, noting that a
boolean is refused.
- `skills/objectstack-data/evals/objects-fields-relationships.json` case
25: the expected answer no longer offers `true`.
- `skills/objectstack-ui/rules/list-views.md`, Master-Detail Forms: the
pointer to that section no longer lists `true` beside `'grid'` and
`'form'` (added in the fix round for contract-review finding M1).
- One `@objectstack/skills` patch changeset naming both skills.

Since PR objectstack-ai#36802 merged, the spec parse refuses `true` / `false` on a
relationship field's `inlineEdit`; only `'grid'` and `'form'` are
accepted, and an omitted key picks the form factor from the child's
shape. Release-coupled: this lands before the release that ships objectstack-ai#36802.

Token readings: `relationships.md` 4199 → 4192 (ceiling 4203);
`list-views.md` 4444 → 4442 (ceiling 4448); no ceiling moved, the
ratchet script is not in the diff. Merges cleanly with the open PR
objectstack-ai#36158. A sweep of every `inlineEdit` under `skills/**` finds no other
relationship-field boolean; `objectstack-ui/references/react-blocks.md`
line 76 is the view-level key, untouched.

## Review history

- Contract review 7149242271 at `1787e54e67`: FAIL on M1 (the
`list-views.md` pointer still listed `true`).
- Fix round at `bc01139be8`; delta review 7149350343: PASS, `M1:
closed`, `Security-touching: no`.

## Tests

No package source changes. The contract review and L1 read the gate
check-runs on this head.

---
🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr

---------

Co-authored-by: Claude <noreply@anthropic.com>
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue protocol:data protocol:system size/l 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.

Retire inlineEdit: true on master-detail relationships: after #35889 a parent field group decides, so the key means the same as absent

3 participants