@ryanb if you’re using Yjs then you could save the Yjs cursors and store it independently of the document:
This is for decorations but the same could be used for threads too ( this way people could add threads to your document without being able to edit it for ex. )