Repository navigation
docs(audit): keep pipe characters out of git log formats - #1804
Merged
Merged
Conversation
A local rerun of focus 3 with CI's allow list showed what was denied: git log --format=%h|%cs|%s, which the shell reads as three piped commands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 5 tasks
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
.claude/commands/weekly-audit.md, Tools: keep|,;and&out of command arguments, and separategit log --formatfields with spaces or%x09, with an example.Why
CI hides which commands it denied, and focus 3 had 8 denials on 2026-11-27. Rerunning focus 3 locally with the same allow list and
--setting-sources project(GitHub token disabled, throwaway worktree) showed 2:git log --since=2026-11-23 --format=%h|%cs|%s -- docs/network.mdand the same fordocs/hardware.md. Unquoted, the|makes that three piped commands, and%csand%smatch no rule. Both were read-only; nothing else was denied.Blast radius
CI prompt only; no host, VLAN or service changes.
secrets/*.sops.yamlVerification
check_docs.py: pass; close-keyword check on the prompt: passpermission_denials_countshould be 0🤖 Generated with Claude Code