Skip to content

Doc metadata embed: a type: flow block draws its title and steps in the authored language — the viewer does not read the package's flows translations, and a decision or notify step has no key #35979

Closed

Description

@objectstack-fleet

repo:hotcrm#2 · os-mickey · session_01ASNY8XiE8ZJYbrmzFDtS9g

Found by the hotcrm lane on @objectstack 18.6.0 while verifying hotcrm#2706, which wants the manuals' approval diagrams to be ```metadata embeds instead of hand-drawn mermaid (ADR-0051). The measurements are in the developer's report, hotcrm#2706 comment 7056602749. The code was read on objectstack main 8500ee79.

What happens

  • Steps: hotcrm's sales manual embeds type: flow, name: opportunity_approval. On 18.6.0 it builds, passes docs/metadata-embed-ref, and renders. In zh-CN (html lang="zh-CN") the card reads Large Deal Approval / 流程 / Tiered approval for opportunities: … / Start / Sales Manager Review / High Value (> $500K)? / Sales Director Sign-off / … / End / 已隐藏技术步骤:2. Only the viewer chrome is translated.
  • The translations exist: the package ships flows.opportunity_approval.label: '大额商机审批' and flows.opportunity_approval.approvals.manager_review.label: '销售经理审核' (and director_signoff) in its zh-CN pack, with the spec's own keys.
  • The API answers English: GET /api/v1/meta/flow/opportunity_approval gives the same English with no locale, with Accept-Language: zh-CN, and with ?locale=zh-CN. By contrast, GET /api/v1/meta/object/crm_opportunity under Accept-Language: zh-CN is localized (商机, stage options in Chinese), so a type: state_machine embed of the same manual renders in Chinese.

Why, in code

Asked

  1. The docs viewer's FlowView shows the flow label, and every step label the spec lets a package translate, in the reader's locale, falling back to the authored text. This uses the same resolution fix(app-shell): Studio flow designer shows the package's translated flow and approval-step labels #34947 gave the Studio designer, or GET /meta/flow localized as GET /meta/object is.
  2. A translation key for any node's display label (decision, notify, start/end included), with an author-time lint like i18n/missing-flow for an untranslated step. Alternatively, a ruling that those labels are not translatable, in which case the business view should stop drawing them.

Done when

A zh-CN reader of a manual that embeds opportunity_approval reads 大额商机审批, 销售经理审核 and a Chinese label for each drawn step, with no English step left.

Dedupe: searched metadata viewer flow translation, FlowView label locale, flow embed translation docs, decision node label translation, meta flow locale label and flows approvals label translation. The only near match is #34903 (the Studio designer, closed); none covers the docs viewer or node-label keys.

