r/opencode • • 2d ago

Looking for 5 devs to try an open-source policy gate for coding agents (20 min, alpha)

I'm building Permiscope: one policy file for Claude Code, Cursor, Codex and OpenCode. It checks shell/file/API actions, pauses sensitive ones for a human and writes a hash-chained decision log.

It's alpha and not on npm yet — testers install a local tarball. It's cooperative governance, not a sandbox; direct fs calls bypass it. No signup and no telemetry by default.

If you use a coding agent weekly and will give 20 minutes of blunt feedback, comment or reply here: https://github.com/shubhusion/Permiscope/issues/218

Mods: happy to remove if self-promo/testing posts aren't allowed.

2 Upvotes

3 comments sorted by

1

u/alinesousa_428 2d ago

How are direct filesystem calls that bypass the gate represented in the decision log, if at all?

1

u/OkTangerine4993 1d ago

Direct filesystem calls aren't represented, because the hook never sees them. Permiscope records decisions for actions that go through the host's tool/hook path (shell, file tool, API or MCP call). A process that writes to disk with its own syscalls bypasses that path entirely, so no decision record is written. That's the cooperative-governance boundary in ADR-0001, not a claim of sandboxing.

The log can show what was governed; it cannot prove nothing bypassed it. If you need containment, pair the gate with an OS-level sandbox (container, VM or restricted user) and short-lived credentials. I'd rather say that plainly than imply coverage we don't have.

1

u/deleted-account69420 2d ago

Because the true friends were the ones we never had tk begin with