You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server-side t() leaves {{ name }} (with spaces) unreplaced while the Console replaces it, so a translation written in that form shows raw braces in server messages #38092
Both server t() accept optional whitespace inside the braces ({{\s*name\s*}}), matching the Console.
One pin that feeds the same bundle string to both server t() and asserts the same output as the Console for {{name}}, {{ name }} and the single-brace control.
Acceptance
{{ name }} is replaced on the server as in the Console. {name} (single brace) stays literal on both.
Triage: lands in area:ux · domain:server · Bug · p2 · pm:queue · size XS; rationale: the two server-side t() (FileI18nAdapter, createMemoryI18n) leave {{ name }} with inner spaces unreplaced while the console replaces it, so server-rendered notices and notifications show raw braces to users. That is user-facing wrong text, so p3 → p2. Recorded 2026-11-28T02:15Z.
Claim: PM loop round 1
Session: session_01L9qibyUSf2nKJWW6qBemSU
Thread session: session_01L9qibxWAZYhFuv668TruUa
Account: os-tesla
Branch: claude/project-thread-vv5p1j
Worktree: objectstack-issue-38092
Domain: server
Area: o3-ux (area:ux p2, a seat card thread)
Seat: repo:objectstack#3
Seat rulings on the pre-claim report (/mnt/project-files/card-38092/pre-claim-report-bd5407ec.md, main bd5407e):
Premise holds: fed the same template, real i18next 26.4.0 (the Console's) fills {{ name }} and tab-spaced holes; core createMemoryI18n().t() and service-i18n FileI18nAdapter.t() leave them literal (/\{\{(\w+)\}\}/g, file-i18n-adapter.ts ~87–91, memory-i18n.ts ~188).
Scope A: only the two server t() interpolators move to /\{\{\s*(\w+)\s*\}\}/g, and a missing argument writes the matched source text back verbatim ({{ missing }}), never a re-spelled {{missing}}. The spec interpolateValidationMessage (validation-message.ts ~387) has the same gap; it is a separate card the seat files, not this one. The three platform-only copies (plugin-audit, plugin-approvals, core change-record-owner) go to Acceptance notes only.
Declaration: Clause-②: yes (widening) (a server translation now fills a hole the Console already fills), Metadata-protocol: semantic, @objectstack/core and @objectstack/service-i18n minor; contract review L2 owed before queue. Skills-docs: none — skills/objectstack-i18n already teaches the {{variable}} form; the spaced form is tolerated to match the Console, not a new form to teach.
File surface:
packages/services/service-i18n/src/file-i18n-adapter.test.ts (one describe, both t() on the same bundle), packages/core/src/fallbacks/fallbacks.test.ts (one {{ name }} assertion).
One .changeset/*.md (the two minors).
Stop on breach and explain in the report.
Container & model: S, mode:thread, model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"), effort: high, reason: the thread session serves this tier
Writes: the PR only through the relay pr_create; comments, labels and bodies only through the relay write tools; report both numbers.
Clause-②: yes (widening)
Metadata-protocol: semantic
Responsibility: a translator who writes {{ name }} with spaces gets the same filled text from server messages (notifications, errors) as from the Console, instead of a literal {{ name }} reaching the user.
Premise: holds, measured on origin/main bd5407e (probe and log in /mnt/project-files/card-38092/)
Serial constraints cleared: none — re-run overlap-check before the first push
Readings owed in the report: the per-form table for both t() ({{name}}, {{ name }}, tab, {name}, missing arg), one ablation (regex reverted → pins red).
{
"issue": 38092,
"status": "done",
"branch": "claude/project-thread-vv5p1j",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38265",
"session": "session_01L9qibxWAZYhFuv668TruUa",
"premise_still_valid": true,
"summary": "Both server t() (service-i18n FileI18nAdapter.interpolate and core createMemoryI18n().t()) now match {{ + optional whitespace + word + optional whitespace + }}, so {{ name }} and tab-spaced holes fill like {{name}}, as the Console's i18next does. A hole with no value is written back exactly as matched ({{ missing }}), where the old code re-spelled it {{missing}}. Single braces stay literal. Scope A per claim 7237673531: spec interpolateValidationMessage untouched (sibling card draft handed to the seat).",
"tests": "head cc1fe06c. service-i18n: test Test Files 4 passed, Tests 87 passed (new describe: 2 servers x 5 forms = 10, expected = measured i18next 26.4.0 answers); typecheck exit 0. core: typecheck exit 0; test Test Files 158 passed, Tests 3807 passed (new fallbacks.test.ts case). Per-form readings both t(), params {name:'Ada'}: '{{name}}' -> 'Hi Ada!'; '{{ name }}' main as written -> 'Hi Ada!'; tab+2 spaces main as written -> 'Hi Ada!'; '{name}' -> '{name}' (unchanged, = Console); '{{ missing }}' -> '{{ missing }}' (= Console). Ablations via scripts/ablation-replace.mjs, each restore blob == HEAD, git diff HEAD empty: (1) adapter pattern reverted -> 2 failed (FileI18nAdapter spaced, tab); (2) memory pattern reverted, core rebuilt, ablation-dist-preflight marker present in dist/index.js+index.cjs -> core fallbacks 1 failed, adapter suite 2 failed (createMemoryI18n spaced, tab); restored and core force-rebuilt, dist/index.js memory line carries the new pattern (the remaining old-pattern hit is change-record-owner, which made the --absent marker non-unique: read by line instead); (3) adapter write-back re-spelled {{key}} -> 1 failed (spaced hole with no value).",
"gates": "dispatch-gates --commands (tree cc1fe06c): 67 derived; --ran reconciliation exit 0: 65 exit 0, 2 NOT MEASURED exit 3 (check-plugin-teardown-shape --self-test: fixture commit outside the shallow clone; check:dual-build-cjs-loads: needs a full pnpm build), 0 unrun; check:lean-entry-closure exit 0 after an objectql build. List: /mnt/project-files/card-38092/gates-ran-cc1fe06c.list. overlap-check VERDICT clean exit 0 vs origin/main 98bd8dee. PR check-runs: in_progress at report time.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "6 — github issue_read x3 (get, get_comments x2), claude-code-remote get_session, hearthbot thread tools; no MCP write tool",
"api_writes": "2 — fleet-write pr_create (PR #38265, assignee os-tesla); post-stamped comment (this report)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: translated validation/operation message overrides (core import runner 400, objectql duplicate-record 409) — probe measured a '{{ label }}' override printed as written · evidence: spec interpolateValidationMessage (validation-message.ts ~387) reads only {{word}} · carrier: seat (sibling card draft /mnt/project-files/card-38092/sibling-card-draft-interpolate-validation-message.md) · dedupe: interpolateValidationMessage spaced, validation message override {{ label }}, operation message translation whitespace",
"carrier: none · noted, not filed — plugin-audit activity-summary-message.ts, plugin-approvals approval-notification-text.ts, core change-record-owner.ts keep the old pattern over platform-only English catalogs; their docblocks' 'same convention as both t()' now holds only for unspaced holes (PR Acceptance notes)"
]
}
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:server · Bug · p2 · pm:queue · size XS; rationale: the two server-side
t()(FileI18nAdapter,createMemoryI18n) leave{{ name }}with inner spaces unreplaced while the console replaces it, so server-rendered notices and notifications show raw braces to users. That is user-facing wrong text, so p3 → p2. Recorded 2026-11-28T02:15Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibxWAZYhFuv668TruUaAccount:
os-teslaBranch:
claude/project-thread-vv5p1jWorktree:
objectstack-issue-38092Domain:
serverArea:
o3-ux(area:ux p2, a seat card thread)Seat:
repo:objectstack#3Seat rulings on the pre-claim report (
/mnt/project-files/card-38092/pre-claim-report-bd5407ec.md, main bd5407e):{{ name }}and tab-spaced holes; corecreateMemoryI18n().t()and service-i18nFileI18nAdapter.t()leave them literal (/\{\{(\w+)\}\}/g, file-i18n-adapter.ts ~87–91, memory-i18n.ts ~188).t()interpolators move to/\{\{\s*(\w+)\s*\}\}/g, and a missing argument writes the matched source text back verbatim ({{ missing }}), never a re-spelled{{missing}}. The specinterpolateValidationMessage(validation-message.ts ~387) has the same gap; it is a separate card the seat files, not this one. The three platform-only copies (plugin-audit, plugin-approvals, core change-record-owner) go to Acceptance notes only.Clause-②: yes (widening)(a server translation now fills a hole the Console already fills),Metadata-protocol: semantic,@objectstack/coreand@objectstack/service-i18nminor; contract review L2 owed before queue.Skills-docs: none — skills/objectstack-i18n already teaches the {{variable}} form; the spaced form is tolerated to match the Console, not a new form to teach.File surface:
packages/services/service-i18n/src/file-i18n-adapter.ts,packages/core/src/fallbacks/memory-i18n.ts.packages/services/service-i18n/src/file-i18n-adapter.test.ts(one describe, botht()on the same bundle),packages/core/src/fallbacks/fallbacks.test.ts(one{{ name }}assertion)..changeset/*.md(the two minors).Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"),effort: high, reason: the thread session serves this tierWrites: the PR only through the relay
pr_create; comments, labels and bodies only through the relay write tools; report both numbers.Clause-②: yes (widening)
Metadata-protocol: semantic
Responsibility: a translator who writes
{{ name }}with spaces gets the same filled text from server messages (notifications, errors) as from the Console, instead of a literal{{ name }}reaching the user.Premise: holds, measured on origin/main bd5407e (probe and log in
/mnt/project-files/card-38092/)Serial constraints cleared:
none — re-run overlap-check before the first pushReadings owed in the report: the per-form table for both t() (
{{name}},{{ name }}, tab,{name}, missing arg), one ablation (regex reverted → pins red).objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibxWAZYhFuv668TruUa
os-dev-report
{ "issue": 38092, "status": "done", "branch": "claude/project-thread-vv5p1j", "pr": "https://github.com/objectstack-ai/objectstack/pull/38265", "session": "session_01L9qibxWAZYhFuv668TruUa", "premise_still_valid": true, "summary": "Both server t() (service-i18n FileI18nAdapter.interpolate and core createMemoryI18n().t()) now match {{ + optional whitespace + word + optional whitespace + }}, so {{ name }} and tab-spaced holes fill like {{name}}, as the Console's i18next does. A hole with no value is written back exactly as matched ({{ missing }}), where the old code re-spelled it {{missing}}. Single braces stay literal. Scope A per claim 7237673531: spec interpolateValidationMessage untouched (sibling card draft handed to the seat).", "tests": "head cc1fe06c. service-i18n: test Test Files 4 passed, Tests 87 passed (new describe: 2 servers x 5 forms = 10, expected = measured i18next 26.4.0 answers); typecheck exit 0. core: typecheck exit 0; test Test Files 158 passed, Tests 3807 passed (new fallbacks.test.ts case). Per-form readings both t(), params {name:'Ada'}: '{{name}}' -> 'Hi Ada!'; '{{ name }}' main as written -> 'Hi Ada!'; tab+2 spaces main as written -> 'Hi Ada!'; '{name}' -> '{name}' (unchanged, = Console); '{{ missing }}' -> '{{ missing }}' (= Console). Ablations via scripts/ablation-replace.mjs, each restore blob == HEAD, git diff HEAD empty: (1) adapter pattern reverted -> 2 failed (FileI18nAdapter spaced, tab); (2) memory pattern reverted, core rebuilt, ablation-dist-preflight marker present in dist/index.js+index.cjs -> core fallbacks 1 failed, adapter suite 2 failed (createMemoryI18n spaced, tab); restored and core force-rebuilt, dist/index.js memory line carries the new pattern (the remaining old-pattern hit is change-record-owner, which made the --absent marker non-unique: read by line instead); (3) adapter write-back re-spelled {{key}} -> 1 failed (spaced hole with no value).", "gates": "dispatch-gates --commands (tree cc1fe06c): 67 derived; --ran reconciliation exit 0: 65 exit 0, 2 NOT MEASURED exit 3 (check-plugin-teardown-shape --self-test: fixture commit outside the shallow clone; check:dual-build-cjs-loads: needs a full pnpm build), 0 unrun; check:lean-entry-closure exit 0 after an objectql build. List: /mnt/project-files/card-38092/gates-ran-cc1fe06c.list. overlap-check VERDICT clean exit 0 vs origin/main 98bd8dee. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "6 — github issue_read x3 (get, get_comments x2), claude-code-remote get_session, hearthbot thread tools; no MCP write tool", "api_writes": "2 — fleet-write pr_create (PR #38265, assignee os-tesla); post-stamped comment (this report)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: translated validation/operation message overrides (core import runner 400, objectql duplicate-record 409) — probe measured a '{{ label }}' override printed as written · evidence: spec interpolateValidationMessage (validation-message.ts ~387) reads only {{word}} · carrier: seat (sibling card draft /mnt/project-files/card-38092/sibling-card-draft-interpolate-validation-message.md) · dedupe: interpolateValidationMessage spaced, validation message override {{ label }}, operation message translation whitespace", "carrier: none · noted, not filed — plugin-audit activity-summary-message.ts, plugin-approvals approval-notification-text.ts, core change-record-owner.ts keep the old pattern over platform-only English catalogs; their docblocks' 'same convention as both t()' now holds only for unspaced holes (PR Acceptance notes)" ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T13:17Z · 收口:PR #38265 经合并队列合入,本卡随 Fixes 关闭;去掉 pm:dispatched。