Per QA round 2 (PR #36, finding R2-1): setup.sh currently runs rm -f /tmp/ctx-webfetch-avail-* when --skip-context-mode is passed, which wipes the cache for every project on the host, not just the one being configured.
Other projects re-detect on their next WebFetch call (so state is still correct), but a multi-project workstation sees spurious re-detections after any --skip-context-mode run anywhere.
Fix: compute the current project's hash (md5 of $(pwd -P) / git toplevel, matching the algorithm in hooks/global/webfetch-nudge.sh:28-35) and remove only /tmp/ctx-webfetch-avail-<thishash>.
Context: #36 (comment)
Per QA round 2 (PR #36, finding R2-1):
setup.shcurrently runsrm -f /tmp/ctx-webfetch-avail-*when--skip-context-modeis passed, which wipes the cache for every project on the host, not just the one being configured.Other projects re-detect on their next WebFetch call (so state is still correct), but a multi-project workstation sees spurious re-detections after any
--skip-context-moderun anywhere.Fix: compute the current project's hash (md5 of
$(pwd -P)/ git toplevel, matching the algorithm inhooks/global/webfetch-nudge.sh:28-35) and remove only/tmp/ctx-webfetch-avail-<thishash>.Context: #36 (comment)