mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-08 13:12:08 +00:00
docs: sharpen bypass comment per review
The live path bypasses the whole _build_gateway_agent_history cleanup pipeline, not just the replay-cleanup pass — say so precisely.
This commit is contained in:
parent
1c473bc6a6
commit
4ca61869cb
1 changed files with 6 additions and 5 deletions
|
|
@ -18240,11 +18240,12 @@ class GatewayRunner(GatewayAuthorizationMixin, GatewayKanbanWatchersMixin, Gatew
|
|||
"conversation context (possible FTS write corruption)",
|
||||
session_key, len(agent_history), len(_selected),
|
||||
)
|
||||
# The live in-memory history bypassed the replay-cleanup
|
||||
# pass inside _build_gateway_agent_history — re-apply the
|
||||
# stale-confirmation expiry (#59607) so a dangerous
|
||||
# confirmation can't slip through this path either.
|
||||
# Idempotent; messages without timestamps are untouched.
|
||||
# The live in-memory history bypassed the
|
||||
# _build_gateway_agent_history cleanup pipeline above —
|
||||
# re-apply the stale-confirmation expiry (#59607) so a
|
||||
# dangerous confirmation can't slip through this path
|
||||
# either. Idempotent; messages without timestamps are
|
||||
# untouched.
|
||||
agent_history = _strip_stale_dangerous_confirmations(
|
||||
_selected, now=time.time()
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue