You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 14f8634
Browse filesBrowse the repository at this point in the historyBrowse files
fix(editor): withdraw the preview entry by ownership, not content
A model partial read while the diff is open replaces the preview
observation with a fresh entry at the SAME token and the SAME incomplete
flag - indistinguishable by content - so the version+flag withdrawal
condition deleted the model's earned authorization and a later targeted
edit needed another read. open() now keeps the exact entry object its
observe() wrote; reset() forgets only while the registry still stores
that object. Any later observe() - publish, model read, partial or not -
replaces the entry with a fresh object, so every earned observation
survives.
Regression test: model partial read after open() survives reset().
Negative controls, each exactly one red: content-based condition (the
pre-fix rule) reddens the new test; disabling the withdrawal reddens the
trigger test. 153/153 green.
0 commit comments