Files
ruflo/docs/dream-cycle
rUvandClaude 7208f28c0a dream(security): enforce SecurityPolicy trust thresholds in PolicyEngine (evaluated) (#4619)
* 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>
2026-10-31 10:54:25 -04:00
..