Skip to content

feat(hooks): context-altering hooks (MCP-tool/prompt/agent) + input mutation — gated on signing (#811) #1236

Description

@ken-jo

#811 hook-runtime-expansion gated milestone. Beyond the deny-only command hooks shipped in milestone-1.

Blocker (security design): these can alter model context or decisions, so per docs/architecture/hook-runtime-expansion-design.md §6.4/§6.5 they ship ONLY after (a) signed or managed-only hook policy and (b) model-visible audit (model/user can see a hook influenced context). Specifically:

  • MCP-tool / prompt / agent hooks (§6.4) — context-altering.
  • updatedInput/modify action (§6.5) — currently action ∈ {allow, deny}; mutation withheld until hook signing (a mutating hook is a far larger trust delegation than a deny-only gate).

Needs the hook-signing / managed-policy mechanism first. Refs: docs/architecture/hook-runtime-expansion-design.md §6.4, §6.5. Parent: #811.

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredTriaged: defer until clearer triggerenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions