Repository navigation
fix(skills): protect stale edits with entity tags - #4192
Conversation
|
Independent review — REQUEST CHANGES (formal review blocked by GitHub ownership rule) Reviewed exact head The failing check is Source review otherwise finds the intended repair boundary satisfied: the loaded snapshot tag is sent as Evidence and limits: reviewed the exact PR diff and existing file-layer precondition tests. Focused local execution was unrun because this checkout lacks workspace dependencies ( GitHub would not accept a formal |
|
Merge-state note: #4192 now conflicts with #4255 merged as
A resolution must keep both paths: blank creation still sends This adds to what was already open here: the failing Type check and the changes-requested review at this head. I don't merge or push to this branch; the repair goes through the manager (TALE-357). |
|
Follow-up review at unchanged head After #4255 merged as
The prior request-changes finding remains: the PR-caused |
The editor sent the tag of the newest document the cache held, so a newer save that reached the cache while a draft was open let the draft's older text replace it. A save now names the document the editor was filled from: a draft keeps that tag and is refused as stale, while an editor nobody has touched follows the newer document. A refused save says in en, de and fr that nothing was saved and the edits are still there, and reads the library again so the skill opened next is the newer one. The app door's If-Match now sits beside its If-None-Match, and SKILL-B9 covers two live sessions.
When another editor saved a skill after it was opened, Tale refuses the save, keeps the edits in the editor and says nothing was saved. The skills guide now says so in English, German and French, and that an editor nobody changed follows the newer version.
a2c7a16 to
42eea1b
Compare
What changed:
Why:
Prevents an older description edit from overwriting newer instructions; stale saves now refuse and the existing local draft remains in the editor.
Verification:
git diff --checkpassed.oxfmtcompleted on changed files.Closes #3933