Skip to content

docs(skills): teach the flow step-name and related-list title translation keys - #37072

Merged
os-zhuang merged 4 commits into
mainfrom
claude/issue-36401-i18n-skill-keys
Nov 24, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/issue-36401-i18n-skill-keys

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes #36401
Fixes #36575
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;读「多语言」和「数据建模」技能的 AI 助手现在知道,流程里每一步的名称、以及记录页上自定义的关联列表标签页标题,各自该写在哪个翻译位置。
  • 为什么做:这两个翻译位置已经随平台发布,技能文字却没跟上,是「流程步骤名可翻译」和「关联列表标题可翻译」两项改动各自欠下的技能说明,这里一次补齐。
  • 出错会怎样:只是技能里的几句说明和一条测评用例,不影响任何运行行为;写错的话 AI 助手会把翻译写到不生效的位置,可以直接撤回这一个合并。
  • 要你做什么:批准合并。只改技能文字和一道评测题;因为一个 PR 同时关两张卡,工具无法判断走哪张卡的低风险通道,所以按需要人工批准处理。契约审核 PASS:记录 7141681211,Head-sha 7523971c565c850e5183385030f0007e4ff08fd0。

What changes

One commit per card, then one merge of main and one fix commit after the contract review.

76538fe36f, the flow step-name key (#36401, the follow-up owed by the flows nodes group). skills/objectstack-i18n/SKILL.md, the paragraph on keys that sit deeper than their group's label, now names a fourth key:

any other step's name at flows.{flow}.nodes.{node_id}.label (a screen is named by its heading, flows.{flow}.screens.{node_id}.title, and takes a nodes key only beside a title of its own; os i18n check asks for a flow's top-level steps, and for one of FLOW_TECHNICAL_NODE_TYPES — script, http, connector_action, assignment, boundary_event, the four *_record types — only where a decision's branch leads to it)

"Three keys" and "all three keys included" become four. This is what the readers do: the walk in packages/lint/src/i18n-walk.ts asks nodes.NODE_ID.label for each top-level node, skips an approval (keyed approvals.NODE_ID.label) and a screen whose label screens.NODE_ID.title already covers, skips isFlowTechnicalNodeType nodes, and adds back a technical step a drawn decision's branch names (decisionBranchTechnicalTargets); os i18n extract reads the same walk. The nine types are the literal list of FLOW_TECHNICAL_NODE_TYPES in packages/spec/src/automation/flow-altitude.ts, whose source file does not ship in the package, so the skill lists them.

cd690662c7, the related-list title key (#36575, the follow-up owed by the related-list title translation).

  • skills/objectstack-i18n/SKILL.md, the object translation group table, gains the _relatedLists.{list} row beside _tabs: the label of an object-form relatedLists entry on the parent object, by the entry's literal list (event.related_to is one key); an entry with no label has no key and keeps the child field's relatedListTitle, else the child's plural label; "Spelled relatedLists, the group is refused, naming this one" (the alias table of ObjectTranslationDataSchema maps the unprefixed spelling to _relatedLists as a refusal, never an accepted second spelling).
  • skills/objectstack-data/rules/relationships.md, the relatedLists entry: "its label translates at objects.{parent}._relatedLists.{list}.label (none: nothing to translate)".
  • skills/objectstack-i18n/evals/bundles-locales-coverage.json: one case (id 16) covering both keys.

Precedence is stated as the contract has it (RelatedListEntryObjectSchema.label in packages/spec/src/data/object.zod.ts: the entry label, then the child FK's relatedListTitle, then the child's plural label).

40f4e27ee0, merge of origin/main 159113f4fe (plain merge, no conflict; brings #37044's edit to the same file).

7523971c56, the contract review's S1 and N1 (record 7141134189), relationships.md only:

  • S1: the 'primary' bullet ends "its tab stays unless relatedLists omits it" again (the first round had cut the qualifier, leaving a sentence that was false for a declared list that omits the child).
  • N1: "override the derived title / columns (columns: the child's highlightFields); an entry's label / columns win."

Paid in the same files; no ceiling of the skills token ratchet moves. Restatement cut from skills/objectstack-i18n/SKILL.md: three sentences repeating the heading above them; the "Use both gates" paragraph keeps its one new fact; the relatedListTitle cell says "likewise"; "Requires --out" loses its restating clause; the per-namespace row loses "assembled by your own imports" (said above the table for every layout); "Both shipped adapters" loses the parenthetical the Service Contract section spells in full; the translation item section loses its heading restated as a sentence; the Register step folds a repeat of the authoring section.

Cut from skills/objectstack-data/rules/relationships.md, inside the related-list section: "absent, nothing changes" (the section opens by saying every child relationship shows by default, and objectstack-ui Record Page says it too); the section's opening sentence loses "You usually don't declare the related list on the parent's record detail page" (it restated "by default"); "a self-referential FK (a hierarchy)" loses the parenthetical. The "Catalog auto-fill" bullet and the Delete Behaviors section are untouched.

Published-skill size against main 159113f4fe (before) and 7523971c56 (after):

lines bytes tokens (ceiling)
skills/objectstack-i18n/SKILL.md 520 / 515 25215 / 25193 6299 / 6294 (6333)
skills/objectstack-data/rules/relationships.md 401 / 402 16805 / 16800 4202 / 4200 (4203)
skills/objectstack-i18n/evals/bundles-locales-coverage.json 155 / 165 14511 / 15724 3628 / 3931 (eval fixture, not ratcheted)

The two authored files are 27 bytes smaller together; the eval case is the tree's only growth.

Tests

Text only: no package source, test or behaviour changes, so there is no ablation. The pins the text was written from were read, not edited: packages/cli/test/i18n-flow-node-coverage.test.ts and packages/lint/src/i18n-related-lists-label-36528.test.ts.

Acceptance notes

  • The body opens with the seat signature line; the closing lines follow it.
  • check:dual-build-cjs-loads and check:lean-entry-closure were NOT MEASURED locally (exit 3, prerequisite: a whole-workspace build); the diff touches no package and CI runs both.
  • The flows nodes key is accepted by os validate at any depth and for a titled screen; the skill teaches what os i18n check asks for and the one screen rule an author can get wrong, not the full acceptance set.
  • Contract review nit N2 (the nine-type list is a hand copy of FLOW_TECHNICAL_NODE_TYPES with no gate tying them) is accepted as is.

Verification

Read first, by risk: the "Four keys sit deeper" paragraph and the _relatedLists.{list} row of skills/objectstack-i18n/SKILL.md; the three related-list bullets of skills/objectstack-data/rules/relationships.md.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints 60 authored bundle file(s) within their ceilings, with skills/objectstack-data/rules/relationships.md is 4200 tokens (ceiling 4203; headroom 3). overlap-check at 7523971c56: VERDICT clean exit 0 against origin/main, #36158 and #35129.


Generated by Claude Code

…LOW.nodes.NODE_ID.label

The deeper-keys paragraph names the nodes group: what it translates, that a
screen is named through screens.NODE_ID.title, and that the coverage check
asks a FLOW_TECHNICAL_NODE_TYPES step only where a decision's branch leads to
it. Paid in the same file by three restatement cuts.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
Co-authored-by: Claude <noreply@anthropic.com>
…ey objects.OBJECT._relatedLists.LIST.label

The object translation group table gains the _relatedLists row beside _tabs,
with the refused unprefixed spelling; relationships.md names the key on the
relatedLists entry and says an entry with no label has nothing to translate.
One eval case covers this key and the flow step-name key. Paid inside each
file by restatement cuts.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
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 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review brief — PR #37072 @ cd690662c70a2fcdf66c63783b1bb18dca7957ff (card #36401 and #36575)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #36401 and #36575: its body and EVERY comment (rulings and earlier records included)
· PR #37072: its body, its file list, and the net diff against main at cd690662c70a2fcdf66c63783b1bb18dca7957ff
· the check-runs on cd690662c70a2fcdf66c63783b1bb18dca7957ff: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: skills/objectstack-i18n/SKILL.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — if a hits path is under skills/** or ui/skills/** and the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

Rule change — if a hits path is under .claude/**: the PR body declares Rule-change: and you verify it against the diff.
Write Rule-change-verified: none ONLY when no changed hunk alters what an agent may do without the maintainer
(merge, bypass a check, change repository settings), what gets done and in what order (grading, dispatch, scope), or
what must go to him (decisions, maintainer actions); process steps, scripts, wording, slimming and file moves are not rule
changes. Write ruled ONLY when every such hunk copies the ruling the PR body quotes on its Ruling-ref: line — check the
copy against the quoted words, do not re-rule it. Otherwise yes: the pull request then waits for the maintainer.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user-objectstack/177ababb-cccd-573a-a846-cda17d8e5bbd/scratchpad/pr-37072/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: cd690662c70a2fcdf66c63783b1bb18dca7957ff
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no
Rule-change-verified: none

PR #37072, folding cards #36401 and #36575. Inputs read: both card bodies and all four comments on each (triage, unlock, claim, dev report), the PR body, its four-file list, the net diff against main (merge-base 938a48f112; main read at 896bfc4762), and the 44 check-runs on the head.

Check-runs on the head: 28 success, 16 skipped, none failed, cancelled, neutral or pending. The skips are the path-filtered UI, docs and dogfood lanes (Type Check UI, Lint UI, Build UI Deps, Build & E2E UI, UI Published Artifacts, Plan Test UI shards, the Test UI and Dogfood Regression Gate matrix placeholders, Dogfood Verify CLI, Build Docs, Temporal Conformance), the two opt-in lanes (Packed-tarball smoke, 18.x upgrade harness), the two merge-queue verdicts (Queue verdict, Borrowed queue verdict) and the schedule gate: all expected on a skills-text diff. Check Changeset, Governed Surface Queue Guard, PR-body guards, every Lint and Type Check lane, Build Core and Test Core are success. Observation only: Test Core ran as shards 1/10 and 2/10 with the aggregate Test Core green.

① Derived judgments

  • No accept-set changes: the diff holds no schema, validator, lint rule or runtime code. Every refusal the new text names (relatedLists unprefixed in an object translation, a nodes key over an untitled screen) is existing behaviour on main. Right.
  • Public surface: the published @objectstack/skills text of two authored files and one eval fixture. Right, and it is the whole of it.
  • Skills token ratchet: no ceiling moves. skills/objectstack-i18n/SKILL.md 25215 to 25193 bytes; relationships.md 16718 to 16715. main has since taken docs(skills): lookupAutofill copies a currency amount only between fields in the same currency #37044 on relationships.md (16805 bytes there): merged, the file is 16802 bytes, 4201 tokens of the 4203 ceiling. The PR base 2b67603615 already contains docs(skills): lookupAutofill copies a currency amount only between fields in the same currency #37044, and the ratchet's lane is green on this head. Right.
  • os:check fences and served-section headings in the touched hunks are intact (the comment before the Stack-Level config block is kept; no heading changed). Right.

② Semver level

'@objectstack/skills': patch, one changeset. Text and one eval fixture only, nothing an installed project parses changes: patch is the level. Clause-②: no on the PR body and in the changeset agrees with the diff (no narrowing, no behaviour change); Metadata-protocol: none likewise. Check Changeset is success.

③ Boundary flags

open_questions: empty. Dev deviations and out-of-scope notes, each answered:

  • Signature line first in the PR body, closing lines after it: the PR-body guards run is success; both Fixes lines are present. Accepted.
  • Extra cuts in the related-list bullets of relationships.md beyond the relatedLists bullet: judged in ④; one of them is S1.
  • The nine technical node types listed beside the constant name: accepted. flow-altitude.ts is not a *.zod.ts file, and the skill itself states that only src/**/*.zod.ts ships as source, so the constant's members are not readable from a customer project. The list equals FLOW_TECHNICAL_NODE_TYPES on main member for member (see N2 on drift).
  • test:repo and the two NOT MEASURED gates (check:dual-build-cjs-loads, check:lean-entry-closure): answered by the head's check-runs, all green.
  • Out-of-scope note, carrier none: the other screens sub-keys and the flow-level successMessage / errorMessage, refusals, notices keys are still not spelled in the i18n skill. Agreed it is outside both cards (card objectstack-i18n skill: document the flows nodes translation group #36401 asks for step names). It has no carrier; the seat decides whether to file one.
  • Out-of-scope note on PR chore: version packages (next) #35129 sharing SKILL.md: this diff lowers the file by 22 bytes, so it cannot cost that PR headroom. Accepted.
  • SQL push-down: no code in the diff; nothing to judge.
  • Security: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The words permissions and permission-denial near the hunks are unchanged context lines.

④ Design judgment

Code read on main to judge the text (read, not reviewed): packages/lint/src/i18n-walk.ts (the nodes pass and decisionBranchTechnicalTargets), packages/spec/src/automation/flow-altitude.ts, packages/cli/test/i18n-flow-node-coverage.test.ts, packages/lint/src/validate-translation-references.ts (the nodes orphan rule), packages/spec/src/system/translation.zod.ts (nodes, _relatedLists, the relatedLists alias, relatedListTitle), packages/lint/src/i18n-related-lists-label-36528.test.ts, packages/spec/src/system/i18n-related-lists-label-36528.test.ts, packages/spec/src/data/object.zod.ts (RelatedListEntryObjectSchema, ObjectSchema.relatedLists), ui/packages/app-shell/src/utils/deriveRelatedLists.ts, skills/objectstack-ui/rules/record-page.md.

No must-fix.

skills/objectstack-i18n/SKILL.md — the new teaching holds.

  • flows.{flow}.nodes.{node_id}.label: the walk emits it for each top-level node, skipping an approval (keyed approvals), a screen unless its own config.title holds a {{ hole, and isFlowTechnicalNodeType nodes, then adds the top-level technical targets of a top-level decision's branches. "Asks for a flow's top-level steps, and for a technical type only where a decision's branch leads to it" is that, and the coverage test pins it (asks nothing for a technical step no branch names, asks for a folded technical step where a drawn decision's branch list names it).
  • The nine types: script, http, connector_action, assignment, boundary_event and the four get_ / create_ / update_ / delete_record are exactly the frozen list.
  • The screen rule: the screens.{node_id}.title key covers config.title ?? node.label, and os validate refuses a nodes key over an untitled screen, pointing at the screens key, while a titled screen's nodes key is accepted. "Takes a nodes key only beside a title of its own" is correct.
  • "All four keys included" for os i18n extract --no-objects-only: extract and check share collectExpectedEntries, so the nodes key is scaffolded with the other flow keys.
  • _relatedLists.{list} row: key on the parent, the entry's literal list indexed whole (event.related_to one key), only an authored label has a key (a key over an unlabelled entry, a bare name or a built-in tab is translation-target-unknown), precedence entry label, then the child FK's relatedListTitle, then the child's plural label, as RelatedListEntryObjectSchema.label states it. The unprefixed relatedLists group is refused with the rename onto _relatedLists (alias table of ObjectTranslationDataSchema, pinned by the spec test). All correct.
  • Card objectstack-i18n skill: document the flows nodes translation group #36401's acceptance: on the test's own opportunity_approval shape, an author following the paragraph writes nodes keys for the start, decision, notify, loop and end steps, leaves the approvals and the untitled screen to their own keys, and is asked nothing for mark_approved; that is the set the coverage test expects.

skills/objectstack-i18n/SKILL.md — the cuts that pay for it lose no rule. Each cut, and where the file still says it:

  • "assembled by your own imports" (per-namespace row): the sentence above the table says it for every layout ("your own import graph assembles it ... nothing loads a directory tree for you").
  • "Use both gates": what each gate answers is still the section heading ("freshness, not coverage"), the os i18n check paragraph (missing keys per locale) and "coverage is only half the gate"; the kept sentence carries the one fact that motivates running both.
  • "Translations do not have to ship as files.": the heading and "created in the Studio, through the metadata API, or by an agent ... layering over the file bundles".
  • The adapter names: spelled in full under Service Contract.
  • "Configure i18n settings in your objectstack.config.ts", "The working coverage path is the CLI", "Scaffold ready-to-edit translation files", "there is nothing to compare against without it", "the most common shape in this repo": headings or repo-internal remarks; the config file is still named in the authoring sample, and that no shipped implementation provides getCoverage is still said under Service Contract.
  • relatedListTitle cell, "likewise": carries the inlineTitle clauses (the key is the child's; untranslated it keeps its authored text), which is what the field schema says of both.
  • Register step: stack registration is still taught in the authoring section; the folded sentence keeps the wrap rule.

skills/objectstack-data/rules/relationships.md.

S1 (should-fix) — relationships.md, the 'primary' bullet: "its tab stays unless a declared relatedLists omits it" is now "its tab stays." For a parent that declares relatedLists and names no entry for the group-placed child, the tab goes and the table stays at its group (deriveRelatedLists.ts, the "body table no entry names" branch; ObjectSchema.relatedLists jsdoc), so the sentence as it stands is false for that case. The file is not wrong as a whole: the next bullet still says a declared list shows only the lists it names, and objectstack-ui Record Page keeps the qualifier word for word. But the precedence between two adjacent statements was explicit and is now left to inference, and an author reading the specific sentence over the general one concludes the tab survives a declared list. That is a rule an author arranging tabs needs (the objectstack-ui record-page eval case 6 turns on it), so it is graded above a nit, and no higher because the governing rule is still on the next line. Restore the qualifier in some spelling and pay for it in the file: after #37044 the file has 10 bytes of headroom (16802 of 16812).

N1 (nit) — same file: "override the derived title / columns (the child's highlightFields)". The parenthetical now reads as the source of both; only the columns derive from highlightFields (the derived title is the child's plural label). The old wording ("otherwise columns auto-derive from ...") was exact.

N2 (nit) — SKILL.md: the nine-type list is a hand copy of FLOW_TECHNICAL_NODE_TYPES with nothing tying the two; it goes stale silently if the table gains a type. A follow-up, not a fix here.

skills/objectstack-i18n/evals/bundles-locales-coverage.json, case 16. Valid JSON, ids unique. The expected output holds against main: objects.crm_account._relatedLists['crm_event.related_to'].label on the parent as one key; the bare crm_contact entry has no key and keeps relatedListTitle, else the plural label; flows.opportunity_approval.nodes.high_value.label for the decision; update_record is a technical type asked only where a decision's branch leads to it, so the check is not missing a key. The names are the coverage test's own fixture. The assertions (_relatedLists, crm_event.related_to, nodes, high_value; not approvals.high_value, not screens.high_value) discriminate the two wrong groups an answer would reach for.

Implemented-by: claude/issue-36401-i18n-skill-keys
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

…lifier and says which default is highlightFields

Contract review S1 and N1 on the related-list bullets. Paid in the same file
by two restatement cuts in the section's opening and closing sentences.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 7523971c565c850e5183385030f0007e4ff08fd0
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no
Rule-change-verified: none

This is a delta review over the contract review record on this PR (record 7141134189: PASS at cd690662c70a2fcdf66c63783b1bb18dca7957ff, should-fix S1, nits N1 and N2). Since that head: the merge 40f4e27ee0 of main 159113f4fe, and the fix commit 7523971c56, which touches skills/objectstack-data/rules/relationships.md alone (5 lines out, 5 in). Read for this delta: record 7141134189 in full, the PR body, the two new commits, the net diff against main at 159113f4fe (still the tip of main), the 48 check-runs on the new head, and the code named in ④. Everything the prior record judged and this delta does not move stands as judged there: skills/objectstack-i18n/SKILL.md, the eval fixture and the changeset are the same blobs at cd690662c7, at the merge and at the new head.

Check-runs on the head: 30 success, 18 skipped, none failed, cancelled, neutral or pending. The skips are the path-filtered UI, docs and dogfood lanes (Type Check UI, Lint UI, Build UI Deps, Build & E2E UI, UI Published Artifacts, Plan Test UI shards, the Test UI and Dogfood Regression Gate matrix placeholders, Dogfood Verify CLI, Build Docs, Temporal Conformance), the two opt-in lanes (Packed-tarball smoke, 18.x upgrade harness), the two merge-queue verdicts, the schedule gate, and Auto Label and Check PR Size on the run the PR-body edit started (both are success on the push run). All expected on a skills-text diff. Check Changeset and the PR-body guards are success on both runs; Governed Surface Queue Guard, every Lint and Type Check lane, Build Core and Test Core are success. Token ratchet: the Type Check · source gates lane is success, its lane verdict reads 35 gates passed with Published skills token ratchet (#10473) + its self-test ok, and the gate's own line is 60 authored bundle file(s) within their ceilings (skills/objectstack-i18n/SKILL.md 6294 of 6333).

① Derived judgments

  • The merge is clean and brings nothing of its own. The tree of 40f4e27ee0 is byte for byte the tree an automatic three-way merge of cd690662c7 and 159113f4fe produces (c81d42b8d7), so no hand resolution is in it. Its diff against main is the four files of the reviewed diff with the same patch id as the diff record 7141134189 reviewed (cd690662c7 against its merge base 938a48f112). In the PR's files the merge changes one thing against its first parent: the two-line lookupAutofill parenthetical of docs(skills): lookupAutofill copies a currency amount only between fields in the same currency #37044 in the Catalog auto-fill bullet of relationships.md, which is main's text and not in the net diff. Right.
  • Net diff against main at the new head: the same four files, 50 lines in and 32 out: the reviewed diff plus the fix commit, nothing else. Right.
  • No accept-set changes: no schema, validator, lint rule or runtime code in the delta. Right.
  • Skills token ratchet: no ceiling moves and the script is unchanged against main. relationships.md is 16800 bytes at the head (16805 on main), 4200 tokens against the 4203 ceiling the script holds for it; 16802 at the merge, so the fix commit is two bytes lighter than what it fixes. Right.
  • Served-section headings and os:check fences: the fix edits three prose passages and no heading or fence; the served-sections gate and the skills link gate are ok in the lane verdict. Right.

② Semver level

Unchanged from the prior record: one changeset, '@objectstack/skills': patch, the same blob at the new head. The fix is text in a published skill file, so patch is still the level, and Clause-②: no and Metadata-protocol: none still agree with the diff. Check Changeset is success.

③ Boundary flags

  • open_questions: none added by the delta.
  • S1 and N1 of record 7141134189 are answered by 7523971c56; both judged in ④.
  • N2 (the nine-type list is a hand copy of FLOW_TECHNICAL_NODE_TYPES): the PR body accepts it as is. A nit left as an accepted deviation; nothing to re-judge.
  • The two cuts that pay for the fix are named in the PR body and judged in ④.
  • SQL push-down: no code in the delta; nothing to judge.
  • Security: the fix hunks are the related-list opening sentence, the 'primary' bullet and the title / columns sentence. None teaches permission, sharing, credential, token or authentication behaviour, and the rest of the net diff is as the prior record judged it.

④ Design judgment

Code read on main at 159113f4fe to judge the text (read, not reviewed): ui/packages/app-shell/src/utils/deriveRelatedLists.ts (the rules header, keepsTab, relatedListNamingEntries, the declared-list branch), packages/spec/src/data/object.zod.ts (ObjectSchema.relatedLists jsdoc and description, RelatedListEntryObjectSchema), ui/packages/plugin-detail/src/RelatedList.tsx (the highlightFields column default), skills/objectstack-ui/rules/record-page.md, and the rest of relationships.md at the head.

S1: closed.

The 'primary' bullet ends "its tab stays unless relatedLists omits it". That is what the reader does: a master_detail table a parent field group places carries keepsTab, and where the parent declares relatedLists and no entry names the list, the declared-list branch of deriveRelatedLists strips keepsTab and keeps the table at its group ("A body table no entry names stays at its group, with no tab"). ObjectSchema.relatedLists says the same from the other side: body tables a field group places are not hidden by the list, and leaving a list out hides its tab. The restored qualifier drops the word "declared" that main carries; nothing is lost with it, since a relatedLists that is absent omits nothing, the next bullet opens "declared, only the named lists show", and objectstack-ui Record Page keeps the long form.

N1, fixed: "override the derived title / columns (columns: the child's highlightFields); an entry's label / columns win." is correct. The parenthetical now scopes highlightFields to the columns alone, which is where the renderer reads it; the derived title is the child's list label, and the object-form entry's label / columns win over the FK's relatedListTitle / relatedListColumns (the declared-list branch, objectstack#35899).

The two new cuts lose no rule and no hint an author needs. No finding on either.

  • The section's opening sentence, "You usually don't declare the related list on the parent's record detail page: every child relationship is shown by default as a tab" to "On the parent's record detail page every child relationship is a related list, shown by default as a tab". What goes is the imperative spelling of a hint the sentence still carries as a fact: "shown by default" tells the author nothing needs declaring, the next sentence calls the flags refinements of that default, and the group form is still marked "written only when asked". This sentence is now the section's one statement of the default (the prior round cut "absent, nothing changes" from the relatedLists bullet and leaned on it), and it still makes that statement in full, with objectstack-ui Record Page saying "Without it nothing changes" behind the bullet's own pointer. The new wording also defines the term "related list" where the old one only used it. The universal "every child relationship" is main's own, and its exceptions (relatedList: false, audit FKs) still follow in the section.
  • "a self-referential FK (a hierarchy) surfaces a "children" list" without "(a hierarchy)". The parenthetical was a gloss, not a rule. The same file teaches the pairing twice above: the field-type table row for tree (Self-reference, Hierarchical) and the "Hierarchical: tree (Self-Reference)" pattern section. What the sentence teaches, that a self-FK yields a list of the records pointing back at the parent, is intact and matches the derivation's self-reference rule.

skills/objectstack-i18n/SKILL.md and skills/objectstack-i18n/evals/bundles-locales-coverage.json: unchanged blobs since the reviewed head; the prior record's judgment stands. main moved one commit past the tree that record read (#37063: skills/objectstack-ui/rules/list-views.md and its changeset), which touches none of the code or text either file was judged against.

No must-fix, no should-fix.

Implemented-by: claude/issue-36401-i18n-skill-keys
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

席位核对 — ACCEPT · L1 · head 7523971c565c850e5183385030f0007e4ff08fd0 · 2026-11-24T19:09Z

Zone a4-A, fold of cards #36401 (chain head) and #36575. Read from the PR's diff and check-runs, not from the dev reports.

  1. Shape. 4 files, +50 / −32: skills/objectstack-i18n/SKILL.md (the flows nodes.{node_id}.label key with the screen rule and the technical-node rule; the _relatedLists.{list} row), skills/objectstack-data/rules/relationships.md (the relatedLists entry names its translation key), one eval case (id 16), one @objectstack/skills patch changeset. One commit per card, a plain merge of main, one fix commit. No ceiling moved (relationships.md 4200 of 4203; i18n SKILL.md 6294 of 6333). Net +6 lines under skills/** against a fold budget of +8.
  2. Premise, measured. Neither key was taught in skills/** at 938a48f112; feat(spec): every step a flow drawing shows can be translated, under flows.FLOW.nodes.NODE_ID.label #36383 and feat(spec): a record-page tab title a relatedLists entry declares is translatable (objects.OBJECT._relatedLists.LIST.label) #36574 are merged. The text was checked against packages/lint/src/i18n-walk.ts, FLOW_TECHNICAL_NODE_TYPES, ObjectTranslationDataSchema and RelatedListEntryObjectSchema by the contract review.
  3. Gates. Check-runs on this head: 48, 30 success, 18 expected skips, none failed or pending; the token ratchet is green in Type Check · source gates.
  4. Contract review. Full PASS 7141134189 at cd690662c7 with S1 (should-fix); delta PASS on this head (posted just above): S1: closed, N1 fixed, the two new same-file cuts lose no rule, merge clean (same patch id). Security-touching: no. N2 accepted.
  5. Out of scope. The other screens sub-keys and the flow-level message keys are still not spelled in the i18n skill (dev note, carrier none): an omission os i18n extract scaffolds and os i18n check names — noted, not filed.
  6. Landing. Tier S on the low-risk skills arm with the record on this head; the zone lands it. Fixes #36401 and Fixes #36575.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Correction to item 6 of ACCEPT 7141692651 · 2026-11-24T19:10Z

check-governed-merges.mjs --pr 37072 reads Tier H, not Tier S: the PR closes two cards (Fixes #36401, Fixes #36575), so the low-risk skills arm cannot derive which card's labels to read and cannot rule out a security label. Neither card carries one today, but the zone does not land it: it is handed to the seat session for an authorized approval. Every other item of the ACCEPT stands.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

维护者速读

  • 用户能看到什么变化:用户无感。AI 写应用时会正确翻译流程里每一步的名称、相关列表的标题,技能文档里几处重复和过时的说法被删掉。
  • 为什么做:这两处能力已经上线,但技能文档没教,AI 写出的应用会漏翻译。
  • 出错会怎样:只是教学文字和一道评测题;最坏是 AI 少翻译几处,os i18n check 会提示。
  • 要你做什么:批准合并。一个 PR 关两张卡,工具判不出该走哪张卡的低风险通道,所以按需人工批准处理。契约审核 PASS:记录 7141681211,Head-sha 7523971c565c850e5183385030f0007e4ff08fd0。

席位意见:可以合并。两张卡(#36401、#36575)都没有 security 标签,内容是纯技能文字。

席位核对 — ACCEPT · L1 · head 7523971c565c850e5183385030f0007e4ff08fd0 · 2026-11-24T19:12Z

Seat's own read of the diff (4 files, +50/−32), over zone a4-A's L1 (7141692651) and the contract reviews (full PASS 7141134189 at cd690662c7 with S1; delta PASS 7141681211 at this head, S1: closed, Security-touching: no).

  • Shape. Folds objectstack-i18n skill: document the flows nodes translation group #36401 and Skills: teach the related-list entry title translation key objects.OBJECT._relatedLists.LIST.label (follow-up of #36528) #36575 (two Fixes). skills/objectstack-i18n/SKILL.md teaches the flows.{flow}.nodes.{node_id}.label key (screens named by their title, which technical node types os i18n check asks for) and the objects.{parent}._relatedLists.{list}.label key; skills/objectstack-data/rules/relationships.md points to the related-list label key; restatements are cut without losing a rule (the contract review's S1 restored "its tab stays unless relatedLists omits it"); one eval case; changeset @objectstack/skills patch, Clause-②: no, Metadata-protocol: none.
  • Tier H only because the low-risk skills arm cannot tell which of the two folded cards carries the record; neither card carries security (read now). Check-runs at this head: 30 success, 18 expected skip, 0 failed; landing K = 0.
  • No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Hand-off · 2026-11-24T19:12Z · @os-zhuang — PR #37072 (cards #36401, #36575) is ready for your approval. Skills text and one eval case only; Tier H because one PR folds two cards. Seat record (速读 + ACCEPT) above; contract review PASS 7141681211, Head-sha 7523971c565c850e5183385030f0007e4ff08fd0. After your approval the seat lands 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 19:16
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 9d70768 Nov 24, 2026
57 of 58 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36401-i18n-skill-keys branch November 24, 2026 19:34
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…e data skill (objectstack-ai#37076)

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes objectstack-ai#36713

Clause-②: no
Metadata-protocol: none

## 维护者速读

- 用户能看到什么变化:AI 助手在建数据模型时,知道可以让「更换负责人」连带移交子记录,并知道哪些写法会被拒绝;此前它不知道有这个设置。
- 为什么做:属于「技能包教学」这条线,是「更换负责人连带移交」功能落地后欠下的教学补齐。
- 出错会怎样:AI 可能照着教学写出系统拒收的设置,保存时当场报错;可以直接撤回,只是文字改动。
-
要你做什么:批准合并。只改技能文字和一道评测题;按需人工批准处理,是因为契约审核判它「涉及权限」:教的是「更换负责人」连带移交子记录,负责人决定谁能看到记录。它没有放宽任何检查,也没有教授权写法。契约审核
PASS:记录 7141869539,Head-sha `84459523cd70acc86a20162638981d7e2a1a6473`。

## What changes

- `skills/objectstack-data/rules/relationships.md`, Delete Behaviors:
one paragraph teaches `transferBehavior: 'cascade'` on a child's
`lookup` / `master_detail`. It says what the parent's Change Owner
dialog then offers (moving the child rows the parent's previous owner
owns), that the default is `'none'`, when to declare it, and the parse
refusals in one sentence.
- `skills/objectstack-data/rules/field-types.md`: `transferBehavior` is
listed in the Key Config cell of the `lookup` and `master_detail` rows.
- `skills/objectstack-data/evals/objects-fields-relationships.json`: one
case (id 28) that asks for the declaration in place of an
owner-rewriting hook, and where it is refused.
- One `@objectstack/skills` patch changeset.

The refusals taught are the ones the merged code makes (read on main at
896bfc4, `packages/spec/src/data/field.zod.ts`, `object.zod.ts` and
`user-action-transfer.ts`): the key on any type but `lookup` /
`master_detail` (an authored `'none'` too); `'cascade'` on a reference
to a `sys_` object; `'cascade'` with `multiple: true`; `'cascade'` on a
field of an object that does not offer Change Owner itself (not
structurally eligible, a `controlled_by_parent` detail, or
`userActions.transfer` off).

### Paid for in the same files (no ceiling row moved, the ratchet script
is not edited)

- relationships.md: the two "Incorrect" code blocks become one sentence
each (each block restated the pattern above it); two `required: false`
lines the Relationship Types table already states as the default; two
code comments that repeated the `name:` under them; and three prose
repeats in the inline-edit part.
- field-types.md: the autonumber example in the Calculated row, which
the Autonumber section gives; "embedded" twice in the Embedded table,
which its heading and lead sentence already say.

| File | Lines before / after | Tokens before / after | Ceiling |
Headroom |
|:--|:--|:--|:--|:--|
| `rules/relationships.md` | 401 / 389 | 4202 / 4201 | 4203 | 2 |
| `rules/field-types.md` | 270 / 270 | 3540 / 3539 | 3541 | 2 |
| `evals/objects-fields-relationships.json` | 491 / 506 | 8588 / 8922 |
not ratcheted | n/a |
| whole `skills/objectstack-data` bundle | 4715 / 4718 | 62592 / 62923
(bytes 250366 / 251692) | n/a | n/a |

Net lines in `skills/**`: +3 (budget +10). Without the eval fixture the
bundle shrinks: 3779 / 3767 lines, 175356 / 175348 bytes.

## Tests

No package source changes, so there is no package test to run. The gates
that read these files, at 8445952:

- `node scripts/check-skills-token-ratchet.mjs`: exit 0, `60 authored
bundle file(s) within their ceilings`.
- `pnpm --filter @objectstack/spec run check:skill-served-sections`:
exit 0, 24 served sections (the Roll-up Summaries section this file
serves is untouched).
- `node ui/scripts/check-skill-eval-tokens.mjs`: exit 0, `Every
must_contain token is taught by its own skill bundle.`
- `pnpm check:skill-links`, `check:skill-identifier-liveness`,
`check:skill-compatibility`, `check:skill-frame-sync`,
`check:doc-authoring`, `check:nul-bytes`: exit 0.

## Acceptance notes

- `evals/README.md` lists what the fixture covers and does not name the
new case; it is outside this card's file surface.
- Open PR objectstack-ai#36158 raises both ceilings and, merged with today's main
alone, already reads 4347 tokens against its own 4343 row for
relationships.md. Merged with this branch it reads 4346. That gap is not
from this change, which removes 4 bytes.
- Combined with open PR objectstack-ai#37072 (head cd69066): relationships.md 16798
bytes, 4200 tokens, ceiling 4203; field-types.md 14156 bytes, 3539
tokens, ceiling 3541.

## Verification

Read first, by risk:

1. `skills/objectstack-data/rules/relationships.md`, the new paragraph
before "Roll-up Summaries": every refusal named there against the merged
schema.
2. The same file, "Incorrect vs Correct": two code blocks reduced to a
sentence each.
3. `skills/objectstack-data/rules/field-types.md`, the Relational table
rows.

Two-minute check: `node scripts/check-skills-token-ratchet.mjs` exits 0
and prints headroom 2 for both rule files.

<details>
<summary>Gate readings at 8445952</summary>

- `node scripts/pm/dispatch-gates.mjs --ran`: `✓ dispatch-gates --ran:
48 derived famil(ies) accounted for — 43 run, 5 NOT-MEASURED (5 DERIVED
from a recorded exit 3).`
- NOT MEASURED locally (exit 3, PREREQUISITE NOT MET: no built `dist/`
in this worktree; none reads a file this diff changes; CI runs them):
`check:doc-formula-expressions`, `check:dts-closure`,
`check:dual-build-cjs-loads`, `check:lean-entry-closure`,
`check:sourcemap-no-sources-content`.
- `node scripts/pm/overlap-check.mjs`: `VERDICT clean exit 0` against
origin/main, objectstack-ai#37072 and objectstack-ai#36158.

</details>

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

<!-- signed: repo:objectstack#4 · os-justin ·
session_01QSeKYpEsWWE9Y5YtSsDgqZ -->

Co-authored-by: Claude <noreply@anthropic.com>
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

3 participants