Skip to content

fix(i18n)!: refusal labels follow the declared sourceLocale, as /meta serves them - #35351

Merged
objectstack-fleet[bot] merged 15 commits into
mainfrom
claude/issue-34030-label-readers-source-locale
Nov 19, 2026
Merged

objectstack-fleet[bot] merged 15 commits into
mainfrom
claude/issue-34030-label-readers-source-locale

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
Fixes #34030

Clause-②: yes (narrowing) — ValidationMessageContext.labelTranslation is a new optional member (a widening), and ValidationMessageContext.translate no longer translates the labels a refusal names (a narrowing): a direct caller of validateRecord, validateInsertValues or evaluateValidationRules that passes messages: { locale, objectName, translate } now gets the declared labels until it also passes labelTranslation.
Metadata-protocol: none
Skills-docs: follow-up owed — skills/objectstack-i18n/SKILL.md, evals

维护者速读

  1. 应用用英文写字段名、但默认给中文用户时,用英文界面的用户在保存被拒、删除被拦、没有权限的提示里,原来看到的是中文字段名和对象名,现在看到的是作者写的英文名称;中文用户看到的不变。
  2. 这是多语言显示一致性工作的收尾:页面上显示英文名称的字段,报错时却说中文名称,同一个东西两种叫法,用户会困惑。
  3. 如果出错,最坏情况是某些提示里的字段名退回作者原文或显示成另一种语言,不影响数据和权限判断;平台之外直接调用校验能力的自定义代码,若不补一项新设置,提示里的名称会一律显示作者原文;撤回本次改动即可恢复。
  4. 无。

席位核对

  • Files to read first: packages/objectql/src/engine-validation-messages.ts (labelTranslationOf), packages/objectql/src/validation/record-validator.ts (translatedLabels, resolveFieldLabel), packages/plugins/plugin-security/src/security-plugin-authz-middleware.ts (denialLabels and both gates).
  • Two-minute check: pnpm --filter @objectstack/objectql exec vitest run src/engine-label-source-locale.test.ts. Expect 5 passed; on main the same file is 3 failed, 2 passed.
  • Landing: no maintainer action; the seat lands it.

Breaking change and migration

BREAKING for a TypeScript caller of validateRecord, validateInsertValues or evaluateValidationRules (@objectstack/objectql) that passes its own messages. The engine builds labelTranslation itself, so engine writes, REST, flows and the security layer are not affected.

messages passed was now
{ locale, objectName, translate } field, option and object labels translated through translate declared labels in every locale; translate renders message templates only
{ locale, objectName, translate, labelTranslation } not a member of the type labels translated through labelTranslation, the way GET /meta serves them

What to do on upgrade: add labelTranslation: () => ({ bundle, options }) to the messages you pass, where bundle is a TranslationBundle keyed by locale and options is a ResolveOptions (both from @objectstack/spec/system). The pair is typed ValidationLabelTranslation, now exported as a type from @objectstack/objectql and @objectstack/objectql/core (review S1: the export was chosen over spelling the two types out). The call compiles as before, and no verdict, code or status moves.

ADR-0087: not-required (runtime-interface-only packages/objectql/src/validation/record-validator.ts#ValidationMessageContext). check:adr-0087-registration verifies the four predicates positively at this head (it resolves as an exported interface, its file is not a metadata surface, it is not a Zod projection, and no metadata surface references it in code). Handed up rather than left to carry the claim: the same body written as a ## FROM → TO table is refused by the category's inherited prescription refusal, and no category is open to a runtime-interface narrowing that carries such a table (registered would put a non-metadata rewrite into the ledger and needs packages/spec, which this claim forbids; type-surface-only needs a symbol erased at the base). The changeset therefore states the migration as a was/now behaviour table and an upgrade sentence, the shape the gate reads as behaviour comparison. This is the same shape as .changeset/31898-credential-use-every-key-door.md.

What changes

  • ValidationMessageContext gains labelTranslation, a lazy thunk that answers the deployment's bundle and the ResolveOptions the metadata route builds. validationMessageContext builds the thunk once per context and asks the service only when a refusal names something.
  • resolveFieldLabel, resolveOptionLabel and objectDisplayLabel resolve through translatedLabels, which calls translateObject. The ladder is unchanged (translation, then declared label, then API name or raw value), and a throwing service still leaves the declared label. duplicate-record-error.ts and engine-delete-cascade.ts get the change through these readers without any edit of their own.
  • plugin-security: masterGateDenialMessage and fieldEditDenialMessage resolve through denialLabels, which builds the bundle and options in the same way. fieldEditDenialMessage is the same defect class in the same claimed file, so it is fixed here under the bounded in-place exemption. Evidence: the en pin in owner-queue-field-write-user-message.test.ts is red on main.
  • ValidationLabelTranslation is exported as a type from the . and ./core entries.
  • translate (t()) still carries the MESSAGES: validation.field.* overrides, authored rule messages, and errors.* sentence overrides. Route (B) was not taken, and contracts/i18n-service.ts is untouched.

Tests

  • New packages/objectql/src/engine-label-source-locale.test.ts: the card's scenario on a real ObjectQL engine. An en field refusal (min_value), an invalid_transition naming two options, and a DELETE_RESTRICTED naming two objects and a field all use the declared English labels. CONTROLS: a zh-CN request still gets the zh-CN rows, and with no sourceLocale an en request still walks to the zh-CN rows.
  • New packages/plugins/plugin-security/src/denial-label-source-locale.test.ts: the master-detail gate in the same scenario (real engine, SqlDriver, security layer), with the same two CONTROLS.
  • A new top-level describe in owner-queue-field-write-user-message.test.ts: the field-write gate in the same scenario. It sits in that harness file so the harness's existing pinned engine double covers it.
  • Fixture triage. Every fixture that translated a label through a t()-only double was re-spelled to hand over the same rows through getLocales/getTranslations; message overrides stay on t(). The affected files are seven objectql test files and the two plugin-security harnesses. The resilience pins now also throw from the label channel. One pin moved: zh-TW in the field-write list now reads 「薪资」, because the label negotiates zh-TW to zh-CN just as the sentence does.
  • Patch round 1, two test doubles outside the claim that served labels through t() only, re-spelled the same way (accepted by L1-a): packages/rest/src/data-not-null-field-label-24715.test.ts and packages/services/service-automation/src/flow-write-refusal-locale.integration.test.ts.

Acceptance notes

  • In-memory i18n fallback. createMemoryI18n in @objectstack/core reports no getFallbackLocale(), but its t() swaps to the default bundle. A request in a locale with no bundle now gets the declared label, as /meta already serves it; before, it got the default locale's row. The served adapter (FileI18nAdapter, which os serve builds with fallbackLocale || defaultLocale) is unchanged for every non-source locale.
  • Security-layer locale negotiation. The security layer's labels now negotiate the request locale through pickData, as /meta does, so a zh-TW request reads the zh-CN rows. objectql already negotiated through negotiatedMessageLocale.
  • System fields. An injected system field that keeps its English default label (owner_id, created_at, and so on) is named by the built-in translation of that label, as /meta names it.
  • ADR-0029 D9.2a divergence. Refusal labels pass no packagedBase, so a tenant-renamed label is still overlaid by the catalog. That matches the old t() behaviour.
  • Duplicated option-building. The ResolveOptions build is now inlined in two more places (labelTranslationOf and denialLabels), next to metaTranslateOptions and readerOptionLabels. The claim allowed a shared helper only if one already existed, and none did. The follow-up card for it, i18n: the label ResolveOptions (request locale, fallback chain, sourceLocale else defaultLocale) is assembled in four copies that can drift (follow-up to #34030) #35405, was closed not planned at triage (comment 7004384202: the copies agree today), so this stands as an accepted deviation.
  • Readers still on t(), outside this claim. plugin-approvals readerLabelsFor (objectLabel) and subjectParams, and plugin-audit activity-summary-message.ts (field option labels). They are reported for the area's family card.
  • Skills follow-up. skills/objectstack-i18n/SKILL.md lines 50-53 (as merged on main) and eval case 11 now state the opposite of this PR. The follow-up is the seat's card after merge (the Skills-docs: line above); skills/** is untouched here.

Verification

Red on main, green on this branch (objectql scenario)

Base 00cfb78faa with only the new test file: Tests 3 failed | 2 passed (5). Received for the object refusal: "This 客户 is still referenced by 1 商机 record(s) through “所属客户” …". After the fix: Tests 5 passed (5).

Reverse verification (plugin-security)

Committed head 916e6f51b7. security-plugin-authz-middleware.ts was replaced by its base blob (hash 746f337d equal to base) and the two files were run: Tests 3 failed | 42 passed (45) (both en scenario pins and the zh-TW pin). The file was restored with git checkout HEAD; the hash equals the HEAD blob 79bf8b41, and git diff HEAD and git status are both empty.

Suites and typecheck

At 7143ba0cb0: the full objectql suite gave Test Files 616 passed (616) and Tests 13886 passed (13886). The full plugin-security suite gave Test Files 280 passed (280) and Tests 6991 passed | 45 skipped. typecheck passed for both packages, including check:test-typecheck, with exit 0.
At the final head e4937c4517, after merging main and rebuilding metadata-protocol and objectql: the scoped re-run gave objectql 8 files with 301 passed, and plugin-security 3 files with 56 passed.

Patch round 2 (head df4b420)
  • Re-declaration commits b843baa949 and f3c7266544, then a merge of origin/main. The dogfood closure was built under the lock: VERDICT command-exit 0.
  • pnpm --filter @objectstack/objectql typecheck: VERDICT command-exit 0, check:test-typecheck: OK. ValidationLabelTranslation appears in both dist/index.d.ts and dist/core.d.ts.
  • Scoped re-run: objectql 4 files Tests 212 passed (212); plugin-security 3 files Tests 56 passed (56).
  • check:adr-0087-registration --base origin/main: exit 0, 1 declared-breaking changeset(s), each carrying an ADR-0087 disposition ... [BREAKING+bang+clause-②-narrowing] not-required (runtime-interface-only) -- verified: packages/objectql/src/validation/record-validator.ts#ValidationMessageContext (interface). The first write, with a ## FROM → TO table, was exit 1: not-required (runtime-interface-only) contradicts the changeset's own body, which carries a migration prescription. Evidence (from-to-label): ## FROM → TO.
  • Derived gates, dispatch-gates --commands at df4b420ef8: 81 families, 80 × exit 0 and 1 × exit 3. The exit 3 is check:dual-build-cjs-loads, PREREQUISITE NOT MET (studio, client-react and other packages outside the dogfood closure have no dist/). It is NOT MEASURED locally; CI builds everything and runs it. The changeset gates are among the 80: check-changeset-no-major, check-empty-changeset and check:changeset-gate-self-tests. --ran reconciliation with exit codes: 81 derived, 80 run, 1 NOT-MEASURED, 0 UNRUN.
  • Full dogfood battery on df4b420ef8, owed for the (narrowing) arm: the result is in the os-dev-report comment on i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030.
Derived gates (dispatch-gates --commands at e4937c4)

80 families derived and 80 run on head e4937c4517, each exit code captured before any pipe: 80 × exit 0. --ran reconciliation: 80 derived, 80 run, 0 NOT-MEASURED, 0 UNRUN.

An earlier pass at 7143ba0cb0 found two real failures in the new test doubles, and both are fixed: check:engine-double-contract (the field-write rig's findOne now asserts through the predicate check, inside the already-pinned harness, so the ledger is unchanged) and check:objectql-double-limit (the scenario driver's find now holds limit). check:i18n and check:dual-build-cjs-loads answered PREREQUISITE NOT MET at that head and exit 0 at the final head.

Not run locally (owned by CI): test:repo and the repo-wide lint. Dogfood was not run at this head; it was run at df4b420ef8 (above).


🤖 Generated with Claude Code

https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me

…solveOptions

A field, option or object label a write refusal names is resolved by
translateObject over the deployment's bundle with the options the metadata
route builds (locale, declared fallback chain, sourceLocale else
defaultLocale), so a request in the declared sourceLocale reads the
authored label instead of the defaultLocale row t() falls to.

Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
Co-authored-by: Claude <noreply@anthropic.com>
…ations

Each fixture that translated a refusal's label through a t()-only double
now supplies the same rows as the bundle the metadata route reads; message
overrides stay on t(). Resilience pins also throw from the label channel.

Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
Co-authored-by: Claude <noreply@anthropic.com>
…e's ResolveOptions

The master-detail gate's master label and the field-write gate's field
labels are read by translateObject over the deployment's bundle with the
options the metadata route builds, so a request in the declared
sourceLocale reads the authored label. Harness doubles hand their label
rows over through getTranslations.

Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
Co-authored-by: Claude <noreply@anthropic.com>
…oins its harness

Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
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 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/objectql, @objectstack/plugin-security, touching 18 documentable anchor(s). ⚠️ 2 changed file(s) yielded no anchor (packages/objectql/src/core.ts, packages/objectql/src/index.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

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

  • content/docs/ai/connect-mcp.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/api/wire-format.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/automation/approvals.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/concepts/metadata-lifecycle.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/data-modeling/currency.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/data-modeling/formulas.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/deployment/production-readiness.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/kernel/services-checklist.mdx (via TranslationBundle (symbol, a top-level type))
  • content/docs/protocol/kernel/http-protocol.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/protocol/kernel/i18n-standard.mdx (via TranslationBundle (symbol, a top-level type))
  • content/docs/protocol/objectql/state-machine.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/ui/forms.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))

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

  • content/docs/releases/v17/17-0.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/releases/v17/17-1.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))
  • content/docs/releases/v17/17-7.mdx (via /meta/object/:name (route, a path literal in a comment on a changed line))

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

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

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

