This directory is the current design reference for Claw_Guard.
Files:
architecture.md: plugin structure, runtime flow, and security decisionsmodular-refactor.md: target modular architecture for future commands, hooks, and risk scannersconfiguration.md: manifest config model, dashboard, i18n, and command surfacerelease.md: local packaging and GitHub Release workflowserver-api.md: HTTP contract betweenClaw_GuardandClaw_Guard_Server
Scope:
Claw_Guardis the OpenClaw plugin.Claw_Guard_Serveris the optional policy service used for remote evaluation and event upload.openclaw/is the pinned upstream reference and must not be modified.
Current product direction:
- Fail closed for clearly risky actions.
- Keep local rules usable without the server.
- Allow remote policy rollout through a small HTTP contract.
- Expose runtime state through commands and the built-in dashboard.
Build note:
- The dashboard UI is implemented with Preact in
src/dashboard-app/. npm run buildandnpm testboth bundle dashboard assets before compiling or testing the plugin.