Skip to content

Add HOL Guard before-tool extension - #22

Open
kantorcodes wants to merge 5 commits into
SuperagenticAI:mainfrom
kantorcodes:feat/hol-guard-before-tool-extension
Open

kantorcodes wants to merge 5 commits into
SuperagenticAI:mainfrom
kantorcodes:feat/hol-guard-before-tool-extension

Conversation

@kantorcodes

Copy link
Copy Markdown

Summary

Adds an optional SuperQode extension that invokes the installed HOL Guard CLI from the existing before_tool hook before command-bearing tool calls execute.

The extension allows only an explicit benign Guard decision. Review, deny, malformed output, timeout, missing Guard, and subprocess failures stop the protected tool call instead of falling through unprotected.

Validation

  • focused allow and fail-closed tests cover Guard decisions and process failures
  • unrelated tools continue normally
  • the change uses SuperQode's existing extension API and does not add a parallel policy engine

Affiliation: I maintain HOL Guard / Hashgraph Online. Automated assistance was used to prepare and verify this contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant