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
spec: the retired messageFormat key's guidance says interpolation is {variable}; the i18n service substitutes {{variable}} #37894
Filing gate: ① (an authored text states behaviour the runtime does not have) · Source: fleet (out-of-scope finding of the #37590/#37620 card thread, PR #37892; seat re-read on main)
What happens
packages/spec/src/system/translation.zod.ts (about :3012), the tombstone guidance for the removed messageFormat key, tells an author: "interpolation is always simple {variable} substitution". The i18n service's file adapter (packages/services/service-i18n/src/file-i18n-adapter.ts, interpolate, about :81-89) substitutes {{paramName}} only, and leaves a single-brace placeholder as written. An author who follows the refusal's advice writes {name} and ships a message that prints {name} literally.
Read from source on main; not run. Other interpolating runtimes (console bundles) were not surveyed.
Expected
The guidance names the placeholder the runtime substitutes ({{variable}}), after a survey of every interpolating path, so the sentence is true of all of them.
A pin that the guidance's spelling is the one the adapter substitutes.
Grade: area:ux · bug · reach: one refusal sentence an author acts on · evidence: source read above
Suggested-grade: p3
Size: XS
Related: PR #37892, #37620.
Triage: lands in area:ux · domain:spec · Bug · p2 · pm:queue · size XS; rationale: the tombstone guidance for the retired messageFormat key tells authors that interpolation is {variable}, while the i18n service substitutes {{variable}}. An author or agent following it writes placeholders that never fill. That is wrong shipped text, so p3 → p2. Recorded 2026-11-27T10:14Z.
Claim: PM loop round 1
Session: session_01L9qibyUSf2nKJWW6qBemSU
Thread session: session_01L9qibwkdBniBpoGeJ6E9WM
Account: os-tesla
Branch: claude/project-thread-2oynzz
Worktree: objectstack-issue-37894
Domain: spec
Area: o3-ux (area:ux, a seat card thread under the ux zone's own cap)
Seat: repo:objectstack#3
File surface:
packages/spec/src/system/translation.zod.ts: the messageFormat tombstone guidance and its docblock say {{variable}}, the form both server t() paths replace.
packages/services/service-i18n/src/file-i18n-adapter.test.ts: a new top-level describe takes the form from the refusal message, feeds it to both t() and asserts replacement, with a single-brace control. Ablated after commit.
content/docs/ui/translations.mdx l.526, the same sentence.
One .changeset/*.md (@objectstack/spec patch).
NOT the published CHANGELOG entries (finding B, release-owned). Stop on breach and explain in the report.
Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high, reason: the thread session serves effort high
Clause-②: no
Metadata-protocol: none
Responsibility: the refusal for a retired messageFormat tells authors the interpolation form the platform actually replaces, and a pin turns red if the advice and the server t() drift apart. The accepted set does not change; no contract review owed (seat ruling).
Thread-read: none
Premise: holds, measured on origin/main 815e882: translation.zod.ts l.3056 says {variable}; FileI18nAdapter.t() and createMemoryI18n().t() both leave {name} as is and replace only {{name}}. Full report: /mnt/project-files/card-37894/pre-claim-report-815e882b.md.
Serial constraints cleared: none — no open PR touches these files
Out of scope, report only: (A) server t() does not accept {{ name }} with spaces while the Console does, measured. Acceptance notes; the seat files it.
{
"issue": 37894,
"status": "done",
"branch": "claude/project-thread-2oynzz",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38090",
"session": "session_01L9qibwkdBniBpoGeJ6E9WM",
"premise_still_valid": true,
"summary": "The retired messageFormat tombstone on TranslationConfigSchema (translation.zod.ts) now says interpolation is simple {{variable}} substitution and that a single-brace {variable} is left as written; the schema docblock and the translations.mdx 'No ICU MessageFormat' bullet say the same. Survey at 815e882b: both server t() paths (FileI18nAdapter, core createMemoryI18n), the console's i18next (default delimiters) and spec interpolateValidationMessage fill {{name}} only; none fills {name}. Wording only: messageFormat is refused exactly as before. Patch changeset for @objectstack/spec, Clause-② no, Metadata-protocol none.",
"tests": "Premise at 815e882b through a throwaway probe test (deleted): both t() return 'Hello, {name}!' for a single-brace template and 'Hello, Ada!' for {{name}}. New pin: file-i18n-adapter.test.ts top-level describe, both spellings taken from the refusal message (never retyped), fed to FileI18nAdapter.t() and createMemoryI18n().t(): named spelling filled, single-brace left as written. Ablation via ablation-replace.mjs on the committed fix, guidance back to its old text, spec rebuilt, dist preflight marker present in 2 files: 4 of 4 new pins FAIL; restore blob == HEAD, rebuilt, preflight --absent clean, Tests 51 passed (51). spec build + check:generated exit 0 (14 up to date); spec test Test Files 909 passed (909), Tests 28799 passed | 1 todo; service-i18n typecheck exit 0, test Test Files 4 passed (4), Tests 77 passed (77); eslint on 2 changed .ts exit 0. All at 2eac69f5.",
"gates": "dispatch-gates --ran with recorded exit codes at 2eac69f5: 116 derived, 113 run, 3 NOT MEASURED (exit 3), 0 unrun; 112 exit 0. check:dts-closure exit 1: this container's own OS_SKIP_DTS builds left @objectstack/core and 13 others without .d.ts; the diff moves no package build, CI runs it with declarations. check:dual-source-exports, check:entry-nameability, check:exported-any (spec .d.ts overwritten by an OS_SKIP_DTS build) and check:i18n-walk-parity (CLI unbuilt) first exit 3, re-run after a full spec build and CLI build: all exit 0, as do check:api-surface and check:docs re-run; check:doc-formula-expressions and check:doc-security-posture exit 0 after building lint. NOT MEASURED, left to CI: check-plugin-teardown-shape --self-test (fixture commit out of shallow clone), check:skill-examples (client-react .d.ts), check:dual-build-cjs-loads (needs full pnpm build). PR CI at 2eac69f5 when this was written: 20 in_progress, 5 skipped, 0 failed.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0 GitHub MCP calls",
"api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg, read-back 6300 bytes identical); this os-dev-report comment via post-stamped",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: server-rendered translated text · evidence: FileI18nAdapter.t() returns 'Hello, {{ name }}!' for a spaced placeholder (measured at 815e882b, same regex in core memory-i18n), while the console's i18next trims the name and fills it; one bundle key renders filled in the console and raw from the server · dedupe words: i18n t() spaced placeholder, interpolate whitespace, {{ name }} · carrier: seat (files it, per claim reply)",
"carrier: none · noted, not filed: packages/spec/CHANGELOG.md has two released entries with the old {variable} sentence; release-owned, not touched"
],
"deviations": [
"Session context asks for a review request to os-tesla after the PR opens; os-dev and fleet-write pr_create say a dev's create summons nobody and the reviewer request is the seat's at hand-off, so none was sent. Assignee os-tesla is set.",
"The first ablation attempt's dist preflight used a marker spelled with the source's single quote; dist re-spells it with double quotes, so the preflight refused (no verdict read) and the tool restored the source. The counted run used the dist spelling plus --source-marker."
]
}
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:spec · Bug · p2 · pm:queue · size XS; rationale: the tombstone guidance for the retired
messageFormatkey tells authors that interpolation is{variable}, while the i18n service substitutes{{variable}}. An author or agent following it writes placeholders that never fill. That is wrong shipped text, so p3 → p2. Recorded 2026-11-27T10:14Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibwkdBniBpoGeJ6E9WMAccount:
os-teslaBranch:
claude/project-thread-2oynzzWorktree:
objectstack-issue-37894Domain:
specArea:
o3-ux(area:ux, a seat card thread under the ux zone's own cap)Seat:
repo:objectstack#3File surface:
packages/spec/src/system/translation.zod.ts: themessageFormattombstone guidance and its docblock say{{variable}}, the form both servert()paths replace.packages/services/service-i18n/src/file-i18n-adapter.test.ts: a new top-level describe takes the form from the refusal message, feeds it to botht()and asserts replacement, with a single-brace control. Ablated after commit.content/docs/ui/translations.mdxl.526, the same sentence..changeset/*.md(@objectstack/specpatch).NOT the published CHANGELOG entries (finding B, release-owned). Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate",effort: high, reason: the thread session serves effort highClause-②: no
Metadata-protocol: none
Responsibility: the refusal for a retired
messageFormattells authors the interpolation form the platform actually replaces, and a pin turns red if the advice and the servert()drift apart. The accepted set does not change; no contract review owed (seat ruling).Thread-read: none
Premise: holds, measured on origin/main 815e882: translation.zod.ts l.3056 says
{variable};FileI18nAdapter.t()andcreateMemoryI18n().t()both leave{name}as is and replace only{{name}}. Full report:/mnt/project-files/card-37894/pre-claim-report-815e882b.md.Serial constraints cleared:
none — no open PR touches these filesOut of scope, report only: (A) server
t()does not accept{{ name }}with spaces while the Console does, measured. Acceptance notes; the seat files it.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwkdBniBpoGeJ6E9WM
os-dev-report
{ "issue": 37894, "status": "done", "branch": "claude/project-thread-2oynzz", "pr": "https://github.com/objectstack-ai/objectstack/pull/38090", "session": "session_01L9qibwkdBniBpoGeJ6E9WM", "premise_still_valid": true, "summary": "The retired messageFormat tombstone on TranslationConfigSchema (translation.zod.ts) now says interpolation is simple {{variable}} substitution and that a single-brace {variable} is left as written; the schema docblock and the translations.mdx 'No ICU MessageFormat' bullet say the same. Survey at 815e882b: both server t() paths (FileI18nAdapter, core createMemoryI18n), the console's i18next (default delimiters) and spec interpolateValidationMessage fill {{name}} only; none fills {name}. Wording only: messageFormat is refused exactly as before. Patch changeset for @objectstack/spec, Clause-② no, Metadata-protocol none.", "tests": "Premise at 815e882b through a throwaway probe test (deleted): both t() return 'Hello, {name}!' for a single-brace template and 'Hello, Ada!' for {{name}}. New pin: file-i18n-adapter.test.ts top-level describe, both spellings taken from the refusal message (never retyped), fed to FileI18nAdapter.t() and createMemoryI18n().t(): named spelling filled, single-brace left as written. Ablation via ablation-replace.mjs on the committed fix, guidance back to its old text, spec rebuilt, dist preflight marker present in 2 files: 4 of 4 new pins FAIL; restore blob == HEAD, rebuilt, preflight --absent clean, Tests 51 passed (51). spec build + check:generated exit 0 (14 up to date); spec test Test Files 909 passed (909), Tests 28799 passed | 1 todo; service-i18n typecheck exit 0, test Test Files 4 passed (4), Tests 77 passed (77); eslint on 2 changed .ts exit 0. All at 2eac69f5.", "gates": "dispatch-gates --ran with recorded exit codes at 2eac69f5: 116 derived, 113 run, 3 NOT MEASURED (exit 3), 0 unrun; 112 exit 0. check:dts-closure exit 1: this container's own OS_SKIP_DTS builds left @objectstack/core and 13 others without .d.ts; the diff moves no package build, CI runs it with declarations. check:dual-source-exports, check:entry-nameability, check:exported-any (spec .d.ts overwritten by an OS_SKIP_DTS build) and check:i18n-walk-parity (CLI unbuilt) first exit 3, re-run after a full spec build and CLI build: all exit 0, as do check:api-surface and check:docs re-run; check:doc-formula-expressions and check:doc-security-posture exit 0 after building lint. NOT MEASURED, left to CI: check-plugin-teardown-shape --self-test (fixture commit out of shallow clone), check:skill-examples (client-react .d.ts), check:dual-build-cjs-loads (needs full pnpm build). PR CI at 2eac69f5 when this was written: 20 in_progress, 5 skipped, 0 failed.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0 GitHub MCP calls", "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg, read-back 6300 bytes identical); this os-dev-report comment via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: server-rendered translated text · evidence: FileI18nAdapter.t() returns 'Hello, {{ name }}!' for a spaced placeholder (measured at 815e882b, same regex in core memory-i18n), while the console's i18next trims the name and fills it; one bundle key renders filled in the console and raw from the server · dedupe words: i18n t() spaced placeholder, interpolate whitespace, {{ name }} · carrier: seat (files it, per claim reply)", "carrier: none · noted, not filed: packages/spec/CHANGELOG.md has two released entries with the old {variable} sentence; release-owned, not touched" ], "deviations": [ "Session context asks for a review request to os-tesla after the PR opens; os-dev and fleet-write pr_create say a dev's create summons nobody and the reviewer request is the seat's at hand-off, so none was sent. Assignee os-tesla is set.", "The first ablation attempt's dist preflight used a marker spelled with the source's single quote; dist re-spells it with double quotes, so the preflight refused (no verdict read) and the tool restored the source. The counted run used the dist spelling plus --source-marker." ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Closed-card tidy · 2026-11-28T05:55Z: the card closed when its PR merged;
pm:dispatchedcomes off.