Claude Code runs a hook in the session's current directory, so the
autosave Stop hook's relative script path followed the shell into
subfolders: a session working inside a nested repo saved its transcript
there. autosave_hook.py and start_hook.py now write
`cd "${CLAUDE_PROJECT_DIR:-.}" && ...`; --check flags an entry from
before the fix as outdated and --install replaces it, keeping other
hooks. Smoke test fires both installed hooks from a subfolder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| decisions | ||
| CHANGELOG.md | ||
| CHANGELOG.pl.md | ||
| MANUAL.md | ||
| MANUAL.pl.md | ||
| MCP.md | ||
| MCP.pl.md | ||
| OPENSPEC.md | ||
| OPENSPEC.pl.md | ||