What problem does it solve?
Orchestrates the Stage B distillation pipeline by coordinating discovery of merged PRs labeled knowledge:pending, collecting evidence, extracting candidates, applying a quality gate, and producing a changeset and a report PR for human review. This ensures accumulated knowledge from multiple PRs is distilled in a controlled, auditable batch process.
Core Features & Use Cases
- Automated batch orchestration: scans for pending PRs, creates a working branch, and runs per-PR subagents to gather evidence and produce a changeset.
- Quality gating and reporting: applies a quality gate to candidates, aggregates results into a report PR, and surfaces insufficient evidence for deferred processing.
- Change tracking & audit: writes a structured changeset JSON for later vault insertion and generates a batch report for review.
Quick Start
Trigger a batch run that processes all merged PRs with knowledge:pending, writes changesets under .knowledge/changesets, and creates a report PR for review.