mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +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]>
652 B
652 B
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.mjsas an unused standalone script. - Identified
src/services/memory/db-adapter.jsas an unused module (exportscreateMemoryRepositorybut not imported anywhere).
Actions
- Verified zero usage for both files using
grep. - Deleted both files in branch
ai/dead-code-20260217. - Verified deletions with
lsand rannpm run lintandnpm run test:unit:lock-backend. - Artifacts generated in
artifacts/dead-code-20260217/.