Skip to content

feat(merge): add --all flag for scanning open PRs with safety guardrails#286

Merged
davideast merged 1 commit intomainfrom
feat/merge-scan-all-prs
Mar 18, 2026
Merged

feat(merge): add --all flag for scanning open PRs with safety guardrails#286
davideast merged 1 commit intomainfrom
feat/merge-scan-all-prs

Conversation

@davideast
Copy link
Collaborator

  • Add --all, --maxPrs, --labels flags to scan command
  • Hard cap of 25 PRs (override via --max-prs), mutual exclusion with --prs
  • discoveredPrs/scannedPrs metadata in output for agent introspection
  • Decompose github.ts and fixtures into per-function files with barrel re-exports
  • Decompose scan-handler into ops (scan-types, scan-discover, scan-classify)
  • Eliminate any types: rawInput→unknown, typed ScanOutput, resolveFileContent()
  • 18 new tests (44 total, zero regressions)

- Add --all, --maxPrs, --labels flags to scan command
- Hard cap of 25 PRs (override via --max-prs), mutual exclusion with --prs
- discoveredPrs/scannedPrs metadata in output for agent introspection
- Decompose github.ts and fixtures into per-function files with barrel re-exports
- Decompose scan-handler into ops (scan-types, scan-discover, scan-classify)
- Eliminate any types: rawInput→unknown, typed ScanOutput, resolveFileContent()
- 18 new tests (44 total, zero regressions)
@davideast davideast merged commit 19fc117 into main Mar 18, 2026
5 checks passed
@davideast davideast deleted the feat/merge-scan-all-prs branch March 18, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant