This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # epic-review-sweeper: detect chunks ready for epic-level external review | |
| # and dispatch them. Pure rule-driven (no LLM judgement in this layer). | |
| # | |
| # Rules are in .gc/epic-review-rules.yaml. Each rule defines a chunk by | |
| # patterns and names an epic bead + reviewer agent. A chunk is "ready" when: | |
| # - all chunk members are closed | |
| # - the epic is open OR in_progress | |
| # - epic has no active review in flight (metadata.review_in_flight != true) | |
| # - review_pass_count < max_passes |