Dear Mr Noodle,
Please don't give up your fantastic work:-) The issue is (as so many times before, not in Hazel but) in
Finder, so the Hazel troubleshooting gives no furhter clues of the problem. Here is what I found with verified root cause:
Summary:Renaming a file in Finder on macOS Tahoe causes Finder to silently remove the file's color tag (and related xattr). This breaks a long-standing Hazel workflow pattern where a color label is used to prevent a rule from reprocessing a file.
My Hazel rule:The rule matches PDF files that do NOT have a Yellow color label, checks file contents, renames the file based on a pattern, and sets the color label to Yellow. The Yellow label then acts as a guard — preventing the rule from matching the file again. This has worked perfectly for ~10 years across many macOS versions.
The problem:Since upgrading to macOS Tahoe, whenever I manually rename a file in Finder (e.g. to make a small correction), the Yellow color label disappears. This causes the Hazel rule to match and reprocess the file, resetting the filename.
Verified root cause — Finder in Tahoe strips tag-related xattr on rename:I paused Hazel and ran diagnostic tests using `xattr` in Terminal. Results:
Before Finder rename:- Code: Select all
com.apple.metadata:_kMDItemUserTags: bplist00..VACAB.0 (tag present)
com.apple.FinderInfo: 00 00 00 00 00 00 00 00 00 0A 00 00 ... (byte 9 = 0x0A = Yellow label)
After renaming the file in Finder (Hazel paused):- Code: Select all
com.apple.metadata:_kMDItemUserTags: No such xattr (GONE)
com.apple.FinderInfo: No such xattr (GONE)
Other xattr survived the rename:- `com.apple.lastuseddate#PS` — preserved
- `com.apple.macl` — preserved
- `com.apple.metadata:kMDItemFinderComment` — preserved
- `com.apple.provenance` — preserved
- `com.apple.quarantine` — preserved
- `com.noodlesoft.Hazel.RevertData` — preserved
- `com.readdle.LastPosition` — preserved
So Finder selectively removes `_kMDItemUserTags` and `FinderInfo` while preserving all other xattr. This is not a filesystem issue — it is specific to Finder's rename operation on Tahoe.
Conclusion:This is a macOS Tahoe bug. Finder's rename operation strips tag-related extended attributes (`com.apple.metadata:_kMDItemUserTags` and `com.apple.FinderInfo`) while preserving other xattr. This breaks any workflow — including Hazel rules — that relies on color labels or tags persisting across manual filename edits.
Related reports of Tahoe metadata/xattr issues:1. Apple Community — "Tahoe Finder Missing Video Duration": Users confirm that renaming or duplicating files in Finder on Tahoe causes metadata to disappear. One user states: "changing anything about a pre-Tahoe file with visible details makes those details disappear — even just renaming it."
https://discussions.apple.com/thread/2561387712. Apple Community — "Tags disappear in Finder" (Tahoe 26.0.1): Users report tags vanishing spontaneously on Tahoe.
https://discussions.apple.com/thread/2561816763. Eclectic Light Company — "Which extended attributes does macOS Tahoe preserve?" (Dec 2025): Technical analysis of how Tahoe changed xattr preservation behavior during file operations.
https://eclecticlight.co/2025/12/17/whi ... -preserve/