@gobing-ai/knowledge-kit 0.0.33 → 0.0.35

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 +25191 -24167
  3. package/package.json +4 -4
  4. package/plugins/generations/content-gen/dist/index.js +9 -9
  5. package/plugins/generations/core-facts-gen/dist/index.js +12 -12
  6. package/plugins/generations/daily-article-gen/dist/index.js +31 -23
  7. package/plugins/generations/daily-article-gen/src/index.ts +39 -14
  8. package/plugins/generations/dailynews-gen/dist/index.js +23 -21
  9. package/plugins/generations/dailynews-gen/src/script-builder.ts +30 -26
  10. package/plugins/generations/episode-plan-gen/dist/index.js +12 -12
  11. package/plugins/generations/gemini-tts/dist/index.js +13 -12
  12. package/plugins/generations/image-gen/dist/index.js +26 -11
  13. package/plugins/generations/image-gen/presets/formats/xhs-card.yaml +16 -14
  14. package/plugins/generations/image-gen/presets/styles/xhs-knowledge.yaml +2 -2
  15. package/plugins/generations/image-gen/src/compose/card.ts +17 -2
  16. package/plugins/generations/news-report-gen/dist/index.js +12 -12
  17. package/plugins/generations/omni-voice-gen/plugin.json +1 -1
  18. package/plugins/generations/voice-gen/dist/index.js +13 -12
  19. package/plugins/generations/voice-gen/src/index.ts +9 -3
  20. package/plugins/ingestions/aihot-ingest/dist/index.js +12 -12
  21. package/plugins/ingestions/horizon-ingest/dist/index.js +12 -12
  22. package/plugins/ingestions/karakeep-local/dist/index.js +13 -13
  23. package/plugins/ingestions/last30days-ingest/dist/index.js +12 -12
  24. package/plugins/ingestions/web-search/dist/index.js +10 -10
  25. package/plugins/kk/decisions/extract/ai-news.yaml +6 -0
  26. package/plugins/kk/decisions/kk-items.yaml +69 -3
  27. package/plugins/kk/plugin.json +1 -1
  28. package/plugins/kk/scripts/daily-stages.ts +834 -87
  29. package/plugins/kk/scripts/daily-voice-style.zh.md +15 -10
  30. package/plugins/kk/scripts/kk-workflow-stages.ts +46 -3
  31. package/plugins/kk/skills/content-safety/SKILL.md +1 -1
  32. package/plugins/kk/skills/content-safety/references/platforms/apple-podcasts.md +2 -2
  33. package/plugins/kk/skills/content-safety/references/platforms/wechatmp.md +2 -2
  34. package/plugins/kk/skills/content-safety/references/platforms/xiaoyuzhou.md +4 -2
  35. package/plugins/kk/workflows/kk-collect.yaml +7 -9
  36. package/plugins/kk/workflows/kk-daily-ai-voice.yaml +32 -7
  37. package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +169 -47
  38. package/plugins/kk/workflows/kk-daily-safety.yaml +9 -12
  39. package/plugins/publishings/emdash-pub/dist/index.js +9 -9
  40. package/plugins/publishings/infoq-pub/dist/index.js +22 -22
  41. package/plugins/publishings/infoq-pub/dist/profile-check.js +30336 -0
  42. package/plugins/publishings/infoq-pub/plugin.json +1 -1
  43. package/plugins/publishings/juejin-pub/dist/index.js +22 -22
  44. package/plugins/publishings/juejin-pub/dist/profile-check.js +30322 -0
  45. package/plugins/publishings/juejin-pub/plugin.json +1 -1
  46. package/plugins/publishings/medium-pub/dist/index.js +9 -9
  47. package/plugins/publishings/podcast-pub/dist/index.js +9 -9
  48. package/plugins/publishings/qiita-pub/dist/index.js +9 -9
  49. package/plugins/publishings/substack-pub/dist/index.js +22 -22
  50. package/plugins/publishings/substack-pub/dist/profile-check.js +30392 -0
  51. package/plugins/publishings/substack-pub/plugin.json +1 -1
  52. package/plugins/publishings/surfdash-pub/dist/index.js +9 -9
  53. package/plugins/publishings/wechatmp-pub/dist/index.js +329 -154
  54. package/plugins/publishings/wechatmp-pub/dist/profile-check.js +30271 -0
  55. package/plugins/publishings/wechatmp-pub/plugin.json +1 -1
  56. package/plugins/publishings/wechatmp-pub/src/enrich.ts +106 -145
  57. package/plugins/publishings/wechatmp-pub/src/flow.ts +283 -42
  58. package/plugins/publishings/wechatmp-pub/src/page.ts +20 -0
  59. package/plugins/publishings/x-pub/dist/index.js +22 -22
  60. package/plugins/publishings/x-pub/dist/profile-check.js +30328 -0
  61. package/plugins/publishings/x-pub/plugin.json +1 -1
  62. package/plugins/publishings/xhs-pub/dist/index.js +76 -27
  63. package/plugins/publishings/xhs-pub/dist/profile-check.js +30538 -0
  64. package/plugins/publishings/xhs-pub/plugin.json +1 -1
  65. package/plugins/publishings/xhs-pub/src/flow.ts +9 -3
  66. package/plugins/publishings/xhs-pub/src/index.ts +111 -5
  67. package/plugins/publishings/zenn-pub/dist/index.js +9 -9
  68. package/plugins/generations/omni-voice-gen/dist/omni-voice-gen-prr8skpb. +0 -2
  69. package/plugins/generations/omni-voice-gen/dist/omni-voice-gen.js +0 -6
@@ -13,9 +13,11 @@ $schema: "@gobing-ai/spur/schemas/decision-catalog.schema.json"
13
13
  version: 1
14
14
 
15
15
  defaults:
16
- # ADR-125 value, in lockstep with config/decisions/task-pipeline.yaml. A model answer
17
- # below this resolves to the decision's declared fallback with source: default.
18
- minConfidence: 0.8
16
+ # 0 since task 0226: every model answer is accepted raw, so a low-confidence answer is
17
+ # recorded (raw_value/raw_confidence) instead of being resolved to the declared fallback.
18
+ # The confidence threshold lives in the kk config (`store.labels.min_confidence`), where it
19
+ # gates only which stored observation is current for extraction — never this pass.
20
+ minConfidence: 0
19
21
 
20
22
  decisions:
21
23
  kk-item-category:
@@ -111,3 +113,67 @@ decisions:
111
113
  - Engagement magnitude above 100 — a widely shared story.
112
114
  - Engagement magnitude above 1000 — a breakout story.
113
115
  fallback: 2
116
+
117
+ # Task 0229 R1: moderation-risk judgment, consulted for every labelled item (the plugin's
118
+ # keyword heuristic has no signal for it). Four levels, 0-3. The description carries the
119
+ # scope rule verbatim: this decision exists to avoid platform-moderation rejection and must
120
+ # NOT exclude China-related content.
121
+ kk-item-china-politics:
122
+ type: score
123
+ description: >-
124
+ Moderation risk from China's current political system or institutions, or from the top
125
+ leader's personal information. Purpose: avoid unnecessary platform-moderation
126
+ rejection. It must NOT exclude China-related content in general: Chinese companies,
127
+ models and products, the Chinese AI industry and ordinary regulation news stay eligible.
128
+ parameters:
129
+ title:
130
+ type: string
131
+ description: Item title (the keyword-prefilter surface).
132
+ source:
133
+ type: string
134
+ description: Ingest plugin that produced the item.
135
+ criteria:
136
+ - No reference to China's political system, institutions or top leader. Chinese companies, models and products count as 0.
137
+ - A factual mention of a Chinese government body or policy as news context (a CAC filing, an export rule).
138
+ - Commentary or analysis of the political system or institutions.
139
+ - The top leader's personal information, or a direct critique of the system.
140
+ fallback: 3
141
+
142
+ # Task 0229 R2: broader publish risk (unverified claims, legal exposure, other political
143
+ # sensitivity), consulted for every labelled item.
144
+ kk-item-sensitivity:
145
+ type: score
146
+ description: >-
147
+ Broader publish risk: unverified claims, legal exposure, and other political
148
+ sensitivity that could draw a takedown, correction or complaint after publishing.
149
+ parameters:
150
+ title:
151
+ type: string
152
+ description: Item title.
153
+ source:
154
+ type: string
155
+ description: Ingest plugin that produced the item.
156
+ criteria:
157
+ - No publish risk — verifiable claims, no legal exposure, no political sensitivity.
158
+ - Mild risk — an unverified or single-source claim the episode can attribute.
159
+ - Notable risk — a contested factual claim, a named individual's allegation, or legal exposure to hedge.
160
+ - High risk — a defamatory or legally actionable claim, or acute political sensitivity.
161
+ fallback: 1
162
+
163
+ # Task 0229 R2: reader depth, which routes an item to a future topic. Consulted for every
164
+ # labelled item.
165
+ kk-item-audience:
166
+ type: choice
167
+ description: Which reader depth does this item best serve (which future topic it routes to)?
168
+ parameters:
169
+ title:
170
+ type: string
171
+ description: Item title.
172
+ source:
173
+ type: string
174
+ description: Ingest plugin that produced the item.
175
+ criteria:
176
+ general: Accessible with no AI background — product, company or market news.
177
+ practitioner: Assumes working AI engineering knowledge — APIs, tooling, deployment, benchmarks.
178
+ researcher: Assumes research fluency — papers, methods, evaluations, alignment findings.
179
+ fallback: general
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "kk",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "description": "knowledge-kit Claude Code plugin: skills, commands, subagents, hooks, and rules"
5
5
  }