mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
feat: add new feature feature-proposer-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
a46832314f
commit
3a526353ad
6 files changed
+59
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import fs from 'fs/promises';
|
||||
import path from 'path';
|
||||
|
||||
async function main() {
|
||||
try {
|
||||
const rosterPath = path.resolve('src/prompts/roster.json');
|
||||
const rosterData = await fs.readFile(rosterPath, 'utf-8');
|
||||
const roster = JSON.parse(rosterData);
|
||||
|
||||
console.log('Available Agents:\n');
|
||||
|
||||
console.log('Daily Agents:');
|
||||
for (const agent of roster.daily || []) {
|
||||
console.log(` - ${agent}`);
|
||||
}
|
||||
|
||||
console.log('\nWeekly Agents:');
|
||||
for (const agent of roster.weekly || []) {
|
||||
console.log(` - ${agent}`);
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Error reading roster.json:', err.message);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
@@ -0,0 +1,6 @@
|
||||
Agent: feature-proposer-agent
|
||||
Prompt: src/prompts/weekly/feature-proposer-agent.md
|
||||
|
||||
Goal: Analyze the repository and implement a single, self-contained feature as a new file in the `features/` directory.
|
||||
Scope: New utility scripts, documentation enhancements, dashboard widgets, or project enhancements.
|
||||
Constraints: Do not modify existing files unless absolutely necessary. No large refactors. Must be a single file.
|
||||
@@ -0,0 +1,5 @@
|
||||
Agent: feature-proposer-agent
|
||||
Prompt: src/prompts/weekly/feature-proposer-agent.md
|
||||
|
||||
Decision: Implement a script to list all available agent prompts.
|
||||
Rationale: It's a simple, self-contained utility that helps developers see what agents are available without having to manually inspect the directories or roster.json.
|
||||
@@ -0,0 +1,5 @@
|
||||
Agent: feature-proposer-agent
|
||||
Prompt: src/prompts/weekly/feature-proposer-agent.md
|
||||
|
||||
Command: node features/list-agents.mjs
|
||||
Result: The script executed successfully and printed the list of daily and weekly agents.
|
||||
@@ -0,0 +1,6 @@
|
||||
Agent: feature-proposer-agent
|
||||
Prompt: src/prompts/weekly/feature-proposer-agent.md
|
||||
|
||||
- completed: analyzed the repository
|
||||
- completed: decided to add a script to list all available agent prompts
|
||||
- completed: created features/list-agents.mjs
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
agent: feature-proposer-agent
|
||||
cadence: weekly
|
||||
status: Success
|
||||
prompt-path: src/prompts/weekly/feature-proposer-agent.md
|
||||
run-start: 2026-03-04T16:17:35Z
|
||||
---
|
||||
# Task Completed
|
||||
|
||||
Task completed successfully for feature-proposer-agent.
|
||||
Reference in new issue
Block a user