Answer prose round 2: 0 🔴, 1 🟡 (0 misread); the exclusion drops linked rule files, not a linked CLAUDE.md
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user