Backend:
- Add edit-permission check in auto-link-libraries before creating
file_library_rel rows, matching the manual link RPC behavior
- Fix 3 broken tests by removing source library before import to
simulate cross-environment scenario
- Add test for permission check (viewer vs owner auto-link)
- Add test for used-by filtering (only linked files get rels)
Frontend:
- Fix library resolution default selection: pre-select first candidate
so confirming without interaction actually links libraries
- Remove unused file-ids prop from library-resolution* component
- Remove unused translation keys (library-link-error, library-placeholder)