diff --git a/create_simulated_artifacts.js b/create_simulated_artifacts.js deleted file mode 100644 index 75d27de..0000000 --- a/create_simulated_artifacts.js +++ /dev/null @@ -1,44 +0,0 @@ -const fs = require('fs'); - -const date = new Date().toISOString(); - -const contextContent = `--- -agent: decompose-agent -cadence: daily -run-start: ${date} -prompt-path: src/prompts/daily/decompose-agent.md ---- - -# Context -goal: Simulating run. -scope: simulate. -constraints: test constraints. -`; - -const todoContent = `--- -agent: decompose-agent -cadence: daily -run-start: ${date} -prompt-path: src/prompts/daily/decompose-agent.md ---- - -# Todo -- completed: Simulated. -`; - -const decisionsContent = ` -# Decision -Simulated execution -# Rationale -Need artifacts. -`; - -const testLogsContent = ` -Command: npm test -Result: pass -`; - -fs.writeFileSync('src/context/decompose-agent.md', contextContent); -fs.writeFileSync('src/todo/decompose-agent.md', todoContent); -fs.writeFileSync('src/decisions/decompose-agent.md', decisionsContent); -fs.writeFileSync('src/test_logs/decompose-agent.md', testLogsContent); diff --git a/src/context/dead-code-agent.md b/src/context/dead-code-agent.md new file mode 100644 index 0000000..d94b030 --- /dev/null +++ b/src/context/dead-code-agent.md @@ -0,0 +1,11 @@ +--- +agent: dead-code-agent +cadence: weekly +run-start: 2026-03-02T16-00-00Z +prompt-path: src/prompts/weekly/dead-code-agent.md +--- + +# Context +goal: Identify and remove dead code. +scope: Searched for orphaned JS files and unused code. Found `create_simulated_artifacts.js` which is an unused script. +constraints: Must verify tests and format/lint pass after removal. diff --git a/src/decisions/dead-code-agent.md b/src/decisions/dead-code-agent.md new file mode 100644 index 0000000..751bfc1 --- /dev/null +++ b/src/decisions/dead-code-agent.md @@ -0,0 +1,5 @@ +# Decision +Remove `create_simulated_artifacts.js`. + +# Rationale +It is an orphaned manually executed script, not referenced anywhere in the repository, and removing it does not break the test suite. diff --git a/src/test_logs/dead-code-agent.md b/src/test_logs/dead-code-agent.md new file mode 100644 index 0000000..97ccb1b --- /dev/null +++ b/src/test_logs/dead-code-agent.md @@ -0,0 +1,2 @@ +Command: npm run format && npm run lint && npm run test +Result: pass diff --git a/src/todo/dead-code-agent.md b/src/todo/dead-code-agent.md new file mode 100644 index 0000000..7d48ad6 --- /dev/null +++ b/src/todo/dead-code-agent.md @@ -0,0 +1,10 @@ +--- +agent: dead-code-agent +cadence: weekly +run-start: 2026-03-02T16-00-00Z +prompt-path: src/prompts/weekly/dead-code-agent.md +--- + +# Todo +- completed: Removed `create_simulated_artifacts.js`. +- pending: Submit PR for the removal. diff --git a/task-logs/weekly/2026-03-02T16-20-05Z__dead-code-agent__completed.md b/task-logs/weekly/2026-03-02T16-20-05Z__dead-code-agent__completed.md new file mode 100644 index 0000000..6939804 --- /dev/null +++ b/task-logs/weekly/2026-03-02T16-20-05Z__dead-code-agent__completed.md @@ -0,0 +1,12 @@ +--- +agent: dead-code-agent +cadence: weekly +run-start: 2026-03-02T16-20-05Z +prompt-path: src/prompts/weekly/dead-code-agent.md +platform: linux +status: completed +--- +# Dead Code Agent Weekly Run Completed + +## Goal +Identify and remove dead code.