Skip to content

Hooks not getting invoked from plugins installed from agentplugins marketplace #302865

Closed as duplicate

Description

@kvenkatrajan

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.112.0-insider
  • OS Version: Windows 11 Enterprise, build 10.0.26200.0.

This is the hooks folder added to a plugin - ~AppData\Roaming\Code - Insiders\agentPlugins\github.com\microsoft<pluginName> and plugin.json has

"skills": "./skills/", "mcpServers": "./.mcp.json", "hooks": "./hooks/"

hooks.zip

Image

Steps to Reproduce:

  1. Add hooks folder to agentplugins installed from awesome-copilot
  2. Modify plugin definition to use hooks
  3. Trigger a skill that should call into hooks to log if the hook has been triggered
  4. Path to agentplugins/{plugin} is not whitelisted in hooks

Actual result
Hooks not called. When the same hook is added to .agents\hooks and whitelisted it works or if its added to .github\hooks it works fine.

Expected result
Hook defined in agentplugins (installed via the agentplugins marketplace) should be invoked when defined by the plugin definition.

Analysis from copilot on the test
Image

Activity

  1. removed their assignment
    on Oct 15, 2026
  2. aeschli commented on Oct 20, 2026

    @aeschli
    Contributor

    🤖 Thanks for the report. This matches the plugin-bundled hook execution failure tracked in #302350. This report adds the awesome-copilot marketplace installation, Windows 11 with 1.112.0-insider, the explicit "hooks": "./hooks/" manifest entry, and the attached hook sample; those details should remain part of the investigation there.

    /duplicate of #302350

  3. added
    *duplicate
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatechat-hooks

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions