Answer prose round 2: 0 🔴, 1 🟡 (0 misread); the exclusion drops linked rule files, not a linked CLAUDE.md

This commit is contained in:
2026-12-04 08:34:10 +01:00
parent 7a549ed928
commit a2738657be
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def printed(done: subprocess.CompletedProcess[str]) -> str:
def refreshed(home: pathlib.Path, clone: pathlib.Path, reports: pathlib.Path, own: pathlib.Path, claude: Claude, git: Git) -> Failure | None:
# The home links to the clone's rules/, and Claude Code applies the exclusion of own's files to a link's target too: a clone in own would run without its rules.
# The home links to the clone's rules/, and the exclusion of own's files also drops a rule file reached through a link: a clone in own would run without its rules.
if clone.resolve().is_relative_to(own.resolve()):
return Failure(f"the release is cloned in your own Claude home, {own}, whose instructions the loop keeps out; clone it elsewhere, as README.md → Install says")
commit = git("rev-parse", "HEAD", cwd=str(clone))