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
flow step names: a titled screen whose heading holds a {{ }} hole keeps its untranslated label in the docs embed #36530
Found by the contract review 7083158017 on PR #36383 (card #35979 item 2) on 2026-11-22, and declared by that PR as a deviation. Filed by the seat, not claimed. Parent: #35979.
What happens
The docs flow embed names a titled screen by its translated heading (screens.NODE_ID.title). When that heading holds a {{ }} template hole, the embed falls back to the screen's authored label. A titled screen's label has no translation key: flows.FLOW.nodes.NODE_ID.label refuses screen ids and redirects them to screens. So such a step stays in the authoring language in every locale, and #35979's done-when, no step name left untranslated, is not met for it.
A related display gap: an untitled screen's translated screens.NODE_ID.title is drawn by stepLabel without the {{ test that flowStepName applies to a titled heading. A translation that adds a hole is therefore drawn raw (review N2).
To do
Give a titled screen's canvas label a key. Either accept nodes.NODE_ID.label over a screen id, which is a widening, or add a screens.NODE_ID.label member, and read it in flowStepName when the heading holds a hole.
Apply the same {{ test to an untitled screen's translated title in stepLabel.
Pin both cases through the docs embed and the Studio canvas. The lint walk should ask for the new key exactly where the viewer draws it.
Triage: lands in domain:ui (docs flow embed) · pm:queue; rationale: area:ux · Bug · a titled screen whose translated heading holds a {{ }} hole falls back to its authored, untranslated label in the docs embed. Declared as a deviation of PR #36383. UX has no p3 → p2 (was p3) · size XS.
One more item for this card, from PR #36383's delta contract review on head 04d28e0 (N3). The rule for which decision branches name a step has two copies. decisionBranchTechnicalTargets in packages/lint/src/i18n-walk.ts restates the edge test of decisionBranches in the UI's flow-branches.ts, including its own copy of the default label, because lint cannot import the UI package. They agree today, but nothing holds them together. While this card touches the step-name readers, move the predicate into @objectstack/spec/automation beside FLOW_TECHNICAL_NODE_TYPES so both sides read it. If that isn't possible, add a parity pin and a back-pointer comment on each side.
Claim: PM loop round 1 (card thread of seat repo:objectstack#2, reporting to area s2-C)
Session: session_01ADHkmQ19xzW4F83HZd4Up6
Thread session: session_01ADHkmQ19xzW4F83HZd4Up6
Account: os-steve
Area: s2-C
Branch: claude/project-thread-wyo04v
Worktree: objectstack-issue-36530
Domain: domain:ui
Seat: repo:objectstack#2
File surface: packages/lint/src/validate-translation-references.ts (+ its test), packages/lint/src/i18n-walk.ts, packages/cli/test/i18n-flow-node-coverage.test.ts (and the screen family file beside it if its exact key list moves), packages/spec/src/system/translation.zod.ts (the nodes entry's docblock and .describe prose only, no shape change), packages/spec/src/automation/{flow-altitude.ts,index.ts} or a new sibling file there (the decision-branch predicate, comment 7084469163), ui/packages/i18n/src/flowLabels.ts, ui/packages/components/src/renderers/basic/{metadata-viewer.tsx,flow-branches.ts} + ui/packages/components/src/__tests__/metadata-viewer.test.tsx, ui/packages/app-shell/src/views/metadata-admin/previews/FlowCanvas.test.tsx, packages/spec/liveness/translation.json, generated packages/spec/api-surface/automation.json / export-origins/automation.json / content/docs/references/system/translation.mdx via check:generated --fix, scripts/i18n-coverage-baseline.json only if the walk's new demand moves a ratchet, root .changeset/. Never docs/adr/** or skills/** (ADR sentences ride carrier: #36086; skill text for the key rides #36401).
Container & model: M, mode:thread, model: default tier (dispatch-gates --tier at 87c7bbaf: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: high
Clause-②: yes
Metadata-protocol: added
Responsibility: platform code in objectstack-ai/objectstack (spec translation face + lint walk + the shared ui flow-label reader) | none — a titled screen's canvas label has no key today, so no path translates it | every manual reader of a flow embed in a translated locale whose flow has a screen with a {{ }} heading; app-showcase / app-todo authors who translate flows
Thread-read: 7084469163
Premise: holds
Serial constraints cleared: open-PR file intersection at origin/main 87c7bba: only #36517 (pm:awaiting-merge) shares packages/lint/src/validate-translation-references.ts (+ test), its hunks sit in the object-extension fold near line 1113, away from the flow nodes block (~2575); overlap-check.mjs re-run before every push. Blocked-by #36383 is MERGED (19:58Z).
Pre-claim lane: ui reader half (ui/packages/i18n/src/flowLabels.ts, domain:ui) + lint/spec half (packages/lint/src/validate-translation-references.ts, packages/spec/src/automation/flow-altitude.ts, domain:spec); both stay with this seat under area-lease 留道.
Pre-claim deps: Blocked-by: #36383 → merged; no "after #N"; hot files per the line above.
Prior rulings read: card thread 0 rulings (check-prior-rulings, 2 comments); governing ruling 7076440876 on #35979 item 1, verbatim: "A flow node gets a translatable label key under the flow's translation bundle (spec, validation and the business-view reader), so every drawn step (start, end, decision, notify, approval) can carry a label per language." No ADR decision names a titled screen's label key; repo: objectstack-ai/objectstack.
Premise reading at 87c7bba: flowStepName (metadata-viewer.tsx:407) falls back to node.label when a titled screen's heading holds {{; stepLabel (flowLabels.ts:74) answers undefined for a titled screen; the validator refuses a nodes key over any screen (validate-translation-references.ts:2575 block). Item 2: stepLabel's untitled-screen arm returns screens.NODE_ID.title with no {{ test. Item from comment 7084469163: decisionBranchTechnicalTargets (i18n-walk.ts:2310) restates decisionBranches (flow-branches.ts:93) and its own 'default' constant.
Key name (seat's call, per the naming rule, precedent named): flows.FLOW.nodes.NODE_ID.label accepted over a screen that authors its own config.title; an untitled screen stays redirected to screens.NODE_ID.title. Precedent: the nodes group's own rule in translation.zod.ts — "this one addresses the node label of every node whose label has no key of its own" — and a titled screen's label is exactly such a label. The other route, a screens.NODE_ID.label member, is not taken: screens already aliases label onto title (aliases: { label: 'title', … }), so that spelling today means the heading; reusing it would change what an accepted key means. One string keeps one key either way.
{
"issue": 36530,
"status": "done",
"branch": "claude/project-thread-wyo04v",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36576",
"pr_number": 36576,
"head_sha": "6f3b8c88b32cf4f61ef3913007f46c4fe4ac4f04",
"session": "session_01ADHkmQ19xzW4F83HZd4Up6",
"premise_still_valid": true,
"summary": "objectstack validate now accepts flows.FLOW.nodes.NODE_ID.label over a screen that authors a non-empty config.title. Untitled screens and approvals are still redirected. stepLabel returns that key for a titled screen, and returns nothing for an untitled screen whose translated title holds a hole. flowStepName tests the heading before stepLabel, so a plain heading still names its screen and only a holed heading falls to the nodes key. The Studio canvas draws the key through its existing stepLabel read. The i18n walk asks for the key on a top-level screen whose authored title holds a hole. The decision-branch predicate now lives in spec (flowDecisionEdgeBranch and FLOW_DECISION_DEFAULT_BRANCH_LABEL in flow-altitude.ts), and both decisionBranches and decisionBranchTechnicalTargets call it. A1-A5 held as stated: the nodes group is a plain z.record and needed only prose changes, and the predicate is pure, so it moved without dragging UI types into spec. Coverage baseline: +0 per config. A static read found 14 screen nodes in examples, platform-objects and plugins, and none has a config.title holding a hole.",
"tests": "at 6f3b8c88: lint test 225 files / 9446 tests pass + typecheck exit 0; spec test 875 files / 27972 pass (1 todo); cli unit layer (vitest --project unit) 436 files / 6208 pass, integration layer left to CI (no integration or spawn file touched); ui vitest (metadata-viewer, renderers/basic, FlowCanvas, packages/i18n) 133 files / 2355 pass / 13 skipped; ui type-check for i18n, components and app-shell all Done, exit 0. Ablations, each red and each restored to blob == HEAD by ablation-replace: validator titled skip deleted -> 1 failed; stepLabel hole test removed -> 2 failed; stepLabel titled arm removed -> 3 failed; flowStepName order reverted -> 1 failed; walk skips every screen -> 1 failed (cli suite). On the walk leg the mutated lint dist build failed DTS (TS6133) and the dist preflight showed the marker absent, so the red came through source resolution. Restore leg: rebuilt, then preflight --absent exit 0.",
"gates": "dispatch-gates --commands at 6f3b8c88 derived 120. Ran all 120: 117 exit 0, 3 exit 3 NOT MEASURED (check-plugin-teardown-shape --self-test: shallow clone, positive-control commit unreachable; spec check:skill-examples and check:dual-build-cjs-loads: PREREQUISITE NOT MET, workspace dist not built). --ran reconciliation exit 0: '120 derived famil(ies) accounted for — 117 run, 3 NOT-MEASURED'. spec check:generated: 3 stale, fixed with --fix, re-check green. check:i18n-walk-parity exit 0 (17 declared, 15 walked, 2 exempted). check:i18n-coverage exit 3 NOT MEASURED (example closure not built). overlap-check exit 0 before pushes 1 and 3, and right after push 2. PR #36576 check-runs at head 6f3b8c88 when the report was written: Check Changeset, Lint (ESLint, repo & tooling, docs & code, CI/release/engine, PM dispatch-gates, scoped x3), Type Check (workspace, source, consumer, debt ledger), Governed Surface Queue Guard, Spec property liveness, PR-body guards = in_progress; Test/Build/UI jobs not yet listed.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"line_budget": "390 changed lines (+295 / -95) over 17 files (dispatch-gates at 6f3b8c88), under the 3000 human-merge threshold; no skills/** touched",
"files_changed": [
".changeset/36530-titled-screen-node-label.md",
"content/docs/references/system/translation.mdx",
"packages/cli/test/i18n-flow-node-coverage.test.ts",
"packages/lint/src/i18n-walk.ts",
"packages/lint/src/validate-translation-references.test.ts",
"packages/lint/src/validate-translation-references.ts",
"packages/spec/api-surface/automation.json",
"packages/spec/export-origins/automation.json",
"packages/spec/liveness/translation.json",
"packages/spec/src/automation/flow-altitude.ts",
"packages/spec/src/automation/index.ts",
"packages/spec/src/system/translation.zod.ts",
"ui/packages/app-shell/src/views/metadata-admin/previews/FlowCanvas.test.tsx",
"ui/packages/components/src/__tests__/metadata-viewer.test.tsx",
"ui/packages/components/src/renderers/basic/flow-branches.ts",
"ui/packages/components/src/renderers/basic/metadata-viewer.tsx",
"ui/packages/i18n/src/flowLabels.ts"
],
"deviations": [
"push 2 (d63316b9, generated artifacts only) went out before overlap-check was re-run; it was run right after and was clean (exit 0)",
"origin/main was not merged before opening the PR (AGENTS multi-agent section 10); overlap-check was clean against origin/main abe95a95 and against #36574, which shares 6 files",
"the report comment goes on the card after the PR open, as the dispatch order's write list allows"
],
"mcp_calls": "0",
"api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/36576/assignees [os-steve]), read back 9239/9239 bytes identical; os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/36530/comments via post-stamped. git push x3 (not REST).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — the automation engine keeps its own DEFAULT_BRANCH_LABEL ('default', service-automation engine.ts) beside the new spec FLOW_DECISION_DEFAULT_BRANCH_LABEL; the values agree today, and switching the engine to the spec export is outside this card's file surface (PR Acceptance notes)",
"carrier: #36086 · ADR sentences for the titled-screen key; carrier: #36401 · skill text for the key"
]
}
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(docs flow embed) ·pm:queue; rationale: area:ux · Bug · a titled screen whose translated heading holds a{{ }}hole falls back to its authored, untranslated label in the docs embed. Declared as a deviation of PR #36383. UX has no p3 → p2 (was p3) · size XS.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
One more item for this card, from PR #36383's delta contract review on head 04d28e0 (N3). The rule for which decision branches name a step has two copies.
decisionBranchTechnicalTargetsinpackages/lint/src/i18n-walk.tsrestates the edge test ofdecisionBranchesin the UI'sflow-branches.ts, including its own copy of thedefaultlabel, because lint cannot import the UI package. They agree today, but nothing holds them together. While this card touches the step-name readers, move the predicate into@objectstack/spec/automationbesideFLOW_TECHNICAL_NODE_TYPESso both sides read it. If that isn't possible, add a parity pin and a back-pointer comment on each side.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ19xzW4F83HZd4Up6
Claim: PM loop round 1 (card thread of seat repo:objectstack#2, reporting to area s2-C)
Session:
session_01ADHkmQ19xzW4F83HZd4Up6Thread session:
session_01ADHkmQ19xzW4F83HZd4Up6Account:
os-steveArea: s2-C
Branch:
claude/project-thread-wyo04vWorktree:
objectstack-issue-36530Domain:
domain:uiSeat:
repo:objectstack#2File surface:
packages/lint/src/validate-translation-references.ts(+ its test),packages/lint/src/i18n-walk.ts,packages/cli/test/i18n-flow-node-coverage.test.ts(and the screen family file beside it if its exact key list moves),packages/spec/src/system/translation.zod.ts(thenodesentry's docblock and.describeprose only, no shape change),packages/spec/src/automation/{flow-altitude.ts,index.ts}or a new sibling file there (the decision-branch predicate, comment 7084469163),ui/packages/i18n/src/flowLabels.ts,ui/packages/components/src/renderers/basic/{metadata-viewer.tsx,flow-branches.ts}+ui/packages/components/src/__tests__/metadata-viewer.test.tsx,ui/packages/app-shell/src/views/metadata-admin/previews/FlowCanvas.test.tsx,packages/spec/liveness/translation.json, generatedpackages/spec/api-surface/automation.json/export-origins/automation.json/content/docs/references/system/translation.mdxviacheck:generated --fix,scripts/i18n-coverage-baseline.jsononly if the walk's new demand moves a ratchet, root.changeset/. Neverdocs/adr/**orskills/**(ADR sentences ridecarrier: #36086; skill text for the key rides #36401).Container & model:
M,mode:thread,model: default tier (dispatch-gates --tier at 87c7bbaf: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: highClause-②: yes
Metadata-protocol: added
Responsibility:
platform code in objectstack-ai/objectstack (spec translation face + lint walk + the shared ui flow-label reader) | none — a titled screen's canvas label has no key today, so no path translates it | every manual reader of a flow embed in a translated locale whose flow has a screen with a {{ }} heading; app-showcase / app-todo authors who translate flowsThread-read: 7084469163
Premise: holds
Serial constraints cleared: open-PR file intersection at origin/main 87c7bba: only #36517 (pm:awaiting-merge) shares
packages/lint/src/validate-translation-references.ts(+ test), its hunks sit in the object-extension fold near line 1113, away from the flownodesblock (~2575);overlap-check.mjsre-run before every push. Blocked-by #36383 is MERGED (19:58Z).Pre-claim lane: ui reader half (
ui/packages/i18n/src/flowLabels.ts, domain:ui) + lint/spec half (packages/lint/src/validate-translation-references.ts,packages/spec/src/automation/flow-altitude.ts, domain:spec); both stay with this seat under area-lease 留道.Pre-claim deps:
Blocked-by: #36383→ merged; no "after #N"; hot files per the line above.Prior rulings read: card thread 0 rulings (check-prior-rulings, 2 comments); governing ruling 7076440876 on #35979 item 1, verbatim: "A flow node gets a translatable label key under the flow's translation bundle (spec, validation and the business-view reader), so every drawn step (start, end, decision, notify, approval) can carry a label per language." No ADR decision names a titled screen's label key; repo: objectstack-ai/objectstack.
Premise reading at 87c7bba:
flowStepName(metadata-viewer.tsx:407) falls back tonode.labelwhen a titled screen's heading holds{{;stepLabel(flowLabels.ts:74) answersundefinedfor a titled screen; the validator refuses anodeskey over anyscreen(validate-translation-references.ts:2575block). Item 2:stepLabel's untitled-screen arm returnsscreens.NODE_ID.titlewith no{{test. Item from comment 7084469163:decisionBranchTechnicalTargets(i18n-walk.ts:2310) restatesdecisionBranches(flow-branches.ts:93) and its own'default'constant.Key name (seat's call, per the naming rule, precedent named):
flows.FLOW.nodes.NODE_ID.labelaccepted over a screen that authors its ownconfig.title; an untitled screen stays redirected toscreens.NODE_ID.title. Precedent: thenodesgroup's own rule intranslation.zod.ts— "this one addresses the node label of every node whose label has no key of its own" — and a titled screen's label is exactly such a label. The other route, ascreens.NODE_ID.labelmember, is not taken:screensalready aliaseslabelontotitle(aliases: { label: 'title', … }), so that spelling today means the heading; reusing it would change what an accepted key means. One string keeps one key either way.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ19xzW4F83HZd4Up6
os-dev-report
{ "issue": 36530, "status": "done", "branch": "claude/project-thread-wyo04v", "pr": "https://github.com/objectstack-ai/objectstack/pull/36576", "pr_number": 36576, "head_sha": "6f3b8c88b32cf4f61ef3913007f46c4fe4ac4f04", "session": "session_01ADHkmQ19xzW4F83HZd4Up6", "premise_still_valid": true, "summary": "objectstack validate now accepts flows.FLOW.nodes.NODE_ID.label over a screen that authors a non-empty config.title. Untitled screens and approvals are still redirected. stepLabel returns that key for a titled screen, and returns nothing for an untitled screen whose translated title holds a hole. flowStepName tests the heading before stepLabel, so a plain heading still names its screen and only a holed heading falls to the nodes key. The Studio canvas draws the key through its existing stepLabel read. The i18n walk asks for the key on a top-level screen whose authored title holds a hole. The decision-branch predicate now lives in spec (flowDecisionEdgeBranch and FLOW_DECISION_DEFAULT_BRANCH_LABEL in flow-altitude.ts), and both decisionBranches and decisionBranchTechnicalTargets call it. A1-A5 held as stated: the nodes group is a plain z.record and needed only prose changes, and the predicate is pure, so it moved without dragging UI types into spec. Coverage baseline: +0 per config. A static read found 14 screen nodes in examples, platform-objects and plugins, and none has a config.title holding a hole.", "tests": "at 6f3b8c88: lint test 225 files / 9446 tests pass + typecheck exit 0; spec test 875 files / 27972 pass (1 todo); cli unit layer (vitest --project unit) 436 files / 6208 pass, integration layer left to CI (no integration or spawn file touched); ui vitest (metadata-viewer, renderers/basic, FlowCanvas, packages/i18n) 133 files / 2355 pass / 13 skipped; ui type-check for i18n, components and app-shell all Done, exit 0. Ablations, each red and each restored to blob == HEAD by ablation-replace: validator titled skip deleted -> 1 failed; stepLabel hole test removed -> 2 failed; stepLabel titled arm removed -> 3 failed; flowStepName order reverted -> 1 failed; walk skips every screen -> 1 failed (cli suite). On the walk leg the mutated lint dist build failed DTS (TS6133) and the dist preflight showed the marker absent, so the red came through source resolution. Restore leg: rebuilt, then preflight --absent exit 0.", "gates": "dispatch-gates --commands at 6f3b8c88 derived 120. Ran all 120: 117 exit 0, 3 exit 3 NOT MEASURED (check-plugin-teardown-shape --self-test: shallow clone, positive-control commit unreachable; spec check:skill-examples and check:dual-build-cjs-loads: PREREQUISITE NOT MET, workspace dist not built). --ran reconciliation exit 0: '120 derived famil(ies) accounted for — 117 run, 3 NOT-MEASURED'. spec check:generated: 3 stale, fixed with --fix, re-check green. check:i18n-walk-parity exit 0 (17 declared, 15 walked, 2 exempted). check:i18n-coverage exit 3 NOT MEASURED (example closure not built). overlap-check exit 0 before pushes 1 and 3, and right after push 2. PR #36576 check-runs at head 6f3b8c88 when the report was written: Check Changeset, Lint (ESLint, repo & tooling, docs & code, CI/release/engine, PM dispatch-gates, scoped x3), Type Check (workspace, source, consumer, debt ledger), Governed Surface Queue Guard, Spec property liveness, PR-body guards = in_progress; Test/Build/UI jobs not yet listed.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "line_budget": "390 changed lines (+295 / -95) over 17 files (dispatch-gates at 6f3b8c88), under the 3000 human-merge threshold; no skills/** touched", "files_changed": [ ".changeset/36530-titled-screen-node-label.md", "content/docs/references/system/translation.mdx", "packages/cli/test/i18n-flow-node-coverage.test.ts", "packages/lint/src/i18n-walk.ts", "packages/lint/src/validate-translation-references.test.ts", "packages/lint/src/validate-translation-references.ts", "packages/spec/api-surface/automation.json", "packages/spec/export-origins/automation.json", "packages/spec/liveness/translation.json", "packages/spec/src/automation/flow-altitude.ts", "packages/spec/src/automation/index.ts", "packages/spec/src/system/translation.zod.ts", "ui/packages/app-shell/src/views/metadata-admin/previews/FlowCanvas.test.tsx", "ui/packages/components/src/__tests__/metadata-viewer.test.tsx", "ui/packages/components/src/renderers/basic/flow-branches.ts", "ui/packages/components/src/renderers/basic/metadata-viewer.tsx", "ui/packages/i18n/src/flowLabels.ts" ], "deviations": [ "push 2 (d63316b9, generated artifacts only) went out before overlap-check was re-run; it was run right after and was clean (exit 0)", "origin/main was not merged before opening the PR (AGENTS multi-agent section 10); overlap-check was clean against origin/main abe95a95 and against #36574, which shares 6 files", "the report comment goes on the card after the PR open, as the dispatch order's write list allows" ], "mcp_calls": "0", "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/36576/assignees [os-steve]), read back 9239/9239 bytes identical; os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/36530/comments via post-stamped. git push x3 (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — the automation engine keeps its own DEFAULT_BRANCH_LABEL ('default', service-automation engine.ts) beside the new spec FLOW_DECISION_DEFAULT_BRANCH_LABEL; the values agree today, and switching the engine to the spec export is outside this card's file surface (PR Acceptance notes)", "carrier: #36086 · ADR sentences for the titled-screen key; carrier: #36401 · skill text for the key" ] }feat(spec): every step a flow drawing shows can be translated, under …
feat(i18n): a flow screen with its own heading gets a translatable st…