From 82224daf829aeea7cb0bcfcb32c5e4f3acd31004 Mon Sep 17 00:00:00 2001 From: "7a9c8f0147a0755c5d499320bda5535cd5014715e52fb7757dfe3dadde1cef09@buzz.block.builderlab.xyz" <7a9c8f0147a0755c5d499320bda5535cd5014715e52fb7757dfe3dadde1cef09@buzz.block.builderlab.xyz> Date: Thu, 23 Jul 2026 14:37:44 -0700 Subject: [PATCH] Fix snapshot import doc indentation Co-authored-by: npub102wg7q285p64ch2fjvstmf2ntn2sz3c4u5hmwatalc76mhsuauysftjtfj <7a9c8f0147a0755c5d499320bda5535cd5014715e52fb7757dfe3dadde1cef09@buzz.block.builderlab.xyz> Signed-off-by: npub102wg7q285p64ch2fjvstmf2ntn2sz3c4u5hmwatalc76mhsuauysftjtfj <7a9c8f0147a0755c5d499320bda5535cd5014715e52fb7757dfe3dadde1cef09@buzz.block.builderlab.xyz> --- desktop/src-tauri/src/commands/team_snapshot.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/desktop/src-tauri/src/commands/team_snapshot.rs b/desktop/src-tauri/src/commands/team_snapshot.rs index 668247d4c..350a6de64 100644 --- a/desktop/src-tauri/src/commands/team_snapshot.rs +++ b/desktop/src-tauri/src/commands/team_snapshot.rs @@ -483,12 +483,12 @@ pub async fn preview_team_snapshot_import( /// If ANY generation fails, return immediately — zero writes. /// 3. Store — inside `managed_agents_store_lock`: write all `AgentDefinition`s /// + all `ManagedAgentRecord`s (with `team_id` set) + `TeamRecord`. -/// Both store files are snapshotted (or noted absent) before the first -/// write. On any write error the pre-import state is restored — including -/// deleting a file that was absent, cleaning minted keyring entries, and -/// surfacing rollback failures alongside the original error. This makes -/// the store phase all-or-none for ordinary application errors; a process -/// crash between atomic file commits is NOT covered. +/// Both store files are snapshotted (or noted absent) before the first +/// write. On any write error the pre-import state is restored — including +/// deleting a file that was absent, cleaning minted keyring entries, and +/// surfacing rollback failures alongside the original error. This makes +/// the store phase all-or-none for ordinary application errors; a process +/// crash between atomic file commits is NOT covered. /// 4. Profile sync — for each member, call `sync_managed_agent_profile`. /// Best-effort; errors are collected per member. /// 5. Memory restore — for each member with non-empty snapshot memory,