Skip to content

feat(studio): the field inspector, field designer and object settings write Field change values (#36290 part 1) - #36641

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/project-thread-qldp6w
Nov 23, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/project-thread-qldp6w

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Part of #36290

Clause-②: yes (widening)
Metadata-protocol: none

维护者速读

  • 管理员在 Studio 的字段设置和字段设计器里,原来的「记录历史」开关换成「字段修改值」三选一(默认 / 开 / 关),对象设置的「功能开关」里新增「字段修改值」;普通用户无感。
  • 属于记录页「字段修改前后值」专题,落实「默认显示、对象或单个字段可关」的裁决:以前 Studio 写的是不再起作用的旧开关,管理员在界面上关不掉前后值。
  • 若出错,管理员可能看到「默认」标成开而动态里实际不显示前后值(或相反),或关掉后回不到默认;改动只在设置界面,可直接撤回。
  • 要你做的:无。

What changes

Card #36290 part ① (PR 3 of 4; ruling 7076513167 point 1: "Old → new is shown by default on every object's record page; an object, or a single field, can turn it off."). PR 1 (#36399) gave the runtime fieldHistory (field) and enable.fieldHistory (object); #36580 gave the metadata form a three-way field-history widget. The Studio's own producers still wrote the old key. This PR moves all three named in the release comment.

Field inspector (ObjectFieldInspector.tsx, Advanced section)

  • The "Track history" box (value={!!def.trackHistory}, patchDef({ trackHistory: v || undefined })) is gone. Measured reason: since PR 1 a field's trackHistory: false reads like absent and true does only what fieldHistory: true does for a media or JSON type (spec describe of FieldSchema.trackHistory), so a second box beside Field change values could only mislead. A stored trackHistory is never written or removed here; it is still read, because resolveFieldHistory reads it.
  • New row "Field change values": Default / On / Off over the field's fieldHistory. Default removes the key (unsetDefKey, not a patch to undefined); On / Off write true / false.
  • Default names what it resolves to through resolveFieldHistory from @objectstack/spec/data, the predicate the activity writer uses. Unlike the form widget, this rail holds the object document, so it passes the object: an object with enable.fieldHistory: false makes every field's Default read "Default (Off)", and a note under the row says the object's off wins.
  • The row sits inside the existing DisplayPatchLock, so on a read-only base field it is locked with the same reason as its neighbours (fieldHistory is not on BASE_FIELD_DISPLAY_WHITELIST).

Object settings (ObjectSettingsPanel.tsx, Features card)

  • New row "Field change values" (enable.fieldHistory), next to "Field change history" (enable.trackHistory). Ticked unless the stored value is a literal false. Unticking writes false; ticking again REMOVES the key (unset already means on, so no true the author did not need). Sibling enable keys are kept, as for every other row.
  • The Field change history description no longer says "pair with per-field history tracking to pick which field diffs are summarized" (no longer true); it points to Field change values.

Field designer (plugin-designer FieldDesigner.tsx, the drawer behind MetadataFieldsPage and the field-designer SDUI type)

  • The Advanced section's Track History switch wrote trackHistory: data.trackHistory === true on every save, create and edit. It is replaced by Field Change Values with the same three choices. The update path no longer names trackHistory: a stored value rides the ...editingField spread, and a created field carries neither key at Default.
  • Default's label depends on the type, which the author can change in the same drawer, and a drawer select's options are static. So the choice is drawn as two rows under form-local names, one per resolved default, each shown by a visibleWhen built from resolveFieldHistory over DESIGNER_FIELD_TYPES (with the field's stored trackHistory). The save reads the row shown for the saved type, which is the one on screen at the click. Neither form-local name reaches the model.
  • DesignerFieldDefinition (@object-ui/types) and its zod mirror gain an optional fieldHistory. Both save paths carry it: MetadataFieldsPage (toDesignerField / fromDesignerField) and MetadataService.toFieldPayload. Default writes fieldHistory: undefined, which overrides the carried value and is dropped on the wire, so a stored key is removed. That is the converters' existing clear-by-absence rule.
  • It cannot import fieldHistoryChoice.ts, because app-shell depends on plugin-designer. What it shares is the rule (resolveFieldHistory from @objectstack/spec/data). Its own copy of the choice-to-value mapping is two lines. Its strings are the language-pack keys appDesigner.fieldDesigner.fieldHistory, fieldHistoryDefault, fieldHistoryOn and fieldHistoryOff, in all 11 locales and the designer's defaults table. They replace appDesigner.fieldDesigner.trackHistory.

Shared logic (metadata-admin/fieldHistoryChoice.ts, new): the three choices, the value each writes and their wording, used by both the inspector row and the #36580 field-history widget (refactored onto it; its behaviour and its 10 pins unchanged). The controls stay separate on purpose: the widget is a WidgetProps renderer that sees one form row and no object; the inspector row is an InspectorSelectField with the inspector's label and lock semantics and the whole object in hand.

Strings (studio namespace, en + zh; the other locales fall back to en by that namespace's design): designer.field.fieldHistory, designer.field.fieldHistoryObjectOff, engine.studio.settings.capFieldHistory, engine.studio.settings.capFieldHistoryDesc; engine.studio.settings.capTrackHistoryDesc reworded; designer.field.trackHistory removed with its box.

Not in this PR: record-page rows (part ②, landed as #36613), the per-field history card (part ③).

Tests

  • New ObjectFieldInspector.fieldHistory-36290.test.tsx (7): Default (On) for a one-line type; Default (Off) for image / json / password and Default (On) once trackHistory: true; Off writes false, On writes true; Default after Off removes the key; no Track history box, no trackHistory written, a stored one kept; the object's off makes Default (Off) and shows the note; control: no note otherwise.
  • New describe in ObjectSettingsPanel.test.tsx (4): checked for unset and true, unchecked only for false; untick writes false with siblings kept; re-tick removes the key with siblings kept; labelled by its own title.
  • New FieldDesigner.fieldHistory-36290.test.tsx (9), on the real FieldDesigner with a drawer double that captures its schema and calls its own onSuccess. The cases: two rows and no Track History row, with the labels; for every designer type exactly one row's visibleWhen evaluates true (through evalFieldPredicate, the form's own evaluator), and it is the one resolveFieldHistory names; a stored trackHistory: true moves a media type to the Default (On) row; an untouched edit writes neither key; Off writes false, On on a media type writes true; a stored false opens as Off and Default removes it; a stored trackHistory is kept; a type changed in the drawer saves what is on screen; a created field at Default carries neither key.
  • New MetadataFieldsPage.fieldHistory-36290.test.tsx (4), on PUT bytes through the real page and a real MetadataClient. A stored fieldHistory: false survives and no trackHistory is written; a stored trackHistory: true survives and gains no fieldHistory; a field with neither key gains neither; every PUT field parses through FieldSchema.
  • Extended: MetadataService.fieldKeyCarryOver.test.ts adds fieldHistory to its populated entry and its clearable keys; designer-zod-arms-10859.test.ts adds fieldHistory to the fully populated field-designer document.
  • Forced test changes: ObjectFieldInspector.displayPatchReason-28986.test.tsx names the Field change values combobox instead of the removed Track history checkbox among the locked controls; ObjectSettingsPanel.businessWording-36512.test.tsx lists enable.fieldHistory among the keys the tab writes. ObjectFieldInspector.externalIdNotOffered-26674.test.tsx and ObjectFieldInspector.retiredIndexed.test.tsx listed Track history among the Advanced siblings that still render; they name Field change values, and (being edited) now pay the formula and lint loads at module top, as check:test-source-alias requires. FieldDesigner.externalIdNotOffered-26674.test.tsx and MetadataFieldsPage.externalIdRoundTrip-26674.test.tsx used the Track History row as their positive control; they now use the Field Change Values row.

Acceptance notes

  • The field designer's Default label follows the drawer's type and the object is not in hand, so an object with enable.fieldHistory: false is not reflected there, the same accepted bound as feat(studio): the Field History setting offers Default, On and Off, and Default says what it resolves to #36580's widget. Neither FieldDesigner nor MetadataFieldsPage is mounted by the Console today; both are published exports, and field-designer is a registered SDUI type.
  • A stored field trackHistory: true on a media or JSON type makes Default read "Default (On)"; such a field can still be turned off with Off, but not returned to the type's off-by-default without editing the key in the form. That is the resolver's answer, not a UI choice.
  • ui/AGENTS.md ✨ Set up Copilot instructions #2 (package README and content/docs/frontend/ page) not edited: outside this part's file surface.
  • Screenshots NOT MEASURED (no Console build or backend run here).

Verification

Read first, by risk:

  1. ui/packages/plugin-designer/src/FieldDesigner.tsx: the fieldHistoryRows memo (two rows, visibleWhen built from resolveFieldHistory) and fieldHistoryFromForm, which picks the row for the SAVED type on both save paths.
  2. ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.tsx: patchEnable with unsetWhenOn (re-ticking removes enable.fieldHistory, keeps siblings).
  3. ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx: the Field change values row and the object-off note inside DisplayPatchLock.

Two-minute check: open Studio, an object, Settings, Features: "Field change values" is ticked. Untick, save, and reopen the object JSON: it shows enable.fieldHistory: false. Tick again: the key is gone. Then open a field's Advanced section: "Field change values" reads "Default (Off)" with the note under it.

Runs (local, head 3b5b130 after merging origin/main 9e2a4ac)

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmPq6z7KER4Sr6Uu7Ht

…nge values (#36290 part 1)

The field inspector's Track history box becomes a Field change values
choice (Default / On / Off over the field's fieldHistory, Default resolved
by resolveFieldHistory against the object in hand); the object settings'
Features card gains an enable.fieldHistory switch that writes false to turn
values off and removes the key to turn them back on. The choice, the value
each choice writes and its wording move to fieldHistoryChoice.ts, shared
with the metadata form's field-history widget.

Claude-Session: https://claude.ai/code/session_01ADHkmPq6z7KER4Sr6Uu7Ht
Co-authored-by: Claude <noreply@anthropic.com>
…t Track history (#36290)

The Advanced row's Track history box became the Field change values choice;
the External ID and Indexed retirement pins listed it among the siblings
that still render. Both files now pay the formula and lint loads at
collection (check:test-source-alias judges a file a change edits).

Claude-Session: https://claude.ai/code/session_01ADHkmPq6z7KER4Sr6Uu7Ht
Co-authored-by: Claude <noreply@anthropic.com>
…k History (#36290 part 1)

The FieldDesigner drawer's Track History switch wrote trackHistory: false on
every save. It becomes Field Change Values (Default / On / Off over the
field's fieldHistory), drawn as two rows shown by visibleWhen for the types
whose Default resolves on or off (resolveFieldHistory), so Default names the
right state after a type change; the save reads the row shown for the saved
type. A stored trackHistory rides the edit spread and is never written.
DesignerFieldDefinition and its zod mirror gain fieldHistory; MetadataFieldsPage
and MetadataService.toFieldPayload carry it. The eleven language packs swap
appDesigner.fieldDesigner.trackHistory for the four fieldHistory keys.

Claude-Session: https://claude.ai/code/session_01ADHkmPq6z7KER4Sr6Uu7Ht
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 23, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmPq6z7KER4Sr6Uu7Ht

Contract-review-claim: session_01ADHkmPq6z7KER4Sr6Uu7Ht · head 3b5b130 · 2026-11-23T06:46Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmPq6z7KER4Sr6Uu7Ht

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 3b5b130c032826c165b7cfe6796bc7c4a09eff23
Local-runs: none

Face: declaration only (Clause-②: yes (widening)). record-recognisers.mjs --paths on the 36-file list decides no schema, rules or narrowing face; check-governed-merges.mjs --pr 36641: NOT governed (0 of 36 paths hit the register). No packages/spec/src/** change.

① Derived judgments

  • @object-ui/types: DesignerFieldDefinition and its zod mirror DesignerFieldDefinitionSchema (a z.looseObject) gain an optional fieldHistory: boolean. Added only; existing values still parse. A widening of a UI model that mirrors the spec's FieldSchema.fieldHistory (spec key unchanged, merged in PR 1 feat(audit): the activity stream shows each changed field's old → new values by default, served only for fields the reader may read #36399).
  • @object-ui/i18n language pack: appDesigner.fieldDesigner.fieldHistory, fieldHistoryDefault, fieldHistoryOn, fieldHistoryOff added in all 11 locales (4 each, counted at the head); appDesigner.fieldDesigner.trackHistory removed in all 11 (0 left, and no reader left in ui/**). Studio namespace (en, zh): designer.field.fieldHistory, designer.field.fieldHistoryObjectOff, engine.studio.settings.capFieldHistory, capFieldHistoryDesc added; designer.field.trackHistory removed; capTrackHistoryDesc reworded.
  • @object-ui/app-shell: FieldMetadataPayload.fieldHistory? added; new module metadata-admin/fieldHistoryChoice.ts is internal (not on the package entry). @object-ui/plugin-designer: no exported signature changes.
  • Authored metadata accept set: unchanged (the spec's fieldHistory already accepts the values these producers write). Metadata-protocol: none is right.

② Semver level

Clause-②: yes (widening)

.changeset/36290-field-history-producers.md: patch on @object-ui/app-shell, @object-ui/i18n, @object-ui/types, @object-ui/plugin-designer, the four published packages whose shipped code moves. A non-protocol change ships patch under AGENTS.md's changeset rule. Both declaration lines are line-initial in the PR body and the changeset and agree; Check Changeset is success at this head.

③ Boundary flags

  • Removed language-pack keys (appDesigner.fieldDesigner.trackHistory, Studio designer.field.trackHistory): a removal from a published pack, not a narrowing of an accept set. The label they named is gone with its control, and the repo's dead-key gate (check:i18n-dead-keys, exit 0 at this head) refuses an unused key, so keeping them is not an option. A consumer calling t() with the old key gets the fallback text. Judged acceptable at patch; named here so the release reader sees it.
  • Ruling 7076513167 point 1 (on by default, an object or a single field turns it off): Default writes no key (inspector unsetDefKey, designer undefined, settings removes enable.fieldHistory), Off writes false, On writes true; nothing writes trackHistory, a stored one is carried. Matches the writer's literal-only reads.
  • Dev out_of_scope_findings: (a) the designer drawer cannot see the object's enable.fieldHistory, so its Default label ignores an object-level off: the same bound feat(studio): the Field History setting offers Default, On and Off, and Default says what it resolves to #36580's widget carries, recorded in its L2 PASS 7088846404 as an accepted deviation; (b) a stored trackHistory: true on a media/JSON type makes Default read On: the resolver's answer, not a producer bug. Both in Acceptance notes; no card owed.
  • SQL push-down: no query, no id materialisation, no in-app join.

Implemented-by: claude/project-thread-qldp6w
Reviewed-by: session_01ADHkmPq6z7KER4Sr6Uu7Ht

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmPq6z7KER4Sr6Uu7Ht
L1 · 2026-11-23T06:48Z · PR #36641 @ 3b5b130 · card #36290 (part ①, PR 3 of 4) · card thread, area s2-A

席位核对

ACCEPT — one card part, one PR, not governed (check-governed-merges.mjs: NOT governed, 0 of 36 paths), +838/-59 over 36 files, Clause-② yes (widening; TIER_DEFAULT record 7093689363 PASS at this head), Metadata-protocol none.

  1. Shape. Part of #36290; no closing keyword on any card (l1-face.mjs and by eye). Files: app-shell (ObjectFieldInspector.tsx, ObjectSettingsPanel.tsx, widgets.tsx, new fieldHistoryChoice.ts, MetadataService.ts), plugin-designer (FieldDesigner.tsx, MetadataFieldsPage.tsx, useDesignerTranslation.ts), types (designer.ts, zod/designer.zod.ts), 11 locale files, studio en/zh, tests, one changeset. All inside claim 7089195922 as amended by 7092430394 (types and MetadataService added for the designer's model).
  2. Premise measured. At origin/main the inspector drew Track history over !!def.trackHistory, the settings card had no enable.fieldHistory row, and FieldDesigner wrote trackHistory: data.trackHistory === true on every save (release item 1, 7082230799).
  3. Code read. Inspector: a Default / On / Off select over fieldHistory; Default calls unsetDefKey('fieldHistory'), its label from resolveFieldHistory with the object document (so an object-level off reads Default (Off) plus a note). Settings: unticking writes enable.fieldHistory: false, ticking removes the key with siblings kept. Designer: two form-local select rows switched by visibleWhen on the type's resolved default; the save reads the visible row and writes fieldHistory (Default sends undefined, removing a stored key); trackHistory is carried by the edit spread, never written. MetadataFieldsPage (both directions) and MetadataService.toFieldPayload carry the key. fieldHistoryChoice.ts is shared by the inspector and feat(studio): the Field History setting offers Default, On and Off, and Default says what it resolves to #36580's widget (whose pins stay green); plugin-designer cannot import app-shell (dependency direction), so it shares resolveFieldHistory from @objectstack/spec/data instead.
  4. Tests and gates. New pins: inspector 7, settings 4, designer 9, MetadataFieldsPage 4 (PUT bytes through the real page plus FieldSchema parse); extended fieldKeyCarryOver and designer-zod-arms-10859; forced sibling pins named in the body. Post-merge union under the verify lock: Test Files 851 passed, Tests 16838 passed. Ablations red then restored (inspector 2/7, settings 1/14, designer 7/13). dispatch-gates 42/42 exit 0, 0 NOT-MEASURED (/mnt/project-files/objectstack-seat2/36290-p1-gates-ran.txt). Check-runs at this head: 45 success, 13 expected skip, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check success; mergeable_state clean.
  5. Changeset read sentence by sentence against the diff: inspector, designer and settings bullets, the Default/On/Off writes, the carried trackHistory, the shared module and why the designer cannot use it, and the added/removed key list all match the code and the locale counts.
  6. Accepted deviations. (a) The branch name is the thread's (claude/project-thread-qldp6w, recreated after feat(record-page): each changed field is its own line under an activity entry, old → new #36613's merge deleted it; no force). (b) The full union ran at ffa608de; 3b5b130c only types one test double, re-run 9/9 with plugin-designer type-check exit 0. (c) Screenshots NOT MEASURED; package README / frontend docs page not edited (outside surface), both named in Acceptance notes. (d) Language-pack keys appDesigner.fieldDesigner.trackHistory and Studio designer.field.trackHistory removed with their control (dead-key gate), judged in the TIER_DEFAULT record.
  7. Out of scope. The designer's Default label ignoring an object-level off, and a stored trackHistory: true making a media/JSON Default read On: bounds already accepted on feat(studio): the Field History setting offers Default, On and Off, and Default says what it resolves to #36580 / the resolver's answer, in Acceptance notes. Part ③ is not started by this thread (maintainer order relayed by the seat); its scope goes to repo:objectstack#1 with a Release: after this lands.

Landing: not this thread's to do. Non-governed and under 3000 lines; reported to the seat with this head and the record ids.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

维护者速读

席位核对

ACCEPT → PR #36641 comment 7093706077 · TIER_DEFAULT contract review PASS → comment 7093689363 · Head-sha 3b5b130c032826c165b7cfe6796bc7c4a09eff23 · check-runs 45 success, 13 skipped, 0 failed · mergeable clean · check-governed-merges --pr 36641: not governed (0 of 36 paths), 897 changed lines ≤ 3000. Part of #36290.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 23, 2026 06:50
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 7e89bc6 Nov 23, 2026
59 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-qldp6w branch November 23, 2026 07:11
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…m a list cell's menu (objectstack-ai#36661)

<!-- claude-projects-attribution: {"github_login":"os-warren"} -->
_Requested by **Warren** · [project
thread](https://claude.ai/code/project/chan_01U5RdnAAmkSQmZbqh6FtqZ8?thread=cmsg_01U5RdnAAmkSQmZbqh6FtqZ8X8kSCzcbcWxbzbjcuNrVrv)_

Fixes objectstack-ai#36290
Fixes objectstack-ai#36615

Clause-②: yes (widening)
Metadata-protocol: none

Part 3 of the card, the last one: the per-field change history, its two
entry points and the read-permission rule (card items 3, 4 and the 修改历史
half of item 5). Part 1 (objectstack-ai#36399) made the server serve each changed
field's old → new values narrowed per reader; part 2 (objectstack-ai#36613) drew them
under the record's activity entries; part 1 of the Studio producers
(objectstack-ai#36641) moved them to `fieldHistory`. Ruling-ref: 7076513167 — a value
the viewer cannot read is never sent to the browser, and the
`sys_audit_log` grant is never widened. objectstack-ai#36615 rides along: it is the
one sentence in `packages/spec` that still told authors to write
`trackHistory: true`.

## 维护者速读

-
记录页上会记录修改前后值的字段,值旁边多了一个「修改历史」小按钮(鼠标移上去或键盘聚焦时出现),列表里在这类字段的格子上右键也多了「修改历史」;点开就地弹一张小卡片,列出这一个字段改过几次、谁改的、什么时候、从什么改成什么,最新的在上,先给十条,可以继续加载。没开修改历史的字段(比如图片、附件、密码,或被设置关掉的字段)不显示这个入口。
-
属于「记录详情页重做」专题里的字段修改历史,这是最后一段:前几段让服务器把前后值按权限发出来、在动态里画出来,这一段让人能只看一个字段的历史。
-
出错时,用户会看到卡片排版不对或加载不出来;不会多看到任何没权限的字段,因为没有读取权限的字段既不显示入口、服务器也本来就不发值;可以整体撤回,数据不受影响。
- 无

## What changes

**The card** (`ui/packages/plugin-detail/src/FieldHistory.tsx`, new)
- `FieldHistoryCard` lists one field's changes on one record: `who ·
when` over `old → new`, newest first, the newest ten with **Load more**.
The values are worded exactly as the activity lines word them — an
option by the field's option label in the reader's language, a yes/no by
the pack's word, an empty side by the pack's word for empty — through
one new shared hook (`fieldChangeText.ts`, `useFieldChangeWording`),
which `RecordActivityTimeline` now reads too, so the two surfaces cannot
word the same change apart.
- A field never changed: **No changes recorded**, with who created the
record and when, read off the record's `created` activity row.
- A refused read (401 / 403) says the reader may not see this record's
activity; any other failure says the activity could not be loaded.
- `useFieldHistory` reads `sys_activity` **by record**, newest first,
fifty rows at a time (`$skip` / `$top`), keeping the rows whose served
change code names the field. One user action — the open, or one **Load
more** — reads at most `FIELD_HISTORY_SCAN_BATCHES_PER_LOAD` (4)
batches: it stops sooner when it has the page it shows or the rows run
out, and otherwise stops there and offers **Load more** to read on. When
those batches held no change of the field and older rows remain, the
card says **No changes in the recent activity** (new key
`detail.fieldHistoryNoneRecent`); **No changes recorded** needs every
row read. A row repeated by a `$skip` shifted under a concurrent write
is kept once. It reads no change column, because a query naming one is
refused for a reader withheld any field of the object
(`parent-field-query-guard.ts`), and it never reads `sys_audit_log`.

**The two entry points**
- The record page: `FieldHistoryButton`, a history icon beside the value
in `DetailSection`, revealed on hover and on keyboard focus like the
copy button, opening the card in a popover. Drawn only for a field the
object declares, on the page's own record, and only when
`fieldHistoryOffered` says so: not a platform record column (`id`,
`created_at`, …), not a field whose old → new values the writer never
records (`resolveFieldHistory(field, object)` from
`@objectstack/spec/data`, the one predicate plugin-audit's
`changeValuesShownFor` keeps values by — false for `fieldHistory:
false`, object `enable.fieldHistory: false`, a credential field, and a
default-off type such as image, file or JSON that does not opt in), and
not a field the reader may not read (`checkField(object, field,
'read')`).
- The list: `data-table` now names the data cell a context menu opened
on to its host (`context.column`, a new optional member of the context
`renderRowContextMenu` receives — a `data-cell-column` attribute on the
cell), `ObjectGrid` adds **Change history** for a cell of a declared
field that `fieldHistoryOffered` accepts (recorded and readable, the
same gate as the record page) when its data source can read activity,
and choosing it opens the same card at the pointer
(`FieldHistoryPopover`).
- `FieldChangeItem` draws no label for `label: ''`, so the card can name
the field once above its lines.

**`packages/spec`** — the unknown-key guidance row for the mistyped
field key `tracked` now names `fieldHistory: false` (and
`enable.fieldHistory: false` on the object) instead of `trackHistory:
true`, which after objectstack-ai#36399 changes nothing for most field types. Wording
only: `tracked` stays rejected, no key, shape or default moves.

**Language packs** — `detail.fieldHistory`, `detail.fieldHistoryNone`
and `detail.fieldHistoryNoneRecent` in all 11 locales `@object-ui/i18n`
ships, mirrored byte-identically in `DETAIL_DEFAULT_TRANSLATIONS`.

## Tests

New pins at head `c429064ab8`:

- `ui/packages/plugin-detail/src/__tests__/FieldHistory-36290.test.tsx`
(13): only this field's changes, newest first, with actor and timestamp;
a save of two fields gives this field's line alone; the read names no
change column (`$filter` is the record, and the params hold no
`changed_fields` / `metadata`); an option side reads as its label and an
empty side as `Empty`; the newest ten, then **Load more** to the rest;
paging past a full batch of another field's rows to find this field's
changes (two reads, the second `$skip`ped); one open reads exactly 4
batches on a record whose field change lies past them, says `No changes
in the recent activity` (not `No changes recorded`), reads nothing more
without a click, and **Load more** reads the fifth batch at `$skip` 200
and finds the change; never changed → `No changes recorded` with the
creator and the creation time; a refused read. For the entry point:
every declared field offers it and `created_at` does not, nothing is
read until it is opened, a field the reader may not read has no entry
(CONTROL: the readable sibling keeps it), a field whose values are not
recorded has no entry — `fieldHistory: false`, a `json` field, a
`password` field (CONTROL: a `json` field with `fieldHistory: true`
keeps it) — an object with `enable.fieldHistory: false` offers none
(CONTROL: the same object without it offers both), and a section not
drawing the page's record offers none.
-
`ui/packages/plugin-grid/src/__tests__/fieldHistoryCellMenu-36290.test.tsx`
(5): the cell's menu item opens that record's changes of that field (and
the read is scoped to that record); a field the reader may not read has
no column, so no cell offers it (CONTROL: a readable field's cell still
does); a host-joined column the object does not declare offers none; a
cell of a `fieldHistory: false` field opens no row menu at all on a
table with no row actions (CONTROL: a recorded field's cell offers it);
a data source that cannot read activity offers none.
-
`ui/packages/components/src/renderers/complex/__tests__/data-table-row-context-menu-28434.test.tsx`:
the existing host-renderer pin now asserts `column`, plus one new case —
the column of the data cell the menu opened on, and no column off a data
cell (the row's "⋮" cell).

<details><summary>Runs</summary>

```
# the two new pin files, at c429064
Test Files  2 passed (2)   Tests  18 passed (18)

# affected packages at c429064, under scripts/pm/os-verify-lock.sh (plugin-detail, plugin-grid, i18n,
# types, components/renderers/complex, app-shell defaults-maps-mirror-en-pack)
os-verify-lock: VERDICT command-exit 0
Test Files  1260 passed | 1 skipped (1261)   Tests  19388 passed | 31 skipped (19419)
# + app-shell RecordDetailView.harness and the i18n call-site parity suite
Test Files  2 passed (2)   Tests  234 passed (234)

# packages/spec (the tracked row; no spec file moved since 975c4c5)
packages/spec src/data/field.test.ts   Test Files 1 passed   Tests 308 passed (308)

# type-check at c429064, exit 0 each: plugin-detail, plugin-grid, i18n (components, types unchanged since 975c4c5, exit 0 there)

# dispatch-gates at c429064: the same 117 derived commands as at 975c4c5 (diffed), re-run, 117/117 exit 0
```

Ablations through `scripts/ablation-replace.mjs` (anchor hit and blob
move printed by the tool; each restored, `git diff HEAD` empty and the
file's blob equal to its `HEAD` blob afterwards):

| Mutation | Result |
|---|---|
| the read-permission gate in `fieldHistoryOffered` removed | 1 red: `a
field the reader may not read has no entry` |
| the batch read always marks itself exhausted | 1 red: `pages past rows
of other fields until it finds this field's changes` |
| the card keeps the first served change instead of the one naming the
field | 3 red, the field-identity pins |
| at c429064: the `resolveFieldHistory` gate in `fieldHistoryOffered`
made a no-op | 3 red: the two record-page history-off pins and the
grid's |
| at c429064: the per-action batch cap removed (`needsRead =
wantsMore`) | 1 red: `one open reads at most 4 batches, then "Load more"
reads on` |

</details>

## Acceptance notes

- Rework after contract review 7097637110 (FAIL, two should-fix, no
must-fix): **S1** the entry points are now gated by
`resolveFieldHistory`, so a field whose values are never recorded offers
no history instead of a card that would say 「No changes recorded」 of a
changed field; **S2** the scan is bounded per user action as described
above, and this body now says what the code does; the changeset's
Clause-② line names the exported constants and the third key. The two
notes taken as well: a row repeated by a shifted `$skip` is kept once.
Not taken: the keyboard-opened cell menu path stays unpinned (as the
review noted); a data source that ignores `$skip` now stops after four
reads per click instead of looping until the card closes.
- Card lines this PR covers: 「在记录页「客户备注」上打开修改历史:列出历次修改,和动态里的一致。」 — yes,
and worded by the one hook both surfaces now read.
「在列表的格子上右键「修改历史」:同一张卡片。」 — yes. 「一个没改过的字段:显示「没有修改记录」和创建信息。」 — yes.
「用一个没有某字段读取权限的账号:…那个字段上也没有「修改历史」。」 — yes, pinned on both entry points;
the 动态 half landed in objectstack-ai#36613.
- Not done, as the card says: 「不做「恢复到某个历史值」」, no change to how the audit
log is stored or kept, no change to the 动态 tab's grouping or filters.
- The card's unchecked note on per-field reads is now measured, not
assumed: there is no server-side per-field history read, and adding one
would mean a query over a change column, which
`parent-field-query-guard.ts` refuses for exactly the readers this
feature is for. So the card reads the record's rows in batches of fifty,
at most four batches (200 rows) per open or 「Load more」. On a record
with thousands of activity rows and a field changed rarely, each click
reads the next 200; a server-side per-field door would be a separate
Feature card, not this one.
- The `FieldChangeItem` line inside the card clamps each side to its
line and offers **Show all**, as the activity lines do.
- `ui/AGENTS.md` objectstack-ai#2's second half: the two package READMEs and the two
`content/docs/frontend/plugins/*.mdx` pages are updated in this PR.
- Screenshots: below, driven in the running Console
(`examples/app-showcase` + `apps/console`) as the seeded admin, on
`showcase_account`. GitHub's image store takes uploads only from the
browser, and `ui/AGENTS.md` objectstack-ai#185 forbids committing screenshots into the
tree, so they are described here and handed to the requester in the
thread; the frames themselves are in the project files.

## Screenshots

Taken at `975c4c5576`. The rework leaves these frames as they are: every
field shown is a text or email field, whose values are recorded, so the
gate still offers it; the batch cap shows only on a record with more
than 200 activity rows. Driven at 1440×900, `deviceScaleFactor: 2`,
record **Stark Industries**, field **Billing Email** (edited three
times: `ap@…` → `accounts.payable@…` → `billing@…`).

1. **The button** — hovering the Billing Email row reveals a history
icon beside the existing copy icon; nothing else about the row moves
(`1-field-history-button.png`, crop `…-crop.png`).
2. **The card, from the field** — clicking it opens a popover anchored
to the value: a header `Billing Email` / `Change history`, then `Dev
Admin · Nov 23, 2026, 10:01 AM` over `accounts.payable…` struck through
`→ billing@sta…` with **Show all**, and the older change under it,
newest first (`2-field-history-card.png`).
3. **The list's entry point** — a right-click on the `Account Name` cell
of Stark Industries lists **Change history** between **Open in new tab**
and **Edit**, with the same history icon (`3-cell-context-menu.png`).
4. **The card, from the cell** — choosing it opens the same card at the
pointer, headed `Account Name`, listing that record's four changes of
that field, newest first (`4-cell-field-history-card.png`).
5. **A field never changed** — on a record created through the API, Tax
ID's card reads `No changes recorded` over `Created by Dev Admin · Nov
23, 2026, 10:03 AM` (`5-never-changed.png`).

A note worth having on the record: on a **seeded** row the same empty
card shows `No changes recorded` with **no** creator line, because the
seed writes no `created` activity row and the card states only what the
server served it — it does not fall back to `created_by`, which is a
column the reader may be withheld.

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

https://claude.ai/code/session_01JQwxbZFiKZ188iQxqGgmnY

<!-- signed: repo:objectstack#1 · os-warren ·
session_01JQwxbZFiKZ188iQxqGgmnY -->

---------

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

<!-- claude-projects-attribution: {"github_login":"huangyiirene"} -->
_Requested by **Irene** · [project
thread](https://claude.ai/code/project/chan_01TJXtQ1tVD26ecLDZxFS67x?thread=cmsg_01TJXtQ1tVD26ecLDZxFS67x8Be2AAcUBhodBsvnWLd3Xs)_

Fixes objectstack-ai#36086

Clause-②: no
Metadata-protocol: none

## 维护者速读
-
用户能看到什么变化:用户无感;十二份内部设计记录在与现行代码不一致的地方各加一条注明日期的补注,原决定文字不动,只有访客模型里一句已被裁决撤回的接口说明照裁决改掉。
- 为什么做:这是本周的设计记录修订合集;AI 席位改代码前会读这些记录,这十五处已与上线代码不一致,会把 AI 带偏。
- 出错会怎样:只改说明文字,不动代码和功能;补注若写错,读记录的 AI 和人会拿到错误说明,整个合并可以直接撤回。
- 要你做什么:审阅后批准一次(设计记录必须由你亲手批)。

## What changes

Seventeen append-only dated notes, for the 15 rows of this week's card
whose code is on `main`, in twelve records. Each note sits directly
under the passage it amends, says what `main` does now, and links its
card and its landing PR. One clause is rewritten, in ADR-0138, as its
row and the ruling on it ask. No other decision text is rewritten,
struck or reordered. Six records whose header indexes their amendments
gain a pointer entry there (ADR-0050, 0066, 0090, 0138, 0151, 0158).

| # | ADR · section | What it said | What `main` does | Landing PR |
Note location |
|:--|:--|:--|:--|:--|:--|
| 1 | ADR-0158 · Open item 12 | Which aggregates count as "raw" is left
to the aggregate card | `sum`, `avg`, `min` and `max` over a
`record`-mode quantity are refused unless the query groups by the
quantity's own `unitField`: ObjectQL aggregate `INVALID_FIELD` / 400,
`summary` field `INVALID_METADATA` / 422, cube measure `INVALID_FIELD` /
400 on each query. `count`, `count_distinct`, a `fixed`-mode quantity
and a plain number are not judged. No error code is added | objectstack-ai#36060 |
under Open item 12; status entry |
| 2 | ADR-0066 · D2 ⑧ | View All and Modify All are the bits that vote
on every field of an object | A set may carry `viewAllFields`: a read
vote, never an edit vote, on every field of the object. The set's own
`readable: false` row beats it. It grants no object access, no record
and no admin posture | objectstack-ai#36085 | under D2 ⑧, after the 2026-11-15 note;
status entry |
| 3 | ADR-0090 · D5 | The high-privilege list refused on an `everyone`
binding | The list gains `viewAllFields` on any object entry | objectstack-ai#36085 |
under D5; status entry |
| 4 | ADR-0090 · D12, condition (a) | No `viewAllRecords` or
`modifyAllRecords` on `'*'` | Condition (a) also refuses `viewAllFields`
on `'*'`; the bit on a named object stays inside the boundary | objectstack-ai#36085 |
under D12's 2026-10-17 amendment |
| 5 | ADR-0151 · D3 | The bits the agent ceiling removes | The clamp
also clears `viewAllFields` on every object entry; assigning a set that
carries it to an account is refused by name | objectstack-ai#36085 | under D3; header
entry |
| 6 | ADR-0050 · Decision 2, the 2026-10-20 note | "a per-list open
mode, if ever wanted, is the list's existing `navigation.mode`" | On an
object's list `navigation.mode` is deprecated and no longer picks how a
record opens: the name opens the full page, the hover icon the side
panel. `none` still means the rows open nothing. A page block still
honours every value | objectstack-ai#35910 | under Decision 2, after the 2026-10-20
note; status entry |
| 7 | ADR-0050 · the same note | The create form is chosen by convention
from the object's form views | The console's record create and edit
forms are the object's own, laid out by `fieldGroups`, less a
`showOnCreate: false` field on a create. An internal form view steers
nothing there. A public form and a named form an action opens keep their
own definition | objectstack-ai#36543 | second note under Decision 2 |
| 8 | ADR-0052 · section 5b, tier 1 | "Opt-in (like Feed Tracking) keeps
the stream from becoming change-noise" | Old and new values show by
default. Off per object with `enable.fieldHistory: false`, per field
with `fieldHistory: false`. An entry serves a field's values only to a
reader who is served that field | objectstack-ai#36399, objectstack-ai#36580, objectstack-ai#36613, objectstack-ai#36641, objectstack-ai#36661
| under tier 1 |
| 9 | ADR-0146 · D1 | Studio is where metadata is edited | A workspace
administrator also edits in the running app: the menu and the pinned
header actions in design mode, a dashboard on its page, a report on its
builder page, a view's settings on the view. Each save is one item's
draft and publish, and writes nothing over a pending draft | objectstack-ai#36397,
objectstack-ai#36437, objectstack-ai#36629, objectstack-ai#36405, objectstack-ai#36644, objectstack-ai#36411, objectstack-ai#36848 | end of D1, after the
2026-11-24 amendment's table |
| 10 | ADR-0146 · D5 (two card rows) | The bridge draws on the app
switcher row and the app bar entry | From 768 px up the entries are two
rows of the app-name menu. "Design layout" turns on design mode. "Edit
app" opens Studio, and reads "View in Studio" for a read-only package.
The page header draws neither | objectstack-ai#36437, objectstack-ai#36621, objectstack-ai#36789 | under D5 |
| 11 | ADR-0146 · D10, the 2026-11-22 note | An extension places only
what it brings; the base's arrangement stays the base's | The App's
paired `.custom` package may declare whole `fieldGroups` and
`relatedLists`. Each key it writes replaces the folded result whole. Any
other package is refused and prescribed `place` | objectstack-ai#36517 | under D10,
after the 2026-11-22 note |
| 12 | ADR-0146 · D10, the same note | (the same) | `actionLayout` is
the third such key. Only the paired `.custom` package writes it on an
extension. Each arm it writes replaces the served arm whole. The server
refuses the shape; the reference is refused by design mode's Save and by
the CLI rule only | objectstack-ai#36629 | second note under D10 |
| 13 | ADR-0138 · D2, the 2026-11-20 amendment | The restriction profile
is served on the unscoped route "and its environment-scoped twin" | Only
the unscoped route is mounted. A request to the twin gets the host's
ordinary not-found answer. A server that mounts the scoped base alone
serves no profile | objectstack-ai#36531 | the clause is rewritten in place; a dated
amendment under it; status entry |
| 14 | ADR-0149 · D3, rules 4 and 5 | Both rules apply to an unknown
word beside a grouping word; the record did not say which governs | Rule
4 governs the unknown word: the labelled fallback, nothing asked. Rule 5
is the rule for a question that names no number. Beside a fallback the
note ends with one conditional sentence | objectstack-ai#36509 | under D3, after the
2026-11-19 note |
| 15 | ADR-0027 · roadmap row M2 | "explicit, batched publish" | In
Studio's designers a person's Save writes the draft and publishes that
one item at once. Drafts and the package's batch publish remain for an
AI's changes | objectstack-ai#36597, objectstack-ai#36634, objectstack-ai#36652 | under the roadmap table |
| 16 | ADR-0037 · the product-boundaries amendment | "Publish remains
the single commit gate shared by every surface" | The publish is the
item's own, issued by the Save itself. The top bar's Publish is drawn
only while a draft is pending | objectstack-ai#36597, objectstack-ai#36634, objectstack-ai#36652 | under that
sentence |
| 17 | ADR-0085 · section 2 | `relatedLists` is "the one place" where
the re-arrange rejection yields | `actionLayout` is the second: a ruled
exception (the maintainer's ruling on objectstack-ai#36635), on the object, with a
`list` arm and a `record` arm | objectstack-ai#36629, objectstack-ai#36815 | under section 2, after
the 2026-11-22 note; dated 2026-11-23 |

The 15 card rows are the 17 lines above: the `viewAllFields` row is
lines 2 to 5, and the two ADR-0146 D5 rows are line 10.

**Rows not carried**

- ADR-0085, the `fieldGroups[].collapse` row: already on `main` through
objectstack-ai#36817. The record carries "Addendum (2026-11-22): on the synthesized
record page the reader folds every titled group", which says what the
row asks for. Nothing is added.

No `scripts/adr-anchors/**` entry moves. No `**Status**:` line changes
in the part the index projects, so `docs/adr/README.md` stays current.

## Why

AI seats read the ADRs before they change code in governed territory
(AGENTS.md Prime Directive objectstack-ai#13). These passages say something `main` no
longer does, so a seat that trusts them is steered wrong. This is the
week's rolling ADR revisions card: its rows land together as one
governed `docs/adr/**` PR and one approval, on the maintainer's word of
2026-11-20 (「adr接受你的建议」).

## Tests

Docs-only diff: no package, test or build input is touched, so no
package test or typecheck applies, and nothing a test pins changes.

## Acceptance notes

- Every row was read against the code on `main` at `a73edb3cd`, not
against PR state. Each landing commit is an ancestor of the branch, and
each note names the file or symbol that makes it true. `main` has moved
once since (`9c57bd283`); that commit touches no `docs/adr/**` file and
no file a note names.
- Where a row's claim is not what `main` does, the note states what
`main` does:
- **ADR-0052.** The row gives the per-field switch as `trackHistory:
false`. On `main` it is `fieldHistory: false`; `trackHistory: false`
reads as unset.
- **ADR-0146 D1.** Three sentences of the row are not written. "The fate
of Studio's Interfaces pillar is still open": the 2026-11-24 amendment
of D1, already on `main`, retires the pillars. "Studio is not changed by
this batch": the same amendment changes it. "Each of these writes the
same paired package": a report's save and a change to an existing view's
settings name no package, and the menu, the action arrangement and a
dashboard go to the item's own package when it is writable. The note
says where each save lands. It does not repeat what that amendment
already says about dashboards and reports opening in the app.
- **ADR-0146 D5.** Both card rows describe a state objectstack-ai#36789 has since
replaced: the row of objectstack-ai#36437 has the page header's button enter design
mode, and the row of objectstack-ai#36621 has the app-name menu's "Edit app" enter it.
On `main` the entry into design mode is "Design layout", and "Edit app"
opens Studio. The two rows are written as one note that states the end
of that sequence.
- **ADR-0027.** The row says later PRs will move the other Studio
editors. They have landed (objectstack-ai#36634, objectstack-ai#36652) and the note cites them. It
quotes the maintainer's own sentence on the epic, not the epic's summary
line.
- **ADR-0037.** The row says a pending draft now means an AI's draft.
Studio's generic item page still saves a person's drafts (its move is
declared by D1's amendment and not built), and the note says so.
- **ADR-0085.** The row says the row menu is queued and not built.
objectstack-ai#36815 built it, and it follows the `record` arm; the note says so. The
`list` arm still has one reader.
- Header entries: added where a record's header indexes its amendments
(ADR-0050, 0066, 0090, 0138, 0151, 0158). Not added to ADR-0146: its
status block lists only the maintainer's in-place amendments, its
2026-11-22 note under D10 has no entry there, and open PR objectstack-ai#36957 edits
that block. Not added to ADR-0027, 0037, 0052, 0085 and 0149, whose
headers hold no such list.
- Dates: every note is dated 2026-11-24, except ADR-0085's, dated
2026-11-23 as its row sets (that record dates its notes by ruling).
ADR-0138's amendment is dated 2026-11-24 and names the ruling's date,
2026-11-22.
- ADR-0151 is `Proposed`; its note follows the form of the dated notes
it already carries.
- The spec docblock sentence the ADR-0085 row mentions landed with
objectstack-ai#36629, so nothing outside `docs/adr/**` is owed.
- Noted, not filed (read-only observations, nothing was run to exercise
them):
- A report's save, and a change to an existing view's settings, from the
running app name no package. For an item of an installed package whose
stored rows are not bound to exactly one package, the server then
addresses the package-unbound row, not the paired `.custom` package
ADR-0146 D2 points customizations to. Whether a door refuses that write
was not measured.
- Two source comments still say design mode is entered from "Edit app"
(the page-actions module header and the design-mode module's gate
paragraph). Comments only.
- Landing tier: Tier H (`docs/adr/**`, governed; the maintainer
approves). The diff is +243 / -5 over 12 files.

## Verification

Read first, by risk:

1.
`docs/adr/0138-guest-model-anonymous-principal-doors-grants-and-organization.md`,
the D2 hunk: the one place earlier text is rewritten.
2.
`docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md`,
the note at the end of D1: the widest claim, where each in-app save
lands.
3. `docs/adr/0066-unified-authorization-model.md`, the note under D2 ⑧,
with its ADR-0090 D12 twin: permission semantics.

Two-minute check: `pnpm check:adr-symbol-anchors` prints a green line
that starts `check-adr-symbol-anchors: 3904 anchors across 160 records`,
and `git diff origin/main...HEAD --stat` shows 12 files, 243 insertions
and 5 deletions.

<details><summary>Gate readings on e5c60bf</summary>

`node scripts/pm/dispatch-gates.mjs --commands --repo
objectstack-ai/objectstack` derived the same 21 families on `8c705bc2c`
and on `e5c60bff0`. The readings below are the second run, on
`e5c60bff0`, each exit captured before any pipe:

```text
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:adr-index :: exit 0
pnpm check:adr-symbol-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0
```

On the first run `check:doc-formula-expressions` answered 3,
prerequisite not met, until `formula` and `lint` were built under
`os-verify-lock` (VERDICT command-exit 0, 5 of 5 tasks). `--ran`
reconciliation: 21 derived, 21 run, 0 NOT-MEASURED (a derived zero).
`node scripts/adr-index.mjs --check`: exit 0, the README is current.
`check-commit-card-trailers --range origin/main..HEAD`: exit 0, 2 commit
messages. `overlap-check`: `origin/main` and objectstack-ai#36957 both merge cleanly,
VERDICT clean exit 0. `check-governed-merges --branch`: GOVERNED, 12 of
12 paths on the register, Tier H. Control-byte scan of the twelve files:
0 hits.

</details>

## Human Minimum

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(No schema touched.)
- [x] 2. Every name I added uses the casing for its kind. (No name
added.)
- [ ] 3. No formatter ran; `pnpm lint` passes. (No formatter ran. `pnpm
lint` was not run locally on this Markdown-only diff; CI judges it.)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (Publishes
nothing: `skip-changeset`.)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (Not touched.)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English.
- [ ] The *Before Submitting* list in CONTRIBUTING.md is done. (Not
walked item by item; the derived gates above are what ran.)

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

https://claude.ai/code/session_01J8VVAoUbebHyRXKT4GxBTV

---------

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 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.

2 participants