Repository navigation
docs(skills): the i18n skill names the action table column label keys - #35031
Conversation
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
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB L1 review (#34917) · 2026-11-17T23:27ZL1: ACCEPT
Must-fixNone. Should-fixNone. What I checked
Notes
|
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract reviewServed-tier: PR #35031 for card #34917, net diff against ① Derived judgments
② Semver level
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
④ Design judgment
No must-fix. One should-fix (S1), which earns a delta review of its fix. Implemented-by: 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
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head |
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB L1 delta review (#34917) · 2026-11-18T00:07ZL1: ACCEPT Delta from my ACCEPT 6964055148 at Must-fixNone. Should-fixNone. What I checked
Notes
|
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract reviewServed-tier: Delta review of PR #35031 for card #34917, from the record on ① Derived judgments
② Semver level
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
No must-fix. S1: closed. One should-fix open on this head (S2), which earns a delta review of its fix. Implemented-by: 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
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head |
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB L1 delta review (#34917), round 3 · 2026-11-18T01:30ZL1: ACCEPT This is a delta from my ACCEPT 6964789690 at Must-fixNone. Should-fixNone. What I checked
Notes
|
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract reviewServed-tier: Delta review of PR #35031 for card #34917, from the record on ① Derived judgments
② Semver level
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
No must-fix, no should-fix. S2: closed. Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract reviewServed-tier: Head-move record for ① Derived judgments
② Semver levelUnchanged by the hop: ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Check-runs on
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: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz Landing · area o3-C · head ef6d08c
Dev-effort: medium · Rounds: 3 State: ready + auto-merge now. On MERGED, #34917 closes via |
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 加一条用例。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:_actions.{action_name}row: namesresultDialog.columns.{path}.{column_path}/preflight.columns.{path}.{column_path}. They are a table's column headers, written besidefields, keyed by the literalpathof aformat: 'table'field and then by the literalpathof one of itscolumns[], each value a plain string. The existing sentence thatdefineTranslationBundlerefuses any other key underpreflightnow ends the list aftercolumns, so it no longer saysfieldsis the only key.translation-target-unknownparagraph: "Five more shapes" becomes six. The new one is acolumnskey whose field path is no declaredformat: 'table'field, or whose column path that field'scolumns[]does not list.sys_userbundle ships them forimport_sso_users(rowsis the table field'spath,error.messageone column's).skills/objectstack-i18n/evals/bundles-locales-coverage.json:resultDialog.columns.rowsand the column patherror.message. Round 3 (review S2): the rule nametranslation-target-unknownleftmust_contain, because a correct answer to "which key" has no reason to name the lint rule; the refusal sentence stays inexpected_output. Round 2 (review S1): the path token replacescolumns: { rows:, and the forbiddenfields: { 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 spellingerror.messagereads the same whether or not the answer splits it, so no layout-free token does that job.preflightnode "holds nothing else" besidefields. It now says the node holds onlyfieldsandcolumns..changeset/34917-skills-i18n-action-column-keys.md:@objectstack/skillspatch, with both declaration lines.Cuts that pay for the text (same file)
node_modules/@objectstack/spec/src/system/translation.zod.ts—TranslationDataSchema,ObjectTranslationDataSchema, andFieldTranslationSchema."## References("AlwaysReadthe source for exact field shapes; do not rely on memory of property names") andreferences/_index.md, whose Core schemas line names that file and those three exports{{variable}}substitution" under No ICU MessageFormat{{variable}}placeholders only"@objectstack/spec/contractsrather than readingnode_modulessource" under Service Contractimport type { II18nService } from '@objectstack/spec/contracts';os i18n check(Translation Coverage above)"; step 4 is renumbered 3## Translation Coverage→os i18n check, and## Verify your workpreflightdeclares none)" in the refusal paragraphpreflight.fields.{path}"only under an action that declarespreflight"Size readings (
skills/**)skills/objectstack-i18n/SKILL.md, linesskills/objectstack-i18n/SKILL.md, tokens (ratchet, ceiling 6333)SKILL.mdunderskills/, linesThe 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.mjsis not touched.Tests
must_containstring is in itsexpected_output, nomust_not_containstring is, and the ids are distinct. 0 violations.grade.tsdoes: a correct answer written across lines with quoted keys passes; a wrong-nesting answer written across lines fails.@objectstack/specand@objectstack/lint(results under Verification).Acceptance notes
format: 'table'field. The only shipped one is the platform'ssys_user→import_sso_users, so the example line quotes that bundle. The existing two lines of the block quoteapp-crmandapp-showcase.RuntimeBuildIssue.userMessage#34970 edits another section of the same SKILL.md and pays the same ratchet row. A local three-way merge of the two heads is clean and reads 6319 tokens against the 6333 ceiling, so either landing order stays under it.Verification
Premise, on origin/main 4443014
skills/objectstack-i18n/SKILL.md:167namedresultDialog.fields.{path}andpreflight.fields.{path}and nocolumnskey.:230named nocolumnsrefusal.packages/spec/src/system/translation.zod.ts:ActionResultDialogTranslationSchema.columnsandActionPreflightTranslationSchema.columnsare both a record of field path → record of column path → string.packages/lint/src/validate-translation-references.ts(checkActionAnswerTableColumns) reportstranslation-target-unknownfor a field path with no declared table field, and for a column path the field'scolumns[]does not list.Accept-set probe against the built packages, at 9777f6a (round 2 changed only the eval file)
defineTranslationBundle:resultDialog.columns.rows.{email, "error.message"},preflight.columns.rows.email, and the same underglobalActions.preflight.titleandpreflight.headers(unrecognized_keys).expected string) and acolumns.rowsthat is a string (expected record).resolveActionResultDialog/resolveActionPreflight, on arowstable with columnsemailanderror.message:zh-CN: result dialog headers["邮箱","原因"], preflight headers["邮箱"].en:["Email","Reason"]and["Email"](the authored labels).validateTranslationReferences:preflight.columnsunder an action with nopreflight: each oneerror translation-target-unknown.Gates
Round 1, head 9777f6a:
os-verify-lockrunningpnpm --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.pnpm check:dual-build-cjs-loadsandpnpm 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-checkagainst origin/main 4443014 and open PRs docs(skills): the api and i18n skills teachRuntimeBuildIssue.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):
dispatch-gates --commandsderives the same 48 commands. The 42 that need no build were re-run and all exited 0, the token ratchet among them (SKILL.md still 6256 of 6333; the eval fixture measures 2678 tokens, unpriced).check:skill-docs,check:doc-formula-expressions,check:dts-closure,check:sourcemap-no-sources-content), which do not read the eval file.check:dual-build-cjs-loadsandcheck:lean-entry-closureremain NOT MEASURED. CI runs all six.overlap-checkagainst origin/main 65ec3c5 and open PRs feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022, docs(skills): the api and i18n skills teachRuntimeBuildIssue.userMessage#34970 and chore: version packages #33849:VERDICT clean exit 0.Round 3, head bc3f321 (the diff from round 2 is one token removed from case 12's
must_contain):node scripts/check-skills-token-ratchet.mjs: exit 0, SKILL.md unchanged at 6256 of 6333; the eval fixture measures 2670 tokens, unpriced.overlap-checkagainst origin/main 1282a46 and open PRs docs(skills): the api and i18n skills teachRuntimeBuildIssue.userMessage#34970 and chore: version packages #33849:VERDICT clean exit 0.Generated by Claude Code