assert(bindBoard.includes('const release=(paintCurrent=false)=>{')&&bindBoard.includes('cancelBoardDragFrame(b);clearDragRender(b);hidePickupHandleOverlay()'),'Pointer release does not synchronously stop the drag scheduler and remove the pickup overlay');
assert(functionSource('hidePickupHandleOverlay').includes("removeProperty('transform')"),'Pickup overlay retains its released compositor position');
assert(pickupDesign.includes("classList.toggle('custom-cursor',Boolean(item))")&&pickupDesign.includes("classList.toggle('flag-cursor',Boolean(item?.flagAsset))")&&pickupDesign.includes('pickupHandleOverlay.replaceChildren(image)')&&pickupUpdate.includes('syncPickupHandleDesign()'),'Pickup overlay does not mirror the selected emoji/flag cursor');
assert(css.includes('#pickupHandleOverlay.custom-cursor.visible{display:grid}')&&css.includes('#pickupHandleOverlay.custom-cursor.flag-cursor img'),'Custom cursor pickup overlay CSS is missing');
assert(functionSource('syncCursorAppearance').includes('syncPickupHandleDesign()'),'Changing cursor style does not refresh the pickup appearance');
assert(merge.includes('authoritativeCompatibleStateIds=authoritativeWorld?new Set():null')&&merge.includes('retainLocalSolve=compatible&¤t?.solved===true&&incoming?.solved!==true')&&merge.includes('retainClaimedPending=compatible')&&merge.includes("if(retainLocalSolve){noteCloudRow('state',id);merged=deepClone(current)}")&&merge.includes('else{clearSharedWorldJournalRow')&&!merge.includes('merged=compatible?mergeBoardStates(current,incoming):deepClone(incoming)'),'Authoritative pull can still downgrade a compatible local clear, erase a claimant retry, or merge stale unfinished paths');
assert(completion.includes('writeDirtyRecoveryJournal();')&&cloudFailure.includes('for(let attempt=0;attempt<3&&!published;attempt++)')&&cloudFailure.includes('data.states[b.id]=previous.state')&&cloudFailure.includes('await persistNow({skipCloud:true})'),'Completion is not verified by the shared server or is left locally solved after publication failure');
assert(context.syncPickupHandleDesign()===true&&overlay.textContent==='🙂'&&overlay.classList.values.has('custom-cursor')&&!overlay.classList.values.has('flag-cursor'),'Emoji cursor was not applied to the pickup overlay');