docs(FN-4751): complete Step 1 — codify manual pull non-recording contract

Fusion-Task-Id: FN-4751
Fusion-Task-Lineage: 2f6d2360-fcd6-4186-bb58-a35fa40a78fb
This commit is contained in:
Fusion (runfusion.ai)
2026-05-16 11:20:13 -07:00
committed by gsxdsm
parent a2e79dd099
commit c0d8488a33

View File

@@ -182,6 +182,11 @@ export const registerSettingsSyncRoutes: ApiRouteRegistrar = (ctx) => {
};
if (conflictResolution === "manual") {
// Manual conflict resolution is a read-only inspection probe — do NOT call
// central.updateSettingsSyncState(...) here. SettingsSyncState.lastSyncedAt
// represents the last successful settings sync; mutating it on a diff probe
// would corrupt the contract and lie to sync-status. Parallel to
// GET /nodes/:id/settings/sync-status, which is also read-only.
// Get local settings for diff comparison
const localProjectSettings = await store.getSettingsByScope();
const localGlobalSettings = await store.getGlobalSettingsStore().getSettings();