Skip to content

docs(audit): keep pipe characters out of git log formats - #1804

Merged
Gerrrt merged 1 commit into
mainfrom
ci/weekly-audit-no-pipe-in-format
Nov 28, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
ci/weekly-audit-no-pipe-in-format

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 28, 2026

Copy link
Copy Markdown
Owner

What changed

.claude/commands/weekly-audit.md, Tools: keep |, ; and & out of command arguments, and separate git log --format fields 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.md and the same for docs/hardware.md. Unquoted, the | makes that three piped commands, and %cs and %s match no rule. Both were read-only; nothing else was denied.

Blast radius

CI prompt only; no host, VLAN or service changes.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • check_docs.py: pass; close-keyword check on the prompt: pass
  • Local focus-3 run: 61 turns, 2 denials, both the pattern above
  • Monday's run (focus 1): permission_denials_count should be 0

🤖 Generated with Claude Code

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>
@Gerrrt
Gerrrt merged commit a7da475 into main Nov 28, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the ci/weekly-audit-no-pipe-in-format branch November 28, 2026 19:05
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