Govern hooked execution

From Mountain-Nomad-BC/Pacify-X · View interactive version

Govern hooked execution is an AI agent skill from the GitHub repository Mountain-Nomad-BC/Pacify-X. Treat hooks and agent configuration as governed, validated runtime supply-chain surfaces. Candidate external-intake bundle; keep inactive until PACIFY-X admission and owner review.

How to use this skill

Skill file

Govern Hooked Execution

Purpose

Treat hooks and agent configuration as governed, validated runtime supply-chain surfaces.

Loading rule

Load this candidate metadata only after semantic selection. Load one capability reference at a time. Raw external source material is quarantined as reference-only and must never execute merely because it is present.

Candidate capabilities

`govern-agent-hook-lifecycle`

Register, profile, disable, validate, and observe pre/post action hooks as governed runtime controls rather than loose shell snippets.

Use when: tool calls need policy enforcement; format/type/test checks should run automatically; hook failures or loops are destabilizing sessions.

Mechanisms: hook profiles; disabled-hook allowlist; re-entrancy guard; config protection; preflight quality checks; post-action logging; health validation.

Hard boundaries: hooks may not silently broaden permissions; failing hooks must degrade predictably; no fragile inline shell when a script boundary is safer.

Proposed PACIFY-X owner: supervise-contained-execution

`enforce-agent-config-supply-chain`

Scan agent instructions, hooks, MCP configuration, Unicode, paths, and generated projections for injection, secret, portability, and policy risks before installation or execution.

Use when: importing external agent configuration; hooks or MCP servers are being installed; cross-platform projection may carry unsafe paths.

Mechanisms: config security scan; Unicode safety; personal path detection; hook validation; MCP exposure review; quarantine disposition.

Hard boundaries: scanner output is evidence, not automatic guilt; never execute imported hooks during inspection; preserve source license and provenance.

Proposed PACIFY-X owner: secure-agent-supply-chain

Admission requirements

Provenance

Sources: everything-claude-code. Everything Claude Code material is MIT licensed and preserved with attribution. HyperLearning-derived entries are clean-room mechanism abstractions only because no source license was found.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.