refactor: streamline agent turn handling and background review process

This commit is contained in:
asepharyana committed 2026-07-20 17:25:23 +07:00
1 parent 4c186b62d4
commit dd7825b481
14 files changed
+409 -327

No files matched your search

+1 -4
View File
@@ -149,10 +149,7 @@ impl SessionLock {
// Phase 3: re-check /proc/<pid>/exe to detect PID reuse between
// Phase 1 and Phase 2.
match std::fs::read_link(&proc_exe) {
Ok(recheck) if recheck == self_exe => true,
_ => false,
}
matches!(std::fs::read_link(&proc_exe), Ok(recheck) if recheck == self_exe)
}
#[cfg(not(unix))]