# Guardian

Deterministic allow/approve/block policies for Ulpi tool calls, with read-only Policy Lab regression simulation and operator-reviewed policy proposals.

- Type: Plugin
- Version: 0.2.0
- Updated: 22 Nov 2026
- Publisher: Oluseyix
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Deterministic allow/approve/block policies for Ulpi tool calls, with read-only Policy Lab regression simulation and operator-reviewed policy proposals. Exact tool-name rules, explicit protected local paths, a deliberately limited shell grammar, and payload-free persistent decision audits.

Unknown tools default to block; ambiguous recognized-tool arguments, invalid policy, and audit failures block. Uses the public pre_tool_call hook and native Ulpi approval directives.

Disclosure: reads its own settings through Ulpi and filesystem metadata and symlink targets for path comparisons; writes redacted JSONL under the active profile's plugin-data/ulpi-guardian directory. No protected file-content reads, enforcement-hook network calls, subprocesses, model calls, credential storage, telemetry, core overrides, or self-updater.

The operator CLI optionally uses public ctx.llm structured generation, sending instructions and policy paths to the configured provider, which may charge; no separate key is required. Explicitly confirmed activation uses ctx.set_config for atomic settings updates and stores private policy backups.

Offline generation is a limited exact-language template. Approval rules follow host YOLO/approvals-off and unattended-mode settings; hard block rules do not ask for approval.

A policy hook, not a sandbox: intended for a trusted local POSIX backend and trusted plugins that do not rewrite arguments after inspection.

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [Guests](https://www.ulpi.io/en/marketplace/plugins/guests): Share your Ulpi with guests, family and teammates.
- [guide](https://www.ulpi.io/en/marketplace/plugins/guide): Read-only diagnostics for Ulpi configuration: /ulpi-doctor in-session and ulpi guide in a terminal.
- [Guild](https://www.ulpi.io/en/marketplace/plugins/guild): Shared skill library for a team's Ulpi agents, or for one person's machines and profiles, kept in a git repository the team controls.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
