Commit d910366
fix: remove unnecessary companion allowlist and add jq availability check
The regex `codex\s` already won't match `codex-companion` (hyphen, not
space), so the substring allowlist was redundant and could be bypassed
with chained commands. Removed it. Also added a jq availability check
that passes through gracefully if jq is missing — no hard dependency
introduced but the guard works when jq is present (which we expect).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff00b11 commit d910366
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| 11 | + | |
7 | 12 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments