Skip to content

Import mappings: the mapping label and field mapping are not localizable, and the import wizard shows target API names and a blank preview for a named mapping #34939

Closed

Description

@os-bob

What (18.5.0, zh-CN, measured in a browser)

An app ships a named import mapping (e.g. weekly supply CSV import). In a zh-CN organization:

  1. The mapping's name shows in English (「Weekly Supply Import (CSV)」). The mapping label is a plain string, and translation bundles have no mappings category, so the app cannot translate it.
  2. The mapping step lists the target field API names (e.g. supply_week, domestic_reserved_qty) instead of the fields' translated labels.
  3. The preview table's cells are empty for a named mapping, although the import itself runs correctly.

Ask

  • A translation key for import mappings (label and description) in the bundle, e.g. mappings.<name>.label.
  • The wizard shows target fields by their translated labels.
  • The preview renders the mapped values.

Activity

  1. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1200, 17:5xZ): p1 · domain:ui → pm:queue.

    Theme: zh-CN customers, with a named effect. In a zh-CN organization, a shipped import mapping shows its English name, the wizard lists target API names instead of labels, and a named mapping's preview is blank. The fix spans a bundle category (mappings.<name>.label) and the wizard. So p1.

  2. added
    domain:ui
    pm:queue
    priority:p1
    on Nov 17, 2026
  3. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

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

    Claim: PM loop round 10 · 2026-11-17T18:00Z
    Session: session_01WGufzgwLiKcfujYUug7sPs
    Account: os-support-ai
    Branch: claude/issue-34939-import-mapping-i18n
    Worktree: objectstack-issue-34939
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface:

    • UI parts (2) and (3): ui/packages/plugin-grid/src/ImportWizard.tsx (the mapping step's target-field names, the preview table for a named mapping, and the mapping-name display at ~:1646 and ~:1666), its plugin-grid tests, root .changeset/.
    • Part (1), only after the premise reading and the seat's go: the translation bundle's mapping category in packages/spec/src/system/translation.zod.ts, its readers (the server-side translate of the mapping list, ui/packages/i18n SPEC_TRANSLATION_GROUPS, the TranslationPreview CATEGORY_DEFS row, the i18n walk fixture, the docs i18n-standard.mdx / translations.mdx), and generated baselines.
      Container & model: S/M, mode:subagent (area o3-B), model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate; a published-schema widening owes the seat's CONTRACT_REVIEW_TIER L2 by surface), effort: high (may need spec/bundle keys, area-o3-B.md addendum 17:57Z)
      Clause-②: yes (widening) — expected: the card asks for a bundle category for import mappings (a new optional authorable translation group); if the premise reading finds a route that adds no published key, the seat amends this to no
      Metadata-protocol: none — a new optional translation group is additive; the dev confirms it with the spec-lane tools before the PR
      Responsibility: not traced yet — the dev names the introducing change once measured
      Thread-read: 6956161396
      Premise: code read on origin/main 8e49847, with a zh-CN live reading owed before code.
    • (1) MappingSchema.label (packages/spec/src/data/mapping.zod.ts ~:412) is a plain optional string. TranslationDataSchema (translation.zod.ts ~:2541) has no mappings group in its category list. The wizard shows m.label || m.name untranslated.
    • (2) The mapping step lists target fields. Whether it reads f.name or an untranslated f.label for a named mapping is NOT yet measured. The wizard already uses translated f.label elsewhere (~:1806, ~:1923).
    • (3) The preview cells being blank for a named mapping is NOT yet measured.
    • The dev reproduces all three live before any code, then reports a sizing for part (1) (new group plus ripples, versus any existing route) to the seat before writing spec code. Parts (2) and (3) are UI-only and proceed once measured.
      Serial constraints cleared: overlap-check probe of ImportWizard.tsx + translation.zod.ts vs origin/main 8e498475c3: clean exit 0; shares translation.zod.ts with #34915 and #34719, both merge cleanly
      Pre-claim lane: domain:ui (non-epic p1, routed to o3-B by seat 3 at 17:57Z; seat runs the L2 if spec keys land)
      Pre-claim deps: no Blocked-by:
      Prior rulings read: import mapping,translation bundle,mappings group,import wizard,preview → 10 hits; ADR-0027 Decision §11, ADR-0027 Decision §2, ADR-0027 Decision §6, ADR-0037 Decision §1, ADR-0037 Decision §3, ADR-0045 Decision §2, ADR-0045 Decision §6, ADR-0045 Decision §7, ADR-0080 Decision §5, ADR-0106 D4; thread: none; repo: objectstack-ai/objectstack

    Lease o3-B under seat 3 (seat post #34584).

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  5. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

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

    Claim amendment · 2026-11-17T18:50Z

    Seat 3 rules on area o3-B's sizing (live on 8e49847, zh-CN):

    • Part 1 (mapping label untranslated): route A, label only. A new mappings translation group carrying mappings.<name>.label, translateMapping registered in METADATA_DOCUMENT_TRANSLATORS, and the packaged-base guard, following the books precedent (031d97a). description is out: MappingSchema has no description, so a bundle key would translate nothing; adding one is a separate widening. Routes B (client-side messages key) and C (inline translations on MappingSchema) are rejected as an undeclared dialect and a retired dialect.
    • Declarations amended: Clause-②: yes (widening), Metadata-protocol: added (new authorable bundle key), spec level per AGENTS.md checklist. Seat L2 at CONTRACT_REVIEW_TIER after L1-a.
    • Split accepted: the UI half (mapping summary shows served labels; Back + reload under a selected mapping no longer auto-maps the preview) ships first as its own PR, Part of #34939, Clause-②: no, through L1-a. Part 1 follows under Fixes #34939.
    • Surface grows to the spec translation schema and generated artifacts, rest/cli/lint translator registration, ui reader, docs and showcase as the measured file list names; o3-B posts that list before coding part 1.
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs
    os-dev-report

    {
      "issue": 34939,
      "status": "blocked",
      "branch": "claude/issue-34939-import-mapping-i18n (UI half, PR open) · claude/issue-34939-mapping-translation-group (part 1, worktree only, no edits)",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34961",
      "session": "session_01WGufzgwLiKcfujYUug7sPs",
      "premise_still_valid": true,
      "summary": "UI half shipped as draft PR #34961, head b0b81d0c3f, body 'Part of #34939', Clause-②: no, Metadata-protocol: none, plugin-grid patch changeset. It contains parts (2) and (3): the summary names mapping targets by their served field labels, and loading a second file under a named mapping keeps the preview on that mapping instead of an auto-map. Both were measured live in zh-CN before the fix and re-measured after it. Before the PR I merged origin/main fff0ad0c18 into the branch; that merge commit carries the model-free trailers. Part 1 is NOT started. Per the seat's amendment 6957676841, a separate worktree /home/claude/objectstack-issue-34939-p1 is on the new branch claude/issue-34939-mapping-translation-group at origin/main fff0ad0c18. It has no edits, no commits and no push: its empty-branch push waits for the go, so nothing lands before the seat reviews the list. The measured part-1 file list is open_questions[0]. STATUS blocked = waiting for the seat's review of that list. The UI worktree /home/claude/objectstack-issue-34939 is removed (clean, every commit on the remote). My two servers (:39517, :39518) are stopped, and the temporary showcase edits were restored before any commit.",
      "tests": "At head b0b81d0c3f, after merging origin/main and rebuilding the dependency closure: pnpm --filter @object-ui/plugin-grid type-check, exit 0 (script name echoed). cd ui && pnpm exec vitest run --maxWorkers=2 over packages/plugin-grid/src/ImportWizard*, importSavedMapping.test.ts and __tests__/importWriteModes-12697.test.tsx: VERDICT command-exit 0, Test Files 20 passed (20), Tests 142 passed (142). Whole packages/plugin-grid/src/ tree at 89eadc8ed0, before the merge: Test Files 286 passed (286), Tests 2471 passed (2471). Ablation through scripts/ablation-replace.mjs (anchor 1/1; restore blob == HEAD 582a84da52ed and git diff HEAD empty), one leg per fix. handleFileLoaded reverted to the auto-map reds only the reload pin (1 failed, 8 passed). The label resolver removed reds only the summary pin (1 failed, 8 passed). Both legs are src-resolved: the test imports ./ImportWizard, so there is no dist leg.",
      "gates": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at b0b81d0c3f (5 paths vs merge base fff0ad0c1) derived 39 families. All 39 ran locally with exit 0, each captured before any pipe; among them check:nul-bytes, check:published-files, check:test-source-alias, check:type-check-coverage, check:type-check-debt, check:engine-double-contract, the changeset gates, the comment-mask corpus sweep (22736 files, 0 disagree) and pnpm --dir ui exec vitest run scripts/ (VERDICT command-exit 0). Reconciliation with --ran: 39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN. CI families: the PR's check runs were not read at report time (in_progress); they are left to CI.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push of claude/issue-34939-import-mapping-i18n (not REST); relay pr_create via scripts/pm/fleet-write/dispatch.mjs: POST /repos/objectstack-ai/objectstack/pulls (draft forced) plus POST .../issues/34961/assignees [os-support-ai], run 44157849888 success, read-back 6378 bytes sent = 6378 stored, identical; post-stamped os-dev-report comment on #34939",
      "open_questions": [
        {
          "question": "PART-1 MEASURED FILE LIST (route A: label only, packaged-base guard in, description out), from the books precedent 031d97a00f, its packaged-base follow-up fdad1786e8, and greps of origin/main fff0ad0c18. Every file with its reason and rough +/-. SPEC: (1) packages/spec/src/system/translation.zod.ts — the mappings group in appTranslationDataShape (strict, aliases name/title to label, guidance for description because MappingSchema declares none); mapping: 'mappings' alias on TranslationDataSchema and PlatformTranslationDataSchema; spelled counts sixteen to seventeen at ~:997, :1042, :1081, :1085, :1086, :2565, :2833 and seventeen to eighteen at ~:1081, :2568, :2589; 'mappings' added to the settings refusal's group list ~:998. About +25/-10. (2) packages/spec/src/system/i18n-resolver.ts — MappingLike, lookupMappingLabel, translateMapping (ADR-0146 D2 order via labelCatalogs and valueOverridesPackagedBase, the translateBook shape), and mapping: translateMapping in METADATA_DOCUMENT_TRANSLATORS. That row is the whole REST wiring, because translateMetaList and the item read read TRANSLATABLE_METADATA_TYPES. About +50. (3) packages/spec/src/system/i18n-mapping.test.ts, NEW — three doors accept mappings; closed face, aliases and description guidance; zh-CN reader; en returns the same reference; per-key fallback; locale ladder; TRANSLATABLE_METADATA_TYPES has mapping. About +110. (4) packages/spec/src/system/i18n-resolver.test.ts — a mapping row in the ADR-0146 D2 label-precedence case table (~:6465). About +12. (5) packages/spec/src/data/mapping.zod.ts — the label's describe() names its bundle key (prose only). +1/-1. (6) packages/spec/liveness/translation.json — mappings seeded live with reader evidence, drilled to label. About +16. (7) packages/spec/liveness/state-counts/translation.md — regenerated (live 46 to 48, classified 48 to 50). +1/-1. (8) packages/spec/authorable-surface/system.json — gen:schema, +4 (Platform/Served/TranslationData/TranslationItem :mappings). (9) packages/spec/api-surface/system.json and (10) packages/spec/export-origins/system.json — gen:api-surface for translateMapping and MappingLike, about +2 each. (11) content/docs/references/system/translation.mdx (and references/data/mapping.mdx, maybe references/api/protocol.mdx) — gen:docs, about +20. METADATA-PROTOCOL (packaged-base guard; mapping is ADR-0146 D2 'listed' overridable, customization-package.ts:329): (12) packages/metadata-protocol/src/protocol-discovery-and-bases.ts — PackagedArtifactBaseType gains 'mapping', plus static getPackagedMappingBase. About +8/-2. (13) packages/metadata-protocol/src/protocol.ts — getPackagedMappingBase(name) and its docblock. About +10. (14) packages/metadata-protocol test (protocol.pair-translation-bundle.test.ts or a sibling) — the base answers a code-layer mapping and is undefined for an overlay. About +30; scripts/engine-double-contract.pinned.json only if the test adds a double, +-2. REST: (15) packages/rest/src/meta-item-read-gate.ts — PACKAGED_BASE_ACCESSORS row ['mapping','getPackagedMappingBase'] and docblock. +3/-1. (16) packages/rest test (the meta-dashboard-view-i18n-explicit-override harness) — GET /meta/mapping list and item in zh-CN, and an overridden label not replaced. About +60. RUNTIME: (17) packages/runtime/src/domains/meta-list-projection-parity.test.ts — a mapping type cell, fixture, census bundle entry and zh-CN pin. Required: its census reds on any TRANSLATABLE type missing from TYPE_AXIS (~:674). About +30. LINT: (18) packages/lint/src/i18n-walk.ts — walkMappings emits mappings.NAME.label (pushOptional, source 'mapping'), plus the call site, the ExpectedEntry source union and the docblock list. About +25. (19) packages/lint/src/i18n-walk.test.ts — the walk emits it. About +25. (20) packages/lint/src/validate-translation-references.ts — universe.mappings from stack.mappings plus artifact-provided records; one row in the positions/permissions/reports arm table (~:2317); header. About +15. (21) packages/lint/src/validate-translation-references.test.ts — a declared mapping is clean; an unknown name errors with a suggestion; a sibling package's mapping resolves. About +45. (22) packages/lint/src/rule-explanations.ts — translation-target-unknown names mappings.MAPPING. +2/-1. CLI: (23) packages/cli/src/utils/i18n-coverage.ts — source union, SOURCE_SURFACE and SOURCE_NOUN 'import mappings', which yields i18n/missing-mapping. About +6. (24) packages/cli/test/i18n-mapping-coverage.test.ts, NEW — the coverage bucket. About +40. UI: (25) ui/packages/app-shell/src/views/metadata-admin/previews/TranslationPreview.tsx — CATEGORY_DEFS row; the satisfies Record type forces it. +1 to +2. (26) ui/packages/i18n/src/namespaces/studio/en.ts and zh.ts — the category label, +1 each. (27) TranslationPreview.categories-11765.test.tsx — ONE_ENTRY mappings. About +5. (28) adminPreviews.i18n-10862-s2.test.tsx — category key list and denominator 2/16 (13%) to 2/17 (12%). +2/-1. (29) ui/packages/i18n/src/utils/spec-translations.ts — SPEC_TRANSLATION_GROUPS gains mappings. +2. (30) ui/packages/app-shell/src/views/studio-design/translationTable.ts — WALKED_TYPE_STACK_KEYS mapping: 'mappings', so Studio's translation table lists the label. +1 (no pin found by grep). FIXTURES, EXAMPLES, DOCS: (31) scripts/fixtures/i18n-walk-parity/every-group.stack.json — one mappings item. +4. (32) examples/app-showcase/src/system/translations/index.ts — zh-CN mappings.showcase_inquiry_feed.label (otherwise check:i18n-coverage grows). +3. (33) content/docs/protocol/kernel/i18n-standard.mdx — group list ~:495; 'sixteen declared groups' ~:585. +3/-2. (34) content/docs/ui/translations.mdx — one table row ~:99. +1. (35) content/docs/data-modeling/import-mappings.mdx — a short 'Translating the label' note. About +6. (36) .changeset/34939-translation-mappings.md — minor for spec, metadata-protocol, rest, lint, cli, app-shell and i18n; Clause-②: yes (widening); Metadata-protocol: added; Skills-docs line. About +25. TOTAL: about 36 files, about +700/-20, of which about 400 lines are tests. NOT TOUCHED, deliberately: packages/spec/authorable-surface.base.json (written only by gen:authorable-surface-base); runtime domains/meta.ts and rest meta-item-read-routes.ts (books needed them only for its tree route); skills/objectstack-i18n/SKILL.md (~:177, a governed surface under a token ratchet). GATES: check:generated (authorable-surface, api-surface, docs), check:liveness, check:i18n-coverage, check:i18n-walk-parity, check:doc-authoring, check:adr-0087-registration (non-breaking), check:engine-double-contract (if a double is added); CI Type Check UI, Test UI, Test Core; the seat's CONTRACT_REVIEW_TIER L2. UNVERIFIED by grep: the metadata-form reconciliation ledger from the ripple note. No current file listing translation groups for a form was found, and the first build will show whether it reds. Two decisions for the seat follow.",
          "options": [
            "A — the published skill list (skills/objectstack-i18n/SKILL.md) moves in a follow-up card named on the changeset's Skills-docs line, as the books precedent did ('Skills-docs: #26820'), keeping this PR off governed surfaces",
            "B — edit the skill in this PR, paid for by deleting text under the skills token ratchet; the PR then lands Tier S/H"
          ],
          "recommendation": "A, because the precedent did exactly this and it keeps the contract PR's landing tier unchanged. Second point: Studio's translationTable row (30) is in by default. It costs 1 line, and without it Studio's translation table would not list a key the bundle accepts."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted in PR #34961 Acceptance notes, not filed: a local mapping template probably shows the same stale state (it stays selected after Back plus a new file while that file is auto-mapped). Read from code only and not measured live.",
        "carrier: seat · noted: the dispatch asked for an HTML-comment trailer on the PR body, which os-dev.md's no-HTML-comment rule forbids for dev-written text. I followed the dispatch because the relay header (fleet-write/dispatch.mjs, 'signed on its LAST line') defines exactly that trailer for PR bodies. The read-back shows it stored intact as the last line.",
        "carrier: seat · noted: the PR's first line is 'Part of #34939' and the signature is the trailer on the last line. The dispatch's 'signature first line' was read as the issue report comment's convention, because the relay reserves a PR body's line 1 for the closing-keyword line."
      ]
    }
  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs
    os-dev-report

    {
      "issue": 34939,
      "status": "needs_decision",
      "branch": "claude/issue-34939-mapping-translation-group",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34976",
      "session": "session_01WGufzgwLiKcfujYUug7sPs",
      "premise_still_valid": true,
      "summary": "Part (1) of the card, implemented on the seat's route A: label only, packaged-base guard in, description out. A new `mappings` translation group with one key, `mappings.NAME.label`, opens on all four doors. `translateMapping` is registered, so `GET /meta/mapping` (list and item) serves the label in the reader's locale under the ADR-0146 D2 order. `getPackagedMappingBase` (metadata-protocol) and its row in rest's PACKAGED_BASE_ACCESSORS feed the packaged base. lint (walk, orphan table, rule text), cli (`i18n/missing-mapping`), Studio's translation preview and table, the walk-parity fixture, the showcase zh-CN bundle and the docs all carry the group. Draft PR #34976, head 9d26d5a770, 41 files, +573/-43. The UI half is PR #34961. One gate is red and only a maintainer can clear it: `check:facade-delegation-only`. `packages/metadata-protocol/src/protocol.ts` was exactly at its 11705-line ceiling on main, and the new forwarder takes it to 11714. Hence needs_decision.",
      "tests": "At e2ac16438e under the lock: lint 3 files 274/274; rest meta-dashboard-view-i18n-explicit-override 114/114; objectql protocol-custom-override-bare-slot-envelope 114/114; runtime meta-list-projection-parity 1365/1365 (zh-CN /meta/mappings -> 线索导入, en-US -> Lead feed, item read pinned). Spec i18n suites: 4 files, 792 passed. CLI unit tier at 0663ffad1f: 4 files 27/27; the integration tier is left to CI. UI: app-shell previews plus translationTable 164 files 1809/1809; i18n 102 files 1896 passed, 13 skipped; the edited preview pins re-run at 3a7c72e8a0, 63/63. Typecheck exit 0: lint, cli, rest, metadata-protocol, @object-ui/i18n and @object-ui/app-shell type-check (after building the app-shell^... closure). Ablation through scripts/ablation-replace.mjs, anchor hit 1/1, restore proven blob == HEAD with git diff HEAD empty: dropping `mapping: translateMapping` -> 9 failed / 541 passed; dropping the orphan-table `mappings` row -> 2 failed / 252 passed. Both edited files are src resolved by relative import, so no dist build was needed.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack derived 139 commands, all run locally. --ran with exit codes at 9d26d5a770: 139 derived, 138 run, 1 NOT-MEASURED, 0 UNRUN. RED, exit 1: pnpm check:facade-delegation-only (protocol.ts 11714 > ceiling 11705 by 9; raising it is MAINTAINER-ONLY). NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, needs a whole-workspace dist; left to CI. Re-run after prerequisite refusals, now exit 0: check:doc-formula-expressions, check:skill-examples, check:i18n, check:i18n-coverage (14 configs, 423 baselined, none new), check:i18n-walk-parity (17 declared, 15 walked, 2 exempted). check:test-source-alias was red on the edited preview test; fixed with collection-time imports, now exit 0. Re-run at 9d26d5a770, exit 0: check:type-check-debt, check:type-check-coverage, check:test-source-alias, check:nul-bytes, check:i18n-coverage, check:i18n-walk-parity, check:published-files, check-empty-changeset. CI check-runs: in_progress (not awaited, per the dispatch).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: yes (widening))",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay: pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft forced, assignees os-support-ai), and this os-dev-report issue comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/34939/comments)",
      "open_questions": [
        {
          "question": "How should check:facade-delegation-only be cleared? packages/metadata-protocol/src/protocol.ts sat exactly at its ceiling of 11705 on main, and getPackagedMappingBase (the seat's packaged-base guard) takes it to 11714. Every packaged-base accessor is a public forwarder on this facade, and the body already lives in the facet.",
          "options": [
            "A: a maintainer ruling raises the row's maxLines in scripts/facade-delegation-registry.json to 11714 (one line, MAINTAINER-ONLY per ruling 6897467376); nothing else moves",
            "B: pay for it inside the file by folding the twin docblocks of getPackagedPageBase..getPackagedBookBase into one shared contract (net deletion of other types' contract text, docs-only, about 10 lines); no ceiling change",
            "C: drop the mapping packaged-base guard (protocol method, rest row, tests), reversing the seat's 'guard in' ruling; an overridden shipped mapping's label would then read as override-authored"
          ],
          "recommendation": "A, because the forwarder is the shape the facade exists to hold, and B deletes contract text from four unrelated accessors to satisfy a counter."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #34962 · skills/objectstack-i18n/SKILL.md group list does not name `mappings` (owed per the seat; skills/** untouched)",
        "carrier: none · noted, not filed: two files outside the measured 36-file list were needed: docs/audits/2026-07-unknown-key-strictness-ledger.counts/system.md (the strictness-ledger count regenerated by check:generated --fix, 405 -> 406), and packages/objectql/src/protocol-custom-override-bare-slot-envelope.test.ts in place of the planned metadata-protocol test. ui/packages/app-shell/src/views/studio-design/translationTable.test.ts was also needed (list-read count 14 -> 15). Total 41 files, +573/-43, under the ~45-file / ~+1000-line cap"
      ]
    }
  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

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

    Claim: PM loop round 10, part 1 branch · 2026-11-17T20:51Z
    Session: session_01WGufzgwLiKcfujYUug7sPs
    Account: os-support-ai
    Branch: claude/issue-34939-mapping-translation-group
    Worktree: objectstack-issue-34939-p1
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface: part (1) only, the measured 36-file list the seat approved at 19:32Z (route A, label only, packaged-base guard in, description out), as shipped in PR #34976: the mappings translation group in packages/spec/src/system/translation.zod.ts, translateMapping in i18n-resolver.ts, getPackagedMappingBase in metadata-protocol plus its rest PACKAGED_BASE_ACCESSORS row, the lint walk and reference validation, the cli coverage bucket, the Studio translation preview and table rows, the walk-parity fixture, the showcase zh-CN bundle, docs, generated baselines and root .changeset/.
    Container & model: M, mode:subagent (area o3-B), model: TIER_DEFAULT with the seat's CONTRACT_REVIEW_TIER L2, effort: high
    Clause-②: yes (widening) — a new optional authorable translation group mappings (mappings.<name>.label), per seat amendment 6957676841
    Metadata-protocol: added — a new authorable key (amendment 6957676841; books precedent 031d97a)
    Responsibility: not traced: a missing feature (no mappings group was ever declared), not a regression
    Thread-read: 6957676841
    Premise: measured live in zh-CN on 8e49847 (report 6958551125): GET /api/v1/meta/mapping?locale=zh-CN served the English label, because mapping is not in METADATA_DOCUMENT_TRANSLATORS and TranslationDataSchema had no group for it.
    Serial constraints cleared: this branch is the second half of the split the seat accepted at 18:51Z; the UI half is PR #34961 (Part of #34939, branch claude/issue-34939-import-mapping-i18n, claim 6956466284). The two branches touch disjoint files.
    Pre-claim lane: domain:ui (non-epic p1, routed to o3-B by seat 3; seat runs the L2)
    Pre-claim deps: no Blocked-by:
    Prior rulings read: see claim 6956466284 (same card, same ruling set) plus seat amendment 6957676841 and the seat's route-B ruling for check:facade-delegation-only (20:47Z, fold in-file, every fact kept)

    Lease o3-B under seat 3 (seat post #34584). This claim adds the part-1 branch; claim 6956466284 still stands for the UI half.

  9. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs
    os-dev-report

    {
      "issue": 34939,
      "status": "done",
      "branch": "claude/issue-34939-mapping-translation-group",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34976",
      "session": "session_01WGufzgwLiKcfujYUug7sPs",
      "premise_still_valid": true,
      "summary": "Route B is applied per the seat ruling. The docblocks of getPackagedPageBase, getPackagedDatasetBase, getPackagedAppBase, getPackagedBookBase and getPackagedMappingBase are folded into one shared contract on getPackagedPageBase. The contract names all five accessors and keeps every distinct statement. Facts unique to one accessor stay in that accessor's bullet: the page's measured crm_welcome/OVpage case and its no-extension-fold note, the dataset's label/measure case, app node-by-id, book group-by-key, and mapping label-only (#34939). The other four methods each carry a one-line pointer. packages/metadata-protocol/src/protocol.ts is now 11704 lines against its ceiling of 11705, with the forwarder in. scripts/facade-delegation-registry.json is untouched. The PR body records the fold and each folded statement's new home. New head ab48a19f39; the change is comments only.",
      "tests": "At ab48a19f39 under the lock: metadata-protocol typecheck exit 0 and build exit 0, after building its dependency closure; rest meta-dashboard-view-i18n-explicit-override 114/114; objectql protocol-custom-override-bare-slot-envelope 114/114. Earlier readings at 9d26d5a770 are unchanged by a comment-only fold. No ablation: comments only, no tested behaviour changed.",
      "gates": "At ab48a19f39: pnpm check:facade-delegation-only exit 0 (protocol.ts 11704 lines, ceiling 11705). dispatch-gates --commands --repo objectstack-ai/objectstack re-derived the same 139 commands, all re-run at this head. --ran with exit codes: 139 derived, 138 run, 1 NOT-MEASURED, 0 UNRUN; every run family exit 0. NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3 (whole-workspace dist prerequisite), left to CI. CI check-runs: in_progress (not awaited). origin/main has since moved to fb5c42d10c; not merged, because no conflict was in view and none was asked for.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: yes (widening))",
      "mcp_calls": "0",
      "api_writes": "2 this round — fleet-write relay issue_patch on PR #34976's body (PATCH /repos/objectstack-ai/objectstack/issues/34976, read-back identical), and this os-dev-report via post-stamped (POST /repos/objectstack-ai/objectstack/issues/34939/comments); git push of ab48a19f39 is not a REST write",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #34962 · skills/objectstack-i18n/SKILL.md group list does not name `mappings` (owed per the seat; skills/** untouched)"
      ]
    }
  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs
    os-dev-report

    {
      "issue": 34939,
      "status": "done",
      "branch": "claude/issue-34939-mapping-translation-group",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34976",
      "session": "session_01WGufzgwLiKcfujYUug7sPs",
      "premise_still_valid": true,
      "summary": "L1 round 1 (comment 6961500471). M1 is fixed. In docs/qa/platform-checklist/areas/i18n.json (the added file), item i18n.surface-matrix moves to revision 16. acceptance[7].clause now counts eighteen platform groups, seventeen per-app groups and seventeen scored groups, and names `mappings` in its list. The appTranslationDataShape source line names all seventeen app groups, `hooks` (stale before this PR) and `mappings` included. The history entry records a count-and-list correction with no change to the clause's meaning (ref #34939). A tree-wide grep over docs/qa, content/docs, scripts, packages, ui, examples and skills found no other false spelled group count or list: i18n-standard.mdx and translation.zod.ts are correct; check-i18n-walk-parity.mjs's RECORDED_* arrays are a declared sample; skills/objectstack-i18n/SKILL.md stays on #34962. N1: the changeset's Clause-② line names ObjectStackProtocolImplementation.getPackagedMappingBase. N4: origin/main (fb5c42d10c) merged, no rebase; 24 incoming files, no overlap with this PR's source. The PR body was patched through relay to name the added file and the grep result (read-back identical, signed trailer last). Head f23f65d8c8.",
      "tests": "After the merge, under the lock: the TranslationPreview category and adminPreviews pins plus ui/packages/i18n: Test Files 104 passed (104), Tests 1959 passed, 13 skipped. The changes since ab48a19f39 are a JSON checklist doc, changeset prose and the merge. No ablation: no tested behaviour changed.",
      "gates": "At f23f65d8c8: pnpm check:platform-checklist exit 0 (16 areas, 433 items). node scripts/pm/check-governed-merges.mjs --pr 34976: NOT governed (0 of 42 paths hit the register), 704 lines (+615/-89), under 3000. dispatch-gates --commands --repo objectstack-ai/objectstack re-derived the same 139 commands, all re-run at this head. --ran with exit codes: 139 derived, 138 run, 1 NOT-MEASURED, 0 UNRUN; every run family exit 0, including check:facade-delegation-only (protocol.ts 11704 of 11705), check:i18n-coverage and check:platform-checklist. NOT MEASURED: check:dual-build-cjs-loads, exit 3 (whole-workspace dist), left to CI. CI check-runs on f23f65d8c8: in_progress (not awaited). The stale 20:49 PR-body guards failure (N2) was on an older sha; the new head gets fresh runs.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: yes (widening))",
      "mcp_calls": "0",
      "api_writes": "2 this round — fleet-write relay issue_patch on PR #34976's body (PATCH /repos/objectstack-ai/objectstack/issues/34976, read-back identical), and this os-dev-report via post-stamped (POST /repos/objectstack-ai/objectstack/issues/34939/comments); git push of 32942ddd5c and the merge f23f65d8c8 is not a REST write",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #34962 · skills/objectstack-i18n/SKILL.md group list does not name `mappings` (owed per the seat; skills/** untouched)"
      ]
    }
  11. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzgwLiKcfujYUug7sPs
    os-dev-report

    {
      "issue": 34939,
      "status": "done",
      "branch": "claude/issue-34939-mapping-translation-group",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34976",
      "session": "session_01WGufzgwLiKcfujYUug7sPs",
      "premise_still_valid": true,
      "summary": "K-rule merge done, with no rebase and no force. origin/main 4443014630 (16 first-parent commits past base fb5c42d10c) was merged with --no-ff through scripts/pm/os-regen-merge.sh in a fresh worktree. Merge commit: bceea13a4b. Its message is git's default with no trailer pair: the pre-commit hook refused a message-only amend while the os-regen marker was pending. Regeneration commit: 2842767b2a. The os-regen driver had kept the branch side of four generated artifacts (export-origins/system.json, api-surface/system.json, references/system/translation.mdx, references/api/protocol.mdx). Regenerated after the merge commit, outside MERGE state, they now carry main's actionRefusalMessageKey and action refusal translations beside the mappings group; the marker was cleared by the hook. The `git show --remerge-diff bceea13a4b` output is empty: there were no textual conflicts and nothing was hand-resolved. 13 of the PR's 42 files overlap the 258 incoming files, all auto-merged by git: protocol.mdx, translation.mdx, ui/translations.mdx, lint i18n-walk(.test).ts, validate-translation-references(.test).ts, api-surface/system.json, export-origins/system.json, i18n-resolver.ts, translation.zod.ts, studio en.ts and zh.ts. main's translation.zod.ts change is #34719's action refusal catalogue: no new top-level group, so the spelled counts (seventeen/eighteen) and the checklist clause stay true. protocol.ts: 11704 lines, ceiling 11705. The PR diff vs main is unchanged at 42 files, +615/-89, so no body change was needed. Head 2842767b2a.",
      "tests": "Gate set only, per the order; no unit suites re-run. The merge auto-merged the overlapping files with no hand resolution, and CI runs the suites on the new head.",
      "gates": "On the merged tree at 2842767b2a, each exit code captured before any pipe: pnpm check:facade-delegation-only exit 0; pnpm --filter @objectstack/spec run check:generated exit 0 (all 14 artifacts current; re-run after a first attempt raced the concurrent closure build that was rewriting spec dist, which reported 'dist holds no .d.ts' — NOT a finding); pnpm --filter @objectstack/spec run check:liveness exit 0; pnpm check:i18n-coverage exit 0 (14 configs, 423 baselined, none new); pnpm check:i18n-walk-parity exit 0 (17 declared, 15 walked, 2 exempted); pnpm check:platform-checklist exit 0 (16 areas, 433 items). CI on 2842767b2a: in_progress (not awaited).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 this round — this os-dev-report via post-stamped (POST /repos/objectstack-ai/objectstack/issues/34939/comments); git push of bceea13a4b and 2842767b2a is not a REST write",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #34962 · skills/objectstack-i18n/SKILL.md group list (unchanged)"
      ]
    }
  12. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    Contributor

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

    Delivered · 2026-11-18T00:42Z

  13. removed
    pm:dispatched
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:uipriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions