@gobing-ai/knowledge-kit 0.1.23 → 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.
- package/.claude-plugin/marketplace.json +1 -1
- package/dist/index.js +418 -114
- package/package.json +5 -5
- package/plugins/generations/content-gen/dist/index.js +9 -9
- package/plugins/generations/core-facts-gen/dist/index.js +12 -12
- package/plugins/generations/daily-article-gen/dist/index.js +12 -12
- package/plugins/generations/dailynews-gen/dist/index.js +11 -11
- package/plugins/generations/dailynews-gen/src/script-plan.ts +2 -2
- package/plugins/generations/episode-plan-gen/dist/index.js +59 -18
- package/plugins/generations/episode-plan-gen/src/index.ts +71 -7
- package/plugins/generations/gemini-tts/dist/index.js +9 -9
- package/plugins/generations/image-gen/dist/index.js +9 -9
- package/plugins/generations/music-gen/dist/index.js +33 -29
- package/plugins/generations/music-gen/src/audio/measure.ts +25 -20
- package/plugins/generations/news-report-gen/dist/index.js +12 -12
- package/plugins/generations/vibe-voice-tts/dist/index.js +9 -9
- package/plugins/generations/voice-gen/dist/index.js +9 -9
- package/plugins/generations/voxcpm-tts/dist/index.js +9 -9
- package/plugins/ingestions/aihot-ingest/dist/index.js +12 -12
- package/plugins/ingestions/horizon-ingest/dist/index.js +12 -12
- package/plugins/ingestions/karakeep-local/dist/index.js +13 -13
- package/plugins/ingestions/last30days-ingest/dist/index.js +12 -12
- package/plugins/ingestions/web-search/dist/index.js +10 -10
- package/plugins/kk/decisions/extract/ai-news.yaml +8 -1
- package/plugins/kk/plugin.json +1 -1
- package/plugins/kk/publish-presets/daily-ai-voice.json +20 -20
- package/plugins/kk/publish-presets/itc-main.json +39 -23
- package/plugins/kk/scripts/cover-compositor.ts +104 -26
- package/plugins/kk/scripts/daily-stages.ts +704 -53
- package/plugins/kk/scripts/kk-workflow-stages.ts +149 -6
- package/plugins/kk/scripts/series-names.ts +16 -3
- package/plugins/kk/skills/content-safety/references/platforms/apple-podcasts.md +12 -5
- package/plugins/kk/skills/content-safety/references/platforms/wechatmp.md +8 -0
- package/plugins/kk/skills/content-safety/references/platforms/xiaoyuzhou.md +5 -0
- package/plugins/kk/skills/daily-news-cover/SKILL.md +96 -0
- package/plugins/kk/skills/daily-news-illustrations/SKILL.md +123 -0
- package/plugins/kk/skills/news-editorial/SKILL.md +5 -3
- package/plugins/kk/skills/news-editorial/references/daily-visual-composition.md +150 -0
- package/plugins/kk/skills/news-editorial/references/style-contract.zh.md +3 -3
- package/plugins/kk/workflows/kk-article-generate.yaml +13 -1
- package/plugins/kk/workflows/kk-daily-ai-voice.yaml +6 -3
- package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +6 -4
- package/plugins/kk/workflows/kk-news-generate.yaml +74 -1
- package/plugins/publishings/bilibili-pub/dist/index.js +25 -24
- package/plugins/publishings/bilibili-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/cnblogs-pub/dist/index.js +25 -24
- package/plugins/publishings/cnblogs-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/csdn-pub/dist/index.js +25 -24
- package/plugins/publishings/csdn-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/emdash-pub/dist/index.js +9 -9
- package/plugins/publishings/infoq-pub/dist/index.js +25 -24
- package/plugins/publishings/infoq-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/jike-pub/dist/index.js +25 -24
- package/plugins/publishings/jike-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/juejin-pub/dist/index.js +25 -24
- package/plugins/publishings/juejin-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/linkedin-pub/dist/index.js +85 -26
- package/plugins/publishings/linkedin-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/linkedin-pub/src/index.ts +93 -6
- package/plugins/publishings/medium-pub/dist/index.js +9206 -287
- package/plugins/publishings/medium-pub/dist/profile-check.js +21174 -0
- package/plugins/publishings/medium-pub/package.json +3 -1
- package/plugins/publishings/medium-pub/plugin.json +6 -1
- package/plugins/publishings/medium-pub/src/browser-rail.ts +280 -0
- package/plugins/publishings/medium-pub/src/index.ts +17 -1
- package/plugins/publishings/medium-pub/src/profile-check.ts +27 -0
- package/plugins/publishings/podcast-pub/dist/index.js +240 -37
- package/plugins/publishings/podcast-pub/src/index.ts +154 -3
- package/plugins/publishings/podcast-pub/src/seo.ts +25 -8
- package/plugins/publishings/podcast-pub/src/show-notes-brief.ts +93 -23
- package/plugins/publishings/podcast-pub/src/show-notes.ts +26 -6
- package/plugins/publishings/qiita-pub/dist/index.js +9 -9
- package/plugins/publishings/shipinhao-pub/dist/index.js +29 -26
- package/plugins/publishings/shipinhao-pub/dist/profile-check.js +28 -26
- package/plugins/publishings/shipinhao-pub/src/flow.ts +5 -0
- package/plugins/publishings/shipinhao-pub/src/selectors.ts +13 -5
- package/plugins/publishings/sspai-pub/dist/index.js +25 -24
- package/plugins/publishings/sspai-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/substack-pub/dist/index.js +25 -24
- package/plugins/publishings/substack-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/surfdash-pub/dist/index.js +200 -92
- package/plugins/publishings/surfdash-pub/src/digest-check.ts +30 -1
- package/plugins/publishings/surfdash-pub/src/index.ts +94 -75
- package/plugins/publishings/surfdash-pub/src/media-upload.ts +83 -0
- package/plugins/publishings/surfdash-pub/src/patch.ts +28 -23
- package/plugins/publishings/surfdash-pub/src/topic-claims.ts +12 -4
- package/plugins/publishings/threads-pub/dist/index.js +39 -24
- package/plugins/publishings/threads-pub/dist/profile-check.js +30 -24
- package/plugins/publishings/threads-pub/src/post-rail.ts +20 -0
- package/plugins/publishings/wechatmp-pub/dist/index.js +438 -102
- package/plugins/publishings/wechatmp-pub/dist/profile-check.js +30 -25
- package/plugins/publishings/wechatmp-pub/src/enrich.ts +56 -10
- package/plugins/publishings/wechatmp-pub/src/flow.ts +589 -83
- package/plugins/publishings/wechatmp-pub/src/index.ts +4 -1
- package/plugins/publishings/wechatmp-pub/src/modes.ts +30 -12
- package/plugins/publishings/wechatmp-pub/src/page.ts +8 -0
- package/plugins/publishings/weibo-pub/dist/index.js +25 -24
- package/plugins/publishings/weibo-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/x-pub/dist/index.js +54 -47
- package/plugins/publishings/x-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/x-pub/src/post-rail.ts +40 -47
- package/plugins/publishings/xhs-pub/dist/index.js +25 -24
- package/plugins/publishings/xhs-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +25 -24
- package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +25 -24
- package/plugins/publishings/zenn-pub/dist/index.js +9 -9
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from 'node:fs';
|
|
59
59
|
import { homedir } from 'node:os';
|
|
60
60
|
import { basename, dirname, join, relative, resolve } from 'node:path';
|
|
61
|
-
import { compositeCover } from './cover-compositor';
|
|
61
|
+
import { compositeCover, compositeSocialCover } from './cover-compositor';
|
|
62
62
|
|
|
63
63
|
export const SCRIPTS_DIR = import.meta.dir;
|
|
64
64
|
export const VALIDATE_SIDECAR = 'validate-voicescript.ts';
|
|
@@ -1093,7 +1093,10 @@ export function coverNormalizeBody(workDir: string, runDate: string): void {
|
|
|
1093
1093
|
const briefPath = join(workDir, '23-cover', `${runDate}_07_cover-brief.json`);
|
|
1094
1094
|
const headline = briefHeadline(briefPath);
|
|
1095
1095
|
if (headline !== '') {
|
|
1096
|
+
const socialOut = join(workDir, '23-cover', `${runDate}_07_cover_social.jpg`);
|
|
1096
1097
|
try {
|
|
1098
|
+
// Render the 1200×630 OG card FIRST from the raw AI background before overwriting `out`.
|
|
1099
|
+
compositeSocialCover({ backgroundImagePath: out, headline, outputPath: socialOut });
|
|
1097
1100
|
compositeCover({ backgroundImagePath: out, headline, outputPath: out });
|
|
1098
1101
|
} catch (error) {
|
|
1099
1102
|
failWith(1, `cover composite: ${(error as Error).message}`);
|
|
@@ -1612,6 +1615,23 @@ function publishMatrixPatchSurfdash(args: string[]): void {
|
|
|
1612
1615
|
);
|
|
1613
1616
|
const podMeta = (podTarget.metadata ?? {}) as Record<string, unknown>;
|
|
1614
1617
|
const runDate = String(readJson(join(publishDir, `outcome.${window}.json`))?.runDate ?? '');
|
|
1618
|
+
const compactDate = runDate.replaceAll('-', '');
|
|
1619
|
+
const bundle = readJson(join(workDir, 'bundle.json')) as { episode?: { title?: unknown } } | null;
|
|
1620
|
+
const identity =
|
|
1621
|
+
compactDate.length === 8
|
|
1622
|
+
? (readJson(join(workDir, '21-plan', `${compactDate}_05_script_identity.json`)) as {
|
|
1623
|
+
title?: unknown;
|
|
1624
|
+
status?: unknown;
|
|
1625
|
+
} | null)
|
|
1626
|
+
: null;
|
|
1627
|
+
const episodeTitle =
|
|
1628
|
+
typeof podMeta.episodeTitle === 'string' && podMeta.episodeTitle !== ''
|
|
1629
|
+
? podMeta.episodeTitle
|
|
1630
|
+
: identity?.status === 'frozen' && typeof identity.title === 'string'
|
|
1631
|
+
? identity.title
|
|
1632
|
+
: typeof bundle?.episode?.title === 'string'
|
|
1633
|
+
? bundle.episode.title
|
|
1634
|
+
: '';
|
|
1615
1635
|
const payload = join(publishDir, 'patch-surfdash.payload.json');
|
|
1616
1636
|
sted('write', payload, () =>
|
|
1617
1637
|
writeJqText(payload, {
|
|
@@ -1621,11 +1641,12 @@ function publishMatrixPatchSurfdash(args: string[]): void {
|
|
|
1621
1641
|
postPath,
|
|
1622
1642
|
coverUrl: podReal && typeof podMeta.imageUrl === 'string' ? podMeta.imageUrl : '',
|
|
1623
1643
|
showNotesUrl: podReal && typeof podTarget.url === 'string' ? podTarget.url : '',
|
|
1624
|
-
...(
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1644
|
+
...(episodeTitle !== '' ? { episodeTitle } : {}),
|
|
1645
|
+
...(compactDate.length === 8
|
|
1646
|
+
? {
|
|
1647
|
+
dateIso: `${compactDate.slice(0, 4)}-${compactDate.slice(4, 6)}-${compactDate.slice(6, 8)}`,
|
|
1648
|
+
}
|
|
1649
|
+
: {}),
|
|
1629
1650
|
},
|
|
1630
1651
|
}),
|
|
1631
1652
|
);
|
|
@@ -1661,6 +1682,120 @@ function publishMatrixPatchSurfdash(args: string[]): void {
|
|
|
1661
1682
|
});
|
|
1662
1683
|
}
|
|
1663
1684
|
|
|
1685
|
+
/**
|
|
1686
|
+
* `publish-matrix-patch-podcast`: patch the real surfdash article URL into an already-published
|
|
1687
|
+
* podcast microfeed item (`complete-article` link), once both Tier 0 targets have real succeeded
|
|
1688
|
+
* receipts in the window. Derives `4-publish/patch-podcast.payload.json` + `.result.json`.
|
|
1689
|
+
*/
|
|
1690
|
+
function publishMatrixPatchPodcast(args: string[]): void {
|
|
1691
|
+
const flag = (name: string): string | undefined => {
|
|
1692
|
+
const i = args.indexOf(name);
|
|
1693
|
+
return i >= 0 ? args[i + 1] : undefined;
|
|
1694
|
+
};
|
|
1695
|
+
const workDir = args[0] ?? '';
|
|
1696
|
+
const window = flag('--window');
|
|
1697
|
+
if (workDir === '' || window === undefined || window === '') {
|
|
1698
|
+
failWith(1, 'usage: publish-matrix-patch-podcast <work_dir> --window <w>');
|
|
1699
|
+
}
|
|
1700
|
+
const publishDir = join(workDir, '4-publish');
|
|
1701
|
+
const resultPath = join(publishDir, 'patch-podcast.result.json');
|
|
1702
|
+
const writeResult = (value: Record<string, unknown>): void => {
|
|
1703
|
+
sted('write', resultPath, () => writeJqText(resultPath, value));
|
|
1704
|
+
};
|
|
1705
|
+
const receipt = (id: string): Record<string, unknown> | null =>
|
|
1706
|
+
readJson(join(publishDir, 'receipts', `${id}.json`));
|
|
1707
|
+
const aggregateTarget = (receiptPath: string | undefined): Record<string, unknown> => {
|
|
1708
|
+
const aggregate = receiptPath === undefined ? null : readJson(receiptPath);
|
|
1709
|
+
const targets = aggregate?.targets;
|
|
1710
|
+
if (!Array.isArray(targets) || targets.length === 0 || targets[0] === null || typeof targets[0] !== 'object') {
|
|
1711
|
+
return {};
|
|
1712
|
+
}
|
|
1713
|
+
return targets[0] as Record<string, unknown>;
|
|
1714
|
+
};
|
|
1715
|
+
timed(workDir, 'publish-matrix-patch-podcast', () => {
|
|
1716
|
+
const outcome = readJson(join(publishDir, `outcome.${window}.json`)) as {
|
|
1717
|
+
rows?: Array<{ id?: string }>;
|
|
1718
|
+
} | null;
|
|
1719
|
+
const rowId = (prefix: string): string | undefined =>
|
|
1720
|
+
(outcome?.rows ?? []).map((row) => row.id ?? '').find((id) => id.startsWith(prefix));
|
|
1721
|
+
const podId = rowId('podcast-pub');
|
|
1722
|
+
const sdId = rowId('surfdash-pub');
|
|
1723
|
+
if (podId === undefined || sdId === undefined) {
|
|
1724
|
+
const error = 'skipped: requires both podcast-pub and surfdash-pub targets in this window';
|
|
1725
|
+
writeResult({ ok: false, target: 'podcast-pub', error });
|
|
1726
|
+
console.error(`patch-podcast: ${error}`);
|
|
1727
|
+
return;
|
|
1728
|
+
}
|
|
1729
|
+
const podReceipt = receipt(podId);
|
|
1730
|
+
const podReal = podReceipt !== null && podReceipt?.dummy !== true && podReceipt?.status === 'succeeded';
|
|
1731
|
+
const podTarget = aggregateTarget(
|
|
1732
|
+
typeof podReceipt?.aggregatePath === 'string' ? podReceipt.aggregatePath : undefined,
|
|
1733
|
+
);
|
|
1734
|
+
const podMeta = (podTarget.metadata ?? {}) as Record<string, unknown>;
|
|
1735
|
+
const itemId =
|
|
1736
|
+
typeof podTarget.id === 'string' && podTarget.id !== ''
|
|
1737
|
+
? podTarget.id
|
|
1738
|
+
: typeof podMeta.itemId === 'string' && podMeta.itemId !== ''
|
|
1739
|
+
? podMeta.itemId
|
|
1740
|
+
: '';
|
|
1741
|
+
const sdReceipt = receipt(sdId);
|
|
1742
|
+
const sdReal = sdReceipt !== null && sdReceipt?.dummy !== true && sdReceipt?.status === 'succeeded';
|
|
1743
|
+
const sdTarget = aggregateTarget(
|
|
1744
|
+
typeof sdReceipt?.aggregatePath === 'string' ? sdReceipt.aggregatePath : undefined,
|
|
1745
|
+
);
|
|
1746
|
+
const sdMeta = (sdTarget.metadata ?? {}) as Record<string, unknown>;
|
|
1747
|
+
const postPath = typeof sdMeta.postPath === 'string' ? sdMeta.postPath : '';
|
|
1748
|
+
const articleUrl =
|
|
1749
|
+
typeof sdMeta.articleUrl === 'string' && /^https?:\/\//i.test(sdMeta.articleUrl)
|
|
1750
|
+
? sdMeta.articleUrl
|
|
1751
|
+
: typeof sdTarget.url === 'string' && /^https?:\/\//i.test(sdTarget.url)
|
|
1752
|
+
? sdTarget.url
|
|
1753
|
+
: '';
|
|
1754
|
+
if (!podReal || itemId === '' || !sdReal || (postPath === '' && articleUrl === '')) {
|
|
1755
|
+
const error =
|
|
1756
|
+
!podReal || itemId === ''
|
|
1757
|
+
? 'skipped: no real podcast publish receipt/itemId — nothing to patch'
|
|
1758
|
+
: 'skipped: no real surfdash publish receipt/postPath — nothing to patch';
|
|
1759
|
+
writeResult({ ok: false, target: 'podcast-pub', error });
|
|
1760
|
+
console.error(`patch-podcast: ${error}`);
|
|
1761
|
+
return;
|
|
1762
|
+
}
|
|
1763
|
+
const payload = join(publishDir, 'patch-podcast.payload.json');
|
|
1764
|
+
sted('write', payload, () =>
|
|
1765
|
+
writeJqText(payload, {
|
|
1766
|
+
title: 'patch-article-link',
|
|
1767
|
+
format: 'markdown',
|
|
1768
|
+
body: '',
|
|
1769
|
+
options: {
|
|
1770
|
+
operation: 'patch-article-link',
|
|
1771
|
+
itemId,
|
|
1772
|
+
...(postPath !== '' ? { postPath } : {}),
|
|
1773
|
+
...(articleUrl !== '' ? { articleUrl } : {}),
|
|
1774
|
+
},
|
|
1775
|
+
}),
|
|
1776
|
+
);
|
|
1777
|
+
if (process.env.KK_PODCAST_PATCH_OFFLINE === '1') {
|
|
1778
|
+
writeResult({ ok: false, target: 'podcast-pub', error: 'skipped: offline (KK_PODCAST_PATCH_OFFLINE=1)' });
|
|
1779
|
+
console.error(
|
|
1780
|
+
'patch-podcast: offline — payload derived, plugin patch skipped (KK_PODCAST_PATCH_OFFLINE=1)',
|
|
1781
|
+
);
|
|
1782
|
+
return;
|
|
1783
|
+
}
|
|
1784
|
+
const status = kk(['executor', 'run', 'podcast-pub', '--in', payload, '--out', resultPath], {
|
|
1785
|
+
unset: NESTED_SPUR_UNSET,
|
|
1786
|
+
soft: true,
|
|
1787
|
+
});
|
|
1788
|
+
const result = readJson(resultPath);
|
|
1789
|
+
if (result?.ok === true) {
|
|
1790
|
+
console.error(`patch-podcast: ${String(result.message ?? 'patched')}`);
|
|
1791
|
+
return;
|
|
1792
|
+
}
|
|
1793
|
+
console.error(
|
|
1794
|
+
`patch-podcast: WARNING: ${String(result?.error ?? `podcast-pub patch-article-link exited ${status}`)}`,
|
|
1795
|
+
);
|
|
1796
|
+
});
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1664
1799
|
/**
|
|
1665
1800
|
* The day's zh post path when this run's content sits uncommitted in the surfdash checkout.
|
|
1666
1801
|
*
|
|
@@ -1975,6 +2110,11 @@ if (import.meta.main)
|
|
|
1975
2110
|
dailyXhsRender(rest);
|
|
1976
2111
|
break;
|
|
1977
2112
|
}
|
|
2113
|
+
case 'news-inline-illustrations': {
|
|
2114
|
+
const { dailyInlineIllustrations } = await loadDailyStages();
|
|
2115
|
+
dailyInlineIllustrations(rest);
|
|
2116
|
+
break;
|
|
2117
|
+
}
|
|
1978
2118
|
case 'daily-script-style': {
|
|
1979
2119
|
const { dailyScriptStyle } = await loadDailyStages();
|
|
1980
2120
|
dailyScriptStyle(rest);
|
|
@@ -2139,6 +2279,9 @@ if (import.meta.main)
|
|
|
2139
2279
|
case 'publish-matrix-patch-surfdash':
|
|
2140
2280
|
publishMatrixPatchSurfdash(rest);
|
|
2141
2281
|
break;
|
|
2282
|
+
case 'publish-matrix-patch-podcast':
|
|
2283
|
+
publishMatrixPatchPodcast(rest);
|
|
2284
|
+
break;
|
|
2142
2285
|
case 'daily-run-report':
|
|
2143
2286
|
dailyRunReport(rest);
|
|
2144
2287
|
break;
|
|
@@ -34,7 +34,19 @@ export const DAILY_SERIES_NAMES: Record<DailyLocale, DailySeriesNames> = {
|
|
|
34
34
|
* Retired series spellings that must never be emitted in any locale. ごった煮 is deliberately absent:
|
|
35
35
|
* it is ordinary ja vocabulary, so rewriting or failing on it would butcher legitimate prose.
|
|
36
36
|
*/
|
|
37
|
-
const RETIRED_SERIES_NAMES = [
|
|
37
|
+
const RETIRED_SERIES_NAMES = [
|
|
38
|
+
'毎日AIブレンド',
|
|
39
|
+
'毎日AIごった煮',
|
|
40
|
+
'AIごった煮',
|
|
41
|
+
'毎日AI寄せ鍋',
|
|
42
|
+
'デイリーAIニュース',
|
|
43
|
+
'Daily AI Medley',
|
|
44
|
+
'Daily AI Briefing',
|
|
45
|
+
'Daily AI Hotchpotch',
|
|
46
|
+
'Daily AI Hodgepodge',
|
|
47
|
+
'每日AI资讯',
|
|
48
|
+
'每日 AI 资讯',
|
|
49
|
+
] as const;
|
|
38
50
|
|
|
39
51
|
/** All canonical series tokens — each locale's own name is correct there, wrong-locale elsewhere. */
|
|
40
52
|
const SERIES_TOKENS = ['每日AI乱炖', 'Daily AI Stew', 'デイリーAIシチュー'] as const;
|
|
@@ -66,6 +78,7 @@ function retiredIn(text: string, locale: DailyLocale): string[] {
|
|
|
66
78
|
...SERIES_TOKENS.filter((token) => token !== canonical).map(tokenRe),
|
|
67
79
|
SHORT_ZH_FORM,
|
|
68
80
|
/\bhodgepodge\b/gi,
|
|
81
|
+
/\bhotchpotch\b/gi,
|
|
69
82
|
];
|
|
70
83
|
const found: string[] = [];
|
|
71
84
|
for (const pattern of patterns) {
|
|
@@ -112,8 +125,8 @@ export function normalizeSeriesNames(
|
|
|
112
125
|
if (locale === 'en') {
|
|
113
126
|
// The observed en intro phrase — rewritten as a phrase first so the bare word never
|
|
114
127
|
// produces "daily AI Daily AI Stew".
|
|
115
|
-
out = out.replace(/\byour daily AI
|
|
116
|
-
out = out.replace(/\bdaily AI
|
|
128
|
+
out = out.replace(/\byour daily AI h(?:odge|otch)podge\b/gi, 'Your Daily AI Stew');
|
|
129
|
+
out = out.replace(/\bdaily AI h(?:odge|otch)podge\b/gi, 'Daily AI Stew');
|
|
117
130
|
}
|
|
118
131
|
for (const token of [...RETIRED_SERIES_NAMES, ...SERIES_TOKENS.filter((name) => name !== canonical)]) {
|
|
119
132
|
out = out.replace(tokenRe(token), () => canonical);
|
|
@@ -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-
|
|
11
|
-
| Evidence status | §1.1
|
|
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
|
|
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
|
-
-
|
|
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": "≤
|
|
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).
|