Redundancy Pruner
Triggers & routing
- Trigger: redundancy, repetition, boilerplate removal, 去重复, 去套话, 合并重复段落.
- Use when: the draft feels rigid because the same paragraph shape and disclaimer repeats across many subsections.
Purpose: make the survey feel intentional by removing “looped template paragraphs” and consolidating global disclaimers, while keeping meaning and citations stable.
Role cards (use explicitly)
Compressor
Mission: remove repeated boilerplate without deleting subsection-specific work.
Do:
- Collapse repeated disclaimers into one front-matter paragraph (not per-H3 repeats).
- Delete repeated narration stems and empty glue sentences.
- Keep each H3’s unique contrasts/evaluation anchors/limitations intact.
Avoid:
- Cutting unique comparisons because they sound similar.
- Turning pruning into a rewrite (this skill is subtraction-first).
Narrative Keeper
Mission: keep the argument chain readable after pruning.
Do:
- Replace slide-like navigation with short argument bridges (NO new facts/citations).
- Ensure each H3 still has a thesis, contrasts, and at least one limitation.
Avoid:
- Generic transitions that could fit any subsection ("Moreover", "Next") without concrete nouns.
Role prompt: Boilerplate Pruner (editor)
You are pruning redundancy from a survey draft.
Your job is to remove repeated boilerplate and make transitions content-bearing, without changing meaning or citations.
Constraints:
- do not add/remove citation keys
- do not move citations across ### subsections
- do not delete subsection-specific comparisons, evaluation anchors, or limitations
Style:
- delete narration and generic glue
- keep one evidence-policy paragraph in front matter; avoid repeated disclaimers
Inputs
output/DRAFT.md
- Optional (helps avoid accidental drift):
outline/outline.yml (subsection boundaries)
output/citation_anchors.prepolish.jsonl (if you are enforcing anchoring)
Outputs
output/DRAFT.md (in-place edits)
Workflow
Use the role cards above.
Steps:
- Identify repeated boilerplate (not content):
- repeated disclaimer paragraphs (evidence-policy, methodology caveats)
- repeated opener labels (e.g.,
Key takeaway: spam)
- repeated slide-like narration stems (e.g., “In the next section…”) and generic transitions
- Pick a single home for global disclaimers:
- keep the evidence-policy paragraph once in front matter (Introduction or Related Work)
- delete duplicates inside H3 subsections
- Rewrite transitions into argument bridges:
- keep bridges subsection-specific (use concrete nouns from that subsection)
- do not add facts or citations
- Sanity check subsection integrity:
- each H3 still has its unique thesis + contrasts + limitation
- no citation-only lines and no trailing citation-dump paragraphs
- if
outline/outline.yml exists, use it to confirm you did not prune across subsection boundaries
- if
output/citation_anchors.prepolish.jsonl exists, treat it as a regression anchor (no cross-subsection citation drift)
Guardrails (do not violate)
- Do not add/remove citation keys.
- Do not move citations across
### subsections.
- Do not delete subsection-specific comparisons, evaluation anchors, or limitations.
Mini examples (rewrite intentions; do not add facts)
Repeated disclaimer -> keep once:
- Bad (repeated across many H3s):
Claims remain provisional under abstract-only evidence.
- Better (once in front matter): state evidence policy as survey methodology, then delete duplicates in H3.
Slide navigation -> argument bridge:
- Bad:
Next, we move from planning to memory.
- Better:
Planning determines how decisions are formed, while memory determines what evidence those decisions can condition on under a fixed protocol.
Template synthesis stem -> content-first sentence:
- Bad:
Taken together, these approaches... (repeated many times)
- Better: state the specific pattern directly (e.g.,
Across reported protocols, X trades off Y against Z...).
Troubleshooting
Issue: pruning removes subsection-specific content
Fix:
- Restrict edits to obviously repeated boilerplate; keep anything that encodes a unique comparison/limitation for that subsection.
Issue: pruning changes citation placement
Fix:
- Undo; citations must remain in the same subsection and keys must not change.
1---2name: redundancy-pruner3description: Remove repeated boilerplate across sections (methodology disclaimers, generic transitions, repeated summaries) while preserving citations and meaning.4---56# Redundancy Pruner78## Triggers & routing910- **Trigger**: redundancy, repetition, boilerplate removal, 去重复, 去套话, 合并重复段落.11- **Use when**: the draft feels rigid because the same paragraph shape and disclaimer repeats across many subsections.121314Purpose: make the survey feel intentional by removing “looped template paragraphs” and consolidating global disclaimers, while keeping meaning and citations stable.1516## Role cards (use explicitly)1718### Compressor1920Mission: remove repeated boilerplate without deleting subsection-specific work.2122Do:23- Collapse repeated disclaimers into one front-matter paragraph (not per-H3 repeats).24- Delete repeated narration stems and empty glue sentences.25- Keep each H3’s unique contrasts/evaluation anchors/limitations intact.2627Avoid:28- Cutting unique comparisons because they *sound* similar.29- Turning pruning into a rewrite (this skill is subtraction-first).3031### Narrative Keeper3233Mission: keep the argument chain readable after pruning.3435Do:36- Replace slide-like navigation with short argument bridges (NO new facts/citations).37- Ensure each H3 still has a thesis, contrasts, and at least one limitation.3839Avoid:40- Generic transitions that could fit any subsection ("Moreover", "Next") without concrete nouns.4142## Role prompt: Boilerplate Pruner (editor)4344```text45You are pruning redundancy from a survey draft.4647Your job is to remove repeated boilerplate and make transitions content-bearing, without changing meaning or citations.4849Constraints:50- do not add/remove citation keys51- do not move citations across ### subsections52- do not delete subsection-specific comparisons, evaluation anchors, or limitations5354Style:55- delete narration and generic glue56- keep one evidence-policy paragraph in front matter; avoid repeated disclaimers57```5859## Inputs6061- `output/DRAFT.md`62- Optional (helps avoid accidental drift):63 - `outline/outline.yml` (subsection boundaries)64 - `output/citation_anchors.prepolish.jsonl` (if you are enforcing anchoring)6566## Outputs6768- `output/DRAFT.md` (in-place edits)6970## Workflow7172Use the role cards above.7374Steps:75761) Identify repeated boilerplate (not content):77- repeated disclaimer paragraphs (evidence-policy, methodology caveats)78- repeated opener labels (e.g., `Key takeaway:` spam)79- repeated slide-like narration stems (e.g., “In the next section…”) and generic transitions80812) Pick a single home for global disclaimers:82- keep the evidence-policy paragraph **once** in front matter (Introduction or Related Work)83- delete duplicates inside H3 subsections84853) Rewrite transitions into argument bridges:86- keep bridges subsection-specific (use concrete nouns from that subsection)87- do not add facts or citations88894) Sanity check subsection integrity:90- each H3 still has its unique thesis + contrasts + limitation91- no citation-only lines and no trailing citation-dump paragraphs92- if `outline/outline.yml` exists, use it to confirm you did not prune across subsection boundaries93- if `output/citation_anchors.prepolish.jsonl` exists, treat it as a regression anchor (no cross-subsection citation drift)9495## Guardrails (do not violate)9697- Do not add/remove citation keys.98- Do not move citations across `###` subsections.99- Do not delete subsection-specific comparisons, evaluation anchors, or limitations.100101102## Mini examples (rewrite intentions; do not add facts)103104Repeated disclaimer -> keep once:105- Bad (repeated across many H3s): `Claims remain provisional under abstract-only evidence.`106- Better (once in front matter): state evidence policy as survey methodology, then delete duplicates in H3.107108Slide navigation -> argument bridge:109- Bad: `Next, we move from planning to memory.`110- Better: `Planning determines how decisions are formed, while memory determines what evidence those decisions can condition on under a fixed protocol.`111112Template synthesis stem -> content-first sentence:113- Bad: `Taken together, these approaches...` (repeated many times)114- Better: state the specific pattern directly (e.g., `Across reported protocols, X trades off Y against Z...`).115116## Troubleshooting117118### Issue: pruning removes subsection-specific content119120Fix:121- Restrict edits to obviously repeated boilerplate; keep anything that encodes a unique comparison/limitation for that subsection.122123### Issue: pruning changes citation placement124125Fix:126- Undo; citations must remain in the same subsection and keys must not change.