From 127d0749108b4d1ce6102d21dc8eb6b85aefaf3f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 19:06:07 +0000 Subject: [PATCH] feat: ensure scheduler agents verify and install dependencies if missing Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- src/prompts/scheduler-flow.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prompts/scheduler-flow.md b/src/prompts/scheduler-flow.md index 56bb61f..44917c4 100644 --- a/src/prompts/scheduler-flow.md +++ b/src/prompts/scheduler-flow.md @@ -74,6 +74,8 @@ Every agent prompt invoked by the schedulers (daily/weekly) MUST enforce this co - `script_prefix = npm run --prefix torch` - `path_prefix = torch/` - Else stop with: `Unable to locate TORCH scheduler files (checked src/prompts and torch/src/prompts).` + - Ensure dependencies are installed: + - If `node_modules` does not exist, run `npm install` (applying `` if needed, e.g. `npm install --prefix torch`). - Apply `script_prefix` to all `lock:*` invocations and apply `path_prefix` to scheduler paths. 1. Set cadence variables before any command: