diff --git a/features/list-agents.mjs b/features/list-agents.mjs new file mode 100644 index 0000000..424ae8b --- /dev/null +++ b/features/list-agents.mjs @@ -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(); diff --git a/src/context/20260304__feature-proposer-agent.md b/src/context/20260304__feature-proposer-agent.md new file mode 100644 index 0000000..c76e65a --- /dev/null +++ b/src/context/20260304__feature-proposer-agent.md @@ -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. diff --git a/src/decisions/20260304__feature-proposer-agent.md b/src/decisions/20260304__feature-proposer-agent.md new file mode 100644 index 0000000..3a83b91 --- /dev/null +++ b/src/decisions/20260304__feature-proposer-agent.md @@ -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. diff --git a/src/test_logs/20260304__feature-proposer-agent.md b/src/test_logs/20260304__feature-proposer-agent.md new file mode 100644 index 0000000..44d0972 --- /dev/null +++ b/src/test_logs/20260304__feature-proposer-agent.md @@ -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. diff --git a/src/todo/20260304__feature-proposer-agent.md b/src/todo/20260304__feature-proposer-agent.md new file mode 100644 index 0000000..a95408a --- /dev/null +++ b/src/todo/20260304__feature-proposer-agent.md @@ -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 diff --git a/task-logs/weekly/2026-03-04T16-18-40Z__feature-proposer-agent__completed.md b/task-logs/weekly/2026-03-04T16-18-40Z__feature-proposer-agent__completed.md new file mode 100644 index 0000000..8cf71a5 --- /dev/null +++ b/task-logs/weekly/2026-03-04T16-18-40Z__feature-proposer-agent__completed.md @@ -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.