fix: add missing specta annotations, scope tmp cleanup, and secure state file permissions

This commit is contained in:
teernisse
2026-02-26 10:16:42 -05:00
parent 807899bc49
commit da13b99b75
3 changed files with 20 additions and 19 deletions

View File

@@ -113,13 +113,13 @@ impl MappingKey {
#[derive(Debug, Default, Serialize, Type)]
pub struct SyncResult {
/// Number of new beads created
pub created: usize,
pub created: u32,
/// Number of existing items skipped (dedup)
pub skipped: usize,
pub skipped: u32,
/// Number of beads closed (two-strike)
pub closed: usize,
pub closed: u32,
/// Number of suspect_orphan flags cleared (item reappeared)
pub healed: usize,
pub healed: u32,
/// Errors encountered (non-fatal, processing continued)
pub errors: Vec<String>,
}