You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b369d8
Browse filesBrowse the repository at this point in the historyBrowse files
fix: resolve CI review permission denials and artifact upload failures
Fixes 12+ permission denials per review run by adding missing tool
permissions, switching to absolute report paths, and constraining
agents to use built-in tools over Bash equivalents.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,22 @@ All notable changes to this project are documented in this file.
4
4
5
5
Format follows [Keep a Changelog](https://keepachangelog.com/). This project uses [Semantic Versioning](https://semver.org/).
6
6
7
+
## [3.2.1] - 2026-03-13
8
+
9
+
### Changed
10
+
11
+
-`grumpy-review` — report output uses `${REPORT_DIR:-.}/report.json` instead of relative `report.json` (fixes CI artifact upload failures)
12
+
-`grumpy-review` — added `Bash(mkdir *)` to `allowed-tools` (fixes permission denial in fork context)
13
+
-`grumpy-review` — agent prompt requirements now include CI context constraints (MemCan/WebSearch unavailability) and file output rules (Write tool, not cat heredocs)
14
+
-`grumpy-review`, `check-pr-comments` — added CI Log Retrieval section: `get_job_logs` with `return_content: false` to avoid context bloat
15
+
-`claudius` agent — temp dir pattern changed from `/tmp/claude/XXXXXX` to `/tmp/claudius-XXXXXX` (avoids compound-command permission denials)
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,7 @@ See [ghsudo on GitHub](https://github.com/lklimek/ghsudo) for full documentation
205
205
206
206
### Recommended permissions
207
207
208
-
The autonomous skills (`ci-loop`, `review-loop`, `review-dependency`, `review-pr`, `check-pr-comments`) issue git and GitHub CLI commands. Without pre-approved permissions, Claude Code will prompt you to confirm each command interactively — which defeats the purpose of autonomous operation.
208
+
The autonomous skills (`ci-loop`, `review-loop`, `review-dependency`, `review-pr`, `check-pr-comments`, `grumpy-review`) issue git and GitHub CLI commands. Without pre-approved permissions, Claude Code will prompt you to confirm each command interactively — which defeats the purpose of autonomous operation.
209
209
210
210
Copy [`settings.example.json`](settings.example.json) into your project's `.claude/settings.json` to auto-approve the commands these skills need. The example includes a deny list that blocks destructive operations (force push, hard reset, branch force-delete) regardless of what is allowed.
@@ -88,7 +88,7 @@ For large tasks (50+ files), spawn multiple agents of same type with different f
88
88
89
89
### Output
90
90
91
-
Standalone agents write to `<tmpdir>/<agent-name>-report.md` (session dir: `mktemp -d /tmp/claude/XXXXXX`). Team agents use SendMessage. Each agent reports skills used; calculate redundancy ratio on overlap.
91
+
Standalone agents write to `<tmpdir>/<agent-name>-report.md` (session dir: `mktemp -d /tmp/claudius-XXXXXX`). Team agents use SendMessage. Each agent reports skills used; calculate redundancy ratio on overlap.
92
92
93
93
**Candy tally**: When wrapping up a workflow, collect each agent's 🍬 count from their reports and present a summary — agent name, findings count, candy earned. The agent with the most findings wins bragging rights.
Copy file name to clipboardExpand all lines: skills/check-pr-comments/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,10 @@ Present the rendered markdown report to the user. Optionally generate HTML (`--f
138
138
139
139
The user can also invoke `triage-findings report.json` for interactive browser-based triage of unresolved comments.
140
140
141
+
## CI Log Retrieval
142
+
143
+
When fetching GitHub Actions job logs via MCP `get_job_logs`, always set `return_content: false` to avoid dumping ~12k tokens into context. Download the log to `${TMPDIR}/job-log.txt`, then use Grep or Read to search it.
144
+
141
145
## 8. Resolve Addressed Threads
142
146
143
147
**Always ask the user for confirmation before resolving any threads.**
@@ -254,11 +256,15 @@ If initial review reveals areas needing deeper investigation:
254
256
If the user requests HTML or PDF versions, invoke the renderer directly:
255
257
256
258
```bash
257
-
python3 ../../scripts/generate_review_report.py report.json --format html
258
-
python3 ../../scripts/generate_review_report.py report.json --format pdf
259
+
python3 ../../scripts/generate_review_report.py ${REPORT_DIR:-.}/report.json --format html
260
+
python3 ../../scripts/generate_review_report.py ${REPORT_DIR:-.}/report.json --format pdf
259
261
```
260
262
261
-
For interactive triage, use the `claudius:triage-findings` skill with the report.json path.
263
+
For interactive triage, use the `claudius:triage-findings` skill with the `${REPORT_DIR:-.}/report.json` path.
264
+
265
+
## CI Log Retrieval
266
+
267
+
When fetching GitHub Actions job logs via MCP `get_job_logs`, always set `return_content: false` to get a download URL instead of dumping ~12k tokens into context. Download the log to `${TMPDIR}/job-log.txt`, then use Grep or Read to search it.
0 commit comments