mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 04:42:24 +00:00
docs(prompts): sync roster.json and scheduler rosters
- Updated roster.json based on prompt directory scan. - Regenerated daily and weekly scheduler markdown tables. - Added run artifacts and task log. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
c035f6994d
commit
58c4f14d57
16 files changed
+156
-7
No files matched your search
@@ -0,0 +1,32 @@
|
|||||||
|
import fs from 'fs';
|
||||||
|
|
||||||
|
const fix = (filePath) => {
|
||||||
|
let content = fs.readFileSync(filePath, 'utf8');
|
||||||
|
const header = '| # | Agent Name | Prompt File |\n|---|------------|-------------|';
|
||||||
|
|
||||||
|
const parts = content.split(header);
|
||||||
|
if (parts.length < 2) return; // Should not happen
|
||||||
|
|
||||||
|
const pre = parts[0];
|
||||||
|
const post = parts[1];
|
||||||
|
|
||||||
|
const lines = post.split('\n');
|
||||||
|
const tableLines = [];
|
||||||
|
let i = 0;
|
||||||
|
|
||||||
|
// Skip initial empty lines if any (though usually generateTable doesn't add them at start)
|
||||||
|
while(i < lines.length && lines[i].trim() === '') i++;
|
||||||
|
|
||||||
|
// Capture rows
|
||||||
|
while(i < lines.length && lines[i].trim().startsWith('|')) {
|
||||||
|
tableLines.push(lines[i]);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
const newContent = pre + header + '\n' + tableLines.join('\n') + '\n';
|
||||||
|
fs.writeFileSync(filePath, newContent);
|
||||||
|
console.log(`Fixed ${filePath}`);
|
||||||
|
};
|
||||||
|
|
||||||
|
fix('src/prompts/daily-scheduler.md');
|
||||||
|
fix('src/prompts/weekly-scheduler.md');
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Context for Scheduler Update Agent
|
||||||
|
|
||||||
|
Run manually to sync roster.
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# Context for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
|
||||||
|
Run manually to sync roster.
|
||||||
|
Executing prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Context for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
|
||||||
|
## Goal
|
||||||
|
Sync scheduler roster with actual files.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
- src/prompts/daily/
|
||||||
|
- src/prompts/weekly/
|
||||||
|
- roster.json
|
||||||
|
- scheduler markdown files
|
||||||
|
- Active Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
## Constraints
|
||||||
|
- Do not create/delete prompt files.
|
||||||
|
- Follow roster.json as source of truth.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# Decisions for Scheduler Update Agent
|
||||||
|
|
||||||
|
- Synced roster.json with actual file system state.
|
||||||
|
- Updated daily-scheduler.md and weekly-scheduler.md to match roster.json.
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# Decisions for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
## Decision: Sync Roster
|
||||||
|
**Rationale**: Files on disk did not match roster.json.
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# Decisions for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
## Decision: Sync Roster
|
||||||
|
**Rationale**: Files on disk did not match roster.json.
|
||||||
@@ -33,10 +33,10 @@
|
|||||||
"perf-deepdive-agent",
|
"perf-deepdive-agent",
|
||||||
"perf-optimization-agent",
|
"perf-optimization-agent",
|
||||||
"pr-review-agent",
|
"pr-review-agent",
|
||||||
"prompt-maintenance-agent",
|
|
||||||
"prompt-safety-agent",
|
|
||||||
"prompt-fixer-agent",
|
"prompt-fixer-agent",
|
||||||
"prompt-gap-analysis-agent",
|
"prompt-gap-analysis-agent",
|
||||||
|
"prompt-maintenance-agent",
|
||||||
|
"prompt-safety-agent",
|
||||||
"race-condition-agent",
|
"race-condition-agent",
|
||||||
"refactor-agent",
|
"refactor-agent",
|
||||||
"repo-fit-agent",
|
"repo-fit-agent",
|
||||||
@@ -46,4 +46,4 @@
|
|||||||
"ui-ux-agent",
|
"ui-ux-agent",
|
||||||
"weekly-synthesis-agent"
|
"weekly-synthesis-agent"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -33,10 +33,10 @@ Canonical roster source: `src/prompts/roster.json` (`weekly` key).
|
|||||||
| 7 | perf-deepdive-agent | `perf-deepdive-agent.md` |
|
| 7 | perf-deepdive-agent | `perf-deepdive-agent.md` |
|
||||||
| 8 | perf-optimization-agent | `perf-optimization-agent.md` |
|
| 8 | perf-optimization-agent | `perf-optimization-agent.md` |
|
||||||
| 9 | pr-review-agent | `pr-review-agent.md` |
|
| 9 | pr-review-agent | `pr-review-agent.md` |
|
||||||
| 10 | prompt-maintenance-agent | `prompt-maintenance-agent.md` |
|
| 10 | prompt-fixer-agent | `prompt-fixer-agent.md` |
|
||||||
| 11 | prompt-safety-agent | `prompt-safety-agent.md` |
|
| 11 | prompt-gap-analysis-agent | `prompt-gap-analysis-agent.md` |
|
||||||
| 12 | prompt-fixer-agent | `prompt-fixer-agent.md` |
|
| 12 | prompt-maintenance-agent | `prompt-maintenance-agent.md` |
|
||||||
| 13 | prompt-gap-analysis-agent | `prompt-gap-analysis-agent.md` |
|
| 13 | prompt-safety-agent | `prompt-safety-agent.md` |
|
||||||
| 14 | race-condition-agent | `race-condition-agent.md` |
|
| 14 | race-condition-agent | `race-condition-agent.md` |
|
||||||
| 15 | refactor-agent | `refactor-agent.md` |
|
| 15 | refactor-agent | `refactor-agent.md` |
|
||||||
| 16 | repo-fit-agent | `repo-fit-agent.md` |
|
| 16 | repo-fit-agent | `repo-fit-agent.md` |
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Test Log for Scheduler Update Agent
|
||||||
|
|
||||||
|
- Command: node scripts/temp-scheduler-update.mjs
|
||||||
|
- Result: Success
|
||||||
|
- Command: npm run lint
|
||||||
|
- Result: Success
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# Test Log for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
- Command: node scripts/temp-scheduler-update.mjs
|
||||||
|
- Result: Success
|
||||||
|
- Command: npm run lint
|
||||||
|
- Result: Success
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# Test Log for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
- Command: node scripts/temp-scheduler-update.mjs
|
||||||
|
- Result: Success
|
||||||
|
- Command: npm run lint
|
||||||
|
- Result: Success
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# TODO for Scheduler Update Agent
|
||||||
|
|
||||||
|
- [x] Scan prompt directories
|
||||||
|
- [x] Update roster.json
|
||||||
|
- [x] Update scheduler markdown tables
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# TODO for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
- [x] Scan prompt directories
|
||||||
|
- [x] Update roster.json
|
||||||
|
- [x] Update scheduler markdown tables
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# TODO for Scheduler Update Agent
|
||||||
|
|
||||||
|
**Agent**: scheduler-update-agent
|
||||||
|
**Cadence**: daily
|
||||||
|
**Session**: manual-jules-1771293773
|
||||||
|
Prompt: src/prompts/daily/scheduler-update-agent.md
|
||||||
|
|
||||||
|
## Pending Tasks
|
||||||
|
- None
|
||||||
|
|
||||||
|
## Completed Tasks
|
||||||
|
- [x] Scan prompt directories
|
||||||
|
- [x] Update roster.json
|
||||||
|
- [x] Update scheduler markdown tables
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
agent: scheduler-update-agent
|
||||||
|
status: completed
|
||||||
|
cadence: daily
|
||||||
|
platform: jules
|
||||||
|
---
|
||||||
|
|
||||||
|
Successfully synced roster.json and scheduler markdown files.
|
||||||
Reference in new issue
Block a user