openclaw/extensions
dennis palatov e8c36e52db
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 11:36:06 -08:00
..
bluebubbles refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
copilot-proxy refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
diagnostics-otel refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
discord refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
google-antigravity-auth refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
google-gemini-cli-auth refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
googlechat refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
imessage refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
line refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
llm-task refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
lobster refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
matrix refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
mattermost refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
memory-core refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
memory-lancedb refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
msteams refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
nextcloud-talk refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
nostr refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
open-prose refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
qwen-portal-auth fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
signal refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
slack refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
telegram refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tlon refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
twitch refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
voice-call refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
web4-governance feat(web4-governance): add PolicyEntity as first-class trust participant (#5) 2026-01-28 11:36:06 -08:00
whatsapp refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
zalo refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
zalouser refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00