Fixed
pai-watchdead on a fresh install — the skill defaultedPAI_PROJET_ROOTto/opt/pai-projet(rarely the real clone root) andPAI_PROPOSALS_DIRto/var/lib/pai-anywhere/proposals(owned by pai-anywhere'spaiuser, unwritable by the Hermes gateway). The hourly watcher silently no-op'd and dropped every proposal.PAI_PROPOSALS_DIRnow defaults to${XDG_STATE_HOME:-$HOME/.local/state}/pai-hermes/proposals(gateway-writable, created on demand);install.shauto-detectsPAI_PROJET_ROOT, narrowsPAI_WATCH_SOURCESto repos that exist, writes all three to$HERMES_HOME/pai-hermes.env, and wires it as anEnvironmentFile=drop-in on the systemd--usergateway.uninstall.shreverses it.uninstall.shshellcheck SC2015 — rewroteis-active && restart || trueas explicitif … then … fi(CI runs plain shellcheck).- CI:
actions/checkoutv4 → v7 — Node 20 EOL on GitHub runners.
Full diff: v0.1.3...v0.1.4