Skip to content

chore(ui): refresh control ui locales - #147936

Merged
vincentkoc merged 1 commit into
mainfrom
automation/control-ui-locale-refresh
Sep 15, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
automation/control-ui-locale-refresh

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Keeps generated Control UI locales synchronized without bypassing protected-branch checks.

Why This Change Was Made

The Control UI Locale Refresh workflow generated this update from 65da1581c0ae190e5cae601362372bdbffcf0534 and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 05:23
@vincentkoc vincentkoc self-assigned this Sep 14, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer review for exact head 226a0edf0eb9416046b57d081ebebeca0144067d:

  • I inspected the complete generated diff: 20 configured locales, each adding the same three New Session segments and retiring the same obsolete segment; metadata consistently advances to 9,124/9,124 translated keys with zero fallbacks.
  • This is the canonical automation/control-ui-locale-refresh publisher branch produced by workflow run 34808399067. Current main still needs the generated output, and no publisher invalidation path changed after the branch base.
  • I inspected every added and removed translation-memory record. The material is canonical generated locale data with deterministic cache/source/text hashes; I found no credential or secret requiring removal or rotation. This qualifies the input-safety block as generated content for this revision.
  • ClawSweeper emitted no Rank-up moves: list because review stopped before a verdict. Rank-up disposition: none to apply or skip; no code change, re-review request, or broad review is warranted.
  • Merge remains gated on exact-head required CI and the existing release hold state. This comment does not bypass either gate.

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 226a0ed to eba2add Compare September 14, 2026 05:57
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 10:19 PM ET / September 15, 2026, 02:19 UTC (Revision 11).

ClawSweeper review

What this changes

Refreshes generated Control UI translations and coverage metadata for existing interface text across 20 languages.

Merge readiness

✅ Ready for maintainer review

Keep this canonical publisher PR open. Current main still needs the refreshed locale data, and inspection found no actionable correctness or security defect.

Priority: P3
Reviewed head: d24d23a13185c6a8e3f0adc0aa577dfffa45e81e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused generated refresh with consistent records, successful locale validation, and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: This repository-managed bot refresh uses the existing catalog materializer; the external-contributor runtime-proof gate does not apply, and maintainer discussion exempts this generated-only boundary from screenshots. Exact-head locale CI provides supplemental validation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This repository-managed bot refresh uses the existing catalog materializer; the external-contributor runtime-proof gate does not apply, and maintainer discussion exempts this generated-only boundary from screenshots. Exact-head locale CI provides supplemental validation.
Evidence reviewed 8 items Publisher ownership: The scoped UI policy assigns translation memory and metadata to the serialized locale-refresh workflow and instructs reviewers to leave reconciliation to that publisher.
Introduced scope: The pinned merge-base-to-head delta contains generated locale data only. The host-verified test merge likewise changes only those files; the session-persistence files listed in endpoint drift are base-branch work.
Generated record consistency: Read-only JSON inspection covered all 20 complete translation-memory files and their metadata. Each contains 9,273 unique segment IDs including aliases, with identical source-hash maps across locales and zero declared fallbacks. Changed records preserve placeholder parity and normalized source-text hashes; field, locale, nonempty-translation, and duplicate-cache-key checks found no discrepancy. German changed text was also inspected semantically; this is not a native-language certification of every translation.
Findings None None.
Security None None.

How this fits together

The Control UI builds translated catalogs from English source text and generated translation memory. Locale adapters load those catalogs to display interface text in the selected language.

flowchart LR
  A[English interface text] --> C[Locale generation]
  B[Existing translation memory] --> C
  C --> D[Updated memory and coverage]
  D --> E[Build-time catalog assembly]
  A --> E
  E --> F[Localized Control UI]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +2520. Total +2520 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 41 3321 801 +2520
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 41 3321 801 +2520

Review metrics

Metric Value Why it matters
Locale coverage 9,122 → 9,273 keys per locale; zero declared fallbacks The refresh brings generated coverage forward by 151 keys per language without changing the locale format.

Technical review

Best possible solution:

Keep translation memory synchronized through the existing locale publisher and its strict generated-output checks.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR refreshes generated catalogs rather than reporting a distinct runtime bug; static record checks found no introduced defect.

Is this the best way to solve the issue?

Yes. The isolated generated-data refresh follows the existing publisher contract and preserves the source-owned locale adapters.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 210907758ea0.

Labels

Label justifications:

  • P3: This is routine generated localization maintenance with no demonstrated urgent runtime defect.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This repository-managed bot refresh uses the existing catalog materializer; the external-contributor runtime-proof gate does not apply, and maintainer discussion exempts this generated-only boundary from screenshots. Exact-head locale CI provides supplemental validation.

Evidence

