openclaw/extensions/web4-governance
dp-web4 fd457ac3f4 Add web4-governance plugin: R6 audit trails and session identity
Adds a governance extension that creates verifiable audit trails for
agent tool usage using the R6 framework (Rules+Role+Request+Reference+
Resource→Result). Uses the typed after_tool_call hooks wired in #1
to capture every tool invocation with provenance, timing, and
hash-linked chain integrity.

Includes:
- R6 request framework with tool classification
- Hash-linked JSONL audit chain with verification
- Software-bound session identity tokens (Soft LCT)
- Session state tracking with tool/category counts
- CLI commands: audit summary, audit verify, audit last
- 39 unit tests across all modules

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 20:24:29 -08:00
..
src Add web4-governance plugin: R6 audit trails and session identity 2026-01-27 20:24:29 -08:00
clawdbot.plugin.json Add web4-governance plugin: R6 audit trails and session identity 2026-01-27 20:24:29 -08:00
index.ts Add web4-governance plugin: R6 audit trails and session identity 2026-01-27 20:24:29 -08:00
package.json Add web4-governance plugin: R6 audit trails and session identity 2026-01-27 20:24:29 -08:00