Auwai

Enforcement

The raw-read policy blocks a content read when the file is first-party and indexed. It is in skills/auwai/scripts/guard.py and the Hermes plugin.

Policy

guard.check_path(repo, path) returns allowed or blocked with a reason.

Allowed:

Blocked:

guard.check_command(repo, command) parses common content commands:

rg and grep are allowed because they return matches, not full content.

Decision flow

The hook fails open when the policy cannot be loaded. The guard is a guardrail, not a sandbox; interpreter escapes remain possible.

Override

The override is active when either is true:

Use the override for a one-shot request or a file that the index cannot represent.

Hermes hook

The plugin registers pre_tool_call. For read_file it checks the path. For terminal it checks the command. A blocked call returns {"action": "block", "message": ...}.

The hook fails open when the guard module or the repository cannot be found. That keeps a broken integration from stopping the agent.

Current limits

The hook covers the Hermes tools it knows. A shell command that reads a file through Python, awk, perl, or a custom program is not parsed. OpenCode uses the guard plugin. The plugin forwards read and bash calls to the CLI policy. The policy is a guardrail, not a security boundary.