Reference
Exact behavior, requirements and package checks, for when you need them.
- Rules that travel with the repository
Project rules and trust.
- Policy fields
Every field of a policy, and what it does not do.
- Set up each agent
Claude Code, Hermes Agent and pi.
- OpenAI Codex CLI and other agents
Connect it through the open Hook ADK.
- The server and dashboard by hand
Without the setup wizard.
- Common questions
Installing and running Isonapse.
Reference
The details, for when you need them
You need none of this for a first run. Project rules, the exact setup and limits of each agent, running the server by hand and common questions each have their own page; system requirements and package verification follow here.
Technical reference
You need none of this for a first run. Expand these sections when you need exact platform, lifecycle, or package behavior.
Data location, pausing, and uninstalling
By default, your rules, signed decision history, and learned state stay local under ~/.isonapse/. There is no required cloud service, account, or telemetry. A Community Edition server you run keeps its data in a Docker volume you control. Sharing records with a self-hosted team server is opt-in; see Does my code or data leave my machine?
For a temporary change in a personal install, use isonapse hook pause --for 10m. This pauses only Enforce's learned checks, for no more than 30 minutes. Your Lua policy must have an explicit, unscoped static PERMIT for lifecycle:pause-learned, without a custom action dispatcher, and the command requires fresh OS authentication. The current mode and other controls remain unchanged; authorization and completion receipts are still required. Work permitted through a pause does not become permanent learned approval. isonapse hook resume, expiry, restart, or a mode or policy change restores the learned layer. Managed or unknown installations deny this relaxation until enterprise approval support is available.
To disable an authorized personal plugin installation without losing data, isonapse hook disable removes the generated Claude Code plugin and enable creates it again only when the plugin path is absent and refuses to replace an occupied path. Existing Claude sessions may retain cached hooks. Exit and restart Claude, start a fresh session, then run /hooks to verify Isonapse is absent. The control-plane daemon, managed policy, and local data are unchanged. Disable is distinct from the scoped pause above. Use isonapse hook doctor before changing an uncertain installation.
Managed or uncertain installations also deny uninstall and other protection-relaxing lifecycle changes while enterprise approval support is unavailable. This includes personally chosen --managed setups: managed registration is a protection signal, not an EE license check. An OS password alone does not override that boundary. Where lifecycle policy permits removal, isonapse hook uninstall --yes first freezes each install-owned local target's filesystem identity and authenticates any custom socket against the daemon health PID and trusted installation PID file. Managed-policy ownership checks never override the earlier lifecycle refusal or authorize managed removal. Unrelated organization policy is preserved; duplicate, malformed, ambiguous, detected path/identity replacement, or unexpected local state requires manual resolution. It then publishes a checked stop sentinel, stops the control plane, waits for its exact process to exit, revalidates the frozen targets, and deletes the plugin and bootstrap-owned data. Valid macOS sockets at the platform path-length limit remain removable, and deleting the owned data tree may intentionally remove the stopped socket's parent. A configured data_dir that resolves outside the bootstrap installation is refused before managed-policy mutation. External witness, policy, vault, or other file overrides are preserved for deliberate manual cleanup rather than inferred to be install-owned. If policy removal, ownership, shutdown, or target identity fails, the remaining cleanup does not run and the command does not claim completion. Timestamped managed-policy backups remain for manual administrator or MDM restoration; uninstall does not choose and restore one automatically. This is not a filesystem transaction or OS sandbox against a hostile process already running as the same account (or root) and deliberately targeting lifecycle or private quarantine entries between syscalls. Stop that process before retrying, or resolve the retained state manually. (Run it without --yes first to preview what it will remove.) Then brew uninstall isonapse removes the binaries.
System requirements
- macOS 11 Big Sur or later — Apple silicon native; Intel macOS is not supported. Rosetta translates Intel applications on Apple silicon, not ARM applications on Intel Macs.
- Linux x86_64 or arm64 (aarch64) with glibc 2.35 or newer — e.g. Ubuntu 22.04+ or Debian 12+. RHEL/Rocky/Alma 9 and Amazon Linux 2023 remain too old at glibc 2.34; older releases and musl distros are also unsupported. The binary won't start there, and the installer stops before downloading rather than leave you with one that can't run. On Linux arm64, use the install script: Homebrew on Linux installs x86_64 only. 32-bit ARM is not supported.
- Model namespace monitoring: every verified-file open requires macOS kqueue or Linux inotify. Linux arms its watcher through
/proc/self/fd. If the required embedding cannot arm that watcher during startup validation, the daemon refuses to start; restore the facility and start it again. - Linux lazy model sessions: after required validation succeeds, session construction additionally requires
memfd_createwith file sealing and/proc/self/fd. If only that later construction is blocked, the daemon stays up, but PII/injection use regex/structural fallbacks, NLI is unavailable, and an Enforce learned check without an explicit policy permit asks for confirmation. Restart the daemon after enabling the primitives. - Windows native is out of beta scope. No Windows build is tested or released.
- Homebrew (the
brewpath) or curl (the script path), plus one supported agent host: Claude Code with an active Claude account, or a host from Choose your host. - An internet connection at setup — the required embedding model is fetched from Hugging Face during
isonapse hook init. After that, enforcement runs fully offline. - Disk: the four model downloads alone are 1.968 GB (1.833 GiB): 90.9 MB required at setup plus 1.877 GB optional. Reserve at least 2.1 GB for a full-model install, plus additional room for binaries and locally growing receipts, logs, and learned state.
- Linux model first-use memory: the temporary sealed snapshot can equal one complete model footprint — up to 837.1 MB (798.3 MiB) for PII — in addition to ONNX Runtime session memory. The snapshot is released after session construction, and only one cold model is admitted at a time; another caller does not queue.
- No Docker required for the Agent Hook.
What gets installed
- Five binaries:
isonapse(the CLI),isonapse-hook(the thin per-event client Claude Code spawns),isonapse-controlplane(the local decision engine that runs as a daemon),isonapse-hermes-adapterandisonapse-pi-adapter. They are in Homebrew's managed prefix (Brew install) or~/.isonapse/bin/(script install).isonapse hook initvalidates and records the hook beside the invoked CLI. For future updates, see Update Isonapse. - The license and attribution files next to them —
LICENSE.md,THIRD_PARTY_NOTICES.md, andTHIRD_PARTY_DEPENDENCIES.md. - The Hook ADK, as
isonapse-adapter-toolkit.tar.gz: in$(brew --prefix)/share/isonapse/with Homebrew, or next to the binaries with the install script. Isonapse never runs it; you use it to connect an agent without a built-in integration, such as OpenAI Codex CLI. - Script-install archives are a closed, preflighted cohort. Before changing any installed file, the installer verifies the outer SHA-256 and a versioned manifest. The manifest binds the five binaries, updater, EULA, both notice files, archive README and Hook ADK toolkit to their exact modes, platform target, byte sizes, and SHA-256 digests. Missing, undeclared, linked, non-executable, wrong-target, or tampered members reject the whole archive and leave the existing install unchanged. The generated archive guide names the exact release, product and platform and how to install it. A release keeps the same signed archive on every channel that publishes it. The installer records your selected channel separately, then preflights a complete sibling directory—including its checksummed build identity, signature and channel record—under a shared per-install advisory lock and switches it as one cohort with the channel configuration. A pre-commit failure restores every prior byte; after a killed process, the next run resolves the retained identity-bound journal before contacting GitHub. Lock ownership also remains held by a foreground child that outlives a killed installer shell. Every installer/updater request also shares a bounded transport policy: ten seconds to connect, no more than five redirects, transient 408/429/5xx retries, and a 300-second maximum per operation including retries. After resolving any retained recovery journal, exhaustion prepares or commits no new cohort change and reports the channel/tag without exposing credentials. If metadata for the installed immutable release is missing or inaccessible, an ordinary update stops before installation because release order is unknown; only an explicit
--forcewaives that conflict. Authentication, transport, and transient-service failures remain non-overridable. - Your
~/.isonapse/state directory, a machine signing key, and a starter policy — and Isonapse registered as a Claude Code plugin (with--host, that host's plugin or extension instead). The Claude Code plugin's hooks-only manifest registers thirteen events, including configuration changes and turn stops, and invokes the local guard and control-plane client. Managed mode instead adds host permission rules and locks hook loading withallowManagedHooksOnly. - At
isonapse hook init: the 90.9 MB embedding model the control plane needs to start. Optionally, 1.877 GB (1.748 GiB) of on-device PII, prompt-injection, and NLI cross-encoder models viaisonapse hook intel download— skippable; the required embedding-backed learned gate still enforces without them. That command also repairs the required model if it is missing, making 1.968 GB the maximum transfer from an empty model directory.
License & attribution
Isonapse is governed by the Isonapse Public Beta EULA — the plain-language summary is on the beta terms page. Third-party notices for the bundled models and the open-source dependencies ship with every install (next to the binaries) and are available anytime with isonapse licenses.
Stuck? Help finds the message you see.