The framework ref the lock pins (source.ref), or null when the lock does not say.
No lock, and roles/, contracts/ and registry/ at the root (case 2, "no lock").
Why the file as a whole still would not load after the edit — an older
entry with no mode, say. The edit is made; startup will refuse until
this is fixed.
A framework lock at
<prefix>/framework-lock.json(case 1).