Skip to content

zh-CN: approval notification titles, codeless Home activity rows, the sys_metadata_commit label and the auth settings punctuation stay English or half-width (server half of #32158) #32218

Closed

Description

@objectstack-fleet

domain:ui#3 · huangyiirene · session_01J8VVAmxB38cjBXwr9FZGyt

Carries items 2, 3, 6 and 7a of #32158; #32158 keeps items 4, 7b and 8 (the ui/** half). Filing gate: ④ a per-layer child of #32158, whose own gate is ③ (the maintainer's 「立卡处理」 on the 2026-11-10 full-platform test run, qa#1). ⛔ Not a claim.

Business reason: every zh-CN console user reads these strings; a half-translated product reads as unfinished in the market the showcase demonstrates (from #32158).

Reader: triage first touch; each item names the package its fix lands in, all outside ui/**. Located by the domain:ui#3 card thread on origin/main 171cf6d9 (read in code; not measured in a running app). Full table: the #32158 card thread's Step 0, quoted below.

  1. Approval notification titles ("Approval requested") — packages/plugins/plugin-approvals. It emits keyedText rendered at emit time in the recipient's sys_user.locale, else the deployment default; the showcase admin has no locale and the default is en. Fix: compose the inbox title/body from keyedText in the reader's request locale at read time (the plugin-audit sys_activity summary middleware pattern).
  2. Home activity text ("Dev Admin Created Repair Ticket …") — packages/plugins/plugin-audit/src/activity-summary-message.ts re-composes per reader only for rows carrying a stored summary code; codeless rows (seed loads, older writes) are served as written. Fix: the writer that produced the codeless row stores the code. The console already sends Accept-Language.
  3. "Metadata Commit" object label — packages/platform-objects: SysMetadataCommitObject is missing from scripts/i18n-extract.config.ts (its three sys_metadata* siblings are listed). Fix: add it, regenerate with node scripts/check-i18n-bundles.mjs --write, fill zh-CN / ja-JP / es-ES values.
  4. Auth settings punctuation — packages/services/service-settings/src/translations/zh-CN.ts, auth namespace: about 40 strings with ASCII : , ; ( ) inside Chinese sentences. Fix: full-width punctuation in that file.

Duplicate check: is:issue repo:objectstack-ai/objectstack zh-CN notification title keyedText reader locale (2 hits, both closed: #24978, #25015, neither on read-time locale); SysMetadataCommitObject i18n (0).

Activity

  1. added
    enhancement
    on Nov 10, 2026
  2. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: lands in domain:server · p2 · pm:queue · 2026-11-10T13:00Z

    ⛔ Not a claim.


    Generated by Claude Code

  3. added
    domain:server
    pm:queue
    priority:p2
    on Nov 10, 2026
  4. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-support-ai · session_01WGufziCTpjnYbdh76SAWwb

    Claim: PM loop round 4 · #32218 · 2026-11-10T13:56Z · enhancement (p2; server half of #32158)
    Session: session_01WGufziPEDh6WA4aPh77CCQ (card thread, dev) · seat session_01WGufziCTpjnYbdh76SAWwb
    Account: os-support-ai
    Branch: claude/project-thread-0zygj1 (the card thread's harness-pinned branch; platform exception to claude/issue-N-slug)
    Worktree: objectstack-issue-32218
    Domain: domain:server
    Seat: domain:server#2
    File surface: packages/plugins/plugin-approvals/**, packages/plugins/plugin-audit/**, packages/platform-objects/** (the extract config entry and regenerated bundles), scripts/i18n-extract.config.ts, packages/services/service-settings/src/translations/**, their tests, root .changeset/. ⛔ No ui/** (#32158's half).
    Container & model: M, mode:thread, model: default tier (no path-derived mandate), effort: high (p2)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: zh-CN server strings (objectstack): approval notification titles composed in the wrong locale, codeless activity rows, a missing object label and ASCII punctuation · no platform path covers them · reached by every zh-CN console user
    Thread-read: 6768007657
    Premise: holds by the card's code reading at 171cf6d9 (four located items); the dev measures each on main
    Serial constraints cleared: the regenerated translation bundles are shared with every PR that regenerates them (#32085, seat 4's #32188); whichever lands second merges origin/main and regenerates.

    Scope: one PR, Fixes #32218. Order: /mnt/project-files/server-orders/seat2/standard.md + /mnt/project-files/server-orders/seat2/32218.md. Summons: the maintainer's 「所有server车道是恢复开工,不需要停」 (2026-11-10T11:25Z).

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-support-ai · session_01WGufziPEDh6WA4aPh77CCQ
    os-dev-report

    Stamp: 2026-11-10T15:03Z

    os-dev-report · #32218 · PR #32261

    {
      "issue": 32218,
      "status": "done",
      "branch": "claude/project-thread-0zygj1",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/32261",
      "session": "session_01WGufziPEDh6WA4aPh77CCQ",
      "premise_still_valid": true,
      "summary": "Items 3 and 4 shipped: sys_metadata_commit is extracted by the platform-objects i18n config (imported from @objectstack/metadata-core; the back-compat barrel never re-exported it), bundles regenerated with check-i18n-bundles --write, and zh-CN/ja-JP/es-ES translated (other seven locales keep the extractor's English fill); 35 zh-CN settings.auth strings now use full-width , ; : ( ) inside Chinese prose. Item 1 moved to #32240 by seat ruling (needs a stored-keys field and read middleware on sys_inbox_message in service-messaging, outside the file surface). Item 2 premise does not hold on origin/main: a fresh showcase boot serves every seeded and newly written sys_activity row in zh-CN; the CRUD mirror is the only writer and has stored a summary code on every non-milestone branch since c4968860 (2026-10-26), so the reported English rows predate it in a persisted DB; backfill judged not cheap (updated rows need diff re-read, older milestone rows unmarked), none built.",
      "tests": "On b23bbfba: platform-objects test 120 files / 1937 passed; service-settings test 75 files / 1461 passed; both typecheck exit 0. Item 3 ablation (extract entry replaced via ablation-replace --hold, marker count 1, bundles regenerated, zh-CN sys_metadata_commit count 0): bundle-ownership.test.ts 4 failed / 1 passed ('objects the extract config should emit are missing from the bundle: sys_metadata_commit', \"expected undefined to be '元数据提交'\"); restored, blob == HEAD, git diff HEAD empty. Item 4 before-leg (zh-CN.ts from origin/main): sweep case fails naming 35 strings; restored, diff empty. Item 2 live reading: GET /api/v1/data/sys_activity Accept-Language zh-CN on fresh showcase: 34/34 rows Chinese; admin-created showcase_category reads '创建了 分类 \"QA probe 32218\"' (en: 'Created Category \"QA probe 32218\"'). No ablation for item 2 (no code change).",
      "gates": "Local on b23bbfba: check-i18n-bundles exit 0; eslint on 4 hand-written files exit 0; dispatch-gates --commands 66 families, all exit 0 (check-plugin-teardown-shape --self-test exit 3 first on the shallow clone, exit 0 / 48 cases after fetching 621a4876); --ran: 66 derived, 66 run, 0 NOT-MEASURED, 0 UNRUN. CI check-runs on PR #32261: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": "23 files, 714 insertions / 1 deletion vs origin/main before the changeset; of those ~600 lines are regenerated bundles and source-hash companions",
      "files_changed": [
        ".changeset/32218-zh-cn-server-strings.md",
        "packages/platform-objects/scripts/i18n-extract.config.ts",
        "packages/platform-objects/src/apps/translations/bundle-ownership.test.ts",
        "packages/platform-objects/src/apps/translations/{ar,de,en,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.objects.generated.ts",
        "packages/platform-objects/src/apps/translations/{ar,de,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.source-hashes.generated.ts",
        "packages/services/service-settings/src/translations/zh-CN.ts",
        "packages/services/service-settings/src/translations/settings-translation-coverage.test.ts"
      ],
      "deviations": [
        "Card item 1 not shipped: moved to #32240 by the seat (order clause: report rather than guess).",
        "Card item 2 not shipped: premise false on origin/main (measured), no writer to change.",
        "Harness step 'assign os-support-ai and request review' skipped per os-dev.md rule 2 (pr_create carries no assignees).",
        "PR body attribution line links this card thread, per session context, not the seat thread link printed in standard.md.",
        "Harness-written Co-Authored-By trailer not used; commits carry the model-free pair."
      ],
      "mcp_calls": "0 GitHub MCP calls (subscribe_pr_activity is a session tool, not a GitHub write)",
      "api_writes": "2 — relay pr_create (run 42840207101, #32261) and this os-dev-report comment via post-stamped; plus git push",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the approvals inbox title fix (item 1) lives on #32240"
      ]
    }

    Generated by Claude Code

  7. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-support-ai · session_01WGufziCTpjnYbdh76SAWwb

    ACCEPT → PR #32261 (seat check 6770868556, head b23bbfba). Lands after one more origin/main merge and green CI. Item 1 continues on #32240; item 2 premise false on main (measured).

  8. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-support-ai · session_01WGufziCTpjnYbdh76SAWwb

    Landed · 2026-11-10T16:19Z · PR #32261 merged as c147fc23 (Fixes #32218 closed this card; item 1 continues on #32240). The seat removes pm:dispatched and its assignee.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:serverenhancementpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions