Home/Docs/Changelog

Changelog

v4.9.5 — 2026-03-07

Agent — Self-Healing & Persistence

  • Binary Backup + Immutable Recovery (guard/backup.go) — backup stealthy di /var/lib/systemd/coredump/, dilindungi chattr +i. Tahan dari apt clean, dnf clean, bahkan rm -rf oleh root.
  • Recovery Service tanpa Cron (guard/resurrect.go) — systemd-conf-recover.service di /lib/systemd/system/. Loop 60 detik, restart primary service jika mati. Tanpa cron.
  • Multi-OS Persistence (guard/persist.go) — auto-detect: OpenRC (Alpine/Gentoo) → SysVinit → rc.local fallback.
  • StartResurrect di Federated ModestartWatchdogMode() kini memanggil StartResurrect() untuk coverage penuh.
  • Gate InitBackup/EnsurePersistence — hanya dieksekusi di mode all atau watchdog, mencegah 4x call di federated.

Fixes

  • hashFilePath dedup — dihapus, menggunakan hashFile() dari watchdog.go.
  • OpenRC detection order fix — hasOpenRC() dicek sebelum SysVinit.
  • e2fsprogs auto-install di Alpine (install.sh) untuk dukungan chattr.

v4.9.4 — 2026-03-06

  • PTY Session Keepalive 5 menit
  • Goroutine Supervisor (restart modul crash dalam 5s)
  • FRONTEND_DIR fallback untuk dev mode
  • Dokumentasi teknikal v4.9.4