openclaw/extensions
dennis palatov 93bab62444 feat(web4-governance): add PolicyEntity as first-class trust participant (#5)
Policy is now "society's law" - not just configuration, but a hash-tracked,
witnessable entity in the trust network.

Key changes:
- PolicyEntity class with hash-identified entityId (policy:<name>:<version>:<hash>)
- PolicyRegistry for registration and witnessing
- Policy evaluation with rate limiting integration
- Session witnesses policy at initialization
- Policy witnesses tool decisions in after_tool_call
- R6 records include policyEntityId in rules field
- CLI command: `moltbot policy entities` to list registered policies
- 26 new tests for PolicyEntity (177 total tests passing)

The witnessing flow:
1. Session start → register policy entity → session witnesses policy
2. Tool call → policy evaluates decision → policy witnesses outcome
3. Bidirectional trust accumulation in the witnessing chain

Co-authored-by: dp-web4 <dp@metalinxx.io>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 13:33:36 -08:00
..
bluebubbles chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
copilot-proxy chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
diagnostics-otel chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
discord chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
google-antigravity-auth chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
google-gemini-cli-auth chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
googlechat chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
imessage chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
line chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
llm-task chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
lobster chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
matrix chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
mattermost chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
memory-core chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
memory-lancedb chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
msteams chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
nextcloud-talk chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
nostr chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
open-prose chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
qwen-portal-auth fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
signal chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
slack chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
telegram chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
tlon chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
twitch chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
voice-call chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
web4-governance feat(web4-governance): add PolicyEntity as first-class trust participant (#5) 2026-01-28 13:33:36 -08:00
whatsapp chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
zalo chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00
zalouser chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00