@gobing-ai/knowledge-kit 0.1.24 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/index.js +302 -59
  3. package/package.json +1 -1
  4. package/plugins/generations/episode-plan-gen/dist/index.js +47 -6
  5. package/plugins/generations/episode-plan-gen/src/index.ts +71 -7
  6. package/plugins/generations/music-gen/dist/index.js +17 -13
  7. package/plugins/generations/music-gen/src/audio/measure.ts +25 -20
  8. package/plugins/kk/decisions/extract/ai-news.yaml +8 -1
  9. package/plugins/kk/plugin.json +1 -1
  10. package/plugins/kk/publish-presets/daily-ai-voice.json +4 -4
  11. package/plugins/kk/publish-presets/itc-main.json +39 -23
  12. package/plugins/kk/scripts/daily-stages.ts +500 -33
  13. package/plugins/kk/scripts/kk-workflow-stages.ts +5 -0
  14. package/plugins/kk/skills/content-safety/references/platforms/apple-podcasts.md +12 -5
  15. package/plugins/kk/skills/content-safety/references/platforms/wechatmp.md +8 -0
  16. package/plugins/kk/skills/content-safety/references/platforms/xiaoyuzhou.md +5 -0
  17. package/plugins/kk/skills/daily-news-cover/SKILL.md +96 -0
  18. package/plugins/kk/skills/daily-news-illustrations/SKILL.md +123 -0
  19. package/plugins/kk/skills/news-editorial/SKILL.md +5 -3
  20. package/plugins/kk/skills/news-editorial/references/daily-visual-composition.md +150 -0
  21. package/plugins/kk/skills/news-editorial/references/style-contract.zh.md +1 -1
  22. package/plugins/kk/workflows/kk-article-generate.yaml +13 -1
  23. package/plugins/kk/workflows/kk-daily-ai-voice.yaml +6 -3
  24. package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +6 -4
  25. package/plugins/kk/workflows/kk-news-generate.yaml +71 -1
  26. package/plugins/publishings/bilibili-pub/dist/index.js +3 -2
  27. package/plugins/publishings/bilibili-pub/dist/profile-check.js +3 -2
  28. package/plugins/publishings/cnblogs-pub/dist/index.js +3 -2
  29. package/plugins/publishings/cnblogs-pub/dist/profile-check.js +3 -2
  30. package/plugins/publishings/csdn-pub/dist/index.js +3 -2
  31. package/plugins/publishings/csdn-pub/dist/profile-check.js +3 -2
  32. package/plugins/publishings/infoq-pub/dist/index.js +3 -2
  33. package/plugins/publishings/infoq-pub/dist/profile-check.js +3 -2
  34. package/plugins/publishings/jike-pub/dist/index.js +3 -2
  35. package/plugins/publishings/jike-pub/dist/profile-check.js +3 -2
  36. package/plugins/publishings/juejin-pub/dist/index.js +3 -2
  37. package/plugins/publishings/juejin-pub/dist/profile-check.js +3 -2
  38. package/plugins/publishings/linkedin-pub/dist/index.js +3 -2
  39. package/plugins/publishings/linkedin-pub/dist/profile-check.js +3 -2
  40. package/plugins/publishings/medium-pub/dist/index.js +9198 -279
  41. package/plugins/publishings/medium-pub/dist/profile-check.js +21174 -0
  42. package/plugins/publishings/medium-pub/package.json +3 -1
  43. package/plugins/publishings/medium-pub/plugin.json +6 -1
  44. package/plugins/publishings/medium-pub/src/browser-rail.ts +280 -0
  45. package/plugins/publishings/medium-pub/src/index.ts +17 -1
  46. package/plugins/publishings/medium-pub/src/profile-check.ts +27 -0
  47. package/plugins/publishings/shipinhao-pub/dist/index.js +6 -3
  48. package/plugins/publishings/shipinhao-pub/dist/profile-check.js +5 -3
  49. package/plugins/publishings/shipinhao-pub/src/flow.ts +5 -0
  50. package/plugins/publishings/shipinhao-pub/src/selectors.ts +11 -4
  51. package/plugins/publishings/sspai-pub/dist/index.js +3 -2
  52. package/plugins/publishings/sspai-pub/dist/profile-check.js +3 -2
  53. package/plugins/publishings/substack-pub/dist/index.js +3 -2
  54. package/plugins/publishings/substack-pub/dist/profile-check.js +3 -2
  55. package/plugins/publishings/threads-pub/dist/index.js +3 -2
  56. package/plugins/publishings/threads-pub/dist/profile-check.js +3 -2
  57. package/plugins/publishings/wechatmp-pub/dist/index.js +262 -42
  58. package/plugins/publishings/wechatmp-pub/dist/profile-check.js +3 -2
  59. package/plugins/publishings/wechatmp-pub/src/flow.ts +447 -53
  60. package/plugins/publishings/wechatmp-pub/src/index.ts +4 -1
  61. package/plugins/publishings/wechatmp-pub/src/page.ts +8 -0
  62. package/plugins/publishings/weibo-pub/dist/index.js +3 -2
  63. package/plugins/publishings/weibo-pub/dist/profile-check.js +3 -2
  64. package/plugins/publishings/x-pub/dist/index.js +3 -2
  65. package/plugins/publishings/x-pub/dist/profile-check.js +3 -2
  66. package/plugins/publishings/xhs-pub/dist/index.js +3 -2
  67. package/plugins/publishings/xhs-pub/dist/profile-check.js +3 -2
  68. package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +3 -2
  69. package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +3 -2
@@ -2110,6 +2110,11 @@ if (import.meta.main)
2110
2110
  dailyXhsRender(rest);
2111
2111
  break;
2112
2112
  }
