- GET /api/library/media/usage: read-only occupancy report per file —
every live canvas card with canvas title, project/session scope, and
the real consequence of deleting that card (deletes_file / keep reason)
- _path_on_canvas joins canvas: orphan nodes (canvas row gone, FK-cascade
dead metadata) no longer count as occupancy; they are reported as
invalid references with totals instead of blocking deletion
- canvas deleteNode: keep_file=true release-only variant (card removed,
file always preserved); artifact cards with a live pending/running job
refuse deletion (409) so completion events cannot resurrect them
- library UI: occupancy modal on kept(on_canvas) with locate / delete
card (accurate impact text) / release-only actions, per-path free-file
delete closing the loop, invalid-reference note, offset paging for
large counts, library selection persisted across canvas round-trips
- canvas UI: ?locate=<node> deep-link centers the card (computed
viewport, no store.fitView — its nodes write-back looped the graph
rebuild effect), gold ring highlight + dismiss, back-to-library chip
- i18n keys for all 7 languages; e2e runner + 32-check real-browser
regression on isolated data
Co-authored-by: multica-agent <github@multica.ai>