What I checked:

  • Publisher ownership: The scoped UI policy assigns translation memory and metadata to the serialized locale-refresh workflow and instructs reviewers to leave reconciliation to that publisher. (ui/AGENTS.md:25, d24d23a13185)
  • Introduced scope: The pinned merge-base-to-head delta contains generated locale data only. The host-verified test merge likewise changes only those files; the session-persistence files listed in endpoint drift are base-branch work. (d24d23a13185)
  • Generated record consistency: Read-only JSON inspection covered all 20 complete translation-memory files and their metadata. Each contains 9,273 unique segment IDs including aliases, with identical source-hash maps across locales and zero declared fallbacks. Changed records preserve placeholder parity and normalized source-text hashes; field, locale, nonempty-translation, and duplicate-cache-key checks found no discrepancy. German changed text was also inspected semantically; this is not a native-language certification of every translation. (ui/src/i18n/.i18n/de.tm.jsonl, d24d23a13185)
  • Current main still needs the refresh: Fetched main retains the older source hash and 9,122-key German metadata, whereas the candidate records 9,273 keys. No merged replacement was established. Inspection of the latest release's corresponding blob was unavailable, so release inclusion is not claimed. (ui/src/i18n/.i18n/de.meta.json:5, 210907758ea0)
  • Build-time consumer boundary: Catalog materialization accepts a translation only when its segment exists in the English source and its text hash matches. The Vite locale plugin loads this memory and serializes catalog values using JSON.stringify; the patch changes neither executable loading nor authorization. (scripts/lib/control-ui-i18n-catalog-values.ts:76, d24d23a13185)
  • Review continuity: Prior completed review reports no findings or published rank-up moves. Maintainer discussion explicitly waived screenshots for generated-only locale revisions and identified structural locale checks as the relevant boundary: chore(ui): refresh control ui locales #147936 (comment) and chore(ui): refresh control ui locales #147936 (comment). The earlier reviewed commit object was unavailable locally; no unchanged-code or late-finding attribution is made.

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Hüseyin Durna: Raw commit ea75d12 adds scripts/lib/control-ui-i18n-catalog-values.ts:76 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ea75d12e2185; files: scripts/lib/control-ui-i18n-catalog-values.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-14T09:29:15.358Z sha 914f2d6 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T12:27:38.247Z sha 3030b44 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T18:16:37.481Z sha 2999ebc9b520b4abcdbc62cd81a69afe1e32ef00 :: blocked before merge. :: none
  • reviewed 2026-09-14T18:36:46.017Z sha c022b8a :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T20:18:36.545Z sha a1a403d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T22:11:26.843Z sha 19db59ba51b1f37e0c98dddb9fca22afc0c78912 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T22:32:31.759Z sha f3e2498d433a4b20b5d57164305c3890eb627fbd :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T23:34:58.370Z sha afa4932f6b8cfb1e914a04c042700a25532c27e2 :: needs maintainer review before merge. :: none

@vincentkoc

Copy link
Copy Markdown
Member

Maintainer review for exact head eba2add863c284853b19855e725fee67eec83e9c:

  • I inspected the complete generated diff and all added/removed text: 20 configured locales, each adding the same seven live segments and retiring newSession.cloudRequiresWorktree; metadata consistently advances to 9,128/9,128 translated keys with zero fallbacks. No correctness or security defect found.
  • This remains the canonical automation/control-ui-locale-refresh publisher PR from successful workflow run 34810647795. Current main still needs these generated records, and no publisher invalidation path changed after the branch base.
  • ClawSweeper before-merge screenshot items: explicitly waived. This revision changes generated translation memory and metadata only. It changes no layout, styling, interaction, source copy, locale adapter, or runtime implementation. Before/after screenshots would re-stage already-landed source behavior rather than validate this generated-data boundary; the successful canonical generation/check run and exact-head UI/i18n checks are the proportionate proof.
  • Rank-up move: “Provide inspected, sanitized before/after screenshots ... or obtain an explicit waiver.” Skipped under the explicit waiver above for this generated-only publisher revision.
  • This waiver does not bypass CI. Exact-head openclaw/ci-gate must still pass and release hold must remain clear before squash merge.