2113
+ case 'news-inline-illustrations': {
2114
+ const { dailyInlineIllustrations } = await loadDailyStages();
2115
+ dailyInlineIllustrations(rest);
2116
+ break;
2117
+ }
2113
2118
  case 'daily-script-style': {
2114
2119
  const { dailyScriptStyle } = await loadDailyStages();
2115
2120
  dailyScriptStyle(rest);
@@ -7,9 +7,9 @@ Review-item IDs here are **this skill's bookkeeping numbers**, not official plat
7
7
  | Official source | Apple Podcasts content guidelines <https://podcasters.apple.com/support/891-content-and-subscription-guidelines> |
8
8
  | Scope | 播客音频、单集标题/简介、节目元数据(RSS 侧字段经发布通道送达) |
9
9
  | Effective date | unknown(页面未标注版本生效日期) |
10
- | Last verified | 2026-09-30 — §1.1、§1.11、§1.12 已读原文;其余条款(§1.2–§1.10、§2 起)仅见标题,未逐条核验 |
11
- | Evidence status | §1.1 / §1.11 / §1.12 为**官方原文**(下引);其余条款未核验 → 引用时标 `evidenceGap: true` |
12
- | Changelog | 2026-09-29 — file created (task 0189) · 2026-09-30 — 深链与 §1.1/§1.11/§1.12 原文核验,新增 AP-05/AP-06 · 2026-10-08 — 操作者裁定:单集文末统一 AI 声明撤下,AP-05 改为 note |
10
+ | Last verified | 2026-11-24 — §1.1–§1.12 全文与 §2(含 §2.2 Harmful or Objectionable Content、§2.4)已读原文;§1.2–§1.10 的类别限制核验完毕,AP-02 关闭 |
11
+ | Evidence status | §1.1–§1.12 与 §2 的关键条为**官方原文**(下引);**没有**任何条款按题材(新闻/时政/贸易管制/政府)设限 — 只有 §1.12 禁止用 AI 编造新闻 |
12
+ | Changelog | 2026-09-29 — file created (task 0189) · 2026-09-30 — 深链与 §1.1/§1.11/§1.12 原文核验,新增 AP-05/AP-06 · 2026-10-08 — 操作者裁定:单集文末统一 AI 声明撤下,AP-05 改为 note · 2026-11-24 — 补读 §1.2–§1.10 与 §2,AP-02 由 `judge`(evidenceGap) 降为 `note`(见下) |
13
13
 
14
14
  ## Evidence distinctions
15
15
 
@@ -17,6 +17,12 @@ Review-item IDs here are **this skill's bookkeeping numbers**, not official plat
17
17
  - §1.1 Metadata Accuracy — "Podcast metadata (for example, titles, descriptions, language, etc.) must always accurately represent the corresponding content that is distributed."
18
18
  - §1.11 AI Generated Content — "Creators using AI to generate audio or video content — including synthetic voices, AI-generated hosts or on-screen personas, or AI-synthesized replicas of real individuals — must prominently disclose this to audiences in the content and metadata for each episode and show."
19
19
  - §1.12 Misleading Use of AI — "Creators must not use AI in violation of these guidelines, including to mislead or deceptively portray real-life events in their content (e.g., using AI to fabricate news stories or manipulate audio or video clips to present false narratives)."
20
+ - **官方规则**(2026-11-24 补读;同一页面 <https://podcasters.apple.com/support/891-content-and-subscription-guidelines>):
21
+ - §1.2 Explicit Content — "Creators must flag individual episodes with the 'Explicit' tag if they contain explicit content (for example, profanity or content that may not be suitable for children)."(是一个**标记**义务,不是题材禁令)
22
+ - §1.3 Self-Censored Content / §1.4 Impersonation / §1.5 Manipulation / §1.6 Incomplete Content / §1.7 Rights Infringement / §1.8 Password-Protected Content / §1.9 Duplicate Content / §1.10 Apple Copyrighted Terms — 分别为:标题不得自我审查打码;不得模仿他人;不得操纵榜单;不得只有预告/广告;不得侵权;不得密码保护;不得重复投稿;不得冒用 Apple 商标。
23
+ - §2.2 Harmful or Objectionable Content — "Defamatory, discriminatory, or mean-spirited content … particular if the content is likely to humiliate, intimidate, harass, or harm individuals or groups or includes specific threats of violence … Professional political satirists and humorists are generally exempt from this requirement."(针对**攻击特定群体/个人**的内容;对本节目的产业新闻转述不适用)
24
+ - §2.4 Pornographic or Sexually Explicit Content — "Content promoting sexual violence or sexual humiliation."(禁止**推广**,不是禁止报道相关诉讼/政策)
25
+ - **页面没有任何条款按题材限制新闻、时政、贸易管制或政府相关报道**;核验时逐条确认过 §1.1–§1.12 与 §2.2/§2.4 的措辞。
20
26
  - **用户报告**:无(本节目在该平台无下架/拒审事件记录)。
21
27
  - **编辑建议(本技能)**:以下审核项为保守立场。
22
28
 
@@ -25,7 +31,7 @@ Review-item IDs here are **this skill's bookkeeping numbers**, not official plat
25
31
  | ID | Item | Grade |
26
32
  |----|------|-------|
27
33
  | AP-01 | **管辖口径边界**:不把国内牌照/新闻资质口径当作 Apple 规则适用 — Apple 按其自有 guidelines 审核;「无国内新闻资质」本身不是 Apple 平台的拒审理由。涉及中国大陆听众可达性的判断请回到各国内平台文件 | note |
28
- | AP-02 | 官方 guidelines 的内容类别限制(露骨、暴力、侵权等)— 条文未核验,引用时 evidenceGap | judge |
34
+ | AP-02 | 官方 guidelines 的内容类别限制(露骨、暴力、侵权等)。**2026-11-24 已逐条核验**:§1.2 只要求露骨内容打 Explicit 标记,§2.2/§2.4 只禁针对群体/个人的攻击与**推广**色情或性暴力,§1.4–§1.10 是冒充/操纵/侵权/重复类;**没有按题材(新闻、时政、贸易管制、政府)设限的条款**。因此一集产业/时政新闻只要事实有出处、不推广性暴力、不攻击群体,就不构成 Apple 侧拒审理由 → 不再 escalate、不再因「规则未核验」给 BLOCK。露骨言语忘打 Explicit 标记记 fix | note |
29
35
  | AP-03 | 元数据保真:标题/简介/分类不得与实际音频内容不符(官方 §1.1;通用层类别 4/5) | fix |
30
36
  | AP-04 | 可识别个人信息(通用层类别 3 直映射) | desensitize |
31
37
  | AP-05 | 本栏目的制作方式由频道/栏目设置说明。不要因为正文、口播或 show notes 缺少「文字由 AI 辅助整理,音频为 AI 合成配音」「本期音频为 AI 合成配音」或 “The audio in this episode is AI-synthesized.” 而记 fix,也不要提议把这些句子加回去(操作者裁定 2026-10-08)。假实测、假身份仍按 §1.1 / 类别 5 block。 | note |
@@ -33,4 +39,5 @@ Review-item IDs here are **this skill's bookkeeping numbers**, not official plat
33
39
 
34
40
  ## Open questions / escalation
35
41
 
36
- - 首次向该平台大规模投递前,人工读一遍 guidelines 并更新本文件的 Last verified 与 AP-02。
42
+ - 已关闭(2026-11-24):guidelines §1.1–§1.12 与 §2.2/§2.4 已逐条读完并更新 Last verified 与 AP-02。下一次只需复核页面是否改版,不重复整读。
43
+ - 若某集出现露骨言语,唯一动作是按 §1.2 打 Explicit 标记(AP-02 的 fix 分支),不是删稿或排除平台。
@@ -11,6 +11,14 @@ Review-item IDs here are **this skill's bookkeeping numbers**, not official plat
11
11
  | Evidence status | **AI 标识义务已核验**(《标识办法》官方原文 + 微信平台公告原文);WX-01/WX-04 仍为保守立场(规范原文未核验);2026-09-29 图文下架事件为**用户报告**,平台未给出书面理由 |
12
12
  | Changelog | 2026-09-29 — file created after the takedown report (task 0189) · 2026-10-10 — 操作者裁定:WX-02 降级为 note,不再 escalate · 2026-11-11 — 核验《人工智能生成合成内容标识办法》全文(cac.gov.cn 原文)与微信平台 2025-08-31 AI 标识公告;WX-03 由 evidenceGap 升级为已核验条文;新增 WX-05(自动化创作条款,官方口径转述) |
13
13
 
14
+ ## Operator rulings
15
+
16
+ - **2026-11-24** — WX-01(时政/公共事务主线)与 XY-02(小宇宙)同口径收紧适用范围:仅限**以中国
17
+ 国内政治、公共政策争议、社会公共事件为主线**的图文/音频。境外公司被其本国监管机构或安全审查、
18
+ 出口管制、外国情报类报道,属于产业新闻的监管面向,按 `note` 记录后照常投递(草稿行尤然:draft
19
+ 不触达读者)。规范原文仍未核验——本条是操作者承担风险的编辑口径,不是平台规则;若公众号给出书面
20
+ 拒审理由,回到本文件重评。
21
+
14
22
  ## Evidence distinctions
15
23
 
16
24
  - **官方规则(已核验原文)**:《人工智能生成合成内容标识办法》(cac.gov.cn,2025-03-14 发布,2025-09-01 施行);微信珊瑚安全公众号公告(2025-08-31)。关键条文:
@@ -35,3 +35,8 @@ Review-item IDs here are **this skill's bookkeeping numbers**, not official plat
35
35
  (`escalate: true`),不得静默 PASS。
36
36
  - 裁定 2026-10-10:XY-01 已按上表降级,资质口径本身不再触发人工复审;XY-02(时政主线)
37
37
  与证据缺口仍照旧 escalate。
38
+ - **操作者裁定 2026-11-24**(2026-11-24 当日剧集,lead = 英伟达复职 + 美国国家安全审查 + 出口管制
39
+ 委员会):XY-02 的适用范围限定为**以中国国内政治、公共政策争议、社会公共事件为主线**的单集;
40
+ 境外公司被其本国监管机构/安全审查、出口管制、外国情报类报道,属于产业新闻的监管面向,按
41
+ `note` 记录后照常投递,不再单独 `escalate`。平台条文未核验这一事实不变——本条是操作者承担风险
42
+ 的编辑口径,不是平台规则;若小宇宙给出书面拒审理由,回到本文件重评。
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: daily-news-cover
3
+ description: >-
4
+ Use the daily-news-cover skill to author the one text-free visual scene a daily AI news episode's
5
+ cover and social crop are rendered from — "write today's cover scene", "author the cover brief",
6
+ "fix the cover subject", "why did the cover miss the story". Owns scene selection and wording
7
+ against the shipped composition reference; never owns the headline, the pins or the renderer.
8
+ Modes: scene | brief.
9
+ requires: [cli:kk, local-fs]
10
+ ---
11
+
12
+ # daily-news-cover — the episode's one text-free scene
13
+
14
+ ## Purpose
15
+
16
+ One episode, one scene. This skill turns the episode's selected lead into a single concrete visual
17
+ scene that the pinned cover format renders and the deterministic compositor then carries the frozen
18
+ headline onto. Everything deterministic stays in code and is **out of scope**: the headline and
19
+ `sourceIds` (`news-editorial` mode `write`), the format/style/provider/model pins, the 1344 × 576 PNG
20
+ and 1200 × 630 JPG outputs, typography, cropping and caching (`plugins/kk/scripts/cover-compositor.ts`,
21
+ `kk stage daily-cover`, `kk stage daily-cover-normalize`).
22
+
23
+ The composition knowledge is shared, not restated here: read
24
+ `../news-editorial/references/daily-visual-composition.md` first. It owns the ten patterns, the
25
+ protected regions and the eight worked examples; this skill owns how a caller reaches them.
26
+
27
+ ## Invocation contract
28
+
29
+ | Mode | Input → output | Caller |
30
+ | --- | --- | --- |
31
+ | `scene` | the episode's selected lead (plan item `title` + `metadata.brief`) → the `cover` object inside the master script plan | `kk-news-generate` node `script-write` / `script-fix` |
32
+ | `brief` | the lead plan item → `{"subject": "…"}` at `23-cover/<run_date>_07_cover-brief.json` | legacy `kk-daily-ai-voice` / `kk-daily-ai-voice2` cover nodes |
33
+
34
+ The calling prompt supplies the paths. Write only the file it names, as one valid JSON value, and
35
+ never edit the input plan.
36
+
37
+ ## Rules
38
+
39
+ 1. **Pick the lead, once.** Use the episode's selected lead — the item whose `sourceIds` the frozen
40
+ headline rests on. When the lead's mainline is a political figure, an armed conflict or a non-AI
41
+ event, take the first in-scope item instead; an AI-subject public-policy story is in scope.
42
+ 2. **Pick one pattern** from the shared reference (product-led, then comparison, then metaphor) and
43
+ say which one in one clause. Never stack two.
44
+ 3. **Place the subject for the crop.** Focal subject in the upper-centre or right-third band; the
45
+ lower third stays empty for the composited headline; the subject's readable detail must survive
46
+ the 1:1 feed crop (the middle column, `x 384..960` of 1344).
47
+ 4. **Ground every noun in the sources.** No product, benchmark, number, place or person the plan item
48
+ does not name. A thin story gets a smaller, simpler object — never an invented one.
49
+ 5. **Scene only.** English, ≤240 characters, objects/settings/metaphor only. No text, letters,
50
+ numbers, logos, flags, or recognizable people; no style, colour, lighting or composition
51
+ instruction — the pinned style owns those.
52
+ 6. **Never touch the frozen identity.** `headline` and `sourceIds` come from editorial and stay
53
+ byte-identical; a scene edit is never a reason to re-freeze the title.
54
+
55
+ ## Mode: scene
56
+
57
+ Return the plan's `cover` field, keeping whatever the editorial layer already froze:
58
+
59
+ ```json
60
+ {
61
+ "scene": "…",
62
+ "headline": "…",
63
+ "sourceIds": ["…"]
64
+ }
65
+ ```
66
+
67
+ `scene` is the only field this skill authors. `headline` and `sourceIds` are copied through unchanged
68
+ when present. When the plan's `cover` is still the plain-string form, emit the object form only if the
69
+ headline is available to the caller; otherwise emit the string and let the title fall back to the
70
+ legacy shape.
71
+
72
+ ## Mode: brief
73
+
74
+ Write the legacy-compatible subject brief the existing render entry points already read:
75
+
76
+ ```json
77
+ { "subject": "…" }
78
+ ```
79
+
80
+ This is the same scene, wrapped for the pre-0385 shape. `kk stage daily-cover` reads `subject` and
81
+ degrades to the format's default subject when the brief is missing or invalid — so a brief you are not
82
+ sure about is still worth writing, but it is never worth inventing facts for.
83
+
84
+ ## Rejections
85
+
86
+ Return the scene again (or nothing, for a legacy brief) instead of spending a render when the draft
87
+ carries lettering, a logo, a flag, a recognizable person, a style instruction, a subject in the
88
+ headline zone, an unnamed product, or more than 240 characters. The shared reference's **Refusals**
89
+ section is the binding list.
90
+
91
+ ## References
92
+
93
+ - `../news-editorial/references/daily-visual-composition.md`: the ten patterns, protected regions,
94
+ eight worked examples, refusals.
95
+ - `../news-editorial/SKILL.md`: editorial ownership of the plan, the lead and the frozen headline.
96
+ - `plugins/kk/scripts/cover-compositor.ts`: the real crop and headline geometry.
@@ -0,0 +1,123 @@
1
+ ---
2
+ name: daily-news-illustrations
3
+ description: >-
4
+ Use the daily-news-illustrations skill to author the artwork direction a daily AI news episode's
5
+ Xiaohongshu card series renders from — "write the card scenes", "author the XHS card art", "why did
6
+ card 3 miss the story". Owns the per-card `subject` scene only, composed against the shipped
7
+ composition reference; never owns card copy, order, roles, the plan shape or the renderer.
8
+ Modes: card | inline.
9
+ requires: [cli:kk, local-fs]
10
+ ---
11
+
12
+ # daily-news-illustrations — the card series' artwork direction
13
+
14
+ ## Purpose
15
+
16
+ One ordered card series, one scene per card. This skill turns the episode's card plan into the
17
+ text-free English scenes the pinned `xhs-card` format renders, so every card in a day reads as one
18
+ series while still illustrating its own story. Everything deterministic stays in code and is **out of
19
+ scope**: `copy`, `points`, `role`, `layout`, card order, `title`/`body`, `sourcePoint`, `itemId`
20
+ (`news-editorial` mode `write`, `plugins/kk/scripts/daily-stages.ts` `dailyEditorialRender`), the
21
+ format/style/provider/model pins, the Chinese compositor, the published manifest and the resume path
22
+ (`kk stage daily-xhs-render`).
23
+
24
+ The composition knowledge is shared, not restated here: read
25
+ `../news-editorial/references/daily-visual-composition.md` first. It owns the ten patterns, the
26
+ protected regions and the eight worked examples. Card art differs from the cover only in what it
27
+ must survive: a card is composed with deterministic Chinese text, so the scene carries no lettering
28
+ and keeps its focal detail clear of the copy band.
29
+
30
+ ## Invocation contract
31
+
32
+ `card` mode: the ordered plan plus the selected items → one `subject` string per card.
33
+
34
+ | Caller | Input | Output |
35
+ | --- | --- | --- |
36
+ | `kk-news-generate` `script-write` / `script-fix` (canonical master plan) | `items[].card` (`copy`, `points`) + the matching plan `Doc` | only `items[].card.subject` |
37
+ | `kk-daily-ai-voice` / `kk-daily-ai-voice2` `xhs-write` (legacy card plan) | `cards[]` (`role`, `copy`, `points`, `sourcePoint`) + the plan `Doc[]` | only `cards[].subject` |
38
+ | manual standalone work | the same `{title, body, cards}` plan | the same `subject` fields, then `kk news generate-cards --work-dir <dir>` |
39
+
40
+ Write only the field the caller names. The caller's plan shape, keys, order and guards stay
41
+ byte-identical.
42
+
43
+ ## Rules
44
+
45
+ 1. **One card, one story.** Derive each content card's scene from the item it illustrates — the
46
+ approved `Doc`/lead and the fact that card's `sourcePoint` (or `points`) states. Never borrow a
47
+ neighbouring item's subject, and never invent a fact the plan does not carry.
48
+ 2. **Keep the derived cards derived.** The `cover` and `closing` cards take their scene from the
49
+ existing episode fallback (`dailyEditorialRender` uses the cover scene, else the first content
50
+ card's subject, else its neutral default). Do not ask for new episode-level fields and do not
51
+ override that derivation.
52
+ 3. **Choose one pattern** from the shared reference — a clear object, or a simple two-part comparison
53
+ when the card's own fact is an A/B. Never stack patterns, never illustrate the copy literally.
54
+ 4. **Compose for the text.** The compositor writes Chinese copy over the artwork: keep the focal
55
+ detail out of the copy band, and keep it inside the middle column so a square crop still shows it.
56
+ 5. **Scene only.** English, ≤240 characters, objects/settings/metaphor only. No text, letters,
57
+ numbers, logos, flags or recognizable people; no style, colour, lighting or composition
58
+ instruction — the pinned style owns those.
59
+ 6. **Series coherence without repetition.** Cards of one episode share a world (materials, palette
60
+ family, light) through the pinned style, not through copied scenes: two cards of the same episode
61
+ must not carry the same scene.
62
+
63
+ ## Mode: inline
64
+
65
+ Author `22-article/illustrations/plan.json` for the reviewed daily article (task 0426 — opt-in via
66
+ `kk news generate --inline-illustrations`, default off):
67
+
68
+ ```json
69
+ {
70
+ "version": 1,
71
+ "figures": [
72
+ { "anchor": "<a whole paragraph, verbatim>", "sourceId": "<admitted plan item id>",
73
+ "concept": "English, text-free scene", "caption": "≤30 Chinese chars", "altText": "≤40 Chinese chars" }
74
+ ]
75
+ }
76
+ ```
77
+
78
+ 1. **One or two figures, no more.** A figure earns its place only when it explains something the
79
+ paragraph does not say in words — a mechanism, a comparison, a flow. Two is the ceiling.
80
+ 2. **Anchor = a whole prose paragraph, copied verbatim.** Never a heading, a quotation, a list item,
81
+ a line inside a fenced code block, an existing image, or a sentence inside a longer paragraph:
82
+ the stage refuses every one of those, and it refuses two figures on the same paragraph.
83
+ 3. **Body order.** Figure 1's paragraph comes before figure 2's; the stage enforces it.
84
+ 4. **`sourceId` must be an admitted plan item** — the same id the paragraph's story carries. A
85
+ figure anchored to an unadmitted claim is refused before any spend.
86
+ 5. **Caption and alt text are editorial**, in Chinese: the caption is what the reader sees under the
87
+ figure (≤30 chars), the alt text is what a screen reader announces (≤40 chars). Never restate the
88
+ paragraph; say what the figure shows.
89
+ 6. **Concept is the scene**, English, ≤240 characters, text-free — the same contract as `card` and
90
+ `scene`, composed per the shared reference.
91
+
92
+ The stage — not you — decides whether any of this may render: it re-checks the drafts' content-safety
93
+ stamp and the WeChat article target before the first provider call, then renders or resumes one
94
+ `job: illustration` request per figure.
95
+
96
+ ## Mode: card
97
+
98
+ Emit the plan with **only** the `subject` fields filled in:
99
+
100
+ ```json
101
+ { "cards": [ { "role": "cover", "subject": "…" }, { "role": "content", "subject": "…" } ] }
102
+ ```
103
+
104
+ `copy`, `points`, `layout`, `role`, `sourcePoint`, `itemId`, `title` and `body` are copied through
105
+ unchanged. A card whose `copy`/`points` are missing is the caller's defect, not yours to repair: leave
106
+ its `subject` empty and say so, so `daily-xhs-render` refuses the plan with its own named error rather
107
+ than rendering an unsourced scene.
108
+
109
+ ## Rejections
110
+
111
+ Return the scene again instead of spending a render when the draft carries lettering, a logo, a flag,
112
+ a recognizable person, a style instruction, a scene copied from another card, an unnamed product, or
113
+ more than 240 characters. The shared reference's **Refusals** section is the binding list.
114
+
115
+ ## References
116
+
117
+ - `../news-editorial/references/daily-visual-composition.md`: patterns, protected regions, worked
118
+ examples, refusals.
119
+ - `../news-editorial/SKILL.md`: ownership of `cards.title/body`, `items[].card.copy/points` and the
120
+ plan shape.
121
+ - `../daily-news-cover/SKILL.md`: the episode cover scene (0424), which the cover card reuses.
122
+ - `plugins/kk/scripts/daily-stages.ts`: `dailyEditorialRender` (card plan + fallback derivation) and
123
+ `dailyXhsRender` (per-card render, cached-artifact reuse, manifest).
@@ -79,7 +79,7 @@ Read the curated plan `Doc[]` (`--in`) and the curate exclusions (`--excluded`).
79
79
  - `lead`: one spoken bridge into the item (≤80 chars). It is not the title and not a rhetorical question.
80
80
  - `insight` (optional; omitting it and writing `""` are the same thing — both validate, and the builder and the
81
81
  renderer skip only the comment sentence, never the item): 2–4 sentences (≤380 chars) anchored to the doc's named actors, saying why it matters or what to watch. At most one sentence of commentary is required for a short item — leave the field as a single sentence, or omit the comment entirely when the item needs no judgement. Never restate the doc's facts, numbers or phrasing (the listener has just heard them), give no generic advice or methodology, and add no new facts. The cap is a ceiling, not a target.
82
- - `card`: optional per-item card slot `{ "copy": "≤12字标题", "points": ["要点1", "要点2"], "subject": "English visual scene" }` (2–4 points).
82
+ - `card`: optional per-item card slot `{ "copy": "≤12字标题", "points": ["要点1", "要点2"], "subject": "English visual scene" }` (2–4 points). `subject` is composed per `../daily-news-illustrations/SKILL.md` mode `card` — the card series' artwork direction is that skill's, while `copy`/`points` and the episode `cards.title`/`body` stay here.
83
83
 
84
84
  At the episode level, write:
85
85
 
@@ -92,7 +92,7 @@ At the episode level, write:
92
92
  and ONE point, and the cover headline reuses that same point (`plugins/kk/scripts/episode-identity.ts` freezes
93
93
  it; `daily-editorial-render` stamps it, `publish-prep` refuses to publish when admission removed the point's
94
94
  supporting source). Never invent a second title for a channel.
95
- - `cover`: either one concrete visual scene in English (a plain string, ≤240 chars: objects, settings, symbols, metaphor; no text, letters, numbers, logos, flags, or recognizable people) or — required for the 0385 R4 title — the object form
95
+ - `cover`: either one concrete visual scene in English (a plain string, ≤240 chars: objects, settings, symbols, metaphor; no text, letters, numbers, logos, flags, or recognizable people — compose it per `references/daily-visual-composition.md`) or — required for the 0385 R4 title — the object form
96
96
  `{ "scene": "…", "headline": "…", "sourceIds": ["<plan item id>"] }`:
97
97
  - `headline` (required, ≤25 chars): the 当日要点 the episode title freezes — one line, the day's most important
98
98
  development in plain language, no date/issue/column name. The title prefix supplies the rest.
@@ -102,7 +102,7 @@ At the episode level, write:
102
102
  admission drops every one of them the point is withheld instead of being published unsupported. Omitting
103
103
  `sourceIds` means "the admitted lead", which is the usual case.
104
104
  - `cards`: `{ "title": "≤20字总标题", "body": "中文导语段落 + 3-5个话题标签" }` for the episode card series.
105
- - `social`: `{ "short": "≤100字 X/Threads/微博推广短帖钩子(bundle-variants 会统一前置节目标题、末尾注入 {{podcast_url}};微博附首张卡片图,X/Threads 仅发链接以展示 1200×630 OG 卡片)", "long": "≤300字 LinkedIn 精选要点推广(禁止长文 Digest,bundle-variants 会前置标题与 {{podcast_url}} 并仅发链接以展示 OG 卡片)" }` (plain text, no markdown headings, no emoji spam, grounded in the plan).
105
+ - `social`: `{ "short": "≤100字 X/Threads/微博推广短帖钩子(bundle-variants 会统一前置节目标题、末尾注入 {{podcast_url}};微博/X/Threads/LinkedIn 均不附上传图片,以链接展示 1200×630 OG 卡片;Jike 保留首张卡片图)", "long": "≤300字 LinkedIn 精选要点推广(禁止长文 Digest,bundle-variants 会前置标题与 {{podcast_url}} 并仅发链接以展示 OG 卡片)" }` (plain text, no markdown headings, no emoji spam, grounded in the plan).
106
106
 
107
107
  Output:
108
108
 
@@ -206,4 +206,6 @@ Rules the deterministic commit enforces (a violation is a failed run, not a sile
206
206
  ## References
207
207
 
208
208
  - `references/style-contract.zh.md`: the column's style contract and machine block (caps, banned).
209
+ - `references/daily-visual-composition.md`: the shared cover-scene direction — the ten patterns, the protected headline/logo zones, eight worked examples and the refusal list. Read it before authoring `cover`, or follow `../daily-news-cover/SKILL.md` mode `scene`, which owns the scene contract.
210
+ - `../daily-news-illustrations/SKILL.md`: the card series' artwork direction (mode `card`) — one sourced scene per card, cover/closing from the existing fallback, never a new episode-level field.
209
211
  - `references/selection.md`: curate policy (boundary, ordering, depth budget, translation).
@@ -0,0 +1,150 @@
1
+ # Daily visual composition — one text-free scene per episode
2
+
3
+ Shared by `kk:daily-news-cover` (the cover) and the card series. It owns *how to pick and describe*
4
+ the scene; the renderers own pixels, typography and pins. Nothing here is vendor artwork or vendor
5
+ prose: every pattern and example is written for this product, so the reference ships inside the
6
+ package and reads the same on any machine.
7
+
8
+ ## The canvas the scene has to survive
9
+
10
+ | Fact | Value | Owner |
11
+ | --- | --- | --- |
12
+ | Cover canvas | 1344 × 576 (21:9) | `plugins/generations/image-gen/presets/formats/daily-news-podcast-cover.yaml` |
13
+ | Social crop | 1200 × 630 JPG | `plugins/kk/scripts/cover-compositor.ts` |
14
+ | Headline zone | lower third, ≤25 chars/row, ≤3 rows | `cover-compositor.ts` |
15
+ | Safe region | the intersection of every target crop, inset 32 px — the only area the headline may occupy | `cover-compositor.ts` (`SAFE_MARGIN`) |
16
+ | Tightest crop | the 1:1 feed crop keeps only x 384..960 of the 1344-wide frame | `cover-compositor.ts` |
17
+
18
+ The model authors a **scene**, never a layout: the format template already asks for "focal subject in
19
+ upper-center or right-third, generous dark negative space in the lower third". Your job is to choose a
20
+ focal subject that belongs in that band and to keep the middle column (`x 384..960`) meaningful,
21
+ because that column is all the 1:1 feed crop will ever show.
22
+
23
+ ## Choosing a pattern
24
+
25
+ Pick the first rule that applies, and say which one you picked in one clause of the scene:
26
+
27
+ 1. **Product-led** — the story names a product, device, model card, dataset, robot or facility you can
28
+ point at. Show that object doing its thing. This is the default for release, benchmark, hardware and
29
+ deployment news.
30
+ 2. **Comparison** — the story's fact is an A/B (before/after, ours/theirs, price/performance, two
31
+ vendors, an old limit and a new one). Only when the source states both sides; show the pair in one
32
+ frame, never two collages.
33
+ 3. **Metaphor** — the story is a policy, market, litigation or safety event with no photographable
34
+ object. Use one concrete physical object that carries the same relation (a locked gate, a
35
+ weighbridge, a sealed archive box, a printed contract on a desk). Concrete noun, not an abstract
36
+ symbol.
37
+
38
+ Never mix two patterns in one scene, never illustrate the headline's wording literally, and never
39
+ invent a product, benchmark or person the sources do not name.
40
+
41
+ ## The ten patterns
42
+
43
+ Each row is a layout you may describe. "Focal band" is where the subject sits on the 1344 × 576 frame;
44
+ "Crop-safe" is what must stay inside `x 384..960`.
45
+
46
+ | # | Pattern | Use when | Focal band | Crop-safe requirement |
47
+ | --- | --- | --- | --- | --- |
48
+ | 1 | Product hero, right third | A released product or device is the news | right third, mid-height | the product's silhouette reaches into the middle column |
49
+ | 2 | Product hero, upper centre | A model, chip or dataset is shown as an object | upper centre | the object's core detail sits inside the middle column |
50
+ | 3 | Cleanroom / lab bench | Manufacturing, yield, process or hardware claims | upper centre, bench line low | the bench edge and the handled object both survive |
51
+ | 4 | Screen-in-room | Software, API, agent or UI release | right third screen, room left | the screen's frame is inside the middle column |
52
+ | 5 | Two-object comparison | A sourced A/B fact (price, speed, size) | left and right thirds, equal weight | both objects enter the middle column by at least a third |
53
+ | 6 | Before/after seam | A limit lifted, a cost dropped, a migration done | vertical seam just right of centre | the seam itself is inside the middle column |
54
+ | 7 | Supply-chain chain | Chips, export controls, procurement, logistics | diagonal chain from lower-left to upper-right | the chain's middle link sits in the middle column |
55
+ | 8 | Institutional facade | Regulation, litigation, standards, enforcement | upper centre facade, steps low | the doorway and the steps both survive |
56
+ | 9 | Sealed object on a desk | Market, funding, contracts, a withheld claim | upper centre object on a low desk plane | the object and its seal stay in the middle column |
57
+ | 10 | Single concrete metaphor | Safety, alignment, opacity, a broken promise | upper centre object, generous dark space | the metaphor's single readable detail sits in the middle column |
58
+
59
+ Two patterns may not be stacked: pick one, and let the negative space in the lower third stay empty
60
+ for the composited headline.
61
+
62
+ ## Eight worked examples
63
+
64
+ Every example names a **sourced focal subject** (the plan item it comes from), its **spatial placement**
65
+ and the **crop-safe region** it protects. The quoted string is what you hand the renderer: English,
66
+ ≤240 characters, no text.
67
+
68
+ ### E1 — product-led, released accelerator (pattern 1)
69
+
70
+ - Source: the lead plan item's `title`/`metadata.brief` naming a specific accelerator or chip.
71
+ - Focal subject: that chip on a handler, pins catching the light.
72
+ - Placement: right third, mid-height; handler arm enters from the upper right.
73
+ - Crop-safe: the chip body and its socket must reach `x 384..960`.
74
+ - Scene: `a single server accelerator card held by a robotic handler arm, copper heatsink fins catching cold light, dark datacenter racks behind, empty dark lower third`
75
+
76
+ ### E2 — product-led, model release (pattern 2)
77
+
78
+ - Source: the item naming the model and what it does, not its benchmark numbers.
79
+ - Focal subject: a glowing compute module as the model's stand-in object.
80
+ - Placement: upper centre, small and dense.
81
+ - Crop-safe: the module's core stays inside the middle column at every crop.
82
+ - Scene: `a compact illuminated compute module floating above a dark plinth, thin light filaments rising from its surface, deep shadows, empty dark lower third`
83
+
84
+ ### E3 — product-led, robot or embodied release (pattern 1)
85
+
86
+ - Source: the item naming the robot, the task and the venue.
87
+ - Focal subject: the robot's end effector in mid-task.
88
+ - Placement: right third, reaching left into the middle column.
89
+ - Crop-safe: the gripper and the object it holds both survive the 1:1 crop.
90
+ - Scene: `a robotic gripper closing on a small metal component at a bright assembly bench, shallow depth of field, industrial hall behind, empty dark lower third`
91
+
92
+ ### E4 — comparison, two vendors (pattern 5)
93
+
94
+ - Source: a sourced A/B fact — two named vendors, two measured numbers, two prices.
95
+ - Focal subject: two identical objects, one visibly larger or brighter, no logos.
96
+ - Placement: left and right thirds, equal visual weight.
97
+ - Crop-safe: both objects enter the middle column; neither is cropped out at 1:1.
98
+ - Scene: `two identical unmarked metal server chassis side by side on a dark floor, the right one taller with brighter status lights, cold rim light, empty dark lower third`
99
+
100
+ ### E5 — comparison, limit lifted (pattern 6)
101
+
102
+ - Source: the item stating the old limit and the new one.
103
+ - Focal subject: one wall of stacked panels ending mid-frame, the far half clean.
104
+ - Placement: vertical seam just right of centre.
105
+ - Crop-safe: the seam sits inside the middle column so both halves read at 1:1.
106
+ - Scene: `a wall of stacked dark glass panels, the left half frosted and the right half clear, a clean vertical seam just right of centre, empty dark lower third`
107
+
108
+ ### E6 — supply chain, export controls (pattern 7)
109
+
110
+ - Source: the item naming the component, the restriction and the two countries or firms.
111
+ - Focal subject: a chain of identical sealed crates on a loading line.
112
+ - Placement: diagonal from lower-left to upper-right.
113
+ - Crop-safe: the middle crate sits inside the middle column.
114
+ - Scene: `a diagonal line of sealed cargo crates on an industrial loading dock, cold overhead light, the middle crate in sharp focus, empty dark lower third`
115
+
116
+ ### E7 — institutional, regulation or litigation (pattern 8)
117
+
118
+ - Source: the item naming the regulator, court or standard, and the actor it acts on.
119
+ - Focal subject: the institution's steps and doorway, no crest, no flag, no readable sign.
120
+ - Placement: upper centre facade, steps low in frame.
121
+ - Crop-safe: doorway and steps both stay inside the middle column.
122
+ - Scene: `the stone steps and open doorway of a neoclassical institutional building at dusk, unmarked facade, cold blue light, empty dark lower third`
123
+
124
+ ### E8 — metaphor, a withheld or broken claim (pattern 10)
125
+
126
+ - Source: an item whose fact is an unverifiable claim, a retraction or a sealed filing.
127
+ - Focal subject: one sealed document box on a bare desk, tape intact.
128
+ - Placement: upper centre on a low desk plane.
129
+ - Crop-safe: the box and its seal remain inside the middle column.
130
+ - Scene: `a single sealed cardboard document box taped shut on a bare metal desk, one bare bulb above, deep shadow around it, empty dark lower third`
131
+
132
+ ## Refusals
133
+
134
+ A scene is rejected before any spend when it contains any of:
135
+
136
+ - lettering of any kind — words, captions, labels, UI text, code, numbers, signage;
137
+ - a logo, brand mark, crest, flag or uniform insignia;
138
+ - a recognizable real person, or a person's face as the focal subject;
139
+ - a style, colour, lighting or lens instruction (the pinned style owns those);
140
+ - two patterns at once, or a focal subject in the lower third where the headline is composited;
141
+ - a product, benchmark or actor the sources do not name;
142
+ - more than 240 characters, or a non-English scene.
143
+
144
+ ## Pointers
145
+
146
+ - Composition and typography pixels: `plugins/kk/scripts/cover-compositor.ts`.
147
+ - The pinned look: `daily-news-podcast-cover` × `quasi-news-podcast` (format preset above).
148
+ - Card series: `kk:xhs-images` reuses this reference for its card artwork direction.
149
+ - Editorial ownership of `cover.headline`, `sourceIds` and the plan shape:
150
+ `plugins/kk/skills/news-editorial/SKILL.md` (mode `write`).
@@ -82,7 +82,7 @@
82
82
  - `outro`:简短收束语,接在固定致谢之前,不超过 150 字。跨条目的综评也在这里:当天有真实可归纳的共性才写,价值不够或时长紧张时省略,只留一句收束;不为了「串起来」生造主题,不把综评写成第二个开场。
83
83
  - `cover`:头版具象视觉内容。字符串形态是英文画面场景(不超过 240 字符,不含文字、数字、商标、旗帜或可辨识真人);0385 R4 起要冻结节目标题就必须写对象形态 `{ "scene": "…", "headline": "…", "sourceIds": ["<计划条目 id>"] }`:`headline`(必填,不超过 25 字)是本期冻结的**当日要点**,单行白话,不带日期、期号、栏目名;`scene` 可选,沿用同一英文画面契约(缺省时封面图回落默认画面主题);`sourceIds` 可选,写明这条要点依据的计划条目 id(通常是头条),一旦准入把这些条目全部丢弃,这条要点就被撤下而不是带着无依据的标题发布;不写 `sourceIds` 时默认取准入后的头条条目。只写字符串形态不会冻结要点,标题只能回落旧标题。
84
84
  - `cards`:小红书图文笔记总标题 `title`(不超过 20 字)与导语 `body`,单条卡片标题 `card.copy`(不超过 12 字)、2–4 条短要点 `card.points`、英文画面 `card.subject`。
85
- - `social`:面向 X / Threads / 微博 的推广短帖钩子 `short`(不超过 100 字)与面向 LinkedIn 的精选要点推广 `long`(不超过 300 字;禁止写成多段长文摘要),`bundle-variants` 会统一前置冻结节目标题、末尾注入 `{{podcast_url}}` 播客页链接;仅微博附首张卡片图,X / Threads / LinkedIn 不附图片以触发 `1200×630` Open Graph 链接预览卡。
85
+ - `social`:面向 X / Threads / 微博 的推广短帖钩子 `short`(不超过 100 字)与面向 LinkedIn 的精选要点推广 `long`(不超过 300 字;禁止写成多段长文摘要),`bundle-variants` 会统一前置冻结节目标题、末尾注入 `{{podcast_url}}` 播客页链接;微博 / X / Threads / LinkedIn 均不附上传图片,以链接触发 `1200×630` Open Graph 预览卡,Jike 保留首张卡片图。
86
86
 
87
87
  ## 节目标题与节目身份(0385 R4)
88
88
 
@@ -36,6 +36,7 @@ vars:
36
36
  agent: inline
37
37
  skill_dir: ""
38
38
  auto: "false"
39
+ adapt_only: "false"
39
40
  preset: ""
40
41
  __hitlAnswer: ""
41
42
 
@@ -292,10 +293,21 @@ states:
292
293
  description: "Terminal — the run was rejected, the judge failed, or a revision budget ran out"
293
294
 
294
295
  transitions:
296
+ - from: executor-probe
297
+ to: adapt
298
+ description: "Adapt-only mode (--adapt-only): skip outline/draft/judge and adapt + freeze the seeded draft"
299
+ guard:
300
+ kind: shell
301
+ options:
302
+ command: 'test "${vars.adapt_only}" = "true"'
303
+
295
304
  - from: executor-probe
296
305
  to: outline-write
306
+ description: "Full authoring mode: proceed to outline options"
297
307
  guard:
298
- kind: always
308
+ kind: shell
309
+ options:
310
+ command: 'test "${vars.adapt_only}" != "true"'
299
311
 
300
312
  - from: outline-write
301
313
  to: draft-write
@@ -48,6 +48,10 @@ vars:
48
48
  podcast_artist: "Robin Min"
49
49
  podcast_album: "咸话咸说"
50
50
  cover_enabled: "true"
51
+ # 0424 R2: the package's skill root, read in place by the cover brief (the daily-news-cover skill
52
+ # and the shared composition reference). A direct `spur workflow run` gets the checkout-relative
53
+ # default; `kk news generate` passes the resolved absolute root.
54
+ visual_skill_root: "plugins/kk/skills"
51
55
  # F614: the daily cover pins provider+model in vars — each provider has its own look, so the
52
56
  # pin is part of the style contract; it stays a var because the right value depends on which
53
57
  # credentials the machine has (2026-09-24 run: minimax/image-01).
@@ -261,10 +265,9 @@ states:
261
265
  agent: ${vars.agent}
262
266
  # ADR-115 error tier: keep this prompt <= 1000 chars.
263
267
  input: |
268
+ Follow mode `brief` in ${vars.visual_skill_root}/daily-news-cover/SKILL.md (read it first; composition: ${vars.visual_skill_root}/news-editorial/references/daily-visual-composition.md).
264
269
  Read ${vars.work_dir}/21-plan/${vars.run_date}_03_plan_plan.json — a JSON array of plan docs; don't edit it.
265
270
  Take item 1 only (its "title" and "metadata.brief") — the episode's lead story. If item 1's mainline IS a political figure, an armed conflict or a non-AI event, take the first in-scope item instead; an AI-subject public-policy story (AI regulation, model liability/litigation, export controls, procurement, standards and safety enforcement) is in scope — keep it.
266
- Write one concrete visual scene in English, ≤240 characters, that a viewer would connect to that story: objects, settings, symbols, metaphor.
267
- No text, letters, numbers, logos, brand marks, flags, or recognizable real people. No style, color, lighting, or composition words — the preset owns those.
268
271
  Output strictly valid JSON {"subject": "..."} to ${vars.work_dir}/23-cover/${vars.run_date}_07_cover-brief.json.
269
272
  expectFile: ${vars.work_dir}/23-cover/${vars.run_date}_07_cover-brief.json
270
273
  allowAppend: false
@@ -485,7 +488,7 @@ states:
485
488
  Take item 1 only (its "title" and "metadata.brief") — the lead story.
486
489
  Write an XHS note: "title" (≤20 chars) and "body" (≤1000 Chinese chars, 3-5 hashtags at the end). 选题边界:只写 AI 主题;主线是政治人物本人、武装冲突或非 AI 事件就跳过;AI 监管、模型责任与诉讼、出口管制、采购、标准与安全执法属 AI 主题公共政策,照常写入。
487
490
  Write ${vars.xhs_cards} cards: card 1 "cover", the rest "content", a final "closing". Each card: "role", "copy" (≤12 chars), "points" (2-4 bullets), "layout", "subject" (English visual scene), "sourcePoint" (the story fact that card uses).
488
- Ground every field in that story — no invented facts. No text, letters, numbers, logos or real people in "subject".
491
+ Card art: mode `card` in ${vars.visual_skill_root}/daily-news-illustrations/SKILL.md owns each "subject"; ground every other field in that story — no invented facts.
489
492
  Output strictly valid JSON {"title": "...", "body": "...", "cards": [...]} to ${vars.work_dir}/25-xhs/${vars.run_date}_18_xhs_plan.json.
490
493
  expectFile: ${vars.work_dir}/25-xhs/${vars.run_date}_18_xhs_plan.json
491
494
  allowAppend: false
@@ -46,6 +46,10 @@ vars:
46
46
  podcast_artist: "Robin Min"
47
47
  podcast_album: "咸话咸说"
48
48
  cover_enabled: "true"
49
+ # 0424 R2: the package's skill root, read in place by the cover brief (the daily-news-cover skill
50
+ # and the shared composition reference). A direct `spur workflow run` gets the checkout-relative
51
+ # default; `kk news generate` passes the resolved absolute root.
52
+ visual_skill_root: "plugins/kk/skills"
49
53
  cover_provider: "minimax"
50
54
  cover_model: "image-01"
51
55
  cover_fallback: ""
@@ -465,10 +469,9 @@ nodes:
465
469
  timeoutMs: 600000
466
470
  # ADR-115 error tier: keep this prompt <= 1000 chars.
467
471
  input: |
472
+ Follow mode `brief` in ${vars.visual_skill_root}/daily-news-cover/SKILL.md (read it first; composition: ${vars.visual_skill_root}/news-editorial/references/daily-visual-composition.md).
468
473
  Read ${vars.work_dir}/21-plan/${vars.run_date}_03_plan_plan.json — a JSON array of plan docs; don't edit it.
469
474
  Take item 1 only (its "title" and "metadata.brief") — the episode's lead story. If item 1's mainline IS a political figure, an armed conflict or a non-AI event, take the first in-scope item instead; an AI-subject public-policy story (AI regulation, model liability/litigation, export controls, procurement, standards and safety enforcement) is in scope — keep it.
470
- Write one concrete visual scene in English, ≤240 characters, that a viewer would connect to that story: objects, settings, symbols, metaphor.
471
- No text, letters, numbers, logos, brand marks, flags, or recognizable real people. No style, color, lighting, or composition words — the preset owns those.
472
475
  Output strictly valid JSON {"subject": "..."} to ${vars.work_dir}/23-cover/${vars.run_date}_07_cover-brief.json.
473
476
  expectFile: ${vars.work_dir}/23-cover/${vars.run_date}_07_cover-brief.json
474
477
  allowAppend: false
@@ -770,10 +773,9 @@ nodes:
770
773
  # ADR-115 error tier: keep this prompt <= 1000 chars.
771
774
  input: |
772
775
  Read ${vars.work_dir}/21-plan/${vars.run_date}_03_plan_plan.json — a JSON array of news docs; don't edit it.
773
- Plan the whole episode; card 1 is the hook.
774
776
  Write an XHS note: "title" (≤20 chars) and "body" (Chinese lead paragraph + 3-5 hashtags) — the stage appends one numbered line per image below it. 选题边界:只写 AI 主题;主线是政治人物本人、武装冲突或非 AI 事件就跳过;AI 监管、模型责任与诉讼、出口管制、采购、标准与安全执法属 AI 主题公共政策,照常写入。
775
777
  Write ${vars.xhs_cards} cards in plan order: card 1 "cover"; one "content" per plan item (max ${vars.xhs_cards} - 2); last "closing". Each card: "role", "copy" (≤12 chars), "points" (2-4 bullets), "layout", "subject" (English visual scene), "sourcePoint" (that item's fact), "itemId" (its "id").
776
- Ground every field in that item — no invented facts. No writing, letters, numbers, logos or people; screens stay blank.
778
+ Card art: mode `card` in ${vars.visual_skill_root}/daily-news-illustrations/SKILL.md owns each "subject"; ground every other field in that item — no invented facts.
777
779
  Output strictly valid JSON {"title": "...", "body": "...", "cards": [...]} to ${vars.work_dir}/25-xhs/${vars.run_date}_18_xhs_plan.json.
778
780
  expectFile: ${vars.work_dir}/25-xhs/${vars.run_date}_18_xhs_plan.json
779
781
  allowAppend: false