mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* dream(security): #4618 enforce SecurityPolicy.minTrustLevelFor{Write,Memory,Spawn} in PolicyEngine
PolicyEngine.evaluateMessage() gated federation messages solely via the
hardcoded CAPABILITY_GATES table; SecurityPolicy's minTrustLevelForWrite/
Memory/Spawn fields were declared, defaulted, and accepted as constructor
overrides but never read. By default this let memory-query/memory-response
messages through at TrustLevel.ATTESTED, one level below the policy's own
stated minTrustLevelForMemory: TRUSTED.
Adds a per-message-type policy-category check layered as an additional
restriction on top of CAPABILITY_GATES (never a replacement — a loosened
override cannot bypass that hardcoded floor). 10 new discriminating tests;
677/677 full package suite passes; stash-isolated baseline fails the 3
tests this fix targets.
Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4ix1BStZRrZwPT81X
* dream(security): #4618 research gist for 2026-10-31
Local gist (gh gist create unavailable this session — GH_TOKEN invalid for
gh CLI; GitHub MCP tools used for issue/PR instead). Witness stamp computed
against candidate commit a85efdf53a.
Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4ix1BStZRrZwPT81X
* dream(security): #4618 update LEDGER for 2026-10-31
Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4ix1BStZRrZwPT81X
---------
Co-authored-by: Claude <noreply@anthropic.com>