mirror of
https://github.com/PR0M3TH3AN/Archivestr.git
synced 2026-03-07 18:52:53 +00:00
48 lines
2.3 KiB
Markdown
48 lines
2.3 KiB
Markdown
# Weekly Agent Scheduler Prompt
|
|
|
|
Use `torch/scheduler-flow.md` as the authoritative scheduler procedure.
|
|
|
|
> **Shared contract (required):** Ensure each selected prompt run enforces [`Scheduler Flow → Shared Agent Run Contract`](scheduler-flow.md#shared-agent-run-contract-required-for-all-spawned-agents).
|
|
|
|
Canonical roster source: `torch/roster.json` (`weekly` key).
|
|
|
|
## Weekly Cadence Configuration
|
|
|
|
- `cadence`: `weekly`
|
|
- `log_dir`: `task-logs/weekly/`
|
|
- `branch_prefix`: `agents/weekly/`
|
|
- `prompt_dir`: `torch/prompts/weekly/`
|
|
|
|
|
|
## Lock Backend Preflight Behavior
|
|
|
|
- When `scheduler.lockHealthPreflight` is enabled (or `SCHEDULER_LOCK_HEALTH_PREFLIGHT=1`), run `node scripts/agent/check-relay-health.mjs --cadence weekly` before agent selection/lock attempt.
|
|
- On preflight failure, scheduler must write a `_failed.md` entry with reason `Lock backend unavailable preflight`, including relay list + classified preflight failure metadata, `failure_category: lock_backend_error`, and `prompt not executed` summary text before stopping.
|
|
- Escape hatch for local/offline workflows: `SCHEDULER_SKIP_LOCK_HEALTH_PREFLIGHT=1`.
|
|
|
|
## Weekly Roster
|
|
|
|
| # | Agent Name | Prompt File |
|
|
|---|------------|-------------|
|
|
| 1 | bug-reproducer-agent | `bug-reproducer-agent.md` |
|
|
| 2 | changelog-agent | `changelog-agent.md` |
|
|
| 3 | dead-code-agent | `dead-code-agent.md` |
|
|
| 4 | feature-proposer-agent | `feature-proposer-agent.md` |
|
|
| 5 | frontend-console-debug-agent | `frontend-console-debug-agent.md` |
|
|
| 6 | fuzz-agent | `fuzz-agent.md` |
|
|
| 7 | perf-deepdive-agent | `perf-deepdive-agent.md` |
|
|
| 8 | perf-optimization-agent | `perf-optimization-agent.md` |
|
|
| 9 | pr-review-agent | `pr-review-agent.md` |
|
|
| 10 | prompt-fixer-agent | `prompt-fixer-agent.md` |
|
|
| 11 | prompt-gap-analysis-agent | `prompt-gap-analysis-agent.md` |
|
|
| 12 | prompt-maintenance-agent | `prompt-maintenance-agent.md` |
|
|
| 13 | prompt-safety-agent | `prompt-safety-agent.md` |
|
|
| 14 | race-condition-agent | `race-condition-agent.md` |
|
|
| 15 | refactor-agent | `refactor-agent.md` |
|
|
| 16 | repo-fit-agent | `repo-fit-agent.md` |
|
|
| 17 | smoke-agent | `smoke-agent.md` |
|
|
| 18 | telemetry-agent | `telemetry-agent.md` |
|
|
| 19 | test-coverage-agent | `test-coverage-agent.md` |
|
|
| 20 | ui-ux-agent | `ui-ux-agent.md` |
|
|
| 21 | weekly-synthesis-agent | `weekly-synthesis-agent.md` |
|