mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-07 21:32:13 +00:00
chore: scheduler run for decompose-agent
Decomposed src/lib.mjs into src/cmd-check.mjs, src/cmd-list.mjs, and src/cmd-complete.mjs to reduce file size. Extracted logic preserves existing behavior. Verified with lint and tests. Reduced src/lib.mjs by 292 lines. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
a6c06ce173
commit
d4649f95a2
11 files changed
+380
-312
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# Context: Decompose Agent Run 2026-02-21T22-21-27Z
|
||||
|
||||
- Agent: decompose-agent
|
||||
- Cadence: daily
|
||||
- Session: 2026-02-21T22-21-27Z
|
||||
- Run-Start: 2026-02-21T22-21-27Z
|
||||
- Prompt: src/prompts/daily/decompose-agent.md
|
||||
|
||||
## Goal
|
||||
Decompose `src/lib.mjs` into smaller modules to reduce size by at least 200 lines.
|
||||
|
||||
## Scope
|
||||
Decomposition of `src/lib.mjs` by extracting command implementations.
|
||||
|
||||
## Constraints
|
||||
- Do not change behavior.
|
||||
- Reduce size by at least 200 lines.
|
||||
- Preserve existing functionality.
|
||||
|
||||
## Selection
|
||||
- File: `src/lib.mjs`
|
||||
- Original Size: 730 lines
|
||||
- Reason: Largest grandfathered file not recently refactored (based on manual check).
|
||||
- Commit SHA: a6c06ce173fbbff9170476e4b97c1bac4b30cb10
|
||||
- Node/npm: v22.22.0 / 11.7.0
|
||||
|
||||
## Plan
|
||||
Extract cohesive blocks:
|
||||
1. `cmdCheck`
|
||||
2. `cmdList`
|
||||
3. `cmdComplete`
|
||||
Reference in new issue
Block a user