v3.59.7
v3.59.7 — policy lock hardening + session_list total fix
Changed 1
- A non-regular file planted at the policy lock path is rejected rather than treated as a reclaimable lock
Fixed 2
- Policy lock fails fast on path errors instead of waiting out the full 5s lock budget and reporting a misleading lock timeout
- session_list reports every saved session in total instead of only the count of the returned page
Security 1
- Policy lock file is created with O_NOFOLLOW where supported to prevent creating it through a symlink
From ruflo
Fixes
- Policy lock fails fast on path errors instead of timing out (#4343).
acquireLock()treated everyopenSync()error as lock contention, so a permission error, missing parent directory, or a directory/symlink/FIFO planted at the lock path waited the full 5s lock budget on every MCP tool call before surfacing a misleadingpolicy-state-lock-timeout. The lock is now created withO_NOFOLLOW(where supported) to close the create-through-a-symlink path; non-contention errors now surface immediately, and a non-regular file planted at the lock path is rejected rather than treated as a reclaimable lock. session_listnow reports every saved session intotal, not just the returned page (#4344).ruflo session listpreviously printed e.g. "Showing 10 of 10 sessions" even when 30 sessions were saved, sincetotalwas computed after thelimitwas applied. Same pattern already fixed fortask_listin #4324.
Published
@claude-flow/cli@3.59.7,claude-flow@3.59.7,ruflo@3.59.7—latest/alpha/v3alphadist-tags all verified matching on the live registry.