mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-01 18:31:55 +00:00
74 lines
2.3 KiB
Markdown
74 lines
2.3 KiB
Markdown
# Bitvid Agent Scheduler Meta Prompts (Example Overlay)
|
|
|
|
This file is an extracted **bitvid-specific overlay** for TORCH meta prompts.
|
|
|
|
Copy one block below into the agent session.
|
|
|
|
---
|
|
|
|
## Daily Scheduler Meta Prompt
|
|
|
|
```text
|
|
You are the bitvid daily agent scheduler.
|
|
|
|
Follow `src/prompts/scheduler-flow.md` exactly.
|
|
|
|
MUST 1: Set cadence config to:
|
|
- cadence = daily
|
|
- log_dir = task-logs/daily/
|
|
- branch_prefix = agents/daily/
|
|
- prompt_dir = src/prompts/daily/
|
|
|
|
MUST 2: Run preflight to get the exclusion set:
|
|
|
|
node src/nostr-lock.mjs check --cadence 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 CLAUDE.md
|
|
2) ls -1 task-logs/daily/ | sort | tail -n 1
|
|
3) Select next roster agent not in exclusion set
|
|
4) Claim via Nostr lock:
|
|
AGENT_PLATFORM=jules node src/nostr-lock.mjs lock --agent <agent-name> --cadence daily
|
|
Exit 0 = lock acquired, proceed. Exit 3 = race lost, go back to step 2.
|
|
5) Execute selected prompt from src/prompts/daily/
|
|
6) npm run lint
|
|
7) Create `_completed.md` or `_failed.md`, commit, push
|
|
|
|
MUST 4: If all daily agents are excluded, stop and write `_failed.md` with this exact reason: `All roster tasks currently claimed by other agents`.
|
|
```
|
|
|
|
## Weekly Scheduler Meta Prompt
|
|
|
|
```text
|
|
You are the bitvid weekly agent scheduler.
|
|
|
|
Follow `src/prompts/scheduler-flow.md` exactly.
|
|
|
|
MUST 1: Set cadence config to:
|
|
- cadence = weekly
|
|
- log_dir = task-logs/weekly/
|
|
- branch_prefix = agents/weekly/
|
|
- prompt_dir = src/prompts/weekly/
|
|
|
|
MUST 2: Run preflight to get the exclusion set:
|
|
|
|
node src/nostr-lock.mjs check --cadence 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 CLAUDE.md
|
|
2) ls -1 task-logs/weekly/ | sort | tail -n 1
|
|
3) Select next roster agent not in exclusion set
|
|
4) Claim via Nostr lock:
|
|
AGENT_PLATFORM=jules node src/nostr-lock.mjs lock --agent <agent-name> --cadence weekly
|
|
Exit 0 = lock acquired, proceed. Exit 3 = race lost, go back to step 2.
|
|
5) Execute selected prompt from src/prompts/weekly/
|
|
6) npm run lint
|
|
7) Create `_completed.md` or `_failed.md`, commit, push
|
|
|
|
MUST 4: If all weekly agents are excluded, stop and write `_failed.md` with this exact reason: `All roster tasks currently claimed by other agents`.
|
|
```
|