Which tree this was computed on

This run read content/docs from e94f24695c9a6babcb1e5a0848e42a95bfd43084 — the merge of head 286b5a0d9148b231d603fd8eb2b4ca1bc4fb46ac into base 94fb8db2d170543fbd770f89849164d4b51e2e48, which is what actions/checkout gives a pull_request run. Not the PR head.

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

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin e94f24695c9a6babcb1e5a0848e42a95bfd43084 && git checkout e94f24695c9a6babcb1e5a0848e42a95bfd43084
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 94fb8db2d170543fbd770f89849164d4b51e2e48 286b5a0d9148b231d603fd8eb2b4ca1bc4fb46ac && git checkout -B drift-repro 94fb8db2d170543fbd770f89849164d4b51e2e48 && git merge --no-ff 286b5a0d9148b231d603fd8eb2b4ca1bc4fb46ac

node scripts/docs-audit/affected-docs.mjs --json 94fb8db2d170543fbd770f89849164d4b51e2e48

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

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

…rough getTranslations

The REST not-null door and the flow delete_record fixtures translated the
labels a refusal names through t()-only doubles; they now supply the same
rows as the bundle the metadata route reads. Message overrides stay on t().

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

Final green head for L1: b5b0fd289d088e4a881958c299dabe2976732113 · 2026-11-19T07:34Z

Checks at this head: 37 success, 16 skipped, 0 failed. Not governed (check-governed-merges.mjs --pr 35351: 985 lines ≤ 3000). No packages/spec/src path, so no contract record is owed. Clause-②: no · Metadata-protocol: none. K = 1 after the area's main merge (b5b0fd289d, clean; was 18).

Since the os-dev report (7001158402): patch round 1 (852bc57b93) fixed the two red Test Core shards. Both were test doubles that served labels through t() only, not a missed code path: packages/rest/src/data-not-null-field-label-24715.test.ts and packages/services/service-automation/src/flow-write-refusal-locale.integration.test.ts now hand the same rows over through getLocales / getTranslations. No code changed outside the claim. The PR body's Tests section does not list these two files; this comment is their record. The repo-wide sweep for other such doubles found none on the changed readers. Report file: /mnt/project-files/objectstack-seat5/area-ux/ux-3/report-34030.md.
Sent to the L1 thread; the area lands after its ACCEPT.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4

维护者速读

  • 用户能看到什么变化:保存被拒、没有权限时的提示里出现的字段名、选项名、对象名,现在跟表单上显示的一致。比如应用用英文编写、默认给用户中文,英文用户看到的提示也是英文名称,不会再夹杂中文。
  • 为什么做:以前表单是一种语言,报错里的名字却是另一种,用户对不上号。
  • 出错会怎样:只影响提示里的名称文字,拒不拒绝的判断没变;繁体中文请求会和页面一样读简体中文的名称。
  • 要你做什么:不需要你做任何事。它给一个对外公开的函数参数多加了一个可选项,席位会安排一次约定审核,然后由区域落地。