@openclaw-mantis
openclaw-mantis Bot disabled auto-merge September 14, 2026 06:30
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from eba2add to 3eb8656 Compare September 14, 2026 06:56
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 06:57
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer review for exact head 3eb8656b2fca14282bea853ec5db60f6be1eefbb:

  • I inspected the complete 41-file generated diff and all changed translation records. Every configured locale has the same 29 additions, 8 removals, and 4 updated records; source text and placeholders align, metadata advances uniformly to 9,146/9,146 translated keys, and fallbacks remain zero. No correctness or security defect found.
  • This is the canonical automation/control-ui-locale-refresh output from workflow run 34813715991. Attempt 2 passed after one failed-jobs rerun for a transient pt-BR provider error. The later current-main i18n change only relocates unchanged memoryPage English copy between owned source modules; it does not change the generated translation contract.
  • ClawSweeper Revision 2 reviewed this exact head, found no actionable defect, listed no Rank-up moves:, and has no before-merge item. Rank-up disposition: none to apply.
  • The earlier screenshot move remains explicitly waived for this exact head. This revision changes generated translation memory and metadata only, with no layout, styling, interaction, source copy, locale adapter, or runtime implementation change. Screenshots would re-stage source behavior rather than validate this generated-data boundary.
  • Exact-head control-ui-performance and control-ui-i18n pass. check-lint-core-2 is not a generated-PR regression: it flags session-ownership.ts and chat-transcript-controller.test.ts, neither of which is in this diff. Current main has already reduced the former, while the latter is byte-identical on the PR parent and current main; sibling fix PR perf(ui): speed up progress-card raw scanning #147991 likewise fails only on the latter. These are stale-main/main failures, not infrastructure flakes.
  • This comment does not bypass CI. Squash auto-merge must remain blocked until exact-head openclaw/ci-gate is green and the release hold is clear.

@openclaw-mantis
openclaw-mantis Bot disabled auto-merge September 14, 2026 07:27
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 3eb8656 to cfd449e Compare September 14, 2026 08:07
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 08:07
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from cfd449e to 914f2d6 Compare September 14, 2026 09:06
@openclaw-mantis
openclaw-mantis Bot disabled auto-merge September 14, 2026 09:08
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 914f2d6 to 3030b44 Compare September 14, 2026 11:59
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 11:59
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer gate disposition for refreshed exact head 3030b44a9e8fa82dbe2cd32ef7a8d51397ee700c: the diff remains limited to canonical generated Control UI translation memory/metadata and catalog-fallbacks.json; it changes no visual implementation, so before/after screenshot proof is not applicable. The latest ClawSweeper review has no findings and no before-merge/Rank-up moves. Squash auto-merge remains correctly gated on exact-head required CI; qualification reports no release hold as of 2026-09-14 12:13:18 UTC.

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 3030b44 to 2310b9f Compare September 14, 2026 12:59
@vincentkoc
vincentkoc disabled auto-merge September 14, 2026 18:02
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer input-safety disposition for exact head 2999ebc9b520b4abcdbc62cd81a69afe1e32ef00:

  • Auto-merge is intentionally disabled while this head is inspected.
  • The introduced commit is based on a current-main parent and contains routing merge 88304fffa5a8c0ad433c9918f75ec2ebefd1d455.
  • The diff is confined to 41 generator-owned files: 20 *.tm.jsonl, 20 *.meta.json, and catalog-fallbacks.json; no executable source, workflow, runtime locale module, or UI component changes.
  • All JSON/JSONL parses. 163,466 translation-memory records have the required string fields and unique per-file cache keys.
  • Source/translation placeholder parity passes across 22,055 placeholder instances.
  • Added translations contain no script tags, javascript:/HTML data URLs, inline event handlers, private-key markers, token markers, or private filesystem paths.
  • node --import tsx scripts/control-ui-i18n.ts check passes for all 20 locales with zero fallbacks.
  • git diff --check passes.

Screenshot proof is not applicable for this generated-only translation-memory refresh because the PR changes no rendered locale module or UI source. The structural record, placeholder, and executable-content checks above are the relevant proof boundary.

@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

Please review exact head 2999ebc9b520b4abcdbc62cd81a69afe1e32ef00 with the maintainer input-safety disposition above.

@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 2999ebc to c022b8a Compare September 14, 2026 18:23
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 18:23
@vincentkoc
vincentkoc disabled auto-merge September 14, 2026 19:33
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from c022b8a to a1a403d Compare September 14, 2026 20:03
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 20:03
@vincentkoc
vincentkoc disabled auto-merge September 14, 2026 20:03
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from a1a403d to 19db59b Compare September 14, 2026 22:04
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 22:04
@vincentkoc
vincentkoc disabled auto-merge September 14, 2026 22:11
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 19db59b to f3e2498 Compare September 14, 2026 22:22
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 22:23
@vincentkoc
vincentkoc disabled auto-merge September 14, 2026 22:27
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from f3e2498 to afa4932 Compare September 14, 2026 23:28
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 14, 2026 23:28
@vincentkoc
vincentkoc disabled auto-merge September 14, 2026 23:29
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from afa4932 to d24d23a Compare September 15, 2026 00:48
@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 15, 2026 00:49
@vincentkoc
vincentkoc disabled auto-merge September 15, 2026 00:52
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc merged commit b45506d into main Sep 15, 2026
127 checks passed
@vincentkoc
vincentkoc deleted the automation/control-ui-locale-refresh branch September 15, 2026 03:03
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant