# escalation-governor

Deterministic stuck-detection for Ulpi sessions.

- Type: Plugin
- Version: 0.1.0
- Updated: 22 Nov 2026
- Publisher: jusst
- Category: Automation

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

## What it does

Deterministic stuck-detection for Ulpi sessions. Watches tool/API failure signals (consecutive tool errors, repeated identical calls, API error bursts, model calls without progress) and, when a threshold trips, injects a structured escalation packet (goal, what was tried, what failed) directing the agent to delegate the remaining work to a stronger model via delegate_task instead of retrying blindly; writes a per-session JSONL report with escalation and token-usage accounting.

Disclosure — local code only: injects an escalation packet (the session's first user message and recent tool targets/errors) into tool results and into each following turn's context once a stuck threshold trips, directing the agent to call delegate_task (which spends model usage on a subagent); reads an optional escalation-governor.json and appends one line per session to a shared escalation-governor-reports.jsonl in the Ulpi home; adds a /governor status command; opens no network connections, starts no processes and never blocks a tool call.

## 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 Automation

- [ETA](https://www.ulpi.io/en/marketplace/plugins/eta): Honest finish-time ranges for agent work from real run history: kanban boards and cron jobs read live, delegated subagent runs recorded automatically.
- [EventForge](https://www.ulpi.io/en/marketplace/plugins/eventforge): Proxy the local EventForge control plane into Ulpi with approval-gated tools and verified-event context.
- [excubitor](https://www.ulpi.io/en/marketplace/plugins/excubitor): Night sentry for Ulpi turns: one per-turn ledger that dedups inbound replay, stops no-progress tool loops, enforces a spend cap.

[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)