席位核对 — ACCEPT (L1-a) · repo:objectstack#5 · head b5b0fd289d088e4a881958c299dabe2976732113 · 2026-11-19T07:36Z

  • 形态 — 19 files, +864/−121 (985 lines), across objectql, plugin-security, and two test files in rest / service-automation; plus one changeset. No packages/spec/src path. Base 8b550f81, K=1 after the area's clean main merge. check-governed-merges.mjs --pr 35351: not governed, under the 3000-line limit.
  • Fixes vs card i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 (route A):
    • resolveFieldLabel, resolveOptionLabel and objectDisplayLabel drop their t() key probes and ask translatedLabels(doc, ctx). It runs translateObject from @objectstack/spec/system, the /meta translator, over a document holding only the declared labels. A throw returns the declared document, so a misbehaving i18n service still cannot turn a 400/409 into a 500.
    • validationMessageContext adds a lazy, memoised labelTranslation thunk. Its labelTranslationOf builds the bundle from getLocales()/getTranslations() and builds ResolveOptions as { locale, fallbackChain: [getFallbackLocale()], defaultLocale: getSourceLocale() ?? getDefaultLocale() }, the same shape the metadata route uses. Each getter is feature-detected.
    • plugin-security's denialLabels does the same for masterGateDenialMessage and fieldEditDenialMessage.
    • The option lookup keeps the field-then-picklist chain, because translateObject walks it given picklist.
    • t() keeps messages only.
  • Point 1 — Clause-②: declaration change required → yes (widening). ValidationMessageContext gains the optional labelTranslation, plus the new ValidationLabelTranslation shape. Both are reachable in the published .d.ts through validateRecord's options.messages, and validateRecord is exported from @objectstack/objectql's . entry (index.ts:606). The fleet declares a widened published export as yes (widening). This is the same ruling as fix(runtime, cloud-connection): an upgrade replaces the package's seed datasets on the shared replay list #35374 (mergeSeedDatasets gaining owner) and the precedent of the 35147 and 34779 changesets. Change the line in the changeset and in the PR body; Metadata-protocol: none and patch stay. For the L2 to rule on the arm: a direct validateRecord caller that passes only messages.translate used to get translated labels and now gets declared ones. The changeset discloses this for t()-only doubles. In-repo there is no such caller outside objectql: plugin-security's cbp-write-gate mentions validateRecord only in comments, and ui/core has its own function of that name. I read it as a moved answer on an optional channel, not a refusal. The L2 confirms widening or moves it to narrowing.
  • Point 2 — fieldEditDenialMessage under the bounded in-place exemption: accepted. It is the same defect class in the same claimed file, and a red pin is cited. The rewrite also hoists the unreadable-field check ahead of the label pass. That gives the same opaque answer as before, because both orders return field_edit_denied_opaque.
  • Point 3 — re-spelled t()-only doubles: accepted. They hand the same rows over through getLocales/getTranslations, and no assertion is weakened. Two of them are outside the claim (rest data-not-null-field-label-24715, service-automation flow-write-refusal-locale). They are test-only, and needed because a t()-only double no longer translates labels; that CI red was the doubles, not a missed code path. Nit: list both in the PR body's Tests section (the final-head comment records them).
  • Point 4 — changeset behaviour notes: accepted. Each of the four follows from asking translateObject with /meta's options, and each is stated: t()-only doubles, the in-memory fallback with no getFallbackLocale, the built-in labels of injected system fields, and zh-TW → zh-CN rows. Read sentence by sentence against the diff: they match.
  • Pins:
    • engine-label-source-locale.test.ts: field, option (invalid_transition) and object (DELETE_RESTRICTED) in sourceLocale: 'en' / defaultLocale: 'zh-CN' read the English labels. CONTROLs: a zh-CN request still reads zh-CN, and with no sourceLocale an en request walks to zh-CN as before.
    • denial-label-source-locale.test.ts: the same matrix for the master gate and the field-edit gate.
    • The existing duplicate, delete-restricted, restore, not-null, state-machine and owner-queue pins are carried to the new channel.
  • 门禁 — 53 check-runs on this head: 37 success, 16 skipped, 0 failure.
  • 范围外去向:
  • L2 owed (routing) — after the declaration change, Clause-②: yes (widening) → seat 5 routes the contract review, including the arm question in Point 1.
  • 落地条款 — not governed. Push only the declaration change and the PR-body nit. This ACCEPT carries over to that head if it contains nothing else, a main merge included. ux-3 lands after the seat's L2 record.

@objectstack-fleet objectstack-fleet Bot added the needs:contract-review Marker only — PR awaits its at-tier Contract review PASS; no check reads it, the record decides label Nov 19, 2026
validateRecord's options.messages type gains the optional labelTranslation
member, a widening of a published type.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

Final green head for the contract record: caf89b8bc928f6b8dff14b6276a56f65f29393df · 2026-11-19T08:06Z

