def reconcile(local: dict, remote: dict) -> dict:
# Simple merge: remote wins on conflicts and extends with any new keys
merged = dict(local)
merged.update(remote)
return merged