Advisory PR split analyzer for HorizonRAG. Use during /review or before opening a PR to decide whether the current change set should ship as one PR or be split/stacked into smaller reviewable slices. Classifies every changed file into a slice (no file left unassigned), returns a JSON decision (APPROVE | SLICE_PLAN | SKIPPED), and then offers to open a new PR per slice (branch + commit + push + gh pr create) — only after the human confirms. Advisory by default; never branches, pushes, or opens a PR without explicit confirmation, and never pushes straight to the default branch.
Generate and run unit tests for HorizonRAG (Vitest). Use when adding or changing server route logic, validation, SQL-helper wrappers, or React api.js/components, and you need fast, parameterized SQL-safe unit tests. Covers happy path plus validation/error cases, mocks the pg query helper and network, and never touches real secrets or the live database.