{"draft":null,"from":40,"to":318,"files":[{"path":"client/src/hook.ts","added":8,"removed":4,"diff":"--- a/client/src/hook.ts\n+++ b/client/src/hook.ts\n@@ -16,7 +16,7 @@\n import { homedir } from \"node:os\";\n import { dirname, isAbsolute, join, resolve } from \"node:path\";\n import { Api, type News, newsLines } from \"./api.ts\";\n-import { findRoot, isReader, readConfig } from \"./config.ts\";\n+import { findRoot, isReader, isVisitor, readConfig } from \"./config.ts\";\n import { editBody, newsContext, normalize, spellingText, uncomposedText } from \"./core.ts\";\n import { fromEnv } from \"./env-names.ts\";\n import { forgetKnown, isPaused, loadIgnore, logNews, readKnown, readText, relativeTo, writeKnown } from \"./folder.ts\";\n@@ -65,9 +65,11 @@\n \t}\n \t// With the abso mod installed, every Claude Code session on this machine sends\n \t// its edits in-process, so this hook stands down rather than send them twice.\n-\tif (fromEnv(env, \"HOOK_FORCE\") !== \"1\" && (existsSync(join(modDir(env), \".claude-plugin\", \"plugin.json\")) ||\n-\t\t\texistsSync(join(oldModDir(env), \".claude-plugin\", \"plugin.json\"))))\n-\t{\n+\tif (\n+\t\tfromEnv(env, \"HOOK_FORCE\") !== \"1\" &&\n+\t\t(existsSync(join(modDir(env), \".claude-plugin\", \"plugin.json\")) ||\n+\t\t\texistsSync(join(oldModDir(env), \".claude-plugin\", \"plugin.json\")))\n+\t) {\n \t\treturn { stdout: \"\", outcome: \"skipped: the abso mod sends edits\" };\n \t}\n \tconst tool = input.tool_name ?? \"\";\n@@ -89,6 +91,8 @@\n \t\t\toutcome = \"skipped: recording is paused (abso resume)\";\n \t\t} else if (isReader(root)) {\n \t\t\toutcome = \"skipped: this folder is a reader\";\n+\t\t} else if (isVisitor(root)) {\n+\t\t\toutcome = \"skipped: this folder reads signed out\";\n \t\t} else if (rel === undefined || loadIgnore(root)(rel, false)) {\n \t\t\toutcome = \"skipped: ignored path\";\n \t\t} else if (readKnownModes(root).get(rel)?.link != null) {"}],"unmatched":[]}