Answer: To load repository hooks from additional directories during local session creation or cold resume, supply additionalDirectories; the CLI --add-dir also participates by default. Discovery uses each accepted directory's containing Git root, or the directory itself when it is outside a Git repository. Status: Confirmed Entry: tool/github-copilot/settings/hooks-additional-directories Revision: 3 Digest: sha256:da56326ef539e02a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:28:02Z Last changed: 2026-11-19T13:01:57Z (Discovery scope: — → each accepted directory's containing Git root) Last verified: 2026-11-20T13:08:21Z Next check: 2026-11-21T13:08:21Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Parameter | additionalDirectories | [1] | 2026-11-20 CLI flag | --add-dir | [1] | 2026-11-20 Disable flag | DISABLE_ADDITIONAL_DIRECTORY_HOOKS=true | [1] | 2026-11-20 Enable/disable option | enableFileHooks | [1] | 2026-11-20 Discovery scope | each accepted directory's containing Git root | [1] | 2026-11-20 Sources: [1] GitHub. "Working with hooks - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/hooks Role: primary. Accessed: 2026-11-20T13:08:21Z Quote: "supply additionalDirectories" (Supports: Parameter) Quote: "CLI --add-dir also participates by default" (Supports: CLI flag) Quote: "DISABLE_ADDITIONAL_DIRECTORY_HOOKS=true restores primary-only scope" (Supports: Disable flag) Quote: "enableFileHooks can enable or disable repository hooks through session.rpc.options.update" (Supports: Enable/disable option) Quote: "Discovery uses each accepted directory's containing Git root, or the directory itself when it is outside a Git repository." (Supports: Discovery scope) Snapshot SHA-256: d0da331e57d20d0992bf99178fb6a23d61ea14315aadbc1f93dcec26b7bd5d7f (captured 2026-11-18T13:03:24Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:03:25Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:21Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:21Z Last attempt: 2026-11-20T13:08:21Z Notes and limitations: Extracted automatically from a single official source (section "Repository hooks from additional directories"). Related: https://latestn.com/tool/github-copilot/settings/hooks-locations Where can I place GitHub Copilot hook configuration files, including policy hooks and agent-scoped hooks? https://latestn.com/tool/github-copilot/settings/install-custom-certificates How do I install custom certificates for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/kerberos-proxy-authentication How do I set up Kerberos authentication for GitHub Copilot's proxy? https://latestn.com/tool/github-copilot/settings/extension-location Where can I place a GitHub Copilot CLI extension file so it gets loaded? https://latestn.com/tool/github-copilot/settings/find-and-store-skills How do I find and store agent skills for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/hook-configuration-format What is the configuration format for GitHub Copilot command, HTTP, and prompt hooks? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:01:57Z | changed | Discovery scope: — → each accepted directory's containing Git root | [1] 2026-11-19T13:01:57Z | changed | Disable flag: — → DISABLE_ADDITIONAL_DIRECTORY_HOOKS=true | [1] 2026-11-19T13:01:57Z | changed | Discovery rule: each accepted directory's containing Git root → — | [1] 2026-11-19T13:01:57Z | changed | Disable setting: DISABLE_ADDITIONAL_DIRECTORY_HOOKS=true → — | [1] 2026-11-17T13:26:16Z | changed | Discovery rule: — → each accepted directory's containing Git root | [1] 2026-11-17T13:26:16Z | changed | Disable setting: — → DISABLE_ADDITIONAL_DIRECTORY_HOOKS=true | [1] 2026-11-17T13:26:16Z | changed | Parameter: — → additionalDirectories | [1] 2026-11-17T13:26:16Z | changed | Example directory: B\packages\core → — | [1] 2026-11-17T13:26:16Z | changed | Discovery scope: each accepted directory's containing Git root → — | [1] 2026-11-17T13:26:16Z | changed | Disable flag: DISABLE_ADDITIONAL_DIRECTORY_HOOKS=true → — | [1] 2026-11-17T13:26:16Z | changed | Parameter to supply: additionalDirectories → — | [1] 2026-11-13T03:28:02Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/hooks-additional-directories/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/settings/hooks-additional-directories POST: https://latestn.com/dispute/tool/github-copilot/settings/hooks-additional-directories with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/hooks-additional-directories?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I load GitHub Copilot repository hooks from additional directories? Revision 3, last verified 2026-11-20T13:08:21Z. https://latestn.com/tool/github-copilot/settings/hooks-additional-directories (accessed 2026-11-21T09:53:15Z). @misc{LatestN_tool_github_copilot_settings_hooks_additional_directories_r3, title = {How do I load GitHub Copilot repository hooks from additional directories?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/hooks-additional-directories}}, note = {Revision 3; digest sha256:da56326ef539e02a; last verified 2026-11-20T13:08:21Z; accessed 2026-11-21T09:53:15Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/settings/hooks-additional-directories