Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\common\reap.rs:146: return refuse("gone", "the breadcrumb outlived its writer".to_string()) } ProcIdentity::Unproven => { - return refuse("unproven-identity", "no creation time to compare".to_string()) + return refuse( + "unproven-identity", + "no creation time to compare".to_string(), + ) } ProcIdentity::Present(started_at) => started_at, }; Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\common\reap.rs:154: if obs.started_at != started_at { return refuse( "reused", - format!("observed_started_at={} current={started_at}", obs.started_at), + format!( + "observed_started_at={} current={started_at}", + obs.started_at + ), ); } } Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:28: use spt_store::contextstore::ContextStore; use spt_store::projindex::{self, IndexRead}; - - fn kill_pid(pid: u32) { #[cfg(windows)] let _ = Command::new("taskkill") Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:40: let _ = Command::new("kill").args(["-9", &pid.to_string()]).output(); } - - fn read_ready(path: &Path) -> Option { let v: serde_json::Value = serde_json::from_str(&std::fs::read_to_string(path).ok()?).ok()?; Some(v.get("pid")?.as_u64()? as u32) Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:175: // ── (4) The reader verbs, git-poisoned, against the daemon-built index. ── let list_json = run_poisoned(&["endpoint", "list", "--json"]); - assert!(list_json.status.success(), "list --json failed: {}", - String::from_utf8_lossy(&list_json.stderr)); + assert!( + list_json.status.success(), + "list --json failed: {}", + String::from_utf8_lossy(&list_json.stderr) + ); let v: serde_json::Value = serde_json::from_slice(&list_json.stdout).unwrap(); let local = v["local"].as_array().expect("local rows"); let project_of = |id: &str| -> Option { Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:205: ); let info = run_poisoned(&["api", "endpoint-info", "ep1"]); - assert!(info.status.success(), "endpoint-info failed: {}", - String::from_utf8_lossy(&info.stderr)); + assert!( + info.status.success(), + "endpoint-info failed: {}", + String::from_utf8_lossy(&info.stderr) + ); let payload: serde_json::Value = serde_json::from_slice(&info.stdout).unwrap(); assert_eq!( payload["project"].as_str(), Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:247: std::thread::sleep(Duration::from_millis(200)); } } - assert_eq!(shim_violations(), "", "maintenance polling spawned no reader git"); + assert_eq!( + shim_violations(), + "", + "maintenance polling spawned no reader git" + ); // ── (6) Degradation: the index deleted out from under the readers — // verbs stay fast, render no attribution, still ZERO git. ── Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:254: std::fs::remove_file(&index_path).unwrap(); let degraded = run_poisoned(&["endpoint", "list", "--json"]); - assert!(degraded.status.success(), "a missing index must not fail the list"); + assert!( + degraded.status.success(), + "a missing index must not fail the list" + ); let v: serde_json::Value = serde_json::from_slice(°raded.stdout).unwrap(); assert!( v["local"] Diff in \\?\C:\Users\decid\Documents\projects\spt-core\.worktrees\ir50-stderr-sink-fixup\crates\spt\tests\projindex_reader_e2e.rs:263: .all(|r| r["project"].is_null()), "absent index → every project column degrades to '-' (null)" ); - assert_eq!(shim_violations(), "", "the degraded read spawned no git either"); + assert_eq!( + shim_violations(), + "", + "the degraded read spawned no git either" + ); // ── (7) Reap SCOPED. ── let _ = {