Outerline 1.0-1188

Summary

Build 1188 hardens document identity across rename, move, sync, and file-provider refresh races on both platforms, keeping open documents and library rows anchored to a stable UUID rather than a transient file path. Rename and move flows now distinguish user intent from provider lag, starred metadata survives temporary snapshot misses and cross-device timing gaps, and new documents stay open and visible through autosave and provider-lag races.

On iOS, the editor gains a filename subtitle below the resolved title (with a Show Filename toggle in Settings > Documents > Editor > Appearance), Copy Link now works on folder rows in the library, and All Documents respects the selected Library sort option and direction. macOS tightens metadata sidecar determinism, identity registry cache invalidation, and the sidecar watcher so cross-device sync events refresh state without triggering full library tree reloads.

macOS

Improvements

  • Metadata sidecar selection is now deterministic when both sidecar layouts exist, preferring the layout with the sentinel so identity registry reads and writes stay pointed at the expected metadata store.
  • Identity registry cache invalidation was tightened so external sync updates are picked up promptly during reconcile, rename, move, and starred metadata flows.
  • Metadata-sidecar watcher events now refresh metadata and identity state without forcing a full library tree reload, reducing cross-device flicker while iCloud or file providers are still settling.

Fixes

  • Fixed a starred document added from iOS being missed on macOS when the starred metadata arrived before the matching identity registry state had been applied locally.
  • Fixed macOS writing a second UUID for the same file into starred metadata when starring a document whose shared identity had already been established by another device.
  • Fixed source and destination folders flashing counts and rows back and forth after a document was moved on iOS while the moved document was visible in Starred, All Documents, or one of the affected folders.
  • Fixed stale source-path listings from a file provider being registered as new documents after the identity registry had already moved the original document UUID to the destination path.
  • Fixed a starred document being dropped when an external rename arrived before the matching identity-registry update, which could sync an accidental star removal back to iOS.
  • Fixed editor windows going blank or inactive during cross-device rename windows by preserving selection when the missing path still matches the current editor document identity.
  • Fixed open editors dropping when a document was renamed on iOS and the local refresh observed the file move before UUID-to-path metadata caught up.

iOS

Improvements

  • Rename now treats the file path as the current address of a stable document UUID, so renaming a document keeps identity, selection, editor state, and metadata aligned across refreshes.
  • Move now treats the file path as a UUID-preserving address change, so starred rows, selected documents, and library trees follow the moved document instead of treating it as a new file.
  • Editor continuity now resolves active documents by UUID first during refresh, allowing an open document to follow a remote rename from another device without dropping to a missing-document state.
  • Library/list rename and editor rename now use separate intent paths, so renaming from the Library, Starred, Tags, or All Documents stays in place while renaming from the editor keeps the editor active.
  • Stale list snapshots can resolve recently renamed documents through a short-lived old-path to new-path alias, preventing quick taps after rename from opening an unavailable document.
  • Starred rebuilds now keep last-seen starred documents during transient rename, move, or provider refresh windows instead of pruning UUIDs that are temporarily absent from the latest file listing.
  • File-provider lag after create, rename, or move is handled with a short-lived pending-document overlay, keeping newly created or recently changed rows visible until the next authoritative directory listing catches up.
  • Active editor registration now exposes live editor content on dismiss, letting the library immediately patch the visible row title and preview before the full vault reconcile finishes.
  • Moving a document now shows a bottom Liquid Glass confirmation toast, such as “Moved to FolderName”, after the move completes.
  • Added the current filename, including .md, as a subtitle below the resolved editor title, kept in sync with rename and move flows.
  • Added Settings > Documents > Editor > Appearance with a default-on Show Filename toggle; turning it off hides the filename subtitle in the editor.
  • Added Copy Link to folder row long-press menus in the Library, generating UUID-backed outerline://folder/… deep links that stay stable across rename and move.

Fixes

  • Fixed All Documents not honoring the selected Library sort option and direction, including name, modified date, created date, and word count.
  • Fixed quick-open after renaming from the Library, Starred, Tags, or All Documents views showing a transient “Document not available” screen because the tap used the old path before the refreshed snapshot arrived.
  • Fixed library/list renames unexpectedly navigating into the editor after a document had previously been opened.
  • Fixed editor renames briefly flashing to a missing-document state before returning to the renamed document.
  • Fixed starred documents briefly leaving and re-entering the Starred row during rename or fast swipe-back flows.
  • Fixed moving a starred document removing it from the visible Starred section until a later full refresh.
  • Fixed “Document Unavailable” appearing during cross-device rename windows by keeping UUID-anchored selected and active-editor fallbacks alive through short provider/metadata gaps.
  • Fixed open editors dropping when a document was renamed on macOS and the local refresh observed the file move before UUID-to-path metadata caught up.
  • Fixed an early autosave rollback where typing into a brand-new document during an in-flight save could mark the editor clean against newer unsaved content and snap the buffer back to an older saved snapshot.
  • Fixed newly created documents disappearing from the editor or library when a vault refresh ran before the file provider exposed the new file in directory listings.
  • Fixed new or edited documents taking a few beats to appear in the library with their resolved title and preview after leaving the editor.