mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-09 06:12:15 +00:00
feat: extract DEFAULT_DASHBOARD_PORT and RACE_CHECK_DELAY_MS to src/constants.mjs
- Created src/constants.mjs - Updated src/lib.mjs to use constants - Added execution artifacts and completed log Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
14002a7bf9
commit
d165c06640
7 files changed
+233
-5
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Context: 2026-02-14 Constants Refactor
|
||||
|
||||
## Goal
|
||||
To refactor duplicate or magic numeric literals into a canonical constants file.
|
||||
Specifically targeting `4173` (default dashboard port) and `1500` (race check delay).
|
||||
|
||||
## Scope
|
||||
- Create `src/constants.mjs`.
|
||||
- Modify `src/lib.mjs`.
|
||||
|
||||
## Constraints
|
||||
- Must preserve existing values.
|
||||
- Must pass lint and tests.
|
||||
- Must follow `const-refactor-agent` guidelines.
|
||||
Reference in new issue
Block a user