hermes-agent/.claude/settings.json
kenyonxu 94c2a4016b fix(gateway): offload both blocking sources in compression-in-flight check (#5)
The sync _session_has_compression_in_flight sat on the message hot path
and blocked the event loop twice: under session_store._lock during
_ensure_loaded_locked (JSON read) and via db.get_compression_lock_holder
(SQLite SELECT). Async-ify the method and offload both sources via
asyncio.to_thread; await the call site in _handle_active_session_busy_message.
2026-07-10 12:38:48 +05:30

15 lines
644 B
JSON

{
"permissions": {
"allow": [
"Bash(systemctl --user status hermes-gateway.service)",
"Bash(journalctl --user -u hermes-gateway.service --no-pager --since \"6:00\")",
"Bash(journalctl --user -u hermes-gateway.service --no-pager --since \"08:31\")",
"Bash(journalctl --user -u hermes-gateway.service --no-pager --since \"08:30\")",
"Bash(journalctl --user -u hermes-gateway.service --no-pager --since \"08:00\")",
"Bash(MAIN_PID=3163287 *)",
"Read(//proc/3163287/**)",
"Bash(sudo -S timeout 3 strace -p 3163287 -e trace=futex -f -o /tmp/strace_main.txt)",
"Read(//tmp/**)"
]
}
}