Skip to content

docs(skills): the i18n skill names the action table column label keys - #35031

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-34917-i18n-action-column-keys
Nov 18, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-34917-i18n-action-column-keys

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread
Fixes #34917
Clause-②: no
Metadata-protocol: none
Served-tier: CONTRACT_REVIEW_TIER

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

维护者速读

  • 改了什么:已发布技能 objectstack-i18n 的动作键表补上两个表格列标题键 resultDialog.columns.{path}.{column_path} 和 preflight.columns.{path}.{column_path},拒收段补上对应的两种报错情形,zh-CN 示例块加一行表格列标题的写法,evals 加一条用例。
  • 为什么改:这两个键运行时已经支持,但技能没提。照技能写翻译的 agent 会把结果表格的列标题留成英文。
  • 风险与回滚:只改教学文本和一条 eval,不动 spec、lint 或运行时。新增文字靠同文件删五处重复付账,token 上限行不动(6219 → 6256,上限 6333)。回滚即 revert 本 PR。
  • 先看:skills/objectstack-i18n/SKILL.md 的 _actions.{action_name} 表格行;同文件 translation-target-unknown 段的 "Six more shapes" 一句;下面 "Cuts" 列出的五处删减。
  • 两分钟验证:node scripts/check-skills-token-ratchet.mjs,预期 skills/objectstack-i18n/SKILL.md is 6256 tokens (ceiling 6333; headroom 77)。
  • 需要你做的:无。check-governed-merges 判为 Tier H(skills/**),按低风险 skills 通道(2026-11-14 pm: land low-risk governed PRs on the seat review (Tier S arm for skills wording and docs), per the 2026-11-14 delegation ruling #33501 裁决)由席位落地:前提是本 head 有席位达档合同审记录,且写明 Security-touching: no。

What changes

skills/objectstack-i18n/SKILL.md:

  • Key table, _actions.{action_name} row: names resultDialog.columns.{path}.{column_path} / preflight.columns.{path}.{column_path}. They are a table's column headers, written beside fields, keyed by the literal path of a format: 'table' field and then by the literal path of one of its columns[], each value a plain string. The existing sentence that defineTranslationBundle refuses any other key under preflight now ends the list after columns, so it no longer says fields is the only key.
  • translation-target-unknown paragraph: "Five more shapes" becomes six. The new one is a columns key whose field path is no declared format: 'table' field, or whose column path that field's columns[] does not list.
  • zh-CN example block: one more line, the column keys as the platform's sys_user bundle ships them for import_sso_users (rows is the table field's path, error.message one column's).

skills/objectstack-i18n/evals/bundles-locales-coverage.json:

  • New case 12: a result-dialog table whose headers stayed English; the prompt asks which bundle key carries them. It requires the dotted key path resultDialog.columns.rows and the column path error.message. Round 3 (review S2): the rule name translation-target-unknown left must_contain, because a correct answer to "which key" has no reason to name the lint rule; the refusal sentence stays in expected_output. Round 2 (review S1): the path token replaces columns: { rows:, and the forbidden fields: { rows: { is dropped. The grader matches literal substrings, so both graded spacing, quoting and line breaks. No layout-free token tells the wrong nesting apart in a literal answer, so placement is graded by the required path alone, which a wrong-nesting answer does not state. error: { stays as it is (review N3): the dotted spelling error.message reads the same whether or not the answer splits it, so no layout-free token does that job.
  • Case 10 (preflight) said the preflight node "holds nothing else" beside fields. It now says the node holds only fields and columns.

.changeset/34917-skills-i18n-action-column-keys.md: @objectstack/skills patch, with both declaration lines.

Cuts that pay for the text (same file)

Cut Text that still carries it
The paragraph "For the exact Zod shape … read node_modules/@objectstack/spec/src/system/translation.zod.ts — TranslationDataSchema, ObjectTranslationDataSchema, and FieldTranslationSchema." ## References ("Always Read the source for exact field shapes; do not rely on memory of property names") and references/_index.md, whose Core schemas line names that file and those three exports
"interpolation is always simple {{variable}} substitution" under No ICU MessageFormat Simple Format (Default), directly above: both adapters "substitute double-brace {{variable}} placeholders only"
"so import the type from @objectstack/spec/contracts rather than reading node_modules source" under Service Contract The code block directly above it: import type { II18nService } from '@objectstack/spec/contracts';
Workflow step "3. Verify Coverage: Run os i18n check (Translation Coverage above)"; step 4 is renumbered 3 ## Translation Coverage → os i18n check, and ## Verify your work
"(an action with no preflight declares none)" in the refusal paragraph The key-table row: preflight.fields.{path} "only under an action that declares preflight"

Size readings (skills/**)

Before (origin/main 4443014) After (bc3f321)
skills/objectstack-i18n/SKILL.md, lines 533 526
skills/objectstack-i18n/SKILL.md, tokens (ratchet, ceiling 6333) 6219 6256
All SKILL.md under skills/, lines 4730 4723
Bundle total, tokens (whole shipped tree) 257961 258329

The bundle moves +368 tokens: +37 in the SKILL.md and +331 in the eval fixture, which the ratchet measures and does not price. The ceiling row in scripts/check-skills-token-ratchet.mjs is not touched.

Tests

  • No runtime behaviour changes, so there is no unit test and no ablation.
  • Eval assertions, checked by script over all 12 cases at bc3f321: every must_contain string is in its expected_output, no must_not_contain string is, and the ids are distinct. 0 violations.
  • Case 12 against two probe answers, graded as grade.ts does: a correct answer written across lines with quoted keys passes; a wrong-nesting answer written across lines fails.
  • The taught accept set, probed against the built @objectstack/spec and @objectstack/lint (results under Verification).

Acceptance notes

Verification

Premise, on origin/main 4443014
  • skills/objectstack-i18n/SKILL.md:167 named resultDialog.fields.{path} and preflight.fields.{path} and no columns key. :230 named no columns refusal.
  • packages/spec/src/system/translation.zod.ts: ActionResultDialogTranslationSchema.columns and ActionPreflightTranslationSchema.columns are both a record of field path → record of column path → string.
  • packages/lint/src/validate-translation-references.ts (checkActionAnswerTableColumns) reports translation-target-unknown for a field path with no declared table field, and for a column path the field's columns[] does not list.
Accept-set probe against the built packages, at 9777f6a (round 2 changed only the eval file)

defineTranslationBundle:

  • ACCEPT resultDialog.columns.rows.{email, "error.message"}, preflight.columns.rows.email, and the same under globalActions.
  • REFUSE preflight.title and preflight.headers (unrecognized_keys).
  • REFUSE a column value that is an object (expected string) and a columns.rows that is a string (expected record).

resolveActionResultDialog / resolveActionPreflight, on a rows table with columns email and error.message:

  • zh-CN: result dialog headers ["邮箱","原因"], preflight headers ["邮箱"].
  • en: ["Email","Reason"] and ["Email"] (the authored labels).

validateTranslationReferences:

  • Declared columns: no finding.
  • A column the table does not list, a field that is not a table, a field no row declares, and preflight.columns under an action with no preflight: each one error translation-target-unknown.
Gates

Round 1, head 9777f6a:

  • os-verify-lock running pnpm --workspace-concurrency=2 --filter '@objectstack/lint...' build: VERDICT command-exit 0.
  • dispatch-gates --commands: 48 derived commands. dispatch-gates --ran: 48 derived famil(ies) accounted for — 46 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3). The 46 exited 0.
  • NOT MEASURED: pnpm check:dual-build-cjs-loads and pnpm check:lean-entry-closure, both exit 3. They need a full build, which was not run locally. CI runs them.
  • node scripts/check-skills-token-ratchet.mjs: exit 0, skills/objectstack-i18n/SKILL.md is 6256 tokens (ceiling 6333; headroom 77). --self-test: exit 0.
  • pnpm --filter @objectstack/spec run check:skill-docs: Skill docs in sync. check:skill-refs (outside the derived set): 9 generated files in sync.
  • overlap-check against origin/main 4443014 and open PRs docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970 and chore: version packages #33849: VERDICT clean exit 0.

Round 2, head 59f7a31 (the diff from round 1 is the eval file alone):

Round 3, head bc3f321 (the diff from round 2 is one token removed from case 12's must_contain):


Generated by Claude Code

The `_actions.{action_name}` row of objectstack-i18n's key table lists
`resultDialog.columns.{path}.{column_path}` and
`preflight.columns.{path}.{column_path}`, the refusal paragraph names the
two undeclared-path shapes `translation-target-unknown` reports for them,
and the zh-CN example block shows the key as the platform bundle spells it.
One eval case added; four restatements cut in the same file pay for the text.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@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 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

L1 review (#34917) · 2026-11-17T23:27Z

L1: ACCEPT
Head-sha: 9777f6a

check-governed-merges --branch at this head reads GOVERNED: 2 of 3 paths are under skills/**, landing tier H, and the low-risk skills arm is NOT MEASURED from a path list. The seat makes the at-tier call. This verdict does not ready the PR.

Must-fix

None.

Should-fix

None.

What I checked

  • The taught keys match the code at this head.
    • packages/spec/src/system/translation.zod.ts:317,355 declares columns on both ActionResultDialogTranslationSchema and ActionPreflightTranslationSchema. Each is keyed by the format: 'table' field's literal path and then by the column's literal path.
    • packages/lint/src/i18n-walk.ts:863-886 walks …columns.<path>.<column_path>.
    • packages/lint/src/validate-translation-references.ts#checkActionAnswerTableColumns raises translation-target-unknown in exactly the two shapes the new refusal sentence names: a field path with no declared table field (including a block the action does not declare), and a column path the field's columns[] does not list. "Six more shapes" counts correctly.
    • format: 'table' is the only format that carries columns (packages/spec/src/ui/action.zod.ts:892-928).
  • zh-CN example. packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts:267-276 ships sys_user._actions.import_sso_users.resultDialog.columns.rows with email: "邮箱" and "error.message": "未添加的原因", exactly as the new line quotes it.
  • Cuts. I checked each of the five cuts against the text that still carries it at this head:
    • the translation.zod.ts pointer at SKILL.md:265 and :344, and in references/_index.md;
    • double-brace substitution at :274;
    • the @objectstack/spec/contracts import in the code block above the trimmed sentence;
    • os i18n check at :296 and :506;
    • "only under an action that declares preflight" in the key-table row.
      Nothing that was cut becomes untaught. The workflow renumbering (3. Register) leaves no dangling "step 4" reference in the skill.
  • Evals. Case 10 no longer claims fields is the preflight node's only key, which had become false once columns existed. Case 12's must_contain strings all appear in its expected_output, and its must_not_contain strings (fields: { rows: {, error: {) do not, so the case grades the sibling placement and the dotted single key.
  • Scope and shape. All three paths are inside claim 6963512359's surface, and the ratchet row is untouched. Fixes #34917 is present. Clause-② no and Metadata-protocol none match the claim. The changeset names @objectstack/skills (patch), the one published package whose shipped tree moves. The body states measured readings, and names the two NOT MEASURED families with their reason.

Notes

  • N1 (nit): the walker emits a key only for a column that has a label. A column with no label draws its path as the header, gets no key, and is not scaffolded by os i18n extract, but the bundle still accepts a key for it. The skill does not say so. It does not say so for fields rows either, so this follows the file's existing convention.
  • N2: CI at this head when I read it: 14 success, 16 skipped, 11 in progress (Test Core shards, Live E2E UI, the Type Check jobs, ESLint, the repo/tooling, CI/release/engine and docs/code Lint gates), 0 failed. Landing waits for all of them to finish green. That includes the skills token ratchet and the two families this PR leaves to CI (check:dual-build-cjs-loads, check:lean-entry-closure).
  • N3: docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970 pays the same ratchet row. Whichever PR lands second merges main and re-reads check-skills-token-ratchet on its final head. The local three-way merge read 6319 of 6333.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 9777f6ac13c1b64600796839390fedbebc5e52d6 · 2026-11-17T23:28Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 9777f6ac13c1b64600796839390fedbebc5e52d6
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no

PR #35031 for card #34917, net diff against main 4443014 (3 files, +33/-20). Inputs read: the card body and its four comments (triage 6954718843, unlock 6957607603, claim 6963512359, dev report 6963996463), the PR body, file list and diff, the PR's two comments (L1 6964055148, review claim 6964072960), and the check-runs on the head. Nothing in the diff implements or enforces the two hits files, so the + side is none; the changeset is the lane seat's remainder. The code the skill teaches is outside the diff and was read at the head, not reviewed.

① Derived judgments

  • Accept set taught, columns keys — right. packages/spec/src/system/translation.zod.ts declares columns on both ActionResultDialogTranslationSchema and the module-local ActionPreflightTranslationSchema: a record of field path, then a record of column path, then a string. Both are strict objects, so the row's "each a plain string" and "defineTranslationBundle refuses any other key under preflight, a title included" hold with columns added. The schema carries a guidance.title entry for exactly that refusal.
  • Key path, walker — right. packages/lint/src/i18n-walk.ts#pushAnswerTableColumns emits [...blockRoot, 'columns', field.path, column.path] under both …resultDialog and …preflight, with both paths literal. That is the address the row spells as resultDialog.columns.{path}.{column_path} / preflight.columns.{path}.{column_path}.
  • Key path, runtime lookup — right. packages/spec/src/system/i18n-resolver.ts#resolveActionResultDialog and #resolveActionPreflight read n.columns?.[field.path]?.[columnPath], indexed directly and never split on dots, over the declared fields and each field's declared columns[]. The skill's "beside fields" placement and its one-key 'error.message' example match.
  • Refusal sentence — right. packages/lint/src/validate-translation-references.ts#checkActionAnswerTableColumns raises translation-target-unknown in the two shapes the new sentence names: a field path with no declared table field (this covers a block the action does not declare), and a column path that field's columns[] does not list. The paragraph's count, "Six more shapes", matches its own list: outcome, fields path, columns key, dialog leaves, submitText, cancelText.
  • globalActions — right. "The same keys hold under globalActions.{action_name}" is unchanged text; the walker's header lists .preflight.columns and .resultDialog.* under globalActions.
  • Public surface — none moves. No schema, lint rule or resolver is in the diff. The published change is the @objectstack/skills tree alone: teaching text and one eval case.
  • Ratchet row — untouched. scripts/check-skills-token-ratchet.mjs is not in the file list.

② Semver level

.changeset/34917-skills-i18n-action-column-keys.md bumps @objectstack/skills at patch. That matches what the diff publishes: skill prose and an eval fixture in that package's shipped tree, with no accept-set or API change. Check Changeset concluded success on the head.

Clause-②: no — on the PR body, the changeset and the claim alike, and the diff agrees: it narrows nothing and publishes no schema.

③ Boundary flags

  • Dev report open_questions: empty. security_findings: none. out_of_scope_findings: empty.
  • Dev deviation, served tier: the dev's sub-agent identity could not be confirmed through get_session, which describes the parent seat. That is a dispatch-record question for the seat and is not judged here.
  • Dev deviation, docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970: answered below under Overlap.
  • SQL push-down: not applicable. The diff holds no query, no id materialisation and no in-app join.
  • Check-runs on the head, read at review time: 0 failed. Still in progress: Test Core (1/10), Test Core (2/10), Type Check · debt ledger, Type Check · workspace, Type Check · consumer gates, Lint · CI, release & engine gates. Completed success: Lint · repo & tooling gates, Lint · docs & code guards, Lint · ESLint, Lint · PM dispatch-gates, the three scoped Lint jobs, Type Check · source gates, Build Core, Test UI, Dogfood Regression Gate, Live E2E UI, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard, filter, Auto Label. The rest are skipped. I did not map the token-ratchet step or the two families the dev left to CI (check:dual-build-cjs-loads, check:lean-entry-closure) to a job name, so whether they have concluded is not established here. Landing waits on the in-progress jobs.
  • Overlap with open PR docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970 (skills: teach RuntimeBuildIssue.userMessage in the api and i18n skills #34552, head 8f62dd8): its skills/objectstack-i18n/SKILL.md hunks sit in "Server-Composed User Text", around lines 395 to 410. This PR's hunks sit at the key-table row, the zh-CN example block, the translation-target-unknown paragraph, "No ICU MessageFormat", "Service Contract" and the workflow steps. No hunk of one touches a line of the other. The shared cost is the one ratchet row: the dev's local merge read 6319 of 6333, which I did not re-measure. Whichever PR lands second re-reads the ratchet on its merged head.

④ Design judgment

skills/objectstack-i18n/SKILL.md

  • Key-table row: holds against the schema, the walker and both resolvers, as listed in ①. The card's "Done when" asks for both columns keys in the action key table; both are there.
  • zh-CN example line: holds. packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts ships sys_user._actions.import_sso_users.resultDialog.columns.rows with email: "邮箱" and "error.message": "未添加的原因", as quoted. packages/platform-objects/src/identity/sys-user.object.ts declares rows as format: 'table' with labelled email and error.message columns, so the walker emits both keys and the resolver overlays both. The card's "one example of a table answer whose column labels resolve in zh-CN" is met.
  • The five cuts: each cut statement is still carried. The translation.zod.ts pointer stands at lines 265 and 344 and in references/_index.md. Double-brace substitution stands under "Simple Format (Default)". The @objectstack/spec/contracts import stands in the code block above the trimmed sentence, and the reworded sentence is true: packages/spec/package.json ships src/**/*.zod.ts only. os i18n check stands under "Translation Coverage" and "Verify your work". "Only under an action that declares preflight" stands in the key-table row. No reference to a "step 4" or a "Verify Coverage" anchor remains in skills/ or docs/.
  • N1 (nit) — the example block now carries two lines that each begin objects:. Read as one object literal, that is a duplicate key. The block was already a list of fragments (an objects: line and a reports: line), so a reader is unlikely to paste it whole. Left as an accepted deviation.
  • N2 (nit) — the walker emits a key only for a column that has a label; the bundle and the resolver still accept a key for an unlabelled column. The skill says neither, and says neither for fields rows. Same observation as L1's N1; it follows the file's convention.
  • Observation, not from this diff: lint's checkActionRefusals also raises translation-target-unknown under an action entry, and the _actions row on main names no refusals key. The paragraph's "Six more shapes" therefore lists the shapes the skill teaches, not every shape lint raises. This predates the PR and belongs on a follow-up card if the seat wants it.

skills/objectstack-i18n/evals/bundles-locales-coverage.json

  • Case 10: holds. "Beside fields the node holds only columns" is what ActionPreflightTranslationSchema declares; the old "holds nothing else" had become false. Its assertions are unchanged.
  • Case 12, prompt and expected_output: hold. The address, the sibling placement, the literal two-level keying, the preflight twin and the refusal all match the code in ①. The skill at this head teaches everything the expected answer states.
  • S1 (should-fix) — case 12's must_contain token columns: { rows: grades formatting, not content. packages/qa/scenarios/src/skill-evals/grade.ts matches every token as a literal, case-sensitive substring and normalises nothing. A correct answer that writes the bundle across lines (columns: { then rows: { on the next line), or that quotes the keys, lacks the token and fails. No other must_contain token in this file depends on a nested object being written on one line. The paired must_not_contain token fields: { rows: { has the mirror weakness: a wrong answer that nests the columns under fields.rows across lines is not caught by it. Suggested fix: grade the content with tokens that survive reformatting, for example columns and rows as separate must_contain tokens beside the existing resultDialog, and keep the placement check in a form that does not depend on spacing. The eval file is unpriced by the ratchet, so the fix costs no SKILL.md tokens.
  • N3 (nit) — must_not_contain: "error: {" fails a correct answer that shows the split form as the thing not to write. Case 10's verdict: { does the same, so this follows the file's convention.

No must-fix. One should-fix (S1), which earns a delta review of its fix.

Implemented-by: claude/issue-34917-i18n-action-column-keys
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

…ayout

Case 12 required the literal `columns: { rows:` and forbade
`fields: { rows: {`; the grader matches literal substrings, so a correct
multi-line or quoted-key answer failed and a wrong multi-line one passed.
It now requires the dotted key path `resultDialog.columns.rows`, and the
prompt asks for the key.

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

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 59f7a316938a8acf08776ff19703a21f82a50b02 · 2026-11-18T00:06Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

L1 delta review (#34917) · 2026-11-18T00:07Z

L1: ACCEPT
Head-sha: 59f7a31

Delta from my ACCEPT 6964055148 at 9777f6ac13. This verdict supersedes that one for this head. The landing tier is unchanged: tier H under skills/**, with the low-risk skills arm left to the seat's at-tier call. This verdict does not ready the PR.

Must-fix

None.

Should-fix

None.

What I checked

  • The delta is one commit and one file. 9777f6ac13..59f7a31693 is 59f7a316 and touches only skills/objectstack-i18n/evals/bundles-locales-coverage.json, +3/−3, all in case 12. The taught text in rules/ is unchanged, so my earlier code read of the taught keys still holds.
  • The seat's S1 on case 12 is met.
    • The prompt now ends "Which bundle key carries the headers?", so requiring the dotted key path is a fair ask of an answer.
    • must_contain now requires resultDialog.columns.rows in place of the layout-bound resultDialog + columns: { rows: pair. That token is layout-free and names the exact key the case is about.
    • must_not_contain drops fields: { rows: {, a layout-bound refusal. It keeps error: {, which still catches the split-into-nested-objects mistake for the dotted column path.
  • Every assertion holds against expected_output. I ran a script over all 12 cases at this head. Every must_contain token appears in its case's expected_output, and no must_not_contain token does: 0 violations. In case 12, expected_output carries objects.crm_lead._actions.import_leads.resultDialog.columns.rows and has no error: {.
  • Ratchet. Eval fixtures are measured, not ratcheted, and no authored bundle file moved, so the dev's reading of 6256/6333 unchanged is consistent with the diff.
  • CI on this head, read at review time. Nothing is red. Concluded green: PR-body guards, Check Changeset (first run), Check PR Size, Governed Surface Queue Guard, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate, Type Check · workspace and debt ledger, and the Lint scoped and PM dispatch-gates families. Still in progress: Test Core shards, Lint · ESLint, Lint · repo/docs/CI families, Type Check · source and consumer gates, and a second Check Changeset run. Landing waits for these to go green.

Notes

  • My earlier nits N1–N3 on 6964055148 are not touched by this delta and stay nit-level.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 59f7a316938a8acf08776ff19703a21f82a50b02
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no

Delta review of PR #35031 for card #34917, from the record on 9777f6ac13c1b64600796839390fedbebc5e52d6 (comment 6964138148, PASS with S1) to this head. The delta is one commit, 59f7a31693, and one file: skills/objectstack-i18n/evals/bundles-locales-coverage.json, +3/-3, all inside case 12. skills/objectstack-i18n/SKILL.md and the changeset are byte-identical to the reviewed head, so the earlier record's ①, ② and ④ readings of them carry over and are not repeated. Inputs read this round: the card body and its five comments (the round 2 dev report 6964714442 is the new one), the PR body, file list and comments (the L1 delta 6964789690 and the review claim 6964766616 are new), the delta diff, the net diff's file list against main 4443014 (3 files, +33/-20, unchanged), packages/qa/scenarios/src/skill-evals/grade.ts at the head, and the check-runs on the head. Nothing in the diff implements or enforces the two hits files, so the + side stays none.

① Derived judgments

  • Accept set and public surface — unchanged, right. The delta touches no schema, lint rule, resolver or skill text. The published change is still the @objectstack/skills tree: teaching text and one eval case.
  • Case 12 expected_output — unchanged, right. It already states objects.crm_lead._actions.import_leads.resultDialog.columns.rows, so the new required token is drawn from it.
  • Assertion consistency — right. Over all 12 cases at this head, every must_contain token is a substring of its case's expected_output and no must_not_contain token is. Read from the file, not run through the grader.
  • Ratchet row — untouched. scripts/check-skills-token-ratchet.mjs is not in the file list, and the priced file did not move in the delta. The dev's reading of 6256 of 6333 is consistent with that. I did not re-measure it.

② Semver level

.changeset/34917-skills-i18n-action-column-keys.md is unchanged: @objectstack/skills at patch. An eval fixture edit in that package's shipped tree fits the same level. Check Changeset concluded success on this head (both runs).

Clause-②: no — on the PR body, the changeset and the claim alike, and the delta agrees: it narrows nothing and publishes no schema.

③ Boundary flags

④ Design judgment

skills/objectstack-i18n/SKILL.md — not in the delta. The earlier record's judgment holds on this head. N1 and N2 stay nits, as accepted deviations.

skills/objectstack-i18n/evals/bundles-locales-coverage.json

  • S1: closed. must_contain now carries resultDialog.columns.rows in place of resultDialog plus columns: { rows:. A dotted path has no spacing, quoting or line breaks to vary, so grade.ts's literal answer.includes reads it the same in any layout. The forbidden fields: { rows: { is dropped. Placement is still graded: an answer that nests the columns under fields.rows does not state resultDialog.columns.rows and fails on the required token. The prompt's new closing question, "Which bundle key carries the headers?", makes a dotted key path the natural form of the answer.
  • N3 (nit, carried) — error: { is kept, and the dev gave the reason: error.message reads the same whether or not an answer splits it, so no layout-free token tells the split form apart. It still fails a correct answer that shows the split form as the thing not to write. Case 10's verdict: { does the same. Accepted deviation.
  • S2 (should-fix) — case 12 requires translation-target-unknown, and the prompt does not ask for it. The prompt now ends on one narrow question, which bundle key carries the headers. A correct and complete answer to that question names the key and its two-level keying and stops. It has no reason to name the lint rule raised for an undeclared path, and without that token the grader fails it. This is the same defect class as S1: a correct answer fails on something other than its content. The token was already required at 9777f6ac13, and the earlier record did not flag it; that was a miss on my side. The delta makes it sharper, because the old prompt was an open symptom report and the new one is a closed question. The with-skill arm is the one that suffers, since it is the arm that answers correctly. Two fixes work, both in the unpriced eval file: drop the token from must_contain and leave the refusal sentence in expected_output, or extend the prompt to ask what lint reports when a columns key names a column the table does not list. No other case in this file requires a rule name.
  • N4 (nit) — resultDialog.columns.rows requires the dotted spelling all the way through rows. An answer that gives …resultDialog.columns as the key and shows rows only inside an object literal is correct and fails. The closing question steers answers toward the full path, and a shorter token (resultDialog.columns) would stop grading the field-path level. Left as an accepted deviation.
  • Nothing else in the file moved. Case 10 and cases 1 to 11's assertions are as reviewed.

No must-fix. S1: closed. One should-fix open on this head (S2), which earns a delta review of its fix.

Implemented-by: claude/issue-34917-i18n-action-column-keys
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

…le name

Case 12's prompt asks which bundle key carries the headers; a correct
answer to that has no reason to name `translation-target-unknown`, so the
token leaves must_contain. The refusal sentence stays in expected_output.

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

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head bc3f321dd654e963c8f4f9283b3af44f63962de2 · 2026-11-18T01:30Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

L1 delta review (#34917), round 3 · 2026-11-18T01:30Z

L1: ACCEPT
Head-sha: bc3f321

This is a delta from my ACCEPT 6964789690 at 59f7a31693, and it supersedes that verdict for this head. The fix it reviews answers S2 in the contract review 6964870511. The landing tier is unchanged: tier H under skills/**, with the low-risk skills arm left to the seat's at-tier call. This verdict does not ready the PR.

Must-fix

None.

Should-fix

None.

What I checked

  • The delta is one commit and one line. 59f7a31693..bc3f321dd6 is bc3f321d. It changes a single line in skills/objectstack-i18n/evals/bundles-locales-coverage.json: case 12's must_contain drops translation-target-unknown. The prompt, expected_output, must_not_contain and every other case are byte-identical. SKILL.md and the changeset did not move.
  • S2 is met.
    • Case 12's prompt asks one question: which bundle key carries the headers. The remaining required tokens all belong to a correct answer to that question: _actions, import_leads, resultDialog.columns.rows and error.message.
    • A correct answer that does not name the lint rule now passes.
    • The refusal sentence stays in expected_output as reference text. It is no longer graded.
    • That matches the first of the two fixes the review offered.
  • Assertions. I ran a script over all 12 cases at this head. Every must_contain token appears in its case's expected_output, and no must_not_contain token does: 0 violations.
  • Ratchet. Eval fixtures are measured, not ratcheted, and no authored bundle file moved. The dev's reading of 6256 of 6333 for SKILL.md, unchanged, is consistent with the diff.
  • CI on this head, read at review time. Nothing is red.
    • Concluded green: Check Changeset (first run), Check PR Size, PR-body guards, Governed Surface Queue Guard, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate, Lint · ESLint, and the Lint scoped and PM dispatch-gates families.
    • Still in progress: Test Core shards, a second Check Changeset run, the four Type Check jobs, and the Lint repo, docs and CI families.
    • Landing waits for these to go green.

Notes

  • My nits N1–N3 on 6964055148 still stand, and they are not touched by this delta. The review's N3 and N4 on error: { and the full dotted path are accepted deviations there, and this delta does not change them.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: bc3f321dd654e963c8f4f9283b3af44f63962de2
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no

Delta review of PR #35031 for card #34917, from the record on 59f7a316938a8acf08776ff19703a21f82a50b02 (comment 6964870511, PASS with S2 open) to this head. The delta is one commit, bc3f321dd6, and one line of one file: skills/objectstack-i18n/evals/bundles-locales-coverage.json, +1/-1, case 12's must_contain. skills/objectstack-i18n/SKILL.md and the changeset are byte-identical to the reviewed head, so the earlier records' readings of them carry over. Inputs read this round: the card body and its six comments (the round 3 dev report is the new one), the PR body, file list and comments, the delta diff, the net diff against main (merge base 4443014; 3 files, +33/-20, unchanged), and the check-runs on the head. Read outside the diff, not reviewed: packages/spec/src/system/translation.zod.ts, packages/lint/src/validate-translation-references.ts and packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts on main, and packages/qa/scenarios/src/skill-evals/grade.ts at the head. Nothing in the diff implements or enforces the two hits files, so the + side stays none; the changeset is the lane seat's remainder.

① Derived judgments

  • Accept set and public surface — unchanged, right. The delta touches no schema, lint rule, resolver or skill text. Re-read on main: ActionResultDialogTranslationSchema and ActionPreflightTranslationSchema are both strict objects carrying columns (field path, then column path, then string), and checkActionAnswerTableColumns runs for both resultDialog and preflight. The skill row and refusal sentence still match. The published change is still the @objectstack/skills tree: teaching text and one eval case.
  • Case 12 assertions — right. The four remaining must_contain tokens (_actions, import_leads, resultDialog.columns.rows, error.message) are each a substring of the case's expected_output; the one must_not_contain token (error: {) is not. Read from the file, not run through the grader.
  • Case 12 expected_output — unchanged, right. The refusal sentence naming translation-target-unknown stays as reference text and is true against the lint code. It is no longer graded.
  • Case count and ids — unchanged. 12 cases; the delta adds or renumbers none.
  • Ratchet row — untouched. scripts/check-skills-token-ratchet.mjs is not in the file list and the priced file did not move in the delta. The dev's reading of 6256 of 6333 is consistent with that. Not re-measured.

② Semver level

.changeset/34917-skills-i18n-action-column-keys.md is unchanged: @objectstack/skills at patch. Removing one grading token from an eval fixture in that package's shipped tree fits the same level. Check Changeset concluded success on this head once; a second run of it was still in progress when read.

Clause-②: no — on the PR body, the changeset and the claim alike, and the delta agrees: it narrows nothing and publishes no schema.

③ Boundary flags

  • Round 3 dev report open_questions: empty. security_findings: none. out_of_scope_findings: empty. It lists no deviations.
  • Dev narrowing, round 3: only the token ratchet and overlap-check were re-run locally for a one-token eval change; CI answers the rest. Accepted: no derived gate but the ratchet's measurement reads the eval file's assertion tokens.
  • Overlap: the dev reports overlap-check clean against main 1282a46 and PRs docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970 and chore: version packages #33849. Not re-measured. The earlier notes stand: whichever of this PR and docs(skills): the api and i18n skills teach RuntimeBuildIssue.userMessage #34970 lands second re-reads the ratchet on its merged head, and if feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022 is still open, the second of it and this PR to land re-checks that the eval case ids stay distinct.
  • SQL push-down: not applicable. The diff holds no query, no id materialisation and no in-app join.
  • Security: no changed hunk in the net diff teaches permission, sharing, credential, token or authentication behaviour. The zh-CN example line quotes a translation key from the platform's sys_user bundle (import_sso_users); it shows where a column header string is written and says nothing about how SSO import or sign-in behaves. The delta itself removes a lint rule name from a grading list.
  • Check-runs on the head, read at review time: 0 failed. Completed success: Auto Label, Build Core, Check Changeset (one run), Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, Lint · ESLint, Lint · PM dispatch-gates, the three scoped Lint jobs, Live E2E UI, PR-body guards (both runs), Plan Test Core shards, Test UI, Type Check · source gates, filter. Still in progress: Check Changeset (second run), Lint · CI, release & engine gates, Lint · docs & code guards, Lint · repo & tooling gates, Test Core (1/10), Test Core (2/10), Type Check · consumer gates, Type Check · debt ledger, Type Check · workspace. The rest are skipped. The gate verdicts for those nine jobs are therefore not in on this head; this record does not stand in for them, and landing waits for each to conclude green. As before, the token-ratchet step and check:dual-build-cjs-loads / check:lean-entry-closure were not mapped to a job name, so whether they have concluded is not established here.

④ Design judgment

skills/objectstack-i18n/SKILL.md — not in the delta. The earlier records' judgment holds on this head: the key-table row and the refusal sentence against the schema and lint on main, and the example line against the shipped bundle (zh-CN.objects.generated.ts carries columns.rows with email: "邮箱" and "error.message": "未添加的原因" under sys_user._actions.import_sso_users.resultDialog). N1 and N2 of the first record stay nits, as accepted deviations.

skills/objectstack-i18n/evals/bundles-locales-coverage.json

  • S2: closed. translation-target-unknown is gone from case 12's must_contain, which is the first of the two fixes the earlier record offered. The prompt ends "Which bundle key carries the headers?"; every token still required belongs to a correct answer to that question: the _actions group, the action name, the dotted key path and the dotted column path. grade.ts matches by literal answer.includes, so an answer that names the key and its two-level keying and stops now passes.
  • Nothing new broke. The case still discriminates: an answer that nests the headers under fields.rows does not state resultDialog.columns.rows and fails; an answer that splits the column path into error: { fails on the forbidden token. Dropping the rule name removes no check on placement or keying, and no other case in the file requires a rule name, so the file is now uniform on that point. The prompt, expected_output, must_not_contain and cases 1 to 11 are byte-identical to the reviewed head.
  • N3 (nit, carried) — error: { still fails a correct answer that shows the split form as the thing not to write. Case 10's verdict: { does the same. Accepted deviation.
  • N4 (nit, carried) — resultDialog.columns.rows requires the dotted spelling through rows; an answer giving resultDialog.columns and showing rows only inside an object literal is correct and fails. The closing question steers answers to the full path. Accepted deviation.

No must-fix, no should-fix. S2: closed.

Implemented-by: claude/issue-34917-i18n-action-column-keys
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head ef6d08ce1f2dacba177c869ef553cb7c1ad2ff73 · 2026-11-18T01:39Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ef6d08ce1f2dacba177c869ef553cb7c1ad2ff73
Local-runs: none
Scope: skills/objectstack-i18n/SKILL.md, skills/objectstack-i18n/evals/bundles-locales-coverage.json + none
Security-touching: no

Head-move record for bc3f321dd6..ef6d08ce1f on PR #35031 (card #34917). The hop is one merge commit of main (1282a464e9) into the branch. Earlier records stand for everything they judged; this one judges only what the merge changed.

① Derived judgments

  • The PR's own net diff is unchanged: right. git diff 1282a464e9 ef6d08ce1f and git diff 4443014630 bc3f321dd6 have the same stable patch-id, 25e431190a9cbf5bdbdd702f1272db8490e21dab. Both are 3 files, +33/-20: the changeset, SKILL.md and bundles-locales-coverage.json.
  • SKILL.md is byte-identical across the hop: right. git diff bc3f321dd6 ef6d08ce1f -- skills/objectstack-i18n shows no SKILL.md change. Main did not edit the i18n row of scripts/check-skills-token-ratchet.mjs between 4443014630 and 1282a464e9, so the token reading in the earlier record still applies.
  • bundles-locales-coverage.json did change across the hop, from main's side (feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022, 62da8a3201): right, and the merge is coherent. Main reworded the prompts of cases 2 and 4 and changed case 10's must_not_contain from verdict: { to verdict: { summary: '. The PR edits case 10's expected_output and adds case 12, so the two sides touch different lines. In the merged case 10, every must_contain token is in the PR's expected_output and neither must_not_contain token is.
  • evals/triggers.json (new from feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022) does not interact with the PR's edits: right.
    • Case ids: the reader keys a case by bundle, file and id (packages/qa/scenarios/src/skill-evals/cases.ts, caseKey(bundle, file, id)), so ids 1 to 7 in triggers.json do not collide with ids 1 to 12 in bundles-locales-coverage.json.
    • File roles: triggers.json holds only should_trigger cases, with no assertions. The PR's file holds only behaviour cases. The reader refuses a case carrying both, and none does. The trigger set has five positive and two negative cases, so the "all one kind" refusal does not fire.
    • Grader: trigger cases are graded on whether the bundle was loaded, which depends on the SKILL.md frontmatter description. The PR does not touch the frontmatter. Behaviour cases, case 12 included, are still graded by literal substring (grade.ts), which is the rule the earlier records judged case 12 against.
  • The spec the skill teaches is unchanged on the new base: right. Between 4443014630 and 1282a464e9, translation.zod.ts, i18n-walk.ts and validate-translation-references.ts changed only to add the mappings group (feat(spec): a named import mapping's label is translatable at mappings.NAME.label #34976). The resultDialog.columns and preflight.columns shapes and their translation-target-unknown refusal are not in that diff.

② Semver level

Unchanged by the hop: .changeset/34917-skills-i18n-action-column-keys.md is @objectstack/skills patch with Clause-②: no and Metadata-protocol: none, matching the PR body. Main's own changeset from #35022 is a separate file. The Check Changeset check-run is success on this head.

③ Boundary flags

④ Design judgment

No must-fix, no should-fix.

  • skills/objectstack-i18n/SKILL.md: identical to the blob at bc3f321dd6, and the spec and lint it cites did not move under it (① above). The earlier judgment holds on this head.
  • skills/objectstack-i18n/evals/bundles-locales-coverage.json: the PR's hunks are unchanged, and main's three edits to the same file do not contradict them. Case 12's prompt states its own context and ends in a question, which meets the rule feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022 wrote into packages/qa/scenarios/README.md ("a case whose prompt states its context needs none"), so it does not need the "no project files here" sentence main added to cases 2 and 4.
  • Security: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The client.secret and import_sso_users strings are example key names for translation paths, and client.secret was already in the row before this PR.

Check-runs on ef6d08ce1f (41 listed, read once): no failure.

  • Success: Governed Surface Queue Guard, Check Changeset, PR-body guards, Check PR Size, Auto Label, filter, Build Core, Plan Test Core shards, Test UI, Live E2E UI, Dogfood Regression Gate, Type Check · workspace, Type Check · debt ledger, Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Lint · scoped · slot lookup & corpus, Lint · scoped · query-options erasure.
  • Still in progress at read time: Test Core (1/10) and (2/10), Type Check · consumer gates, Type Check · source gates, Lint · ESLint, Lint · CI, release & engine gates, Lint · repo & tooling gates, Lint · docs & code guards. Only two of the ten Test Core shards were listed yet.
  • Skipped: the UI jobs, Build Docs, Dogfood Verify CLI, Temporal Conformance, the opt-in smoke and upgrade harnesses, Queue verdict, Borrowed queue verdict, Schedule gate.

The pending runs are the gate verdicts for this head and must be green before it lands. The PR is still a draft.

S2: closed

Implemented-by: claude/issue-34917-i18n-action-column-keys
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Landing · area o3-C · head ef6d08c

Probe Reading
check-governed-merges.mjs --pr 35031 GOVERNED under skills/**. It lands at Tier S on the low-risk skills arm (maintainer ruling 2026-11-14 on #33501). The PR modifies skill files and prose only, has a bare Clause-②: no and Metadata-protocol: none, a clean changeset and no security label, and a record on this head reads Security-touching: no.
Review L1-a delta ACCEPT 6966242986 at bc3f321, and L1 ACCEPT 6964789690 before it. Seat contract review delta PASS 6966300180 at bc3f321, which closes S2 of 6964870511. Seat head-move record PASS 6966423932 at ef6d08c: a merge of main only, with the same patch-id. Every record reads Security-touching: no. No must-fix or should-fix is open.
Open findings Nits only: L1 N1 to N3 on 6964055148, and the review's N3 and N4 (accepted deviations). The mappings group gap the head-move record noticed is outside this PR's hunks and went to triage.
Ratchet skills/objectstack-i18n/SKILL.md is 6256 of 6333, unchanged since round 2. CI's ratchet step is green on this head.
CI K was 25 at bc3f321, so I ran pr_update_branch and got ef6d08c. K is 2 now. On ef6d08c: 28 success, 16 skipped, 0 failed. The failure of TypeScript Type Check on bc3f321 was the typecheck-consumers lane being cancelled by the branch update, not a code failure.

Dev-effort: medium · Rounds: 3

State: ready + auto-merge now. On MERGED, #34917 closes via Fixes and its pm:* state label comes off.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 18, 2026 01:58
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 301b7c1 Nov 18, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-34917-i18n-action-column-keys branch November 18, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills(i18n): the action key table names the new table column label keys (resultDialog.columns / preflight.columns) from #34652

2 participants