u/singleyomrc

[Project] Human Gate: a fail-closed approval firewall for OpenClaw agent tool calls
▲ 6 r/AskClaw+1 crossposts

[Project] Human Gate: a fail-closed approval firewall for OpenClaw agent tool calls

Hi,I built Human Gate for OpenClaw because I wanted agents to remain useful without giving them an unlimited execution pass.

It is a TypeScript plugin that intercepts tool calls before execution and routes risky calls through OpenClaw's built-in approval flow.

Examples:

- reads can pass automatically

- tests and development commands can request approval

- force-pushes, recursive deletion, remote pipe-to-shell, and OpenClaw config writes are treated as critical

- approval previews are bounded and redact common secret-like values

- remembered approvals are session-local and expire

- denied actions can enter a short cooldown instead of repeatedly prompting

The project is here:

https://github.com/freshxiaoyao/openclaw-human-gate

Current target: OpenClaw >= 2026.7.1.

I would appreciate feedback from people running real OpenClaw workflows, especially:

  1. Which calls should be auto-approved?

  2. Which calls produce annoying false positives?

  3. Is the approval explanation clear enough?

  4. Should approval reuse be path-scoped, category-scoped, or disabled by default?

This is an early project, so bug reports and design criticism are more useful than general encouragement.

u/singleyomrc — 4 days ago