feat: add claw approval MVP with privileged broker
Some checks failed
Stale / stale (push) Has been cancelled
Stale / lock-closed-issues (push) Has been cancelled

Implement Postgres-backed claw approval flow and integrate gateway methods for create/list/get/approve/reject/execute/audit. Add a minimal systemd-run privileged broker with bearer auth, strict scope and exact-command validation, dangerous-shell blocking, atomic once-grant consumption, and execution audit updates.
This commit is contained in:
Fedor
2026-03-13 12:41:23 +00:00
parent 70d7a0854c
commit 2cbe4e2808
11 changed files with 1666 additions and 247 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "claw-broker",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "broker.mjs",
"scripts": {
"start": "node broker.mjs"
},
"dependencies": {
"pg": "^8.20.0"
}
}