From 24daa04d678891643fc38643f019e5d7b614c55a Mon Sep 17 00:00:00 2001 From: Tak Hoffman <781889+Takhoffman@users.noreply.github.com> Date: Thu, 19 Mar 2026 00:23:11 -0500 Subject: [PATCH] Use canonical hook file root for metadata reads --- src/hooks/workspace.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/workspace.ts b/src/hooks/workspace.ts index 32bb903f909..af5db5c8f2c 100644 --- a/src/hooks/workspace.ts +++ b/src/hooks/workspace.ts @@ -223,7 +223,7 @@ export function loadHookEntriesFromDir(params: { let frontmatter: ParsedHookFrontmatter = {}; const raw = readBoundaryFileUtf8({ absolutePath: hook.filePath, - rootPath: hook.baseDir, + rootPath: path.dirname(hook.filePath), boundaryLabel: "hook directory", }); if (raw !== null) {