Chapter Briefs (H2 writing cards) [NO PROSE]
Purpose: turn each H2 chapter that contains H3 subsections into a chapter-level writing card so the writer can:
- - add a chapter lead paragraph block (coherence)
- keep a consistent comparison axis across the chapter
- avoid “8 small islands” where every H3 restarts from scratch
This artifact is internal intent, not reader-facing prose.
Why this matters for writing quality:
- - Chapter briefs prevent the "paragraph island" failure mode: without a throughline, each H3 restarts and repeats openers.
- Treat
throughline and lead_paragraph_plan as decision constraints, not copyable sentences.
Inputs
- - INLINECODE2
- INLINECODE3
- Optional: INLINECODE4
Outputs
Output format (outline/chapter_briefs.jsonl)
JSONL (one object per H2 chapter that has H3 subsections).
Required fields:
- -
section_id, INLINECODE8 - INLINECODE9 (list of
{sub_id,title} in outline order) - INLINECODE11 (one of:
clusters, timeline, tradeoff_matrix, case_study, tension_resolution) - INLINECODE17 (1–2 bullets; how the chapter will synthesize across H3 without template-y “Taken together…”)
- INLINECODE18 (3–6 bullets)
- INLINECODE19 (2–6 bullets; pull from each H3
contrast_hook when available) - INLINECODE21 (2–3 bullets; plan only, not prose)
- Each bullet should be chapter-specific and mention concrete handles (axes / contrast hooks / evaluation lens).
- Avoid generic glue like "Para 1: introduce the chapter" without naming what is being compared.
- -
bridge_terms (5–12 tokens; union of H3 bridge terms)
How C5 uses this (chapter lead contract)
The writer uses outline/chapter_briefs.jsonl to draft sections/S<sec_id>_lead.md (body-only; no headings).
Contract (paper-like, no new facts):
- - Preview the chapter’s comparison axes (2–3) and how the H3s connect; do not restate the table of contents.
- Reuse
key_contrasts / bridge_terms as handles (not templates) so the chapter reads coherent without repeating "Taken together" everywhere. - Keep it grounded (>=2 citations later in C5; do not invent new papers here).
Workflow
- 0. (Optional) Read
GOAL.md to pin scope/audience, and inject that constraint into the chapter throughline. - Read
outline/outline.yml and list H2 chapters that have H3 subsections. - Read
outline/subsection_briefs.jsonl and group briefs by section_id. - For each chapter, produce:
- a
throughline: what the whole chapter is trying to compare/explain
-
key contrasts: 2–6 contrasts that span multiple H3s
- a
synthesis_mode: enforce synthesis diversity across chapters (avoid repeating the same closing paragraph shape)
- a
lead paragraph plan: 2–3 paragraph objectives (what the chapter lead must do)
- a
bridge_terms set to keep terminology stable across H3s
- 4. Write
outline/chapter_briefs.jsonl.
Quality checklist
- - [ ] One record per H2-with-H3 chapter.
- [ ] No placeholders (
TODO/…/(placeholder)/template instructions). - [ ]
throughline and key_contrasts are chapter-specific (not copy/paste generic). - [ ]
lead_paragraph_plan bullets explicitly preview 2–3 comparison axes and how the H3 subsections partition them (no generic chapter-intro boilerplate).
Script
Quick Start
- - INLINECODE38
- INLINECODE39
All Options
- - INLINECODE40
- INLINECODE41
- INLINECODE42
- INLINECODE43
- INLINECODE44
Examples
-
python scripts/run.py --workspace workspaces/<ws>
- INLINECODE46
Refinement marker (recommended; prevents churn)
When you are satisfied with chapter briefs, create:
This is an explicit "I reviewed/refined this" signal:
- - prevents scripts from regenerating and undoing your work
- (in strict runs) can be used as a completion signal to avoid silently accepting a bootstrap scaffold
Notes
- - This helper is a bootstrap; refine manually if needed.
章节简报(H2写作卡片)[非散文]
目的:将每个包含H3子章节的H2章节转化为章节级写作卡片,使作者能够:
- - 添加章节引导段落块(连贯性)
- 在整章中保持一致的比较轴线
- 避免出现每个H3都从头开始的八个小孤岛
此工件为内部意图,非面向读者的散文。
为何这对写作质量至关重要:
- - 章节简报可防止段落孤岛失效模式:若无主线,每个H3都会重新开始并重复开场白。
- 将主线和引导段落规划视为决策约束条件,而非可复制的句子。
输入
- - outline/outline.yml
- outline/subsection_briefs.jsonl
- 可选:GOAL.md
输出
- - outline/chapter_briefs.jsonl
输出格式(outline/chapter_briefs.jsonl)
JSONL(每个包含H3子章节的H2章节对应一个对象)。
必填字段:
- - sectionid、sectiontitle
- subsections(按大纲顺序排列的{subid,title}列表)
- synthesismode(以下之一:clusters、timeline、tradeoffmatrix、casestudy、tensionresolution)
- synthesispreview(1-2个要点;说明章节将如何跨H3进行综合,避免模板化的综上所述……)
- 主线(3-6个要点)
- 关键对比(2-6个要点;尽可能从每个H3的对比钩子中提取)
- 引导段落规划(2-3个要点;仅规划,非散文)
- 每个要点应针对具体章节,提及具体抓手(轴线/对比钩子/评估视角)。
- 避免使用第1段:介绍本章这类未指明比较对象的通用胶水语句。
- - 桥接术语(5-12个标记;各H3桥接术语的并集)
C5如何使用此文件(章节引导合约)
作者使用outline/chapterbriefs.jsonl起草sections/Sid>_lead.md(仅正文,无标题)。
合约(类似论文,无新事实):
- - 预览章节的比较轴线(2-3条)以及H3之间的连接方式;不要复述目录。
- 将关键对比/桥接术语作为抓手(非模板)使用,使章节读起来连贯,避免到处重复综上所述。
- 保持有据可依(后续C5中至少有2个引用;此处不引入新论文)。
工作流程
0.(可选)阅读GOAL.md以确定范围/受众,并将该约束注入章节主线。
- 1. 阅读outline/outline.yml,列出包含H3子章节的H2章节。
- 阅读outline/subsectionbriefs.jsonl,按sectionid对简报进行分组。
- 为每个章节生成:
-
主线:整章试图比较/解释的内容
-
关键对比:跨越多个H3的2-6个对比
-
综合模式:确保各章节的综合方式多样化(避免重复相同的结尾段落形式)
-
引导段落规划:2-3个段落目标(章节引导必须完成的任务)
-
桥接术语集合,以保持各H3间术语的稳定性
- 4. 编写outline/chapter_briefs.jsonl。
质量检查清单
- - [ ] 每个包含H3子章节的H2章节对应一条记录。
- [ ] 无占位符(TODO/…/(placeholder)/模板指令)。
- [ ] 主线和关键对比针对具体章节(非复制粘贴的通用内容)。
- [ ] 引导段落规划要点明确预览2-3条比较轴线以及H3子章节如何划分这些轴线(无通用章节介绍模板)。
脚本
快速开始
- - python scripts/run.py --help
- python scripts/run.py --workspace workspaces/
所有选项
- - --workspace
- --unit-id
- --inputs <分号分隔>
- --outputs <分号分隔>
- --checkpoint
示例
- python scripts/run.py --workspace workspaces/
- python scripts/run.py --workspace workspaces/ --inputs outline/outline.yml;outline/subsectionbriefs.jsonl;GOAL.md --outputs outline/chapterbriefs.jsonl
优化标记(推荐;防止反复修改)
当您对章节简报满意时,创建:
- - outline/chapter_briefs.refined.ok
这是明确的我已审阅/优化此内容信号:
- - 防止脚本重新生成并撤销您的工作
- (在严格运行中)可作为完成信号,避免静默接受引导框架
备注