From 12e766952ce9b2c8e66aac9930a674939f3b8975 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Apr 2026 18:32:14 +0800 Subject: [PATCH] docs: polish digest output workflow rules --- reader-digest-flow/SKILL.md | 10 ++++++++-- reader-digest-flow/references/flow.md | 12 ++++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/reader-digest-flow/SKILL.md b/reader-digest-flow/SKILL.md index 547008c..5222826 100644 --- a/reader-digest-flow/SKILL.md +++ b/reader-digest-flow/SKILL.md @@ -56,7 +56,13 @@ Produce two output views from the same run, preferably in **one generation step* 1. **Public digest** — for Hugo / public browsing 2. **Internal review digest** — for chat reporting and operator decisions -Write only the public digest into Hugo using this structure: +Before publishing, persist digest outputs back into the same reader run directory under: + +- `outputs/freshrss/rerun//digest/public_digest.md` +- `outputs/freshrss/rerun//digest/internal_review_digest.md` +- `outputs/freshrss/rerun//digest/combined.json` + +Then write only the public digest into Hugo using this structure: - `content/daily/YYYY-MM-DD/index.md` @@ -69,7 +75,6 @@ Recommended **public digest** structure: - `今日重点` - `趋势观察` - `延伸阅读` -- `信息来源` Public digest writing rules: @@ -79,6 +84,7 @@ Public digest writing rules: - Do **not** expose internal workflow labels or operator language such as `待确认`, `建议沉淀到 IMA`, `keep/review/drop`, or `selection_decision`. - Prefer concise but information-dense writing. - For each item under `今日重点`, include not only summary and highlights, but also one short editor-style value sentence, for example: `这篇内容更值得关注的原因在于……`. +- When rendering highlights in public digest, prefer a short label such as `值得关注:` followed by one item per line, instead of packing multiple points into a single long sentence. Recommended **internal review digest** structure: diff --git a/reader-digest-flow/references/flow.md b/reader-digest-flow/references/flow.md index c1b8ed3..698bb08 100644 --- a/reader-digest-flow/references/flow.md +++ b/reader-digest-flow/references/flow.md @@ -85,7 +85,15 @@ Recommended generation pattern: - Ask the model to return both outputs in one response. - Prefer a structured response shape (for example JSON with `public_digest_markdown` and `internal_review_digest_markdown`) when post-processing is needed. -Write only the public digest into Hugo here: +Before publishing, persist the generated digest artifacts back into the same reader run directory: + +```text +outputs/freshrss/rerun//digest/public_digest.md +outputs/freshrss/rerun//digest/internal_review_digest.md +outputs/freshrss/rerun//digest/combined.json +``` + +Then write only the public digest into Hugo here: ```text /home/ubuntu/zhu/apps/hugo-site/content/daily/YYYY-MM-DD/index.md @@ -107,7 +115,6 @@ Recommended **public digest** structure: - `今日重点` - `趋势观察` - `延伸阅读` -- `信息来源` Public digest constraints: @@ -115,6 +122,7 @@ Public digest constraints: - Keep public wording free of internal workflow language. - Optimize for concise public readability with solid information density. - For each `今日重点` item, add one short editor-style sentence explaining why the item matters in today's digest (for example: `这篇内容更值得关注的原因在于……`). +- Prefer rendering highlight points as a short public label such as `值得关注:` followed by one bullet per line. Recommended **internal review digest** structure: