mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-04 20:01:54 +00:00
feat: ensure scheduler agents verify and install dependencies if missing
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
46bed2a75b
commit
127d074910
1 file changed
+2
@@ -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 `<path_prefix>node_modules` does not exist, run `npm install` (applying `<path_prefix>` 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:
|
||||
|
||||
Reference in new issue
Block a user