Skip to content

Commit 71a6fe3

Browse files
jvalin17claude
andcommitted
Add troubleshooting section to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c770045 commit 71a6fe3

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,34 @@ Sessions use a **two-layer** limit system. Layer 1 (`compact_at_minutes`) writes
302302

303303
---
304304

305+
## Troubleshooting
306+
307+
### `finalize_report.py: No such file or directory`
308+
309+
The skill tried to run `finalize_report.py` using a relative path from a different project directory. Ensure the skill SKILL.md files use the absolute path:
310+
311+
```bash
312+
python3 /path/to/agent-toolkit/hooks/finalize_report.py <skill> .scratch/<skill>_<slug>/findings.json
313+
```
314+
315+
### `BLOCKED: git commit requires precommit skill`
316+
317+
The gate hook blocks commits when no `gates.json` is found, assuming the project is toolkit-managed. Two fixes:
318+
319+
1. **Upgrade the toolkit** — the latest gate hook skips enforcement for repos without `gates.json`
320+
2. **Temporary bypass** — set the env var before your commit:
321+
```bash
322+
AGENT_TOOLKIT_ENFORCEMENT=warn git commit -m "your message"
323+
```
324+
325+
### `Run install.sh in project root`
326+
327+
The legacy fallback triggers when `gates.json` exists but has no `commit_requires`. Either:
328+
- Add `"commit_requires": ["precommit"]` to `gates.json` and run `/precommit`
329+
- Or remove `gates.json` to opt out of gating entirely
330+
331+
---
332+
305333
## Contributing
306334

307335
PRs welcome. Open an issue with battle-tested patterns or bugs you caught.

0 commit comments

Comments
 (0)