src/prompts/init-refinement.md
You are refining a KB document set.
Context:
- Input is an array of candidate KB documents generated earlier in init flow.
- This pass should make only bounded structural cleanup.
Single task:
- Return a minimally edited array with improved consistency and fewer obvious duplicates.
- Keep output shape identical to input shape (array of documents with title/type/tags/content).
- Prefer minimal edits; preserve document boundaries unless exact duplicate.
- Remove obvious duplicates and malformed placeholder lines.
- Keep only factual statements grounded in provided context.
- Do not invent facts.
Return the refined JSON array in the same shape. Return ONLY the JSON array.