← Back to digest
Tools & Demos

OpenShell formal policy checks

What's this about?

OpenShell describes using Z3 to reason about agent network policy after a git-remote-https write path slipped past HTTP-layer inspection. Formal checks seek counterexamples mechanically, but only for the boundaries specified in the model.

What exactly is a formal policy prover?

It converts “this action must never bypass this rule” into logic and asks a solver to find a possible violating path. Finding a counterexample is powerful; finding none does not prove an omitted rule is safe.

What's the community saying?

HN 31 points, 11 comments.
  1. Deterministic policy tests can catch bypasses before production.
  2. The policy model and actual tool semantics can drift apart.
  3. Agent safety needs layered controls, not only prompt instructions.
← Security patch benchmark reanalysisThe verification bottleneck →