PathReader evaluates agent actions against your workspace's policy documents before they execute — converting PDF policies into deterministic, auditable rules.
Policies are organized in a hierarchy: your Workspace contains one or more Departments, each of which owns Policies. A policy can have multiple versions — only one is active at a time. Activating a new version retires the previous one.
Each service account has a mode:
PathReader ships a scripts/pathreader-agent-hook.sh that plugs into the PreToolUse hook of Claude Code (and Cursor). Every tool call — Bash command, file read, web fetch — is sent to PathReader's evaluate API before it executes.
See docs/integration-guide.md for the full setup guide including the settings.json snippet and action request schema.
The hook is fail-open by default: network errors and server errors allow the action through so a connectivity blip does not halt the agent. Set PATHREADER_HOOK_LOG=/tmp/pathreader.log for debug output.
Create service accounts in Settings → Service Accounts. Each account gets a unique API key (shown once at creation) that agents use to authenticate with the evaluate API. Revoke an account to immediately stop all agents using that key.
THRESHOLD_LIMIT rule passed within 5% of the threshold are flagged in the analytics page as near-misses.