// SPDX-FileCopyrightText: 2026 Bruno Meilick
// SPDX-License-Identifier: LicenseRef-Nereid-FreeUse-NoCopy-NoDerivatives
//
// All rights reserved.
//
// This file is part of Nereid and is proprietary software.
// Unauthorized copying, modification, or distribution is prohibited.
//! Session-folder persistence and identity reconciliation.
//!
//! On-disk format: `nereid-session.meta.json`, `diagrams/*.mmd` + `*.meta.json` sidecars
//! (stable ids, fingerprints, notes, symbols, sequence_blocks), walkthrough JSON, async text
//! exports, and a cross-process write lock for TUI/MCP cohabitation. Load re-parses Mermaid
//! then reconciles stable ids from sidecars so xrefs and notes survive rewrites. Prefer
//! [`SessionFolder::begin_session_update`] / commit for concurrent writers; diagram OCC
//! (`base_rev`) lives in `ops`, not here.
pub use ;