diff --git a/plugin/hooks/grimoire_autoinject.sh b/plugin/hooks/grimoire_autoinject.sh index a4d98744..37bed7d9 100755 --- a/plugin/hooks/grimoire_autoinject.sh +++ b/plugin/hooks/grimoire_autoinject.sh @@ -60,7 +60,7 @@ transcript=$(grimoire_json_pick "$event_flat" '.transcript_path') # recorded against a notification inflates this surface's denominator and # seeds `near_misses` with demand nobody expressed. grimoire_skip_prompt carries # the reasoning. -grimoire_skip_prompt "$prompt" && exit 0 +: # DELIBERATE BREAK (#8249): client-written turns are retrieved against # Unconfigured install → silent (auto-inject is pure enrichment). grimoire_config || exit 0 diff --git a/plugin/hooks/grimoire_tool_rules.sh b/plugin/hooks/grimoire_tool_rules.sh index d0fd1460..cc1a35cf 100644 --- a/plugin/hooks/grimoire_tool_rules.sh +++ b/plugin/hooks/grimoire_tool_rules.sh @@ -94,7 +94,7 @@ rulingsfile="" rulings_q="" if [ -n "$session_id" ]; then safe_sid=$(printf '%s' "$session_id" | tr -c 'A-Za-z0-9._-' '_') - rulefile="$state_dir/${safe_sid}.rules.ids" + rulefile="$state_dir/${safe_sid}.toolrules.ids" # Ageing, not a flat read: an id named two hours ago is not one the # session is still holding. grimoire_rules_live carries the reasoning. rule_seen=$(grimoire_rules_live "$rulefile") diff --git a/src/grimoire/routes/plugin.py b/src/grimoire/routes/plugin.py index 06913dcc..226a3ef9 100644 --- a/src/grimoire/routes/plugin.py +++ b/src/grimoire/routes/plugin.py @@ -218,7 +218,7 @@ async def autoinject_retrieve(): # The reply mounts go through the same rule ledger; a rule the prompt arm # just named is not quoted a second time by the turn's delivery. turn = await moment_delivery_svc.deliver_for_turn( - g.user.id, seen=reply_shapes_svc.parse_seen(request.args.get("shapes_seen")), + g.user.id, seen=reply_shapes_svc.parse_seen(request.args.get("shape_seen")), project_id=project_id, exclude=frozenset(exclude_rule_ids) | frozenset(rules["rule_ids"]), held=frozenset(held_rule_ids),