declick 0.5.1
The DashClaw guard call now matches what a current DashClaw (5.31) accepts. Found by running strict mode against a real instance, which answered 401 to every call.
- The key is sent as
x-api-key. DashClaw readsAuthorization: Beareras an OAuth token, so anoc_livekey sent that way was "invalid token" and strict mode blocked every mutating verb. - The body is DashClaw's guard input:
action_type(withactionkept as the alias),agent_idandagent_nameofdeclick,declared_goal(declick run <adapter> <verb>),risk_score,target,systems_touched(the target host), and atoolobject carrying the adapter name, engine, method and redacted args, where a policy can match on them. The flat{tool, action, method, args}shape was silently stripped by the validator and refused withtool must be an object. - The call is
/api/guard?record=true, so every decision becomes an action record on the DashClaw dashboard, anddecision_idoraction_idis accepted as the approval id when the guard asks for one. - Tests, README and the site describe the new shape. 566 tests pass, qa 40 of 40.
Install: npm i -g declick@0.5.1 · npm · declick.dev