cc-hook: fall back to file-based project override #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/project-file-override"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Env var propagation through Claude Code hook subprocesses is unreliable —
CC_TRACKER_PROJECTset on the claude CLI process does not reliably reach cc-hook.This adds a fallback: if
CC_TRACKER_PROJECTis not set, cc-hook reads/tmp/cc-hook-project-override. The companion change injones/assistant(PR #17) writes this file insendCLIbefore spawning claude and removes it after, so webhook-triggered sessions are attributed toforgejoinstead ofassistant.