Skip to content

desktop/src-tauri/crates/core/src/adapters/routing.rs

Comment 1, line 1

desktop/src-tauri/crates/core/src/adapters/routing.rs:1

//! Route application-managed files explicitly and preserve physical-file ownership.

Comment 2, line 25

desktop/src-tauri/crates/core/src/adapters/routing.rs:25

/// Retain valid history/settings; hide only empty instances from the old managed-root

Comment 3, line 26

desktop/src-tauri/crates/core/src/adapters/routing.rs:26

/// broadcast. Future valid discovery may activate them again.

Comment 4, line 58

desktop/src-tauri/crates/core/src/adapters/routing.rs:58

// A filename alone never hides a manually selected corrupt database.

Comment 5, line 68

desktop/src-tauri/crates/core/src/adapters/routing.rs:68

// Old discovery could transform roots: Junie promotes a session directory to its parent.

Comment 6, line 69

desktop/src-tauri/crates/core/src/adapters/routing.rs:69

// Reproduce the resulting metadata path through the full registry instead of assuming

Comment 7, line 70

desktop/src-tauri/crates/core/src/adapters/routing.rs:70

// each adapter registered the literal supplied path.

Comment 8, line 71

desktop/src-tauri/crates/core/src/adapters/routing.rs:71

// Without home/environment roots, candidates are limited to old broadcast-managed inputs.

Comment 9, line 169

desktop/src-tauri/crates/core/src/adapters/routing.rs:169

// Exact DSH framing identifies its format more precisely than a shared

Comment 10, line 170

desktop/src-tauri/crates/core/src/adapters/routing.rs:170

// type=session field; corrupt manual files still receive normal diagnostics.

Comment 11, line 183

desktop/src-tauri/crates/core/src/adapters/routing.rs:183

// Unknown manual files need diagnostics. Only application-managed roots have explicit

Comment 12, line 184

desktop/src-tauri/crates/core/src/adapters/routing.rs:184

// adapter routing; retain actual corruption reports.

Comment 13, line 231

desktop/src-tauri/crates/core/src/adapters/routing.rs:231

/// Each physical file has one owner. Verified Qwen/DSH ownership repairs require no statistical history.

Comment 14, line 232

desktop/src-tauri/crates/core/src/adapters/routing.rs:232

/// Other unrecognized registrations also require no checkpoint; never transfer valid historical contributions.

Comment 15, line 291

desktop/src-tauri/crates/core/src/adapters/routing.rs:291

// Hide only an empty unrecognized owner after its final file transfers.

Comment 16, line 292

desktop/src-tauri/crates/core/src/adapters/routing.rs:292

// Retain visible diagnostics for other invalid manual files.