desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs
Comment 1, line 1
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:1
//! Synthetic Claude gap tests; directories/headers are labeled synthetic. OriginallyComment 2, line 2
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:2
//! created without native samples. Covers subagents, cross-file deduplication and orphaned/supersededComment 3, line 3
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:3
//! variants, fallback identities, no-usage records, unmapped usage keys and V17 rejectionComment 4, line 4
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:4
//! of usage on other records/undocumented types, plus direct detection tests.Comment 5, line 28
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:28
// Discovery sorts path components: sess-1 directory precedes sess-1.jsonl, so subagent first.Comment 6, line 29
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:29
// syn-req-shared first arrives as sub_agent; same-key main copy has another category and conflicts.Comment 7, line 30
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:30
// Retain stored value without double counting; see _expectations.md.Comment 8, line 100
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:100
// Three files: current, .jsonl.superseded- (not ending in .jsonl, explicitly accepted),Comment 9, line 101
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:101
// and .orphaned- variant.Comment 10, line 240
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:240
// Extra keys do not change recording of the four mapped fields.Comment 11, line 328
desktop/src-tauri/crates/core/tests/claude_gaps_synthetic.rs:328
// Detection checks only the user first line: Supported; scanner rejects later invalid records.