Skip to content

HotCRM: translate the 9 step names of opportunity_approval #36402

Done

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Follow-up from #35979 (PR #36383, flow step names translate). Filed by the seat. Parent: #35979. Repository: objectstack-ai/hotcrm.

What happens

Once the nodes translation group ships, HotCRM's opportunity_approval flow still draws its 9 step names in English for a zh-CN user, and the coverage check will report them.

To do

  1. After the ObjectStack release that carries feat(spec): every step a flow drawing shows can be translated, under flows.FLOW.nodes.NODE_ID.label #36383 and its reader half, add zh-CN (and every locale HotCRM ships) entries for the 9 steps of opportunity_approval under flows.opportunity_approval.nodes.NODE_ID.label.
  2. Run HotCRM's translation coverage check.

Acceptance

  • The approval flow viewer in HotCRM, zh-CN, shows no English step name.

Blocked-by: #36383

Grade

p2 · area:i18n. A visible English string on a demo-app flow for every zh-CN user.


Generated by Claude Code

Activity

  1. added
    enhancement
    priority:p2
    pm:blocked
    repo:hotcrm
    area:i18n
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:blocked and p2 stand as filed; rationale: area:ux (i18n; was the legacy area:i18n) · Task · HotCRM's opportunity_approval has 9 untranslated step names, which zh-CN users see in English · size XS.

  3. added and removed
    area:i18n
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock (daily scan): every Blocked-by: target is closed, so pm:blocked → pm:queue; grade unchanged.

    Target #36383 merged at 2026-11-22T19:58Z. No newer Blocked-by: line in the thread, no Unlock-action: line, no assignee. Same repository, so no installability check is owed.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 23, 2026
  6. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

    Hold · 2026-11-24T00:53Z · pm:queue → pm:on-hold (grade unchanged)

    The fix lives in objectstack-ai/hotcrm (translate the 9 step names of opportunity_approval), and it depends on the flow-step nodes translation group from #36383. #36383's changesets are still pending in the Version Packages PR #35129, so no installable @objectstack/* release carries that group yet; HotCRM cannot consume it from npm. (Reading by the seat's ux-D area on origin/main 844218f, 2026-11-24T00:52Z.)

    Restart-when: the @objectstack/* release that publishes #36383's changesets is on npm (Version Packages #35129 merged and published) ⇒ back to pm:queue; dispatch shape: one HotCRM PR that bumps @objectstack/* to that release and adds the 9 nodes entries for opportunity_approval in each shipped locale.

  7. added
    pm:on-hold
    and removed
    pm:queue
    on Nov 24, 2026
  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Unlock · pm:on-hold → pm:queue · every line-leading Blocked-by: / Restart-when: on this card (body and thread) was read at 2026-11-29T00:22Z, and each target is done: @objectstack/spec 19.0.0-next.0 is on npm, and its CHANGELOG carries PR #36383's entry (f2a990b) under 19.0.0-next.0. Grade unchanged. Before dispatch, re-check the card's file surface on the merged ref.

    Recorded 2026-11-29T00:22Z.

  9. added
    pm:queue
    and removed
    pm:on-hold
    on Nov 29, 2026
  10. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7

    Claim: PM loop round 1 · 2026-12-01T00:52Z
    Session: session_01WGufzfcCk7a8bQdgyaxzu7
    Account: os-support-ai
    Branch: claude/issue-36402-opportunity-approval-steps (objectstack-ai/hotcrm)
    Worktree: hotcrm-issue-36402
    Domain: none (objectstack-ai/hotcrm)
    Seat: repo:objectstack@os-support-ai
    Area: osa-ux
    File surface: objectstack-ai/hotcrm src/sales/translations/flow-steps.ts (and src/sales/translations/<locale>/app.ts only if a step name belongs there per that file's own header), plus the changeset HotCRM's own rules ask for. Stop on breach; explain in the report.
    Container & model: S, mode:subagent, model: default (no path-derived mandate: translation rows), effort: medium (reason: mechanical rows checked by HotCRM's coverage check)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: hotcrm (opportunity_approval step names drawn in English for zh-CN) | the platform nodes translation group (#36383) is installed: HotCRM is on @objectstack 19.0.0-next.2 | every zh-CN user who opens the approval flow viewer
    Thread-read: 7248066269
    Premise: corrected in part, to be measured — hotcrm origin/main afae64b already carries flows.opportunity_approval.nodes in zh-CN, ja-JP and es-ES (added by hotcrm#2820), and manager_review / director_signoff sit under approvals. get_opportunity has no row in that block. The dev runs HotCRM's translation coverage check first: zero missing for this flow ⇒ premise_still_valid: false, no PR, and the zone closes the card on that reading.
    Pre-claim lane: objectstack-ai/hotcrm translations, named in zone osa-ux's lease.
    Pre-claim deps: #36383 merged; Restart-when met (triage unlock 7248066269); HotCRM already consumes 19.0.0-next.2, so no bump is owed.
    Prior rulings read: card thread 0 ruling comments; dispatch shape from hold 7118541164 (bump + rows), the bump half already done upstream.
    Fold-or-serial: one card, one PR.
    Serial constraints cleared: open hotcrm PRs #2866 (release workflow), #2859 (AGENTS.md), #2743 (dependabot) touch no translation file.

  11. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 1, 2026
  12. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
    os-dev-report

    {
      "issue": 36402,
      "status": "done",
      "branch": "claude/issue-36402-opportunity-approval-steps (never pushed: premise falsified, no edit)",
      "pr": null,
      "session": "session_01WGufzfcCk7a8bQdgyaxzu7",
      "premise_still_valid": false,
      "summary": "HotCRM's coverage check reports zero missing keys in all four shipped locales (en, zh-CN, ja-JP, es-ES: 3305/3305 each) on hotcrm origin/main afae64b, which already pins @objectstack 19.0.0-next.2 (no bump owed). Every drawn step of opportunity_approval is translated: 10 rows under flows.opportunity_approval.nodes in flow-steps.ts per locale (hotcrm#2820) plus manager_review / director_signoff under approvals in each locale's app.ts. The one node with no row, get_opportunity, is a get_record node: @objectstack/spec lists get_record in FLOW_TECHNICAL_NODE_TYPES (src/automation/flow-altitude.ts), and the expected-key walker in @objectstack/lint (collectExpectedEntries) skips technical nodes unless they are a decision-branch target (which is why mark_approved, an update_record target of check_high_value, does carry a row). So the platform does not key get_opportunity, adding a row would be an unread key, and the card's acceptance is already met at the key level. No code written, nothing pushed; worktree and local branch removed.",
      "tests": "Probe proving the check counts this flow's nodes keys: deleting the zh-CN row flows.opportunity_approval.nodes.check_high_value (local, reverted with git checkout, git status clean) made `pnpm exec objectstack i18n check --show-keys` report `zh-CN 3304/3305, missing 1` and `flows.opportunity_approval.nodes.check_high_value.label missing translation for locale zh-CN`; restored tree reads 3305/3305 in every locale.",
      "gates": "Local: `pnpm install --frozen-lockfile` EXIT=0; `NODE_OPTIONS=--max-old-space-size=4096 pnpm exec objectstack i18n check` EXIT=0, verdict line `All 3305 translation keys covered across 4 locale(s)`; `pnpm exec objectstack i18n check --json` EXIT=0, issues [], totals.issues 0. No diff, so no derived gate family, no build/test owed; hotcrm has no scripts/pm/dispatch-gates.mjs. CI: no PR, no check-runs.",
      "line_budget": "n/a (no diff)",
      "files_changed": [],
      "deviations": "None. Visual check in the running flow viewer (zh-CN) not performed: NOT MEASURED, reason: premise closed at the key level by the platform's own coverage contract; get_opportunity is folded at business altitude by design.",
      "mcp_calls": "0",
      "api_writes": "1 — POST repos/objectstack-ai/objectstack/issues/36402/comments (this report, via post-stamped.mjs)",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["Other flows: zero missing rows in any locale (whole-stack check clean), nothing recorded.", "carrier: none · card title says 9 step names; the flow has 13 nodes, 12 keyed (10 nodes + 2 approvals) and get_opportunity technical; noted, not filed"]
    }
  13. added
    pm:queue
    and removed
    pm:dispatched
    on Dec 1, 2026
  14. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7

    Closed · 2026-12-01T01:01Z · completed — the work landed in objectstack-ai/hotcrm#2820; no PR owed here.

    L1 read of the os-dev report 7296954909 (premise_still_valid: false, pr: null), checked against the trees, not the report's account:

    • hotcrm origin/main afae64b pins @objectstack/* 19.0.0-next.2 (installable, carries feat(spec): every step a flow drawing shows can be translated, under flows.FLOW.nodes.NODE_ID.label #36383), so no bump is owed.
    • src/sales/translations/flow-steps.ts carries flows.opportunity_approval.nodes in zh-CN, ja-JP and es-ES (10 rows each, from hotcrm#2820); manager_review and director_signoff sit under approvals in each locale's app.ts.
    • HotCRM's coverage check pnpm exec objectstack i18n check: All 3305 translation keys covered across 4 locale(s). The dev proved the check counts this flow by deleting one zh-CN row (3304/3305, the row named) and restoring it.
    • The one node without a row, get_opportunity, is a get_record node: FLOW_TECHNICAL_NODE_TYPES (packages/spec/src/automation/flow-altitude.ts:37), which the expected-key walk in packages/lint/src/i18n-walk.ts skips unless a decision branch targets it. No reader asks for that key.

    Acceptance ("The approval flow viewer in HotCRM, zh-CN, shows no English step name") is met at the key level. Reopen if a zh-CN viewer reading shows otherwise.

  15. removed
    pm:queue
    on Dec 1, 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:uxenhancementpriority:p2repo:hotcrm

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions