Hi Dan,
I have finally managed to fully recover this project by getting Gemini-CLI to investigate.
I am sharing the findings with you here in case that helps you with any other similar issues:
✦ The comparison reveals the “smoking gun” for the hang.
The Real Cause: Corrupt Security-Scoped Bookmark
The original project bundle has an extended attribute that the new one does not: com.apple.security.private.scoped-bookmark-key
This attribute is a “bookmark” used by the macOS sandbox to grant RapidWeaver permission to access files within the bundle or resources linked to it.
When you cloned the page and hit Save, RapidWeaver attempted to update this bookmark. Because the operation hung, the bookmark became stale or corrupt. Every time you tried to open the project afterwards, RapidWeaver asked macOS to “resolve” this bookmark. As we saw in the process sample earlier, the app was getting stuck indefinitely waiting for the scopedbookmarksagent to respond to this specific, broken key.
Other observations:
1. Structure: The original bundle was missing the Resources and SharedPluginData folders (because we had moved them out), but even with those gone, it still wouldn’t open. This proves the issue was at the bundle level, not with the internal files.
2. Dropbox Attributes: The original also had several com.dropbox.* attributes which can sometimes conflict with macOS’s own file locks during a save operation.
3. Quarantine: The original had a quarantine level of 0083, while the new one is 0082. This indicates the OS was treating the original bundle with a higher level of suspicion/restriction.
Summary
The hang during the Save operation created a “deadlock” in the macOS security metadata attached to the folder. Since this metadata is attached to the folder itself,
simply moving files in and out didn’t fix it. Creating a brand new folder (which doesn’t have that corrupt scoped-bookmark-key attribute) was the only way to break the deadlock.
Thank you so much for your assistance with this, Dan - it was much appreciated.
Best regards, Steve