From d896753ab4ca07d31c02123ecb7e02680bfc1bbd Mon Sep 17 00:00:00 2001 From: Gerrrt Date: Sat, 28 Nov 2026 08:28:42 -0800 Subject: [PATCH] docs(audit): keep pipe characters out of git log formats 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 --- .claude/commands/weekly-audit.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.claude/commands/weekly-audit.md b/.claude/commands/weekly-audit.md index 15dd076f..02470bcb 100644 --- a/.claude/commands/weekly-audit.md +++ b/.claude/commands/weekly-audit.md @@ -19,7 +19,10 @@ right, record a FINDING. Do not edit. Bash runs under a fixed allow list; anything else is denied, not asked. Read files with Read, find them with Glob, search with Grep. In Bash, run one command per call: no `cd`, no `&&` or `;`, no redirects (`2>&1`, `>`). -The id hash in step 3 is the one allowed pipe. Run git in Lemmiwinks as +The id hash in step 3 is the one allowed pipe. Keep `|`, `;` and `&` out of +arguments: `git log --format=%h|%cs|%s` is three piped commands, and is +denied. Separate fields with spaces or `%x09` instead: +`git log --format='%h %cs %s' -- `. Run git in Lemmiwinks as `git -C .lemmiwinks log …`. Run the checks exactly as written in steps 11 and 12.