Cleanup Stale Locks
POST /api/writing/locks/cleanup-stale
POST
/api/writing/locks/cleanup-stale
Sweep stale locks in the active project’s documents directory.
A lock is stale if its owning pid is no longer alive. Used at backend startup and on project switch so crashes don’t strand documents in a permanently-locked state.
Responses
Section titled “ Responses ”Successful Response
Response Cleanup Stale Locks Api Writing Locks Cleanup Stale Post
object
key
additional properties
integer