RFC 0024: Localization Runtime and Product Coverage - #42
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
|
Codex review: needs real behavior proof before merge. Reviewed July 20, 2026, 3:44 PM ET / 19:44 UTC. Summary Reproducibility: not applicable. This PR is a design RFC, not a report of one currently failing behavior. Its cited localization gaps require separate validation in the linked implementation work. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Have product and protocol owners approve, narrow, or reject the five contracts before landing the RFC, then evaluate the linked implementation slices against the accepted compatibility boundary. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR is a design RFC, not a report of one currently failing behavior. Its cited localization gaps require separate validation in the linked implementation work. Is this the best way to solve the issue? Unclear: a shared contract may prevent incompatible per-surface localization work, but the proposed precedence, Gateway, and safety-copy boundaries need explicit product-owner approval before this becomes the best solution. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 2d213ae23462. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
Review history (12 earlier review cycles; latest 8 shown)
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ade23d8-abc3-418f-b143-0bf668e98582
|
Implementation stack update:
PR 2 remains owner-gated for production Gateway emission, recipient-locale ownership, and non-English safety-copy attestation. PR 3 keeps successful structured output and literal commands, flags, identifiers, paths, versions, refs, and upstream diagnostics unchanged. |
|
@clawsweeper re-review RFC 0024 now includes the projected 44-entry owner-slice registry at exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review RFC head 2327361 clarifies that process locale applies only to owner-approved human CLI/TUI prose, never structured output or protocol values, and that explicit-only surfaces may omit platform inputs. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: RFC 0024: Localization Runtime and Product Coverage This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Acceptance update: Patrick confirmed in Discord that the clarified RFC and rollout model “all makes sense” with a 👍 reaction. Recording that as the product-direction approval requested by the prior review—not as a GitHub review. RFC 0024 is now marked |
Why this RFC is needed
OpenClaw already has localized Control UI, native-app, documentation, and onboarding paths, but users cross into English or locale-dependent behavior outside those bounded surfaces. The gaps span locale precedence, Gateway compatibility, runtime safety copy, command and skill metadata, channel recipient ownership, and trustworthy release evidence.
The issue-to-contract mapping is in the RFC issue catalog.
Decision requested
Approve these product contracts:
LocalizationContextresolves locale with explicit user and recipient choices ahead of inference and a deterministic English fallback.intl-messageformat; OpenClaw retains context, validation, fallback, and safety.message; reviewed errors may add boundeddetails.localizationmetadata after protocol-owner approval and compatibility proof.Stable codes, commands, flags, config keys, IDs, paths, provider/model names, and structured output remain compatible. Logs, developer diagnostics, arbitrary exception strings, and model-generated response language remain outside v1.
Acceptance status: Patrick confirmed in Discord that the clarified design and rollout model all makes sense with a thumbs-up reaction. RFC 0024 is accepted and implementation is tracked in openclaw/openclaw#113105; scoped owner approvals remain required where the RFC names them.
Delivery model
RFC acceptance approves contracts; it does not change runtime behavior. Foundation slices then land a small removable kernel and bounded owner consumers. Product completion remains a later, independently evidenced language-by-surface release claim.
The five existing OpenClaw drafts are bounded implementation evidence. F02-F05 now branch independently from F01, so no owner follow-up carries another follow-up slice:
update --dry-runoutput with JSON invariance.APPROVAL_NOT_FOUNDdescriptor and Control UI edge.Landing F01 and then the four independent owner slices does not make every language-by-surface cell complete. Owner declarations and aggregate reporting remain later
E43/E44slices.Draft OpenClaw PR #112784 implements
G45/G46: a routine English wizard source change trips credential-free CI, then a trusted exact-source workflow generates and validates locale candidates and opens a generated PR. Later product-string slices must bring both their scoped gate and owner-owned async refresh, or prove an existing workflow conforms.For review, #112784 contains F01, the exact five-file F03 ownership delta, and the 17-file exemplar; unrelated updater, TUI, Gateway, and approval runtime ancestry is excluded. #112801 adds only the seven-file G47 delta on top.
Draft OpenClaw PR #112801 implements
G47: owner adapters enumerate real product-surface registrations or declared product-facing source roots, and CI requires new scopes to be adopted, mapped to a conforming owner pipeline, or explicitly dispositioned with owner evidence. Existing debt is baselined. This is not a repository-wide string-literal scanner or a runtime registry.The audited projected registry currently has 47 entries:
F01-F05: current foundation evidence;O06-O15: operator-owned terminal and setup surfaces;R16-R24: runtime safety and recipient-locale boundaries;M25-M36: metadata and channel projections;P37-P42: browser, native, and documentation ownership;E43-E44: declarations, review evidence, and release promotion;G45-G47: scoped authoring, trusted refresh, and new-surface adoption gates.These are current source-audit slices, not a requirement for 47 PRs or an acceptance gate. Entries may split, combine, or disappear as real source and owner boundaries are confirmed. This uses the useful Doctor registry lesson while keeping Doctor's tracked inventory distinct from localization.
The September 1, 2026 delivery forecast assigns all 47 entries exactly once across 16 dependency-safe packages. The packages average roughly three completions per full week, reuse shared per-repository gates and translation workflows, and count only landed, source-deleted, or conforming owner-pipeline evidence as done.
See the implementation plan and the projected owner-slice registry for ownership, dependencies, gates, and proof bars.
Safety and compatibility
messageand stable code.Validation
git diff --check267e575a67e74c6181438a74ae6199e7e3313168RFC 0024 is accepted; implementation proceeds through the linked owner-gated slices and tracker.