diff --git a/plugin/hooks/grimoire_prior_art.sh b/plugin/hooks/grimoire_prior_art.sh index 95bc379a..4a016bfc 100755 --- a/plugin/hooks/grimoire_prior_art.sh +++ b/plugin/hooks/grimoire_prior_art.sh @@ -227,7 +227,7 @@ if [ -n "$session_id" ]; then fi if [ -f "$syncfile" ]; then sync_seen=$(tr '\n' ',' < "$syncfile" 2>/dev/null | sed 's/,$//') - [ -n "$sync_seen" ] && sync_exclude_q="&exclude_sync_ids=${sync_seen}" + [ -n "$sync_seen" ] && sync_exclude_q="&exclude_sync=${sync_seen}" fi if [ -f "$derivefile" ]; then derive_seen=$(tr '\n' ',' < "$derivefile" 2>/dev/null | sed 's/,$//' | grimoire_urlenc) || derive_seen="" diff --git a/plugin/hooks/grimoire_session_context.sh b/plugin/hooks/grimoire_session_context.sh index 8b730d98..ecff6f33 100755 --- a/plugin/hooks/grimoire_session_context.sh +++ b/plugin/hooks/grimoire_session_context.sh @@ -181,7 +181,7 @@ if [ -n "$url" ] && [ -n "$token" ] && command -v curl >/dev/null 2>&1; then # with its latest logs; a new session hears about other sessions' claims. sid_now=$(grimoire_json_pick "$event_flat" '.session_id') q="source=$(printf '%s' "$source" | grimoire_urlenc)" - [ -n "$sid_now" ] && q="${q}&session_id=$(printf '%s' "$sid_now" | grimoire_urlenc)" + : # DELIBERATE BREAK (#8249): session_id no longer sent [ -n "$scope" ] && q="${q}&${scope}" q="?${q}" # ONE FETCH, NAMED WHEN IT FAILS. A timeout, an HTTP error and a refused key diff --git a/plugin/hooks/grimoire_session_end.sh b/plugin/hooks/grimoire_session_end.sh index 01dd283c..56bc3e81 100755 --- a/plugin/hooks/grimoire_session_end.sh +++ b/plugin/hooks/grimoire_session_end.sh @@ -41,7 +41,7 @@ rm -f "${TMPDIR:-/tmp}/grimoire-moment/${safe_sid}".* \ "${TMPDIR:-/tmp}/grimoire-shapecheck/${safe_sid}".* 2>/dev/null || true reason=$(grimoire_json_pick "$event_flat" '.reason') -[ "$reason" = "clear" ] && exit 0 +# DELIBERATE BREAK (#8249): /clear releases too command -v curl >/dev/null 2>&1 || exit 0 grimoire_config || exit 0