Agents with reliable shell + hook infrastructure that support Replace mode
(native tools denied, lean-ctx MCP is the only path). These agents have
either permissions.deny support or PreToolUse deny-hook capability.
Compact pointer only (#578): Cursor already auto-loads the canonical full
ruleset from ~/.cursor/rules/lean-ctx.mdc, so a project .cursorrules
that repeats it bills the same guidance twice in every session.
True when agent is integrated via init --agent / setup (hooks, rules,
MCP registration). GH #1520: used by wrap’s error path to point users of
a supported-but-not-proxy-wrappable agent (e.g. opencode) at the working
command instead of a bare “unsupported agent”.
Silently refresh all hook scripts for agents that are already configured.
Called after updates and on MCP server start to ensure hooks match the
current binary version. Registry-driven: every Hybrid agent with a global
shell hook is covered (the rest are explicitly exempted, enforced by test).