Skip to content

automation 的 zh-Hans / zh-Hant 缺了英文页「计划类自动化」节的第三段(#615 落地的预测分工说明) #836

Description

@yinlianghui

来源:#827(PR 补全同页的内置 flow 表)实施过程中的顺带发现。基线 origin/main = 4c12791。与 #827 的改动不重叠:#827 只动该节的第一句(数词),本条是整段缺失。

事实

content/docs/administration/automation.mdx 的 ## Scheduled automation 节有三段;两个中文页只有两段。缺的是英文页 :95 那段(66fa27f5,#590 / PR #615 落地 forecast_snapshot 时加的):

The division of labour on forecasts is worth calling out, because it is the pattern to copy: the Forecast Snapshot flow decides who gets a snapshot and what the totals are, while the forecast object's hook decides which calendar period the snapshot belongs to. A cron expression can say "every night"; it cannot say "the first day of this quarter", so that boundary is derived once, by the object, for every writer.

git log 显示两个中文页最后一次实质改动早于 #615,66fa27f5 只改了英文页。

影响

这段是该页唯一一处讲「什么归 flow、什么归 hook」判据的地方,而且明说了「这是要照抄的模式」。中文读者拿不到这条判据,只拿到上一段「无需编排的日期驱动字段逻辑放在对象钩子里」的结论,没有为什么。

与 #791 同一族(英文页在某个 PR 里动了、两个中文页没动,且当时没有任何测试是红的)。docs-drift.test.ts 的 callout 平价规则只数 > 块,这段是普通段落,落在它的量程之外。

修法建议

把这段翻进两个中文页的「计划类自动化 / 排程類自動化」节末尾。顺带可复核该页其余各节的段落数是否还有同类欠账。

Refs #827 #791 #615

Activity

  1. added
    bugSomething isn't working
    documentationImprovements or additions to documentation
    pm:queueReady for the PM dispatch loop
    pm:dispatchedDispatched to a dev agent by /pm-dispatch
    and removed
    pm:queueReady for the PM dispatch loop
    on Aug 5, 2026
  2. self-assigned this
    on Aug 6, 2026
  3. yinlianghui commented on Aug 6, 2026

    @yinlianghui
    CollaboratorAuthor

    [PM 认领 · R22 · 并单 #836+#845] session_01VHrPAGEgFDoHjphqYG4BMa · 分支 claude/issue-836-845-automation-zh-forecast · 文件面:content/docs/administration/automation.zh-Han{s,t}.mdx(Scheduled automation 节)+ content/docs/sales/opportunities.zh-Han{s,t}.mdx + changeset

    两单同落 automation zh 页的「计划类自动化」节(#836 缺段、#845 的 :91 错词在同节),文件面高度重叠,并单一个 PR(首行 Fixes #836,次行 Fixes #845)。

    #836 裁定:把英文页 ## Scheduled automation 第三段(#615 落地的预测分工判据:flow 决定谁和总数、hook 决定日历期归属,cron 说不出「本季度第一天」)翻进两个中文页该节末尾,译文风格与两页既有段落一致;顺带复核该页其余各节段落数是否还有同类欠账——只报不改(#791 同族)。⚠️ 基线含 #854/#864/#870,行号全部重定位。

    #845 裁定(#829 同类,事实来源 crm_opportunity.fields.forecast_category.options):best_case 的包名是「最佳情况」——opportunities zh 两页 :128/:134 的「最佳可能」×4、automation zh 两页 :91 的「最好情况」×2 全部对齐;同行「赢单合计」→ crm_forecast.closed_amount 的包 label「已成交金额」×2。改前跑 issue 给的复核 grep(简繁两侧),确认处数,改后零命中。⚠️ opportunities zh 页刚被 #842 改过 stage 面——只动 forecast_category 的词,不碰 stage 词汇。

    ⛔ 不动 en 页(en 侧无此病);⛔ 不动 src/**、releases/;不加守卫;不升级 @objectstack/*;changeset 站内路径反引号;控制字节自扫;JSON 报告按标准 schema(issue 字段填 836,summary 两单分开陈述)。


    Generated by Claude Code

  4. yinlianghui commented on Aug 6, 2026

    @yinlianghui
    CollaboratorAuthor

    [PM 验收] PR #879 ACCEPT(并单 #836+#845)— 已转 ready 并挂 auto-merge(session_01VHrPAGEgFDoHjphqYG4BMa)

    复核结论:

    无越界发现(空清单系实测,含拒绝在限流下冒险开单的判断——正确)。#845 侧验收见该单短评。


    Generated by Claude Code

  5. added and removed on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions