Overview
Locking prevents simultaneous edits at two levels:- Symbol level for TypeScript and JavaScript, using the symbol graph. Two agents can edit the same file as long as they touch different functions or classes.
- File level for everything else, or when a change spans an entire file.
How Reservations Work
refreshToken in the same file, no conflict — the write goes through and creates a separate symbol reservation.
Reservation Rules
Coexistence with must-tier Conventions
preToolUse runs two checks in parallel:
- Reservation conflict (someone else holds this file/symbol).
- Convention match (
must-tier rule matches this file + change).
IDE Support
Viewing Reservations
- Dashboard — workstream view shows owned files and symbols per member.
sync— returns areservationsarray in the response.- API —
GET /workspaces/:id/reservations.