This head changes only what L1-a ACCEPT 7002854859 asked for: the changeset now declares Clause-②: yes (widening) (validateRecord's options.messages type gains the optional labelTranslation member). The PR body was updated to match, and its Tests section now names the two out-of-claim test files. Metadata-protocol: none and patch are unchanged. The ACCEPT carries over to this head.

Checks at this head: 38 success, 18 skipped, 0 failed (one superseded PR-body guard run cancelled; its rerun passed). Not governed, K = 2. The CONTRACT_REVIEW_TIER record from seat 5 is owed before the queue (needs:contract-review).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: caf89b8bc928f6b8dff14b6276a56f65f29393df
Local-runs: none

Inputs read: card #34030 (body and all 7 comments, including the claim, the os-dev report 7001158402 and carrier note 6999412689); PR #35351 (body, 19-file list, net diff against main at this head); the 57 check-runs on this head.

① Derived judgments

  • ValidationMessageContext.labelTranslation? (new optional member): a widening, and correctly named one. The interface is not exported by name. It is still published, because it is the type of ValidateRecordOptions.messages (validateRecord, . entry, index.ts:606) and of EvaluateRulesOptions.messages. EvaluateRulesOptions is a named type export on both . and ./core, and evaluateValidationRules is exported from both. An object literal that was valid before is still valid.
  • translatedLabels and ValidationLabelTranslation are exported from the module only. Neither is re-exported from index.ts or core.ts, so neither is a public surface. Right.
  • ValidationMessageContext.translate no longer translates labels. This is a narrowing, and it was declared wrong. On main, the published jsdoc of translate said it is "used for two things: a deployment's validation.field.* message override, and the field's TRANSLATED label". At this head, resolveFieldLabel, resolveOptionLabel and objectDisplayLabel read only labelTranslation. Take a direct caller of validateRecord or evaluateValidationRules that passes messages: { locale, objectName, translate }, the shape the jsdoc described. Without changing its code, it now gets the declared labels in every locale, not the translated ones. That covers field labels, invalid_transition option labels and requiredWhen field labels. The PR's own pin is the evidence. record-validator.test.ts "prefers the translated label over the declared one" had to change its INPUT, adding labelTranslation, to keep its expected output. With the old call shape it now answers Penalty Amount. See the ruling in ②.
  • Engine write path (validationMessageContext → labelTranslationOf): right. getLocales and getTranslations are REQUIRED members of II18nService (contracts/i18n-service.ts:33,46), so every conforming service still translates engine refusals. The only change is that the answer now follows the /meta rule (translateObject, with fallbackChain set to the declared fallback and defaultLocale set to sourceLocale, else defaultLocale). The thunk is lazy and memoised per context. A throw returns the declared document, so a 400 or 409 still cannot become a 500. The card's ask under route (A) is met, and t() and contracts/i18n-service.ts are untouched.
  • Disclosed moved answers on the engine path are accepted. The changeset states each of them, and each matches what /meta serves for the same request:
    • createMemoryI18n has no getFallbackLocale. A request in a locale with no bundle now gets the declared label instead of the default-locale row.
    • Injected system fields get the built-in translation.
    • zh-TW reads the zh-CN rows in the security layer.
  • Accept sets: no change. No write is newly refused or newly admitted, and every verdict, code and status is unchanged. Only the human text of refusals moves.
  • Private engine method objectDisplayLabel: no public surface. Its ctx type became Pick of locale and labelTranslation. duplicate-record-error.ts spreads the full context into resolveFieldLabel and objectDisplayLabel ({ ...messages, objectName }), so the thunk reaches it. Its Pick of locale and translate covers sentence rendering only. Right.
  • plugin-security denialLabels matches the objectql change. It builds the bundle from getLocales() and getTranslations() with the same feature detection. It builds the same ResolveOptions (locale, the declared fallbackChain, then sourceLocale else defaultLocale). It calls the same translator, translateObject, and keeps the declared document on a throw. Labels are resolved in the language the sentence resolves to (denialLocaleOf), and objectql resolves them in the negotiated request locale that its sentence renders in. So in both packages the labels follow their own sentence.
    • The fieldEditDenialMessage rewrite moves the unreadable-field check ahead of the label pass. Both orders return field_edit_denied_opaque, so the change is equivalent.
    • masterGateDenialMessage keeps its label === master guard against the API name.
    • Everything in plugin-security is file-private, so it has no public surface.

② Semver level

  • Metadata-protocol: none: right. No key, accepted value, metadata type, requirement or default that an author can write changes. The runtime now does what TranslationConfigSchema.sourceLocale's existing .describe already promised ("a request in this locale is answered from the inline text"), so the meaning of the key does not change. It is not semantic.
  • patch for @objectstack/objectql and @objectstack/plugin-security: right. The level follows the protocol kind alone. none takes patch, and a non-protocol breaking change still ships patch with its BREAKING banner and ADR-0087 disposition (AGENTS.md, Post-Task Checklist item 3). plugin-security moves no public surface. Both Check Changeset runs on this head succeeded.
  • Clause-②: yes (widening): WRONG ARM. MUST-FIX M1.
    • Ruling: a narrowing. The optional member is a widening, and that fact stands. Separately, the diff takes a declared capability away from an existing consumer of a published input channel: the label translation that translate was documented to perform.
    • Why it is not "a moved answer on an optional channel". translate is optional, but the caller has already opted in to it. An opted-in caller now gets degraded output with no code change of its own, and it gets its old output back only by adopting a NEW member. A widening leaves every existing caller's observable output as it was. This change does not.
    • What does not decide it. Nothing is refused, and no out-of-package caller exists in the repo. The arm is judged against the published .d.ts and its documented behaviour, not against the in-repo caller count. The change is also not a fix for such a caller: with no sourceLocale and an ordinary bundle, its old labels were correct, and they are now lost in every locale.
    • The required arm is Clause-②: yes (narrowing) (clause2-line: "a diff that widens one surface and narrows another. Both facts are true and both are read"). It goes on the line-initial declaration in BOTH the PR body and .changeset/34030-refusal-labels-source-locale.md.
    • What the changeset must then carry.
      • The BREAKING banner.
      • The migration, as FROM, then TO, then the one-line fix. FROM: messages: { locale, objectName, translate } translated field, option and object labels through translate. TO: labels are read only through messages.labelTranslation. Fix: pass labelTranslation: () => ({ bundle, options }), where bundle is a TranslationBundle keyed by locale and options is a ResolveOptions from @objectstack/spec/system.
      • Exactly one ADR-0087 disposition marker. check:adr-0087-registration prints the closed set. runtime-interface-only reads as the fitting category for a runtime API with no metadata change, but the gate decides.
      • Metadata-protocol: none and patch stay.

③ Boundary flags

  • open_questions: none ([] in os-dev report 7001158402). Nothing to answer.
  • Dev flag dogfood_battery: n/a — no (narrowing) arm: overturned by M1. With the (narrowing) arm, a full dogfood_battery pinned to the re-declared head is owed before the queue, with every red fixed or reported (the L1 review checklist rule for (narrowing)). On this head the PR-side Dogfood Regression Gate (shard/3) run was skipped, and only the umbrella Dogfood Regression Gate reported success, so no battery has run against this diff yet.
  • Dev reading A1 ("no Clause-② yes"): superseded, first by the L1 ACCEPT (7002854859, Point 1, which referred the arm to this review) and now by M1.
  • Out of scope (a): readers still on t() (plugin-approvals readerLabelsFor and subjectParams, plugin-audit activity-summary-message.ts). Same class, pre-existing, not blocking. The L1 ACCEPT routes it to a family card under i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 that ux-3 files. That carrier is not among the inputs read here. The seat should confirm it exists.
  • Out of scope (b): skills/objectstack-i18n/SKILL.md:50-53 and eval case 11. These go false when this PR lands. The skill says "Validation and refusal messages still read labels through t() … without fallbackLocale: 'en' an en refusal names a field by its zh-CN row". It is a governed path, outside this diff and outside the claim, and is routed to seat 5 (carrier 6999412689). Should-fix S3: land it together with this PR or right after.
  • SQL push-down (Prime Directive 5): no finding. The diff adds no id materialisation, no in-app join and no query. Label resolution runs in memory over metadata and the i18n bundle only.
  • Gate verdicts at this head. 57 check-runs: 38 success, 18 skipped, 1 cancelled, 0 failure. The cancelled run is PR-body guards (claim · duplicate · Part-of · single-writer path) (id 135413455965). A later run of the same check on the same head, id 135413699032, concluded success.
  • Tier consequence of M1. Once the narrowing arm is declared, this PR sits on the narrowing face. A CONTRACT_REVIEW_TIER record, with ④, is owed on the re-declared head. This TIER_DEFAULT declaration-face record does not stand in for it.

Graded findings:

  • M1, must-fix. Clause-②: yes (widening) must become yes (narrowing) in the PR body and the changeset. The changeset gains the BREAKING banner, the FROM → TO migration and exactly one ADR-0087 marker. A full dogfood battery is then owed on the new head, and so is a CONTRACT_REVIEW_TIER narrowing-face record.
  • S1, should-fix. The migration's TO side has no named type to write against: ValidationLabelTranslation is not re-exported from . or ./core. Export it as a type, or spell TranslationBundle and ResolveOptions in the migration line.
  • S2, should-fix as a follow-up, not blocking. The ResolveOptions build now exists in four copies: metaTranslateOptions, readerOptionLabels, labelTranslationOf and denialLabels. The card picked route (A) to keep one rule in one place. The language rule does live in one place, translateObject, but how its options are assembled can drift between the copies. The claim allowed no new helper, so this goes to a follow-up card.
  • S3, should-fix, routed. The skills sentence and eval case 11 go stale on landing. Carrier 6999412689 already exists.

Implemented-by: claude/issue-34030-label-readers-source-locale
Reviewed-by: isolated-l2-35351

VERDICT: FAIL

…alidationLabelTranslation

The changeset now declares Clause-② yes (narrowing): translate no longer
translates the labels a refusal names, so a direct validator caller that
passes messages with translate only now gets declared labels. It carries
the BREAKING banner, the FROM -> TO migration with its one-line fix and an
ADR-0087 runtime-interface-only disposition.

ValidationLabelTranslation is exported as a type from the . and ./core
entries, so the migration's TO side has a named type to write against.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
…n upgrade sentence

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
@github-actions github-actions Bot added size/xl and removed size/l labels Nov 19, 2026
@objectstack-fleet objectstack-fleet Bot changed the title fix(i18n): refusal labels follow the declared sourceLocale, as /meta serves them fix(i18n)!: refusal labels follow the declared sourceLocale, as /meta serves them Nov 19, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

Final green head for the new contract record: df4b420ef889b62ff7dd0f449623ac25d5145e4d · 2026-11-19T09:27Z

Patch round 2, answering CONTRACT_REVIEW_TIER FAIL 7003535421:

  • M1. The changeset and the PR body now declare Clause-②: yes (narrowing), with Metadata-protocol: none and Skills-docs: follow-up owed — skills/objectstack-i18n/SKILL.md, evals. The titles are fix(i18n)!:. The changeset adds the BREAKING banner, a was/now behaviour table for a direct validator caller, and the one-line fix labelTranslation: () => ({ bundle, options }). It carries one ADR-0087 marker, not-required (runtime-interface-only packages/objectql/src/validation/record-validator.ts#ValidationMessageContext). check-adr-0087-registration verifies it and exits 0. A ## FROM → TO heading made the gate refuse every category, so the migration is written as was/now, the shape .changeset/31898-credential-use-every-key-door.md uses. The dev hands that choice up as its open question.
  • S1. ValidationLabelTranslation is exported as a type from objectql . and ./core, and the migration names it.
  • origin/main was merged once, because dispatch-gates flagged a stale tree. Both packages stay at patch.

Checks at this head: 39 success, 18 skipped, 0 failed. Not governed, 1007 lines, K = 10. The full dogfood battery passed on this head: 482 test files passed and 3 skipped; 4092 tests passed and 68 skipped; no failures. The os-dev report is 7005087495 on #34030.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: df4b420ef889b62ff7dd0f449623ac25d5145e4d
Local-runs: none
Scope: packages/objectql/src/core.ts, packages/objectql/src/engine-delete-restricted-locale.test.ts, packages/objectql/src/engine-duplicate-record-label-sentence.test.ts, packages/objectql/src/engine-label-source-locale.test.ts, packages/objectql/src/engine-not-null-refusal.test.ts, packages/objectql/src/engine-validation-locale.test.ts, packages/objectql/src/engine-validation-messages.ts, packages/objectql/src/engine.ts, packages/objectql/src/index.ts, packages/objectql/src/recycle-bin/restore.test.ts, packages/objectql/src/validation/record-validator.test.ts, packages/objectql/src/validation/record-validator.ts, packages/objectql/src/validation/rule-validator.state-machine-option-labels.test.ts, packages/objectql/src/validation/rule-validator.ts, packages/plugins/plugin-security/src/controlled-by-parent-master-edit-user-message.test.ts, packages/plugins/plugin-security/src/denial-label-source-locale.test.ts, packages/plugins/plugin-security/src/owner-queue-field-write-user-message.test.ts, packages/plugins/plugin-security/src/security-plugin-authz-middleware.ts, packages/rest/src/data-not-null-field-label-24715.test.ts, packages/services/service-automation/src/flow-write-refusal-locale.integration.test.ts + packages/spec/src/system/i18n-resolver.ts, packages/spec/src/system/translation.zod.ts, packages/spec/src/system/validation-message.ts, packages/spec/src/contracts/i18n-service.ts, packages/rest/src/meta-item-read-gate.ts, packages/objectql/src/formula-option-labels.ts, packages/objectql/src/duplicate-record-error.ts, packages/objectql/src/engine-delete-cascade.ts, packages/objectql/src/recycle-bin/restore.ts, packages/objectql/src/plugin.ts, packages/objectql/package.json, packages/objectql/tsup.config.ts, packages/cli/src/utils/seed-record-values.ts, scripts/check-adr-0087-registration.mjs, docs/adr/0087-metadata-protocol-upgrade-contract.md, docs/adr/0049-no-unenforced-security-properties.md, packages/core/CHANGELOG.md, content/docs/ui/translations.mdx, skills/objectstack-i18n/SKILL.md

Delta round on the narrowing face (record 7003535421: M1 must-fix and S1 should-fix on head caf89b8, S2 and S3 routed off the PR). Inputs read: card #34030 with its 8 comments, the PR body and thread, the 21-file net diff against base 0967cbe, and the 57 check-runs of this head. Nothing was built, run or re-run. The head is a merge commit. Round 2 itself changed the changeset and the two entry files (4 lines each); the one merge of main left every file of the PR as its other parent had it.

M1: closed.

S1: closed.

M1 rests on ② and on the battery flag in ③. S1 rests on the export judgment in ①. One new finding is open, S4 in ②.

① Derived judgments

Every public-surface change in the diff, and whether its declaration is right.

  • New type export ValidationLabelTranslation: right on all four points.
    • Name. It joins the family the entries already publish (ValidationError, FieldValidationError), it is the answer type of ValidationMessageContext.labelTranslation, and it says what the value is: what a label is translated with.
    • Entry points. The package's exports map has two entries, . and ./core. Each publishes a validator whose messages option carries the member, and each gains the same one line (index.ts 611, core.ts 105). There is no third entry to miss.
    • Type-only. Both lines are export type { ValidationLabelTranslation } over the single declaration at record-validator.ts 481. The line is erased at build, so the lean ./core graph gains no module. Its two member types, TranslationBundle and ResolveOptions, are published by @objectstack/spec/system, the import path the migration names.
    • No runtime surface. Neither entry gains a value export in this diff. translatedLabels, resolveFieldLabel, objectDisplayLabel and labelTranslationOf stay off both entries, and denialLabels is file-private in plugin-security.
    • Not a finding: ValidationMessageContext, ValidateRecordOptions and ValidationMessageTranslator are exported by name from neither entry, at base and at head alike. A caller reaches them through the validators' parameter types. The new type is the one a caller has to build a value for, so exporting it alone serves the migration. The dev's statement that it appears in both .d.ts files is the dev's; the source was read, nothing was built.
  • New optional member ValidationMessageContext.labelTranslation: a widening, declared as one. Absent, or answering undefined, the declared labels stand. Right.
  • ValidationMessageContext.translate no longer answers label keys: a narrowing, now declared as one. resolveFieldLabel, resolveOptionLabel and objectDisplayLabel read labelTranslation alone. Right arm; see ②.
  • Reach of that narrowing: three published functions, and the declaration names two. validateRecord and evaluateValidationRules are on both entries. validateInsertValues is on . (index.ts 606, published at base). Its options: ValidateRecordOptions goes whole to validateRecordInScope, and its own docblock says its messages render as validateRecord's do. No other published function takes the context: needsPriorRecord, legalNextStates and collectPredicateRelationships take a schema only, and envelopeUniqueViolation is on neither entry. Wrong by one function: S4 in ②.
  • Accept sets: unchanged. Labels are resolved on refusal paths only. No write is newly admitted or newly refused, and no code or status moves. In the field-write gate the unreadable-field check (field_edit_denied_opaque) now runs ahead of the label pass and decides as before.
  • Moved answers the changeset lists: declared, and each is what the diff does. A t()-only i18n double leaves the declared labels; the in-memory fallback with no getFallbackLocale() answers a bundle-less locale with the declared label; a system field is named by its built-in label; the security layer reads the zh-CN rows for a zh-TW request. Each is translateObject with the options the diff builds.
  • In-repo reach: none narrowed. The engine is the one producer of the context and builds labelTranslation itself (engine-validation-messages.ts), so engine writes, REST and flows keep translated labels. Outside objectql the one production caller of a published validator is packages/cli/src/utils/seed-record-values.ts, which passes no messages.

② Semver level

  • Clause-②: yes (narrowing) is line-initial on both carriers (changeset line 8, PR body line 7), in one spelling. yes is the new member and the new type export; (narrowing) is translate. Right.
  • Metadata-protocol: none: right. No key, value or default a metadata author can write changes. It is not semantic either: the published describe of TranslationConfigSchema.sourceLocale already says a request in that locale is answered from the inline text, and the diff makes refusals do what that line says.
  • patch on @objectstack/objectql and @objectstack/plugin-security: right for a non-protocol breaking change, which keeps its banner and its ADR-0087 disposition (AGENTS.md, Post-Task Checklist step 3).
  • fix(i18n)!: is on the PR title and on the changeset's first line, and each body carries one **BREAKING** banner. Right.
  • ADR-0087 disposition: exactly one marker, not-required (runtime-interface-only packages/objectql/src/validation/record-validator.ts#ValidationMessageContext). D7's four predicates hold by reading: the symbol resolves to an exported interface (record-validator.ts 432); its file is no metadata surface; it is hand-written and no Zod projection; no *.zod.ts, no file under packages/spec/src/contracts/ and no object definition names it. Check Changeset, the job that runs the registration gate, is green in both of its runs on this head. Right. How well the category fits a break of this kind is weighed in ③.
  • The migration is in the body: a was/now table over the two messages shapes, and one upgrade sentence that gives the fix, names the exported type and says where its two parts come from. Present. Its form is answered in ③; its completeness is S4.

S4 (should-fix) — the migration names two of the three published functions the narrowing reaches: validateInsertValues is missing from the Clause-②: sentence and the BREAKING banner on both carriers and from the changeset's was/now table header, and neither the changeset nor the PR body mentions it anywhere.

A caller of validateInsertValues(schema, row, { messages: { locale, objectName, translate } }) loses label translation exactly as the two named callers do. This break compiles unchanged and has no ledger entry, so the changelog text is the only thing that reaches that caller, and a search of the changelog for the function's name finds nothing. The fix is on the prose faces only: name validateInsertValues (from @objectstack/objectql; it is not on ./core) beside the other two in those three places. No code moves.

Why M1 is closed: everything it asked for is on this head. The arm is on both carriers, the banner is there, one marker stands and the gate verified it, the migration carries its was, its now and its one-line fix, the full battery ran on this head (③), and this record is the one owed at the tier.

③ Boundary flags

  • Open question, was/now or the table form with a gate card: answered, option A. was/now is acceptable, the FROM → TO table form is not required here, and no gate card is owed by this PR.
    • The rule's letter. AGENTS.md ties the FROM → TO mapping to removing or renaming something an author can write. Nothing is removed or renamed: { locale, objectName, translate } is still a valid messages, and the fix adds a member. What every breaking changeset owes is its migration and the one-line fix, and both are in the body.
    • The form is truthful. The two rows compare behaviour for the same input. The gate reads was and now as this repo's behaviour-comparison header on purpose (its self-test P33) and reads a ## FROM → TO heading as a rewrite prescription. A rewrite of metadata is the one thing this change does not have, so the refusal the dev met is the gate working as designed and no gap in it.
    • The disposition rests on a positive finding. The four predicates are verified, the marker's own sentence claims no more than they show, and the body says plainly that the call compiles as before. The dev handed the detector question up instead of riding it.
    • One correction to the precedent cited. The released text of the 31898 changeset (packages/core/CHANGELOG.md, entry f00fb1b) carries the banner, one runtime-interface-only marker and a "What to do on upgrade" list. It has no was/now table, and its break is one the compiler names (TS2741). So it is precedent for the marker beside an imperative upgrade sentence, which the gate documents as a known residue of its prescription detector. It is not precedent for the table, and the table needs none.
    • Escalated to the seat, not a condition of this PR. D7 accepts the category because the compiler reaches every affected caller; its worked example (TS2339) and entry f00fb1b are both breaks of that kind. This one compiles unchanged, so the compiler carries nothing and the changelog is the only channel, while the category refuses a body the detector reads as a prescription. For a break of this kind the prescription is the delivery, so the two pull against each other. That is a question about ADR-0087 D7's wording, a governed surface, and it belongs to the seat or the maintainer as one rules-lane card. This PR is the first of the instances read here that the compiler does not carry, so the card is worth filing now. Its consequence for this PR is that the body has to be complete, which is S4.
  • Dev flag dogfood_battery: met as stated. Report 7005087495 on the card pins the run to df4b420: the full unsharded dogfood suite under the verify lock, after building the closure on the same tree, 482 files passed and 3 skipped, 4092 tests passed and 68 skipped, nothing red. On the PR run the Dogfood Regression Gate shards were skipped by the selector and only the umbrella job reported, so the report is the only evidence for this head. It is the dev's statement and was not re-run here; the queue's dogfood shards run again before landing.
  • Dev flag, no ablation in round 2: accepted. Round 2 changed a type-only export and prose. The red-on-base runs of the earlier rounds cover the behaviour, and no behaviour file has changed since.
  • Dev deviation, main merged once: holds. Read in the commit graph; no PR file changed on main in between.
  • Dev deviation, check:dual-build-cjs-loads not measured locally: the dev's statement. Lint & Repo Gates is green on this head.
  • Skills-docs: follow-up owed — skills/objectstack-i18n/SKILL.md, evals: present on both carriers and truthful. The skill's lines 50 to 53 and eval case 11 teach the t() label read this PR removes (carrier 6999412689). Filing the card and rewriting the line to follow-up #N is the seat's L1 step. That rewrite and S4 touch the same two prose carriers and can ride one commit.
  • S2 and S3 of the earlier record: still open as follow-ups, and neither gates this PR. S2 is the ResolveOptions build in four copies (metaTranslateOptions, readerOptionLabels, labelTranslationOf, denialLabels); the claim allowed no new helper, and no card number for it is on the thread yet. S3 is the skills line above.
  • Out of scope, one reader to add to the family card. The t() label readers in plugin-approvals and plugin-audit are routed to the family card under i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 (L1 ACCEPT 7002854859). One more belongs on it, read in the tree and not run: authoredRuleMessage (rule-validator.ts 4093) still asks translate for the catalog row of an authored rule message. In the card's own deployment (sourceLocale: 'en', defaultLocale: 'zh-CN') an en request refused by a custom rule gets the zh-CN row ahead of the authored English message, while /meta serves the English one. The same holds for a zh-CN-only validation.field.* or errors.* override, which now wraps an English label. The changeset says messages still go through t(), so this is disclosed scope and no defect of the diff. It is the same class as i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 and is on neither the dev's list nor L1's. Until it lands, "a refusal reads as /meta serves it" holds for the labels and not for the sentence around them.
  • Boundary note, read and not run. objectql folds the request tag onto a locale the service holds before it resolves labels (negotiatedMessageLocale). /meta hands the translator the raw request tag, and the security layer hands it the ladder rung its sentence resolves to. The translator's authored-language test is an exact tag match. So for a regional tag of the source locale (en-US under sourceLocale: 'en', with an en bundle held) objectql answers with the authored label while /meta walks on to the fallback row. Each half is older than this diff and the exact-match rule lives in packages/spec, outside the claim; their disagreement on a label is new with it. It belongs on the same family card.
  • SQL push-down (Prime Directive 5): no finding. The diff adds no query, no id materialisation and no in-app join. Labels are resolved in memory over metadata and the i18n bundle.
  • Check-runs on this head: 57, of which 39 success and 18 skipped, none red. Green: both Check Changeset runs, Lint & Repo Gates, TypeScript Type Check, Build Core, Test Core and its ten shards, Governed Surface Queue Guard, the Dogfood Regression Gate umbrella, Live E2E UI and both PR-body guards runs.

④ Design judgment

The narrowing stands. It does not take a declared capability away at the consumer; it makes the spec's own statement real.

  • Against the published spec on main. TranslationConfigSchema.sourceLocale says a request in that locale is answered from the inline text. II18nService.setSourceLocale says the value changes no t() lookup and is the authored language of the metadata labels the document translators resolve. By the contract's own words a label read through t() cannot honour sourceLocale; only the document translator can. Route (A) of the card moves the label readers there, and translate keeps what the contract gives t(): messages.
  • Why not keep translate as the label fallback when labelTranslation is absent. It would spare the direct caller, and it would leave that caller with the defect the card is about, and leave two rules deciding one label's language. The card chose route (A) to have one. A direct caller with no sourceLocale does lose labels that were correct, which is why the arm is a narrowing; it gets them back with one added member, and the type to write it against is now exported.
  • The code against what it claims. labelTranslationOf builds the bundle and the three options exactly as rest's translationBundleOf and metaTranslateOptions do, each getter feature-detected. The thunk is lazy and memoised per context, so a write that is not refused reads no bundle. translatedLabels returns the declared document when the translator throws, so a refusal cannot turn into a 500. denialLabels in plugin-security is the same build with the same guard, and keeps the label === master check against the API name.
  • The scenario it is accepted against. engine-label-source-locale.test.ts runs the card's deployment on a real engine with two controls (a zh-CN request still reads the zh-CN rows; with no sourceLocale an en request still walks to them). denial-label-source-locale.test.ts does the same through the security layer. Read, not run; the dev reports both red on base.

No must-fix. S4 is the one open finding.

  • N1 (nit) — two sentences are wider than what is enforced: the changeset's "resolved the way GET /meta serves them" and the labelTranslation docblock's "a refusal names a field with the word the form showed". /meta also hands the translator packagedBase, pairBundle and patchBundles; the refusal readers hand none of them. So a tenant-renamed label (ADR-0029 D9.2a), an override pair's translation and a field-patch label are served by /meta and not by the refusal. This is as it was under t(), and only the PR body's acceptance notes say so. Narrow the changeset sentence while S4 is being written; the residue is now closable and deserves a line on the family card.
  • N2 (nit) — the "now" answer of the narrowed row has no pin. Every fixture that translated a label through translate or a t()-only double was re-spelled to the new channel, so no test asserts that messages: { locale, objectName, translate } with a translate that answers the label key returns the declared label. One case in record-validator.test.ts would hold both the declared row and the absence of a t() fallback.
  • N3 (nit) — stale wording beside the change. The denialTranslator docblock in security-plugin-authz-middleware.ts still calls itself the translated-label rung of fieldEditDenialMessage. docs/adr/0049-no-unenforced-security-properties.md 147 to 148 describes the hook as localizing built-in messages and field labels with no second i18n path into objectql; that sentence is now out of date, on a governed path outside this PR, and is a candidate for an add-only note.
  • N4 (nit) — the changeset bullet says a system field "that keeps its English default label" is named by the built-in translation. The built-in label also applies to a system-named field that declares no label, so the field-write gate now names such a field where its sentence was the opaque one. No leak: readability is checked first.

Implemented-by: claude/issue-34030-label-readers-source-locale
Reviewed-by: isolated-l2-35351-r2

VERDICT: PASS

validateInsertValues takes options.messages too, so the Clause-② sentence,
the BREAKING banner and the was/now table header name it beside
validateRecord and evaluateValidationRules.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

Final green head for the S4 delta review: c60b83fa41 · 2026-11-19T14:09Z

The only change since the PASS-pending head is a merge of origin/main (K was 35); the PR's own diff is unchanged. Checks at this head: 37 success, 16 skipped, 0 failed. Not governed.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c60b83fa41c5fa1987beabb82baf38575638d64c
Local-runs: none
Scope: packages/objectql/src/core.ts, packages/objectql/src/engine-delete-restricted-locale.test.ts, packages/objectql/src/engine-duplicate-record-label-sentence.test.ts, packages/objectql/src/engine-label-source-locale.test.ts, packages/objectql/src/engine-not-null-refusal.test.ts, packages/objectql/src/engine-validation-locale.test.ts, packages/objectql/src/engine-validation-messages.ts, packages/objectql/src/engine.ts, packages/objectql/src/index.ts, packages/objectql/src/recycle-bin/restore.test.ts, packages/objectql/src/validation/record-validator.test.ts, packages/objectql/src/validation/record-validator.ts, packages/objectql/src/validation/rule-validator.state-machine-option-labels.test.ts, packages/objectql/src/validation/rule-validator.ts, packages/plugins/plugin-security/src/controlled-by-parent-master-edit-user-message.test.ts, packages/plugins/plugin-security/src/denial-label-source-locale.test.ts, packages/plugins/plugin-security/src/owner-queue-field-write-user-message.test.ts, packages/plugins/plugin-security/src/security-plugin-authz-middleware.ts, packages/rest/src/data-not-null-field-label-24715.test.ts, packages/services/service-automation/src/flow-write-refusal-locale.integration.test.ts + scripts/pm/label-write.mjs, .claude/agents/os-dev.md, .claude/skills/pm-dispatch/references/landing-operations.md, .claude/skills/pm-dispatch/references/l1-review-checklist.md

Delta round for S4 (record 7005790098: PASS on head df4b420 with should-fix S4 open). Inputs read: card #34030 with its 8 comments, the PR body and thread through area note 7011509271, the 21-file net diff against main at this head, the two commits since the reviewed head, and the 53 check-runs of this head, every one concluded. Nothing was built, run or re-run.

S4: closed.

① Derived judgments

  • What moved since the reviewed head: two commits, and neither touches code. a12e509 has one parent, df4b420, and changes the changeset alone, three lines in place. c60b83f merges main into the branch.
  • S4 on the changeset: closed. validateInsertValues now stands beside validateRecord and evaluateValidationRules in the Clause-②: sentence (line 8), the BREAKING banner (line 14) and the was/now table header (line 30).
  • S4 on the PR body: closed. The Clause-②: sentence (line 7) and the BREAKING banner (line 26) name all three. The body's table header names no function, as before. The Clause-②: line is the same string on both carriers.
  • The three names are the whole set. Both entry files, record-validator.ts and rule-validator.ts are byte-identical to the reviewed head, so the published functions that take messages are still these three and no other. The banner places all three in @objectstack/objectql, which is true of each (validateInsertValues is on the . entry alone).
  • The merge is main-only. Its second parent, f6902e9, is on main: main is ahead of it and behind by nothing. The merge base is 0967cbe, the base the earlier record read, 35 commits back. What the merge brought to the branch is main's own diff over those commits, the same 302 paths with the same patch. None of them is one of the PR's 21 files, and every PR file is as the pre-merge parent had it.
  • The review floor is unchanged content. The 20 paths outside the prose faces are byte-identical between df4b420 and this head, and the net diff against main is the same 21 files (886 lines added, 121 removed). ①, ② and ④ of record 7005790098 stand for them as written. No in-repo caller appeared: outside objectql the one production caller of a published validator is still packages/cli/src/utils/seed-record-values.ts, with no messages.

② Semver level

Unchanged and right, re-read on this head: Clause-②: yes (narrowing) line-initial on both carriers, Metadata-protocol: none, patch on both packages, fix(i18n)!: on the PR title and on the changeset's first line, one BREAKING banner in each body, and exactly one ADR-0087 marker (runtime-interface-only, on ValidationMessageContext). Check Changeset is green on this head. With the third function named, the migration covers every published door the narrowing reaches.

③ Boundary flags

  • Land gate's battery pin: NOT satisfied on this head. The PR carries both markers the gate reads, the ! in the title and the (narrowing) arm. The newest trusted os-dev-report on card i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 is still 7005087495, whose dogfood_battery opens with df4b420; no report has been posted since. The gate (landDogfoodGate in scripts/pm/label-write.mjs) accepts that sha only if a first-parent walk from the head reaches it over merges of the base alone. The walk steps over c60b83f, a two-parent merge whose second parent is on main, and lands on a12e509, which is not the battery's sha and has one parent. There the gate stops: in its own words the commit lies after the battery's sha and is not a merge, so the battery did not run on this code. --land will answer with a refusal and write nothing.
    • The commit in the way changed three lines of changeset prose, and on the PR's side the code the battery ran on is byte-identical. That is my reading, and the gate does not weigh it: not measured is no pass there.
    • To clear, in the gate's terms: run the full battery on the final head and post the card an os-dev-report whose dogfood_battery opens with that sha. A report is a card comment, so it moves neither the head nor this record.
    • This is the land gate's item and the L1 checklist's (pinned to head, full, reds fixed or reported), so it is reported here and not graded.
  • Area note 7011509271, each statement against the tree.
    • "The only change since the PASS-pending head is a merge of main, K was 35": holds for the head after the S4 commit. Against the head the earlier record reviewed there are two commits, the changeset one and the merge.
    • "Checks at this head: 37 success, 16 skipped": holds. 53 check-runs, every one completed, none red, and all eight workflow runs of the head are complete. Five app suites show as queued and hold no check run, as on the earlier head.
    • "S2 is filed as its own card, i18n: the label ResolveOptions (request locale, fallback chain, sourceLocale else defaultLocale) is assembled in four copies that can drift (follow-up to #34030) #35405": the card exists and carries S2 in full. The note leaves out that triage closed it as not planned (comment 7004384202 on that card: an internal refactor with no user effect is not queued; if the copies diverge, that divergence is a Bug to file then). So S2 ends as an accepted deviation and not as queued work. Not gating.
    • The ADR-0087 D7 note travels with the skills follow-up the seat files after merge: accepted. The earlier record escalated it and made it no condition.
  • Still on no card that the thread shows: the authoredRuleMessage reader and the regional-tag note of the earlier record's ③. The second bears on card i18n: the label ResolveOptions (request locale, fallback chain, sourceLocale else defaultLocale) is assembled in four copies that can drift (follow-up to #34030) #35405's closing sentence. For en-US under sourceLocale: 'en' with an en bundle held, objectql and /meta hand the translator different locales and can already name one field two ways (read, not run). The four copies assemble the same options; what they are handed differs. If it reproduces, it is the Bug that sentence describes.
  • Skills-docs: follow-up owed — skills/objectstack-i18n/SKILL.md, evals is unchanged on both carriers. Rewriting it to follow-up #N stays the seat's L1 step; on the changeset that is a prose-face change.
  • Main has moved on. main is 18 commits past the merge's second parent. One of them touches packages/objectql/src/index.ts, in a comment far from the PR's lines. A further merge of main moves the head past this record.
  • PR state. Draft, no auto-merge armed, opened by the fleet's own identity.
  • SQL push-down (Prime Directive 5): no finding. No code in the PR's diff moved in this round.

④ Design judgment

Unchanged. No code and no docblock of the diff moved, so the judgment of record 7005790098 stands on this head: the narrowing makes the spec's own statement real, and it is now declared for every published function it reaches.

No must-fix, no should-fix.

  • N1 to N4 of record 7005790098 were not taken up in this round and stay nits. N1 (the changeset's "the way GET /meta serves them" is wider than what is enforced) and N2 (no pin for the narrowed row) are the seat's to accept as deviations in its ACCEPT or to route. N3 and N4 need nothing before landing.

Implemented-by: claude/issue-34030-label-readers-source-locale
Reviewed-by: isolated-l2-35351-d1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 286b5a0d9148b231d603fd8eb2b4ca1bc4fb46ac
Local-runs: none
Scope: packages/objectql/src/core.ts, packages/objectql/src/engine-delete-restricted-locale.test.ts, packages/objectql/src/engine-duplicate-record-label-sentence.test.ts, packages/objectql/src/engine-label-source-locale.test.ts, packages/objectql/src/engine-not-null-refusal.test.ts, packages/objectql/src/engine-validation-locale.test.ts, packages/objectql/src/engine-validation-messages.ts, packages/objectql/src/engine.ts, packages/objectql/src/index.ts, packages/objectql/src/recycle-bin/restore.test.ts, packages/objectql/src/validation/record-validator.test.ts, packages/objectql/src/validation/record-validator.ts, packages/objectql/src/validation/rule-validator.state-machine-option-labels.test.ts, packages/objectql/src/validation/rule-validator.ts, packages/plugins/plugin-security/src/controlled-by-parent-master-edit-user-message.test.ts, packages/plugins/plugin-security/src/denial-label-source-locale.test.ts, packages/plugins/plugin-security/src/owner-queue-field-write-user-message.test.ts, packages/plugins/plugin-security/src/security-plugin-authz-middleware.ts, packages/rest/src/data-not-null-field-label-24715.test.ts, packages/services/service-automation/src/flow-write-refusal-locale.integration.test.ts + packages/objectql/src/registry.ts, packages/objectql/src/registry-namespaces-and-claims.ts, packages/objectql/src/security-catalog-namespace.ts, skills/objectstack-i18n/SKILL.md, scripts/pm/label-write.mjs, .claude/agents/os-dev.md, .claude/skills/pm-dispatch/references/contract-review.md, .claude/skills/pm-dispatch/references/landing-operations.md, .claude/skills/pm-dispatch/references/l1-review-checklist.md

Merge-only delta (record 7011739299: PASS on head c60b83f, nothing open). Inputs read: card #34030 with its 9 comments through report 7012938302, the PR body and thread, the 21-file net diff against main at this head, the one commit since the reviewed head, and the 53 check-runs of this head, every one concluded. Nothing was built, run or re-run. git's merge of the two parents was computed with merge-tree into a scratch object store: no worktree, no checkout, nothing written to the clone.

① Derived judgments

  • One commit since the reviewed head, and it is a merge of main. 286b5a0 has two parents, c60b83f and 94fb8db. The second is on main: main is ahead of it and behind by nothing.
  • The tree is git's own merge of the two parents. merge-tree over c60b83f and 94fb8db answers clean with tree 7f4712b89d, and that is this head's tree. No hand edit rides the merge.
  • What the merge brought is main's diff and nothing else. The merge base is f6902e9, the earlier merge's second parent, 18 commits back. The branch gained the same 163 paths with the same patch main changed over those commits.
  • The PR's own blobs. 20 of the PR's 21 files are byte-identical to c60b83f. The one that differs is packages/objectql/src/index.ts, the only path main also touched: it gains main's one-line comment edit at line 90 (the holder-reading note above the registry exports), far from the validator exports at lines 606 to 611. The PR's own patch against main is the same before and after the merge across all 21 files, and the net diff is still 21 files (886 lines added, 121 removed).
  • Nothing main brought changes what the PR's paths mean.
    • None of the modules that the four files carrying the PR's logic import by path is among main's 163 paths (engine-validation-messages.ts, record-validator.ts, rule-validator.ts and the authz middleware). Nothing under packages/spec/src/system, packages/rest or packages/core moved, and contracts/i18n-service.ts did not move.
    • No added or removed line of main's diff names sourceLocale, translateObject, ResolveOptions, labelTranslation, the context type, the three validators, the i18n getters or II18nService.
    • In objectql main changed comments in registry.ts and registry-namespaces-and-claims.ts and the capability names of security-catalog-namespace.ts. None of it touches getPackagedObjectBase or getPackagedObjectOwner, the two registry reads the validation context makes. In plugin-security main changed capability files the authz middleware does not import.
    • The published surface is as it was: core.ts and the package's exports map are untouched, the three functions that take messages are the same three, and outside objectql the one production caller is still packages/cli/src/utils/seed-record-values.ts, with no messages.
  • The review floor is unchanged content. 19 of the 20 paths outside the prose faces are byte-identical to the heads the earlier records read, and index.ts differs by main's comment line alone. ①, ② and ④ of record 7005790098, carried by record 7011739299, stand for them as written.

② Semver level

Unchanged and right, re-read on this head. The changeset is byte-identical to c60b83f: Clause-②: yes (narrowing) naming all three validators, Metadata-protocol: none, patch on both packages, the fix(i18n)!: first line, one BREAKING banner and exactly one ADR-0087 marker. The PR body carries the same declaration lines, banner and table; its one edit since the earlier head is a sentence in an acceptance note saying card #35405 was closed not planned, so the four option builds stand as an accepted deviation. Check Changeset is green on this head.

③ Boundary flags

  • Land gate's battery pin: satisfied on this head. The PR carries both markers the gate reads, the ! in the title and the (narrowing) arm. The newest comment on card i18n: validation and refusal messages read field, option and object labels through t(), so a declared i18n.sourceLocale request still names the field with the defaultLocale row #34030 is os-dev-report 7012938302, written by the relay's identity. Its payload parses, its pr names this pull, and its dogfood_battery opens with the full sha of this head. That is the gate's first test (landDogfoodGate in scripts/pm/label-write.mjs), met with no walk. The gate is unchanged at main's tip.
    • What the gate leaves to the L1 checklist, as the report states it: the full suite with no shard and no path, under the verify lock after the closure build; 482 files passed and 3 skipped, 4092 tests passed and 68 skipped, nothing red. That is the dev's statement and was not re-run here.
    • The tree is consistent with those counts. The dogfood package holds 485 test files at this head, as it did at df4b420 where the earlier battery ran, and between the two heads main edited two dogfood tests and added or removed no file and no case.
  • Report 7012938302, its other statements against the tree. A plain merge of 94fb8db onto c60b83f with no conflict: holds. The PR's own diff unchanged: holds. Check-runs 37 success and 16 skipped: holds. It carries no open question.
  • Check-runs on this head: 53, every one completed, 37 success and 16 skipped, none red; the same set of names as on the earlier head. All eight workflow runs are complete. Five app suites show as queued and hold no check run, as before.
  • Skills-docs: follow-up owed — skills/objectstack-i18n/SKILL.md, evals is unchanged on both carriers and still names a live target: main edited that skill at line 394 only, and lines 51 to 53 still teach the t() label read this PR removes. Rewriting the line to follow-up #N stays the seat's L1 step.
  • Still on no card that the thread shows: the authoredRuleMessage reader and the regional-tag note of record 7005790098.
  • Main has moved on. main is 7 commits past the merge's second parent at this reading, and none of them touches a PR file. A further merge of main moves the head past this record and past the battery's sha by one merge of the base, which the land gate steps over.
  • PR state. Draft, no auto-merge armed, opened by the fleet's own identity.
  • SQL push-down (Prime Directive 5): no finding. No code of the PR's diff moved in this round.

④ Design judgment

Unchanged. No code and no docblock of the PR's diff moved; index.ts carries main's comment line and nothing of the PR's. The judgment of record 7005790098 stands on this head: the narrowing makes the spec's own statement real, and it is declared for every published function it reaches.

No must-fix, no should-fix.

  • N1 to N4 of record 7005790098 were not taken up and stay nits, the seat's to accept as deviations in its ACCEPT or to route.

Implemented-by: claude/issue-34030-label-readers-source-locale
Reviewed-by: isolated-l2-35351-d2

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

Landing · head 286b5a0d91 · after the contract-tier records (S4 delta PASS and merge-only delta d2 PASS 7013119770) · 2026-11-19T15:11Z

Probe Reading
Checks at head 286b5a0d91 37 success, 16 skipped, 0 failed
check-governed-merges.mjs --pr 35351 NOT governed, +886 / -121
K 7 (< 15); nothing main brought since touches PR files
Dogfood battery os-dev-report 7012938302 opens with 286b5a0d91: 482 files passed, 3 skipped; 4092 tests passed, 68 skipped
Contract record PASS on this head, no must-fix, no should-fix

Status: pr_ready + automerge_enable. On MERGED the area closes out #34030 (S2's card #35405 closed not planned, an accepted deviation). Seat 5 files the i18n skills card after merge.

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 needs:contract-review Marker only — PR awaits its at-tier Contract review PASS; no check reads it, the record decides size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants