Skip to content

docs(skills): the data skill teaches field-change values as on by default - #36775

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-36419-field-history-skill
Nov 23, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/issue-36419-field-history-skill

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #36419

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用 AI 建数据模型的人,AI 不再把“字段改动前后的值”当成要手动打开的功能;它现在知道这项默认就开,并知道在对象或单个字段上怎么关。
  • 为什么做:平台已把字段变更值改成默认显示(“字段变更值默认显示”那项改动),对外发布的数据建模技能还在教旧说法,这次补齐。
  • 出错会怎样:最坏是 AI 多写或少写一个历史开关;只改技能文字,不动任何运行逻辑,撤回本次合并即可恢复。
  • 要你做什么:这是对外发布的技能文字,需要你审过后亲手合并。

What changes

skills/objectstack-data/SKILL.md, section "Object Capabilities (enable)" — the only place in skills/objectstack-data/** that taught field history as opt-in (trackHistory, default false, "Field-level audit trail").

  • New fieldHistory row (default: on). A changed field's old → new values show on the activity timeline, served per the reader's field read rule. false turns them off for the object. A field opts out with its own fieldHistory: false; a media or structured field (json, address, code and the like) shows values only with true; a credential never. sys_audit_log keeps its own grant.
  • trackHistory row rewritten to what the flag still does: the ledger view on the record page and the history API verb, and that it is not the values switch.
  • Card item 2 said the ledger is "admin only". The dispatch order corrects that reading (a read-only viewer's wildcard grant reads the ledger object too), so the row says the ledger keeps its own grant and names no audience.
  • Card item 1 as corrected by the card's own correction comment: the per-field off switch is fieldHistory: false, not trackHistory: false.
  • references/examples-objects.md keeps enable.trackHistory: true: it is still valid (the ledger view) and is not an opt-in claim about values.

Paid for in the same file (token ratchet, ceiling not moved):

  • aiReadable row cut to what an app author needs: platform objects only, refused at parse on an app object, false included. The list of verbs and the two excluded platform objects are dropped; an app object can never declare the key.
  • Restating phrases shortened: the feeds and activities rows ("opt-out: explicit" beside a true default), sharingModel ("absence is not a decision" after "refused"), nameField ("Canonical"), fieldGroups, label, files, datasource, the lifecycle default cell, "not by habit", "not silently dropped" after "refused", and the mirror-maintenance sentence.

Skill size, the two readings:

Reading Before After
skills/objectstack-data/SKILL.md lines 471 471
skills/objectstack-data/SKILL.md tokens (ratchet's count) 6706 6709 (ceiling 6710)
All skills/*/SKILL.md lines 4947 4947
All skills/*/SKILL.md tokens (sum of the ratchet's rows) 65222 65225

Read first, by risk:

  1. skills/objectstack-data/SKILL.md, the fieldHistory and trackHistory rows: every clause against packages/spec/src/data/field-history-default.ts (resolveFieldHistory) and the enable.fieldHistory / field fieldHistory descriptions in packages/spec/src/data/object.zod.ts and field.zod.ts.
  2. The same file, the aiReadable row: confirm the dropped detail is not needed by an app author.
  3. .changeset/36419-skills-field-history-default.md.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints skills/objectstack-data/SKILL.md is 6709 tokens (ceiling 6710; headroom 1) and exits 0; git grep -n trackHistory -- skills/objectstack-data shows the rewritten row, the quick-start example, and one eval must_not_contain entry.

Tests

Wording-only diff on a published skill; no behaviour under test changed, so no ablation. All readings on head 710841dae1.

Local gates: the 50 commands `dispatch-gates --commands` derives

dispatch-gates --ran: 50 derived famil(ies) accounted for — 46 run, 4 NOT-MEASURED (4 DERIVED from a recorded exit 3).

46 exited 0, among them node scripts/check-skills-token-ratchet.mjs, pnpm check:skill-links, pnpm check:skill-identifier-liveness, pnpm check:skill-frame-sync, pnpm check:skill-compatibility, pnpm check:pm-skill-id-lint, pnpm check:corpus-claim-drift, pnpm check:doc-authoring, pnpm check:role-word, pnpm check:nul-bytes, pnpm check:published-files, pnpm --filter @objectstack/spec run check:skill-docs, pnpm --filter @objectstack/spec run check:skill-served-sections, pnpm --filter @objectstack/lint run check:doc-formula-expressions, node scripts/check-changeset-no-major.mjs --base origin/main, node scripts/check-empty-changeset.mjs --base origin/main, node scripts/check-adr-0087-registration.mjs --base origin/main.

NOT MEASURED locally (exit 3, PREREQUISITE NOT MET: they read every package's dist/, and only @objectstack/spec and the @objectstack/lint closure were built): pnpm check:dts-closure, pnpm check:dual-build-cjs-loads, pnpm check:lean-entry-closure, pnpm check:sourcemap-no-sources-content. The diff touches no package source; CI's reading is the evidence.

Outside the derived list, also run: pnpm check:skill-top-level-keys, exit 0.

Acceptance notes

  • Acceptance "no sentence in skills/objectstack-data/** describes field history as opt-in": git grep -n -i -E 'trackHistory|fieldHistory' -- skills/objectstack-data now returns the two rewritten rows, the quick-start example's enable.trackHistory: true (ledger view, valid) and one eval must_not_contain entry. No other file in the skill states a history default.
  • The skill evals were not edited; no eval asserts the old row.
  • Noted, not fixed here: two refusal texts in packages/spec/src/data/object.zod.ts (the retired enable.trash and versioning keys) still send an author to per-field trackHistory "for field-level history". On a field whose values already show, that flag changes nothing.

Verification

  • Premise re-read on origin/main 70f454a23c before the edit: the old row was at skills/objectstack-data/SKILL.md:110; the contract is enable.fieldHistory (absent: values show; false: off for the object) plus the field's own fieldHistory.
  • CI families are read from this PR's check runs; none re-run locally beyond the list above.

Generated by Claude Code

…ault

enable.fieldHistory replaces the trackHistory opt-in sentence in skills/objectstack-data/SKILL.md; trackHistory keeps its ledger-view row. New text is paid for by cuts in the same file.

Claude-Session: https://claude.ai/code/session_01JQwxbZeHNsF3RWcWpj7rGj
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation 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#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 710841dae1332f5c05286fc87dbf905ad539d9be
Local-runs: none
Scope: skills/objectstack-data/SKILL.md + none
Security-touching: yes
Rule-change-verified: none

PR #36775 (card #36419), reviewed against merge-base 70f454a23cc7a6dbdd6ae3456a9d1475e10895d5 (origin/main at review time). The diff is two files: skills/objectstack-data/SKILL.md (governed, the one hits path) and .changeset/36419-skills-field-history-default.md (prose face, read for ② only). Read with git diff / git show and the REST API; nothing was built or run.

No must-fix, no should-fix.

  • N1 (nit): the fieldHistory row says a media or structured field shows values "only with true". resolveFieldHistory also accepts the field's older trackHistory: true. The row teaches the current spelling, as the field schema's own description does; an agent following it writes valid metadata. Accepted as written.
  • N2 (nit): the aiReadable row no longer says what the flag does (read-only AI access to a platform object's records) or that sys_metadata and sys_metadata_history are excluded. No other file under skills/ states it. An app author cannot declare the key at all, and the row still says so, so no app-authoring rule changed. Accepted deviation; the schema description still carries the detail.
  • N3 (nit): the Security-touching line reads yes because the new row teaches who is served a value, the credential rule and the ledger's grant, and the sharingModel row was edited. The PR stays at Tier H for the maintainer's own merge.

① Derived judgments

The two new rows, clause by clause, against main:

Clause in the skill Source on main Holds
fieldHistory default "on" object.zod.ts:366, optional with no .default(); absent means values show. resolveFieldHistory returns true unless a rule below turns it off yes
old → new values on the activity timeline field-history-default.ts header; object.zod.ts:351-366 (sys_activity stream) yes
false: off for the object resolveFieldHistory line 1: object.enable.fieldHistory === false returns false before any field flag is read yes
a field opts out with its own fieldHistory: false resolveFieldHistory line 2; field.zod.ts:2767 yes
media or structured field (json, address, code…) shows values only with true FIELD_HISTORY_DEFAULT_OFF_TYPES: image, file, avatar, video, audio, signature, composite, repeater, record, location, address, code, json, vector; opt-in is a literal true yes (see N1)
a credential never isMaskedOnReadFieldType is tested before the opt-in line, so true cannot turn it on; secret always, password except on a better-auth object, which an app author does not write yes
served per the reader's field read rule plugin-audit/src/activity-field-redaction.ts: each change of a field the reader is not served is dropped at read time, through the security service yes
sys_audit_log keeps its own grant plugin-audit/src/audit-log-read-visibility.ts: the ledger is read under its own object grant, then narrowed to readable records yes
trackHistory default false object.zod.ts:348, .default(false) yes
ledger view on the record page and the history API verb object.zod.ts:361-362; LEGACY_API_METHOD_GUIDANCE.history: "derives from get ∧ trackHistory" yes
not the values switch object.zod.ts:363: an object writing trackHistory: false alone shows values yes

Card correction 7079973891 (the per-field off switch is fieldHistory: false, not trackHistory: false) is followed. field.zod.ts:2754 confirms that a field's trackHistory: false is not an off switch.

Does any sentence left in skills/objectstack-data/** still teach opt-in? No. A search of the head tree for trackHistory, fieldHistory, history and audit finds:

  • SKILL.md:110-111, the two rewritten rows.
  • references/examples-objects.md:67, enable.trackHistory: true in the quick-start object. It carries no comment and makes no claim about values. The flag is still valid for the ledger view.
  • evals/objects-fields-relationships.json:289, a must_not_contain entry on the sealed-ledger case. It is unrelated to the default.
  • SKILL.md:309 and rules/lifecycle.md, which speak of approval trails and lifecycle.class: 'audit', not field history.

The twelve trimmed phrases, each checked for lost meaning or a changed rule:

# Row or sentence Cut Rule changed
1 sharingModel "— absence is not a decision" no; "refused" and "Author it on every object" stay, and references/lint-rules.md:22 keeps the phrase
2 posture paragraph "not by habit" no
3 label "Human-readable" no
4 datasource "for virtualized data" no; the spec says "Target Datasource ID", so the row is now closer to it
5 nameField "Canonical" no; the next row still names displayNameField as the deprecated alias
6 fieldGroups "list of logical" no
7 lifecycle default "semantics" no
8 files "& document management" no; the spec describes an attachments panel
9 feeds "Social", "opt-out: explicit" no; default true and the effect of false stay
10 activities "opt-out: explicit" no; same
11 search paragraph ", not silently dropped" no; "refused" with both codes stays
12 mirror paragraph "a mirror is only as fresh as whatever writes it" no; both hook paths and the backfill stay

The aiReadable row is the thirteenth cut, named apart in the PR body; see N2. No eval under skills/objectstack-data/evals/ asserts any removed phrase.

Ceiling: scripts/check-skills-token-ratchet.mjs is not in the diff, so no ceiling moved. The row at head still reads ['skills/objectstack-data/SKILL.md', 6710]. By the script's own formula, ceil((bytes - 20) / 4), read off the git objects: base 26843 bytes gives 6706, head 26854 bytes gives 6709. Lines are 471 on both. That is 6709 of 6710, as the PR states.

② Semver level

'@objectstack/skills': patch is right. packages/skills publishes the skills tree; the change is wording only and adds no shape. Every earlier skill-wording changeset on main is a patch for the same package. The changeset carries Clause-②: no and Metadata-protocol: none, matching the PR body. Clause-②: no holds: no route, contract, spec key or export is added.

③ Boundary flags

  • The dev report has no open_questions.
  • Out-of-scope flag, class a: two shipped refusal texts in packages/spec/src/data/object.zod.ts (the enable.trash guidance near line 212 and the versioning guidance near line 1950) still send an author to per-field trackHistory for field-level history. Confirmed on main. It is correctly left out of this PR, since editing it would open the published-schema face. No card carries it yet; the seat owes one.
  • Noted flag: the card's "admin only" wording for the ledger was not copied into the skill. That is right. audit-log-read-visibility.ts serves the ledger under its own grant, which is what the row says, and the row names no audience.
  • SQL push-down: no code in the diff, nothing to check.
  • The PR author is objectstack-fleet[bot]; no separate author to name.
  • The PR does not touch .claude/** and its body declares no Rule-change: line. No hunk changes what an agent may do without the maintainer, so the line above reads none.

Check-runs at the head, read at 2026-11-23T21:06Z: 19 success, 16 skipped, 6 still in progress, none failed. In progress: Lint · ESLint, Lint · docs and code guards, Lint · CI, release and engine gates, Type Check · consumer gates, Test Core (1/10), Test Core (2/10). Lint · repo and tooling gates finished green during the review. The landing check for an all-green head is therefore not yet met. This record does not stand in for it, and the token-ratchet reading above is arithmetic from the git objects until the lint jobs report.

④ Design judgment

skills/objectstack-data/SKILL.md: the change holds against the spec it teaches. An agent asked to "keep a change history on this object" now reads that values already show, and reaches for enable.fieldHistory: false or a field's fieldHistory: false only to turn them off. That is the contract #36399 landed. Splitting the fact into two rows mirrors the schema's own two keys and keeps trackHistory honest about what it still does. The row also answers the card's item 2 (who sees the values) in one clause without naming an audience the code does not enforce. Paying for the new text inside the same file, with the ceiling untouched, follows the ratchet's standing rule: cut repetition first.

Implemented-by: claude/issue-36419-field-history-skill
Reviewed-by: session_01JQwxbZeHNsF3RWcWpj7rGj

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

维护者速读

数据建模技能(skills/objectstack-data)里讲「字段改动历史」的说法改对了:现在默认就显示改动前后的值,对象可以整体关掉,单个字段也可以自己关;trackHistory 只管历史页,不再被说成显示值的开关。只改说明文字,没有改功能。
要你做的:无(受管文件,等 os-zhuang 批准)。

席位核对 — ACCEPT (L1) · repo:objectstack#1 · head 710841da · 2026-11-23T21:53Z

  • Shape: Fixes #36419. One file, skills/objectstack-data/SKILL.md, plus a '@objectstack/skills': patch changeset (wording only). Tier H (skills/**). Clause-②: no. Metadata-protocol: none.
  • Record half: same-head CONTRACT_REVIEW_TIER PASS 7114075451 at 710841da, no must-fix and no should-fix; three nits accepted as written.
  • Read: every clause of the new field-history row matches main (default on, object off switch, per-field fieldHistory: false, media and structured types opt-in only, credentials never shown, the reader's field read rule, sys_audit_log's own grant, trackHistory as the ledger view). No opt-in sentence is left under skills/objectstack-data/**. The skill token ceiling stays at 6710 (head measures 6709).
  • Out of scope, filed: the retired-key refusal texts in packages/spec/src/data/object.zod.ts (enable.trash, versioning) still point authors to per-field trackHistory: filed 退役键提示:enable.trash 和 versioning 的报错文案仍让作者去用字段级 trackHistory 记录字段历史 #36776.
  • Gates: 28 success, 16 expected skip, 0 failed on 710841da.
  • Landing: Tier H hand-off to os-zhuang follows.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

维护者速读

数据建模技能里「字段改动历史」的说法已改对,复核通过、CI 无失败。受管文件,按规则请 os-zhuang 在 GitHub 上点批准,批准后自动合并。
要你做的:无(等 os-zhuang 批准)。

Tier H hand-off · 2026-11-23T21:53Z: skills/** is a governed path, so this pull lands by the maintainer's hand.

  • Record half: the same-head CONTRACT_REVIEW_TIER PASS 7114075451 at 710841da, with no must-fix and no should-fix.
  • Seat ACCEPT: above, on the same head.
  • Human half: os-zhuang's GitHub Approve is requested.

@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 23, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 23, 2026 22:00
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 38a0081 Nov 23, 2026
50 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36419-field-history-skill branch November 23, 2026 22:21
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…o 1 s before merged_at as the merge's (objectstack-ai#38896)

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

Fixes objectstack-ai#38863
Refs objectstack-ai#34178
Clause-②: no
Metadata-protocol: none

## 维护者速读
- 用户无感:每周治理合并审计不再把维护者本人经合并队列落地的改动,误报成席位违规。
-
为治理审计这一车队工具消除误报:合并队列在合并前一秒记下“移出队列”,旧读法把它当成最新的队列事件,读不出是谁把改动放进队列;现在只对队列机器人在合并前一秒之内的那一次移出放行,一秒是十二条误报上全部实测到的间隔。
- 出错只会让审计报告漏报或继续误报,不影响任何合并;可直接撤回本次改动恢复旧读法。
- 要你做的:这是须由维护者批准的治理面改动,批准一次即可。

## What changes

`scripts/pm/check-governed-merges.mjs` only (Tier H: an always-H
instrument).

- New `timelineAsQueued(events, landed, { enqueueEvent, dequeueEvent })`
feeds the enqueue leg of `readLandingClearance`. It keeps the events
strictly before `merged_at`, as before. It also drops the merge's own
terminal `removed_from_merge_queue`, but only when all three hold: it is
the **last** queue event the cut keeps, its actor is
`github-merge-queue[bot]` (`MERGE_QUEUE_BOT`), and it is at most
`MERGE_QUEUE_REMOVAL_WINDOW_MS` before `merged_at`. The guard's
`enqueuerFromTimeline` then reads the actor of the
`added_to_merge_queue` before it. The guard is not edited.
- `MERGE_QUEUE_REMOVAL_WINDOW_MS = 1000`. Its docblock cites the
readings: 0 s on objectstack-ai#33555, objectstack-ai#33632 and objectstack-ai#33616, and 1 s on all twelve BREACH
rows of objectstack-ai#34178 (table below). GitHub stamps whole seconds, so 1 s is the
narrowest window the readings support. No gap over 1 s was measured.
- Unchanged readings: a removal by any other actor, a removal further
out (an ejection the queue made first), and an earlier removal followed
by a re-add (the newest queue event is then the add). If the guard's
event names stop being strings, nothing is dropped and the leg stays
undetermined. It never clears on that path.
- Both callers of the landing half pick this up: the low-risk arm leg
and the `.claude/**` split leg.
- The two docblocks (the `readArmLanding` header and the self-test
fixture comment) now state the measured window instead of "shares the
merge's instant".

## Tests

Self-test pins, under `node scripts/pm/check-governed-merges.mjs
--self-test` (1017 assertions, exit 0 on `062ea49f4`):
- objectstack-ai#33603 battery, 71 → 77:
  - the one-second shape clears on the enqueue leg;
- the equal-instant control still clears, and a fleet-bot enqueue on the
one-second shape does not;
  - a removal 2 s or 60 s out stays undetermined;
  - a removal inside the window by another actor stays undetermined;
- after an earlier ejection, the re-add's enqueuer decides (the objectstack-ai#33355 /
objectstack-ai#33394 shape);
  - the pure reader, including a queue-bot removal that an add follows.
- objectstack-ai#35612 split battery, 35 → 36: the one-second shape on the split leg,
with another actor's removal and the fleet bot as controls.

<details><summary>Ablation (fix committed first; every mutation via
scripts/ablation-replace.mjs, restored to the HEAD blob)</summary>

- Enqueue leg back to the plain cut: red on 3 pins (the one-second
shape, the re-add after an ejection, the split leg's one-second shape).
The controls stay green, as expected, because the old reading was
already undetermined for them.
- Actor binding removed: red on the another-actor pin and on the split
pin. A first attempt was a no-op: the tool refused because the
replacement text already existed elsewhere. It was re-run with a unique
replacement.
- Window widened to 60 s: red on the outside-the-window pin and the
pure-reader pin.
- Last-event binding removed: green at first, which exposed a gap. Added
the pin for a queue-bot removal that an add follows (commit
`062ea49f4`). Re-ablated: red.

</details>

## Re-run on objectstack-ai#34178's rows

Enqueue leg, read on each PR's **live** timeline and `merged_at` through
the real guard, before (strict cut) and after (`timelineAsQueued`):

| PR | queue events (UTC) | gap | before | after |
|---|---|---|---|---|
| objectstack-ai#37072 | add os-zhuang 19:16:14 · rem bot 19:34:41 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#36775 | add os-zhuang 22:00:38 · rem bot 22:21:05 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#36067 | add os-zhuang 17:33:58 · rem bot 18:06:13 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#35673 | add os-zhuang 22:28:18 · rem bot 23:03:52 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#35709 | add os-zhuang 04:52:39 · rem bot 05:21:36 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#33355 | add · rem 09:52:16 · re-add os-zhuang 11:13:10 · rem bot
11:50:11 | 1 s | undetermined | authorized (os-zhuang) |
| objectstack-ai#33577 | add os-zhuang 02:51:26 · rem bot 04:44:21 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#33589 | add os-zhuang 02:50:20 · rem bot 04:44:21 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#33394 | add · rem 21:48:10 · re-add os-zhuang 22:52:01 · rem bot
00:44:32 | 1 s | undetermined | authorized (os-zhuang) |
| objectstack-ai#32841 | add os-zhuang 01:28:50 · rem bot 02:13:54 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#32839 | add os-zhuang 23:39:46 · rem bot 00:33:14 | 1 s |
undetermined | authorized (os-zhuang) |
| objectstack-ai#32313 | add os-zhuang 23:44:14 · rem bot 00:13:08 | 1 s |
undetermined | authorized (os-zhuang) |
| control objectstack-ai#33555 | removal == merged_at | 0 s | authorized (os-zhuang) |
authorized (os-zhuang) |
| control objectstack-ai#33632 | removal == merged_at | 0 s | authorized (os-zhuang) |
authorized (os-zhuang) |
| control objectstack-ai#33616 | enqueued by objectstack-fleet[bot] | 0 s |
unauthorized | unauthorized |

End-to-end sweep, the real CLI on both trees with `--since
2026-11-24T19:30:00Z --repos objectstack --json`. Both runs complete,
228 entries each:
- objectstack-ai#37072 goes from `breach` (stage) on `197e3ff3b` to `cleared` by
enqueue (os-zhuang) on `062ea49f4`.
- One more entry moved, outside the 12: **objectstack-ai#38233**, from `pass` to
`cleared` by enqueue. Its timeline has the same shape: added by
os-zhuang 09:48:54, removed by the bot 10:20:32, merged 10:20:33. It was
listed as a seat landing on a record, but it was the maintainer's
enqueue.
- No other entry changed state.

NOT MEASURED: the end-to-end sweep row for the other eleven PRs. A
window back to 2026-11-10 timed out at 570 s, and a 7-day window already
takes about 8 minutes per tree, so this container's 10-minute foreground
limit cannot fit it. Their enqueue-leg reading is in the table above.
The weekly audit job will read them on its next run.

## Smaller finding: recommendation for the seat to route

Recommendation: **enforce the record template where the record is
written. Do not widen the reader.** This PR changes no recogniser
(`record-recognisers.mjs` is outside the claimed surface).

- Evidence: the template the reviewer is handed already spells both
forms the 8 rows missed (`scripts/pm/record-recognisers.mjs` lines
2555–2559 on `197e3ff3b`): a clean round is written `No must-fix, no
should-fix.`, and the delta record names what it closes as `S1: closed`.
The rows wrote `must-fix 0 · should-fix 0`, `S1 closed.` and `F1
(must-fix on SHA): fixed.`, which are off-template.
- Reason: the audit reads records through the queue guard's own reader,
so the audit and the queue agree on what a record says. Widening the
reader alone would make them disagree. Widening it for both changes what
the queue accepts, a contract we own on both ends (AGENTS.md Prime
Directive objectstack-ai#12: reject off-spec input at authoring, never accept a
dialect). A check when the record is written tells the reviewer at once,
while the record can still be fixed.
- After this PR, those 12 rows clear on the enqueue leg, so the phrasing
gap no longer decides them. It matters only for seat landings, where the
queue already refuses the same phrasing.

## Acceptance notes

- `origin/main` moved one commit past the base (`3c617a28e`,
`packages/spec` and `ui/` only, nothing under `scripts/pm/`). It was not
merged in, because the diff does not overlap it.
- For the live sweep, this container's shallow clone was deepened with
`git fetch --shallow-since=2026-11-02 origin main` (additive).

## Verification

Read first:
1. `timelineAsQueued` and `MERGE_QUEUE_REMOVAL_WINDOW_MS` (the risk
hunk: the three conditions that drop an event).
2. The one-line change in `readLandingClearance`.
3. The `WINDOW` pins in the objectstack-ai#33603 battery.

Two-minute check: run `node scripts/pm/check-governed-merges.mjs
--self-test`. Expected: `✓ check-governed-merges --self-test: 1017
assertions`, exit 0.

<details><summary>Local gates on 062ea49</summary>

- The derived set is `node scripts/pm/dispatch-gates.mjs --commands
--repo objectstack-ai/objectstack`, 63 commands. Reconciled with
`--ran`: `63 derived, 61 run, 2 NOT-MEASURED, 0 UNRUN`.
- NOT MEASURED, both left to CI:
- `pnpm check:i18n-coverage`: exit 3, PREREQUISITE NOT MET (no CLI or
examples build in this worktree).
- `pnpm check:pm-dispatch-gates`: killed by timeout at 200 s and again
at 280 s on the shared box, so it never reached a verdict.
- `node scripts/check-self-test-workflow-commands.mjs` first failed when
its spawn timed out (`spawnSync node ETIMEDOUT`) while the box was
loaded. Re-run alone: exit 0.
- Every other command: exit 0.
- No changeset: `scripts/pm/**` is not published (`skip-changeset`).

</details>

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

---------

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 size/s 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.

skills: objectstack-data still teaches field history as opt-in after the default flips

3 participants