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