Refactor Plan

Remaining TODOs

Open items from source code and the original refactoring plan.

Source Code TODOs

  1. ZED mail notifications (modules/system/fs.nix:20): ZFS Event Daemon (ZED) can send email on pool events (disk failure, scrub completion). Wire cfg.zfs.mail.enable to ZED’s notification config.
  2. Nix-native ROS stack (modules/research/ros.nix:21): The ROS 2 ecosystem is being packaged in nix-ros-overlay (Jazzy/Rolling). Migrate the ROS module from distrobox-based workaround once the overlay is stable.

Janet Test Suite

  1. Implement deftest stubs in test/hey/lib.janet, test/hey/glob.janet, test/hey/vars.janet. Path resolution, state management, and glob tests. Not urgent — Janet tests are not running in CI yet.