Reader. objectstack triage routes it to the owning lane. Not a claim. hotcrm#2706 waits on it.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui (doc metadata embed viewer) · pm:queue; rationale: area:i18n · Bug · a type: flow metadata embed in docs draws its title and steps in the authored language: the viewer does not read the package's flows translations, and decision or notify steps have no translation key; measured by the HotCRM lane on 18.6.0 (zh-CN manual shows English flow text); reach: every non-English reader of a manual with a flow embed → p2 (UX rule: an experience problem, not every-user-every-time) · size M.

  2. added
    area:i18n
    bug
    domain:ui
    pm:queue
    priority:p2
    on Nov 21, 2026
  3. added and removed
    area:i18n
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5okniknzVVR3KTSVr1

    Claim: PM loop · area a4-D · 2026-11-22T03:30Z · Asked item 1 only (Part of #35979)
    Session: session_01FEkQ5okniknzVVR3KTSVr1
    Account: os-project-manager
    Branch: claude/issue-35979-flow-embed-labels
    Worktree: objectstack-issue-35979
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-D
    File surface: ui/packages/components/src/renderers/basic/metadata-viewer.tsx (FlowView's flow label and step label reads only), a label-resolution helper beside it or reused from the #34947 Studio designer path, tests, a changeset. ⛔ No packages/spec change: Asked item 2 (a translation key for every node's display label, or a ruling that those labels are not translatable) is a contract question and goes to the seat (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: opus (default tier; seat order a4-D 2026-11-22T03:28Z, dispatch-gates --tier: no path-derived mandate on ui/**), effort: high (seat order)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the docs viewer's type: flow embed in objectstack ui/** | draws the flow label and every step label the spec lets a package translate in the reader's locale, with the authored text as fallback, by the same resolution #34947 gave the Studio flow designer | manual readers in a non-authored locale (hotcrm#2706 waits on it)
    Thread-read: 7056840533
    Premise: holds — at origin/main a5a5312 FlowView draws flow.label and n.label as authored; nothing there reads flows.<flow>.*.
    Pre-claim lane: repo:objectstack whole-repo lane, area:ux (seat 4 intake 2026-11-22T02:48Z); no open PR touches metadata-viewer.tsx.
    Pre-claim deps: #34903 / PR #34947 (merged) is the precedent. Sibling #36094 on the same FlowView, dispatched in parallel on the seat's word.
    Prior rulings read: type,flow,metadata,embed,block,draws,title,steps,authored,language,viewer,read (+5) → 402 hits; in the file: zero hit lines → no ruling. thread: none.
    Fold-or-serial: not folded with #36094; parallel with overlap-check before each push; second lander merges main and keeps both.
    Serial constraints cleared: none on this file surface at origin/main a5a5312

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5okniknzVVR3KTSVr1
    os-dev-report

    {
     "issue": 35979,
     "status": "done",
     "branch": "claude/issue-35979-flow-embed-labels",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36335",
     "session": "session_01FEkQ5okniknzVVR3KTSVr1",
     "premise_still_valid": true,
     "summary": "Last pushed sha 7e3d2b7aae. State: Asked item 1 is built and the draft PR is open (Part of #35979). Left: CI convergence and the Asked item 2 ruling below. Unverified locally at the final head: the shared verify lock was held for more than 75 minutes by another lane (pid 10562, issue-35403 suites.sh), and the last commit only splits one i18n module in two. The docs viewer's FlowView (element:metadata_viewer) now draws flows.FLOW.label and each approval step's flows.FLOW.approvals.NODE_ID.label in the reader's language, falling back to the authored text. It uses the resolution PR #34947 gave the Studio designer. That resolver was app-shell-only, so the pure part was MOVED, not copied, into @object-ui/i18n: flowsBundle.ts holds activeFlowsBundle, moved whole from app-shell utils; flowLabels.ts holds flowLabelTranslations and useFlowLabelTranslations, moved from the Studio module. The Studio module re-exports them, so its call sites are unchanged. In FlowView only the two label reads changed. No spec or server change. Start, decision, notify and end steps keep their authored labels: the spec gives them no key (Asked item 2, not built).",
     "tests": "metadata-viewer.test.tsx gains one top-level describe with 2 pins (zh-CN bundle shows 大额商机审批 / 销售经理审核 / 销售总监签批 while start/decision/notify/end stay authored; a missing key falls back to authored text). At 1ffd047104, under the lock: vitest metadata-viewer.test.tsx + FlowCanvas.test.tsx gave 'Test Files 2 passed (2) / Tests 40 passed (40)', VERDICT command-exit 0. Ablation at 1ffd047104 via scripts/ablation-replace.mjs: the hook call was replaced by undefined (anchor 1->0, blob 4be3f23d52b0->475415c28f24); result 'Tests 2 failed | 9 passed (11)' with both new pins red; restored with blob == HEAD and git diff HEAD empty. The test source resolves through src (relative import plus the vitest alias for @object-ui/i18n), so no dist preflight was needed. At eccfc7d638: pnpm --filter @object-ui/i18n --filter @object-ui/components run type-check, both tsc programs each, 'Done', VERDICT command-exit 0. NOT MEASURED locally at the final head 7e3d2b7aae (lock unavailable, five timed-out acquisitions): the @object-ui/app-shell type-check, the re-run of the two pinned files, the FlowRunner and i18n suites, and ui scripts/. All are declared to CI (Type Check UI, Test UI).",
     "gates": "dispatch-gates --commands at 7e3d2b7aae gave 38 families, the same list as at eccfc7d638. Run locally at eccfc7d638, each exit captured before any pipe: 36 exit 0. check:type-check-debt exited 3 PREREQUISITE NOT MET because its tsc legs queue on the same lock: NOT MEASURED, carried by CI Type Check debt ledger. 'pnpm --dir ui exec vitest run scripts/': NOT MEASURED (lock), declared to Test UI. Re-run at 7e3d2b7aae, all exit 0: check:undeclared-dep-imports, check:test-source-alias, check:cross-package-test-inputs, check:nul-bytes, check:published-files, check-sdui-manifest, check-empty-changeset, check-adr-0087-registration, check-changeset-no-major. check-platform-checklist --changed-from origin/main: exit 0 (0 anchored files). ui check:new-line-citations: 0 new, exit 0. The --ran reconciliation run was stopped at the handover deadline: NOT MEASURED. overlap-check: origin/main merges cleanly; exit 1 on #36316 (see open_questions). PR check-runs at report time: Check Changeset, Lint (all lanes), Type Check (all lanes), Governed Surface Queue Guard and PR-body guards are in_progress; the opt-in and queue-only checks are skipped.",
     "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches, which opened pulls #36335); post-stamped os-dev-report comment on issue 35979. git push is not counted.",
     "line_budget": "n/a — no skills/** or ledger budget touched",
     "net_added_lines": "+150 (216 insertions, 66 deletions vs origin/main, rename-detected)",
     "files_changed": [
      ".changeset/35979-flow-embed-labels.md",
      "ui/packages/app-shell/src/utils/flowsBundle.ts -> ui/packages/i18n/src/flowsBundle.ts (moved)",
      "ui/packages/i18n/src/flowLabels.ts",
      "ui/packages/i18n/src/index.ts",
      "ui/packages/app-shell/src/views/FlowRunner.tsx",
      "ui/packages/app-shell/src/views/metadata-admin/previews/flow-label-translations.tsx",
      "ui/packages/app-shell/src/views/metadata-admin/previews/FlowCanvas.test.tsx",
      "ui/packages/components/src/renderers/basic/metadata-viewer.tsx",
      "ui/packages/components/src/__tests__/metadata-viewer.test.tsx"
     ],
     "deviations": "(1) Zone 3 asked for a new card-named test file. AGENTS.md (ruling record 6583487846) puts a new pin for a component that already has a shared harness into that file as a top-level describe, so the pins went into metadata-viewer.test.tsx. (2) Declared local narrowing: the final head is not locally re-tested because the verify lock was held more than 75 minutes by pid 10562 (issue-35403 suites.sh). The app-shell type-check, the i18n/FlowRunner suites and ui scripts/ are declared to CI. (3) Commit trailers are model-free (Co-Authored-By: Claude) per AGENTS.md; the harness reminder asked for a model-named trailer and an emoji PR footer. AGENTS.md wins, so the PR body carries only the session-URL footer. (4) The surface grew past metadata-viewer.tsx because Zone 2 ordered the resolver moved out of app-shell: FlowRunner.tsx, flow-label-translations.tsx and FlowCanvas.test.tsx have only import or re-export lines changed. (5) No assignee or label was written, per the order.",
     "open_questions": [
      {
       "question": "Overlap with #36316 (stage confirms, Fixes #35928, same seat): it moves the same activeFlowsBundle into @object-ui/i18n/src/flowsBundle.ts. overlap-check exits 1; the conflicts are the flowsBundle.ts docblock, the comment above the i18n entry export, and flow-label-translations.tsx. Who lands first?",
       "options": [
        "A land #36316 first; this PR merges main and keeps one activeFlowsBundle export (three small hand resolutions)",
        "B land this PR first; #36316 merges main the same way"
       ],
       "recommendation": "Either works. The export lines, FlowRunner and FlowCanvas.test hunks are already byte-identical to #36316, so only docblock, comment and Studio-module text conflict. The second lander must keep exactly one activeFlowsBundle export."
      },
      {
       "question": "Asked item 2 (not built; contract question for the seat): should a flow node's display label get a translation key (for example flows.FLOW.nodes.NODE_ID.label, with an author-time i18n/missing-flow lint), or should start/decision/notify/end labels be ruled not translatable (and the business view stop drawing them)? Measured: hotcrm opportunity_approval (hotcrm 01d3ec4) has 13 nodes and draws 11 at business altitude; 2 have a key (approval) and 9 do not (1 start, 3 decision, 4 notify, 1 end). Showcase allFlows (33 flows) draws 123 top-level nodes; 15 approval steps have a key; the rest do not (33 start, 41 end, 13 notify, 6 decision, 3 loop, 2 each of map/subflow/parallel/try_catch, 1 each of wait/screen/save_notice/approval_revise).",
       "options": [
        "A add a generic per-node label key under flows.FLOW (spec + validate + reader in designer/embed); real business need is measured: every zh-CN manual with a flow embed shows English decision/notify steps; costs a spec contract change (Metadata-protocol: added, minor) plus a lint, which is a new gate",
        "B rule start/end/decision/notify labels not translatable and have the business view stop drawing them (draw only keyed steps + a count); narrows what readers see, no spec growth",
        "C leave as is (authored text) until a named external user asks"
       ],
       "recommendation": "No recommendation from the dev: the four-axis frame belongs to the seat and maintainer. Axis facts measured above: real demand exists (hotcrm#2706 waits; 9 of 11 drawn steps unkeyed); A grows the contract and proposes a new gate (the frame defaults new gates to no unless the maintainer names one); B keeps the contract tight but hides process steps from manual readers; C costs nothing now and leaves the Done-when of #35979 unmet."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · the shared verify lock was held more than 75 minutes by pid 10562 (bash scratchpad/issue-35403/suites.sh), which blocked every queued lane on this box; observation only, noted, not filed"
     ]
    }
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv

    Handover to repo:objectstack#7 · 2026-11-22T06:46Z

    Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
    Resume-from: claude/issue-35979-flow-embed-labels@7e3d2b7aaea22d5c8216da7a59165fcb4dd53dcf

  8. 6 remaining items

  9. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Ruling: item 2 · option A · the maintainer (Steedos) chose 「补上翻译位,可以翻译」 on 2026-11-22T08:18Z

    The maintainer answered a decision card in the seat thread by tapping its first option. The card's question, verbatim: 「决定流程图里判断和通知步骤的名称是否翻译(#35979)」. The option's stated consequence, verbatim: 「应用可为每个步骤提供各语言名称,中文手册不再夹英文;平台协议加一项,现有检查会多报缺译,HotCRM 需补约 9 条译文。」 The option set was reviewed by an isolated Fable analyst before it was posted (it corrected one fact: the i18n/missing-flow check already exists, so A extends it and adds no new gate).

    What the ruling binds (item 2, from dev report 7075347512 open_questions[1]):

    1. 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. Metadata-protocol: added, Clause-②: yes (widening).
    2. The existing i18n/missing-flow lint (packages/cli/src/utils/i18n-coverage.ts, bucket flow) is extended to expect the new key; existing apps get new findings (HotCRM opportunity_approval: 9 of 11 drawn steps). No new gate.
    3. Seat reading, not the maintainer's words: the viewer may supply its own words for start and end nodes so authors translate only decision, notify and approval steps; the build decides and states it.

    Execution: item 2 is a spec widening, so it leaves area f7-shell and is built in its own card thread at the default tier with a schema-face L2; PR #36335 (item 1) lands without it. HotCRM's ~9 translations are a follow-up in that repository after the spec key is on main.

  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 3 · item 2 only — item 1 stays on claim 7075955098 and its PR #36335 (area f7-shell, branch claude/issue-35979-flow-embed-labels)
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Thread session: session_01QsR2jTrJZvNaijgX3NxBMc
    Account: zhuangjianguo
    Branch: claude/project-thread-t9wf57 (the thread's container pushes only to its own branch name)
    Worktree: objectstack-issue-35979
    Domain: domain:ui
    Seat: repo:objectstack#7
    Area: f7-seat (a single-card thread: item 2 widens a published spec schema, so it leaves area f7-shell)
    File surface: packages/spec/src/system/translation.zod.ts (flows section) and its validation, ui/packages/components/src/renderers/basic/metadata-viewer.tsx (FlowView reader), packages/cli/src/utils/i18n-coverage.ts (i18n/missing-flow), regenerated spec artifacts, pins, one changeset (measured by the thread before push)
    Container & model: M, mode:thread, model: default tier (dispatch-gates --tier derives no path mandate; the thread re-derives at its head), effort: high (seat order); the L2 runs on the schema face at the contract-review tier from the seat
    Clause-②: yes (widening) — a flow node gains a translatable label key
    Metadata-protocol: added
    Responsibility: n/a — not a defect card
    Thread-read: 7076440876
    Premise: holds (dev report 7075347512 measured 13 nodes, 11 drawn, 2 keyed on HotCRM opportunity_approval)
    Serial constraints cleared: PR #36335 shares the viewer file; overlap-check before every push, and the second lander merges main.
    Pre-claim lane: repo:objectstack seat 7, by the maintainer's choices on the seat thread (2026-11-22T07:18Z: the three-area plan and 「交接给你的任务 p1 p2 都要做」).
    Pre-claim deps: Ruling-ref: 7076440876 (item 2 ruled A 「补上翻译位,可以翻译」).
    Prior rulings read: the thread re-reads the card's ruling comments and check-prior-rulings.mjs --card 35979 before code.
    Resume-from: none (item 2 unbuilt; fresh from origin/main c448c61)

  11. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jV3scu6UYPb42n5okQ
    os-dev-report

    {
      "issue": 35979,
      "status": "done",
      "branch": "claude/issue-35979-flow-embed-labels",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36335",
      "head": "599975314ab00f37bb3ff72ae93020a2f6be943e",
      "session": "session_01QsR2jV3scu6UYPb42n5okQ",
      "premise_still_valid": true,
      "summary": "Resumed from 7e3d2b7aae. I merged origin/main twice, with no force-push. Merge 1 (a2a1f2d4c6, over c261a7ca60 #36316) kept main's ui/packages/i18n/src/flowsBundle.ts byte-for-byte and dropped this branch's duplicate move. It kept flowLabels.ts, its index export, the Studio re-export and the two FlowView label reads. Merge 2 (78faa00e0a, over e6057734a2 #36327) kept #36327's branches and entry-condition code and tests, plus this PR's reads. It also threads the translated step label into the Branches list #36327 added, so an approval step a decision leads to is not named in English. This is one new draw point of the same keyed label, pinned and ablated. Merged tree: one function activeFlowsBundle (i18n/src/flowsBundle.ts), no app-shell copy, no utils/flowsBundle import, no circular import (flowLabels.ts imports ./flowsBundle.js and ./provider.js only). I updated the changeset: the resolver half came from #36316, and this PR adds flowLabels.ts and the embed reads. The corrected PR body is in the seat's scratchpad body36335.md. PR delta vs main: 6 files, +250/-59. Item 2 is not here; it is built on its own claim.",
      "tests": "At 78faa00e0a under os-verify-lock: (cd ui) vitest run metadata-viewer.test.tsx + FlowCanvas.test.tsx -> 'Test Files 2 passed (2) / Tests 47 passed (47)', then pnpm --filter @object-ui/components run type-check (tsc --noEmit && tsc -p tsconfig.test.json), joined with && -> VERDICT command-exit 0. At 10f53529e4 (merge 1) under the lock: turbo build of @object-ui/app-shell^... + @object-ui/components^... gave 68/68 successful (49 cached). The same two files gave Tests 40/40. type-check of i18n + components + app-shell gave TEST_EXIT=0 TC_EXIT=0. The 599975314a commit after 78faa00e0a changes the changeset only. Ablation at 78faa00e0a via scripts/ablation-replace.mjs --delete: anchor '(target && stepLabel?.(target)) ?? ' 1->0, blob e0610844af58->1bcbe5a1bdbb, result 'Tests 1 failed | 17 passed (18)' with the branch-target pin red; restored blob == HEAD, git diff HEAD empty. The first try with --replacement '' was refused by the tool before any test ran: a no-op, re-run in delete mode. The test resolves through src, so no dist preflight. stageChangeStarts-label-35928.test.tsx (main's) was not run locally: its input flowsBundle.ts equals main's byte-for-byte; declared to Test UI.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 78faa00e0a: 38 families, same list as at 10f53529e4. The 37 non-vitest families were re-run over 78faa00e0a/599975314a, and all 37 exited 0 (exit captured before any pipe). The three changeset gates were re-run at 599975314a: check-adr-0087-registration :: exit 0, check-changeset-no-major :: exit 0, check-empty-changeset :: exit 0. pnpm --dir ui exec vitest run scripts/ at 10f53529e4 under the lock gave 'Test Files 172 passed | 2 skipped (174)', VERDICT command-exit 0; it was not re-run at the final head because no ui/scripts input moved, and Test UI covers it. dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. overlap-check at 599975314a: VERDICT clean exit 0. CI at 599975314a: 58 check-runs, 45 success, 13 skipped, 0 failed. Required: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core skipped (paths), Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (16/16 shards), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35979/comments (this os-dev-report via post-stamped.mjs); plus 3 git pushes of the branch (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  12. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jV3scu6UYPb42n5okQ

    Item 1 delivered · area f7-shell · 2026-11-22T16:04Z

  13. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTrJZvNaijgX3NxBMc
    os-dev-report

    {
      "issue": 35979,
      "status": "done",
      "branch": "claude/project-thread-t9wf57",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36383",
      "session": "session_01QsR2jTrJZvNaijgX3NxBMc",
      "premise_still_valid": true,
      "summary": "Item 2 per ruling 7076440876 option A. New translation key flows.<flow>.nodes.<node_id>.label (spec, strict entry, one plain-text leaf) for every node but a screen and an approval, validated by objectstack validate (unknown node refused with a suggestion; screen/approval redirected to their own keys) and demanded by i18n/missing-flow for every top-level step the docs embed draws at detail: business. FLOW_TECHNICAL_NODE_TYPES/isFlowTechnicalNodeType in @objectstack/spec/automation is the one table the viewer and the walk read. Reader half on main's #36335 resolution: stepLabel reads approvals/untitled-screen title/nodes by node type, so the docs FlowView, its branch targets and the Studio canvas (nested region nodes included) draw it; a titled screen is named in the docs embed by its heading (translated) unless the heading holds a {{ }} hole. Item 3: start/end keyed like any step, no viewer words. Ledger row flows.nodes (+label) live.",
      "tests": "ui (from ui/): FlowCanvas.test.tsx + flowNodeLabels.sites-13200.test.ts 64 passed; metadata-viewer.test.tsx 'Tests 22 passed (22)' at bc0171d8. lint whole suite 'Tests 9431 passed (9431)' at eabf0e62 (lint unchanged since). cli: 4 flow family files 'Tests 52 passed (52)'. spec flows-translation-face + translation 'Tests 238 passed (238)'. Type-check @object-ui/i18n, components, app-shell exit 0. No ablation: every pinned behaviour is new and its pins assert translated text the old code never produced.",
      "gates": "First sweep at cafc3fdf: 127 derived, 126 exit 0, check:dual-build-cjs-loads exit 3 (NOT MEASURED, full build; left to CI). Second sweep for the files changed since (bc0171d8 + c267c2f1): 96 derived, 96 exit 0; dispatch-gates --ran: 96 accounted for, 0 NOT MEASURED (derived from recorded exit codes). check:generated --fix after merging main: 3 regenerated, re-checked green. overlap-check VERDICT clean vs origin/main 316f7571. CI at bc0171d8: 63 check-runs success, 11 skipped, 0 failed; mergeable_state clean.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay dispatches via scripts/pm/fleet-write/dispatch.mjs: pr_create (#36383), issue_patch (#36383 body); plus this report via post-stamped.mjs; git pushes to the claimed branch only",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "Filed through the seat, not here: #36400 (flows.FLOW.label demanded only for flows with a screen or approval), #36401 (objectstack-i18n skill text for the new key), #36402 (HotCRM opportunity_approval translations, 9 drawn steps)"
      ],
      "deviations": "The PR attribution line links this thread (session context) rather than the order's seat-thread link. No review request was made, since GitHub MCP writes are forbidden. A titled screen with a {{ }} hole in its heading keeps its authored label (no key) in the docs embed; stated in the PR."
    }
  14. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Closed 2026-11-22T20:01Z as completed. Both items have landed on main: item 1 in #36335, and item 2 (the zh-CN flow node labels) in #36383, merged 2026-11-22T19:58Z as f2a990b. A zh-CN reader of a manual that embeds opportunity_approval now reads 大额商机审批, 销售经理审核 and a Chinese label for each drawn step, which is this card's done-when.

    Residue that this card does not hold stays on its own cards: #36530, #36400, #36401 and #36402.

  15. removed
    pm:dispatched
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:uipriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions