From 2e5912e73c852d2229eea6e0902aaf295e8a638c Mon Sep 17 00:00:00 2001 From: ansible Date: Tue, 7 Apr 2026 16:32:32 +0000 Subject: [PATCH] Add refactoring note to TODO --- TODO.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TODO.md b/TODO.md index 2cada5e..c90f605 100644 --- a/TODO.md +++ b/TODO.md @@ -21,6 +21,8 @@ - [x] Systemd service (KillMode=process) - [x] Regression test suite (20 tests) +- [ ] Refactor duplicated code — waitForSocket, boot sequence, tap setup, rootfs mount/inject are copy-pasted across vm.ts, snapshot.ts, agent-manager.ts. Extract shared helpers. + ## Next up - [ ] Network policies per agent — restrict internet access