mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Added "Clean Repo Standard" to `AGENTS.md` and `CLAUDE.md`, explicitly forbidding root-level logs/artifacts. - Moved clutter files (`test_output_full.txt`, `benchmark-after.txt`, `dashboard.log`, etc.) to `test_logs/`, `task-logs/`, and `reports/performance/`. - Moved `INITIAL_BASELINE.md` and other baseline files to `reports/performance/`. - Updated `src/prompts/daily/perf-agent.md` and `src/prompts/daily/const-refactor-agent.md` to reference the new location of `INITIAL_BASELINE.md`. - Updated `.gitignore` to ignore logs and temporary artifacts in the new directories. - Moved `DIAGNOSIS.md` to `reports/performance/`. - Moved `perf/` data files to `reports/performance/`. Co-authored-by: PR0M3TH3AN <[email protected]>
33 lines
833 B
JSON
33 lines
833 B
JSON
[
|
|
{
|
|
"file": "dashboard/index.html",
|
|
"line": 816,
|
|
"pattern": "setInterval",
|
|
"snippet": " refreshIntervalId = setInterval(() => {",
|
|
"risk": "Unbounded background DOM updates",
|
|
"trigger": "Page load",
|
|
"impact": "CPU usage when tab is hidden",
|
|
"priority": "P1"
|
|
},
|
|
{
|
|
"file": "dashboard/index.html",
|
|
"line": 799,
|
|
"pattern": "setTimeout",
|
|
"snippet": " setTimeout(() => {",
|
|
"risk": "Delayed retry",
|
|
"trigger": "WebSocket close",
|
|
"impact": "Low",
|
|
"priority": "P3"
|
|
},
|
|
{
|
|
"file": "src/services/memory/scheduler.js",
|
|
"line": 33,
|
|
"pattern": "setInterval",
|
|
"snippet": " const handle = setInterval(() => {",
|
|
"risk": "Background job loop",
|
|
"trigger": "Server start",
|
|
"impact": "Necessary backend process",
|
|
"priority": "P3"
|
|
}
|
|
]
|