Commit 862db77
committed
docs(agents): require line-by-line audit of AI-generated destructive PRs
Add two rules learned from earlier PR review pain.
AI-generated PRs touching find / mass-delete / sandbox-container / bundle-id
matchers must be reviewed per branch (fallback branches regress to broad
globs), per protected-path coverage, and per user-confirmation step. Ask the
contributor to narrow matchers to exact constants instead of approving on
plausibility.
Test-orphan grep must cover the whole repo including top-level entry scripts,
not only lib / bin / scripts / tests. Trace string-built call sites, eval,
declare -f, compgen, and write-only helpers' data flow before declaring a
function dead.1 parent 86068b3 commit 862db77
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
0 commit comments