refactor: streamline agent turn handling and background review process

This commit is contained in:
asepharyana
2026-07-20 17:25:23 +07:00
parent 4c186b62d4
commit dd7825b481
14 changed files with 409 additions and 327 deletions
@@ -102,9 +102,6 @@ impl SessionLockRepository for FileSystemSessionLockRepository {
// 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)
}
}