mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 08:52:25 +00:00
760 B
760 B
Context
Goal: Execute the bitvid-const-refactor-agent task (daily scheduler).
Scope: Identify and refactor duplicated numeric constants in js/ to use canonical named constants.
Focus: Refactor 5000 (timeout) to SHORT_TIMEOUT_MS and 60000 (timeout) to LONG_TIMEOUT_MS in selected files.
Definition of Done:
- Identify candidate duplicates.
- Refactor
js/ui/engagementController.js(5000 -> SHORT_TIMEOUT_MS). - Refactor
js/ui/applicationBootstrap.js(5000 -> SHORT_TIMEOUT_MS). - Refactor
js/webtorrent.js(60000 -> LONG_TIMEOUT_MS). - Verify changes with
npm run lintandnpm run test:unit. - Update documentation (
DECISIONS.md,TEST_LOG.md). - Update
docs/agents/AGENT_TASK_LOG.csv.