feat(edaas): add daily headless Renovate PR review timer
Add a systemd user timer on the EDaaS/WSL host that runs Claude Code headless once a day (08:47) to review Renovate dependency PRs awaiting Emma's review. It queries GitHub via the project-scoped github MCP server, excludes PRs against archived repositories, grades each PR's risk, and writes a recommendation-only summary to the journal (journalctl --user -u renovate-review). It never approves or merges. - lyrathorpe/home/renovate-review.nix: wrapper + service + timer. Auth is Vertex AI via the inherited project/region/model env; Claude Code provisions its own network egress, so no proxy is set. The prompt lives in a store file so its literal backticks/$ don't trip shellcheck in the wrapper. - lyrathorpe/home/work.nix: import the module (host-scoped to EDaaS). - system/machine/EDaaS/configuration.nix: enable user linger so the timer fires without an attached login session.
This commit is contained in:
@@ -58,6 +58,13 @@
|
||||
systemd.services.docker-desktop-proxy.script = lib.mkForce ''${config.wsl.wslConf.automount.root}/wsl/docker-desktop/docker-desktop-user-distro proxy --docker-desktop-root ${config.wsl.wslConf.automount.root}/wsl/docker-desktop "C:\Program Files\Docker\Docker\resources"'';
|
||||
|
||||
features.swayDesktop.enable = false;
|
||||
|
||||
# Keep this user's systemd --user instance running without an open login
|
||||
# session, so the home-manager user timer (renovate-review.nix) fires on
|
||||
# schedule even when no terminal is attached. On WSL the timer still only runs
|
||||
# while the distro itself is up; Persistent=true catches up a missed run at
|
||||
# next start.
|
||||
users.users.emmathorpe.linger = true;
|
||||
# programs.nix-ld is enabled for all NixOS hosts in common-nixos.nix.
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
||||
Reference in New Issue
Block a user