Commit 6ae41e1
Add codebase audit workflow with preset topics
Adds a workflow_dispatch-triggered codebase audit system that can analyze
existing code (not just PR diffs) using multi-perspective AI review.
Key features:
- Smart file discovery: knowledge files → grep → LLM reranking
- Multi-pass analysis: per-file clusters, then cross-file synthesis
- Snippet-based citing: exact code quotes instead of line numbers
- Rolling issues: updates existing issue for same topic
- 5 preset audit topics: panic-safety, ffi-boundary, security-hardening,
undefined-propagation, resource-limits
- Auto-selects perspectives based on topic keywords
New files:
- .github/workflows/codebase-audit.yml
- .github/scripts/codebase-audit.sh
- .github/prompts/audit-*.json (5 preset configs)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b0173f5 commit 6ae41e1
7 files changed
Lines changed: 568 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments