Repository navigation
ci(audit): allow read-only grep and find, report denials, finish focus 0 - #1816
Merged
Merged
Conversation
The audits fell back to grep and find in Bash when Grep and Glob were missing, and both were denied. Allow them, with find's -exec, -ok, -delete, -fprint and -fls denied. Add a step that writes the session's tool list and the shape of each denied call to the job summary. Tell the audit that a denial is no reason to leave an item unchecked, and make focus 0 give each of the 15 newest ADRs its own Coverage line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Two fixes to the weekly docs audit, and a report that lets the next run prove them.
grepandfindallowed in Bash. The 2026-11-28 re-run's audits reported Grep and Glob unavailable and fell back togrepandfindin Bash. Neither is on the allow list, so those calls were denied: 6, 13 and 11 denials on focus 2, 3 and 5. Both are now allowed.findwith-exec,-ok,-delete,-fprintor-flsis denied, sofindcan neither run a command nor write a file.grepreads nothing that Read cannot already read.git -C <dir> <subcommand>for git in Lemmiwinks). It marks a call that held a shell operator. It never prints the whole command, because the summary is public. Until now a denial count was all a run left.Why
Denied calls leave items unchecked or checked a worse way. CI shows only the count, so the last fix (#1804) could not be confirmed from a CI run.
Blast radius
.github/workflows/weekly-audit.ymland the audit prompt only. The audit job still hascontents: readandissues: write. The new step runsjqon a file in the runner's temp directory.Verification
./scripts/lint.sh: actionlint, zizmor and yamllint pass (local binaries; 9 checks skipped locally, CI runs them with--require-all)python scripts/check_docs.py: passjqprogram, run against a sample execution file, prints the tools line and one line per denial, with the shell-operator mark🤖 Generated with Claude Code