Files
TORCH/memory-updates/legacy-memory-update-1771341291.md
T
google-labs-jules[bot]andPR0M3TH3AN 2a39713189 feat(scheduler): generate unique memory update files per run to avoid merge conflicts
- 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]>
2026-02-17 15:19:52 +00:00

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/`.