mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-04 20:01:54 +00:00
- Modified `scripts/agent/run-scheduler-cycle.mjs` to generate a unique `memory-updates/<timestamp>__<agent>.md` path and pass it via `SCHEDULER_MEMORY_FILE` env var. - Updated `scripts/memory/store.mjs` to prioritize `SCHEDULER_MEMORY_FILE` for ingestion. - Updated `src/prompts/scheduler-flow.md` to instruct agents to write to the unique memory file. - Updated `src/prompts/daily/torch-garbage-collection-agent.md` to include `memory-updates/*.md` in the cleanup scope. - Moved existing `memory-update.md` to `memory-updates/legacy-memory-update-<timestamp>.md` to clear the root. Co-authored-by: PR0M3TH3AN <[email protected]>
19 lines
652 B
Markdown
19 lines
652 B
Markdown
# Weekly Dead Code Analysis - 2026-02-17
|
|
|
|
**Agent:** dead-code-agent
|
|
**Cadence:** weekly
|
|
**Status:** Completed
|
|
|
|
## Summary
|
|
Executed a safety-first dead-code sweep.
|
|
|
|
## Findings
|
|
- Identified `scripts/fix-duplication.mjs` as an unused standalone script.
|
|
- Identified `src/services/memory/db-adapter.js` as an unused module (exports `createMemoryRepository` but not imported anywhere).
|
|
|
|
## Actions
|
|
- Verified zero usage for both files using `grep`.
|
|
- Deleted both files in branch `ai/dead-code-20260217`.
|
|
- Verified deletions with `ls` and ran `npm run lint` and `npm run test:unit:lock-backend`.
|
|
- Artifacts generated in `artifacts/dead-code-20260217/`.
|