mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
Make scheduler policy-read step conditional
This commit is contained in:
1 parent
6951696795
commit
acd19ebc80
2 files changed
+4
-4
No files matched your search
@@ -24,7 +24,7 @@ npm run lock:check:daily
|
||||
Use the `locked` array from the JSON output as the exclusion set.
|
||||
|
||||
MUST 3: Run these commands in this order:
|
||||
1) cat AGENTS.md
|
||||
1) test -f AGENTS.md && cat AGENTS.md || echo "No AGENTS.md found; continuing" (missing AGENTS.md is non-fatal)
|
||||
2) ls -1 task-logs/daily/ | sort | tail -n 1
|
||||
3) Select next roster agent not in exclusion set
|
||||
4) Claim via repository lock:
|
||||
@@ -57,7 +57,7 @@ npm run lock:check:weekly
|
||||
Use the `locked` array from the JSON output as the exclusion set.
|
||||
|
||||
MUST 3: Run these commands in this order:
|
||||
1) cat AGENTS.md
|
||||
1) test -f AGENTS.md && cat AGENTS.md || echo "No AGENTS.md found; continuing" (missing AGENTS.md is non-fatal)
|
||||
2) ls -1 task-logs/weekly/ | sort | tail -n 1
|
||||
3) Select next roster agent not in exclusion set
|
||||
4) Claim via repository lock:
|
||||
|
||||
@@ -16,10 +16,10 @@ Use this document for all scheduler runs.
|
||||
if daily: `npm run lock:check:daily`; if weekly: `npm run lock:check:weekly`
|
||||
```
|
||||
|
||||
3. Read policy file(s):
|
||||
3. Read policy file(s). This step is conditional: if `AGENTS.md` is missing, continue without failing.
|
||||
|
||||
```bash
|
||||
cat AGENTS.md
|
||||
test -f AGENTS.md && cat AGENTS.md || echo "No AGENTS.md found; continuing"
|
||||
```
|
||||
|
||||
4. Find latest cadence log file, then choose next roster agent not in exclusion set:
|
||||
|
||||
Reference in new issue
Block a user