You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prevent recursive attachment folder nesting (v1.3.0)
Organizing an attachment with no linking note fell back to the file's
own folder as the base, then re-appended the configured pattern on every
run — nesting date/pattern folders forever (e.g. 2026/05/2026/05/...).
- Add getOrganizedSuffixRegexSource() / stripOrganizedSuffix() to remove
already-applied pattern segments before re-applying, making organize
idempotent and self-healing for existing over-nested paths.
- Strip in same-location and relative obsidian-settings fallbacks, and in
getOcrOutputFolder().
- Guard against moving a file deeper into its own organized folder when
the resolved linking note lives inside that folder (e.g. OCR notes).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>