escalation-governor.yaml 1.6 KB

12345678910111213141516
  1. name: escalation-governor
  2. repo: https://github.com/jusst01/escalation-governor
  3. sha: 50fcf38919b721fe481a60f728bf7271b15b6e82
  4. description: "Deterministic stuck-detection for Hermes 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 Hermes home; adds a /governor status command; opens no network connections, starts no processes and never blocks a tool call."
  5. maintainer: jusst
  6. tier: community
  7. category: automation
  8. docs_url: https://github.com/jusst01/escalation-governor#readme
  9. version: "0.1.0"
  10. requires_hermes: ">=0.22.0"
  11. platforms: []
  12. capabilities:
  13. provides_tools: []
  14. provides_hooks: [pre_llm_call, post_tool_call, transform_tool_result, post_api_request, api_request_error, subagent_start, subagent_stop, on_session_end]
  15. provides_middleware: []
  16. requires_env: []