-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Context
External feedback noted that compress.ts currently handles scoring, summarization, entity extraction, code splitting, budget search, and force-converge in ~283 lines — all well-tested. The architecture is solid, but as the project grows and more contributors join, extracting internal helpers into their own files would lower the barrier to entry without changing the public API.
Proposed extractions
scoreSentence→src/score.tsextractEntities→src/entities.tssplitCodeAndProse→src/split.ts
Why
- Easier onboarding for new contributors (smaller, focused files)
- No public API changes required — purely internal reorganization
- With HTTP/2 multiplexing, granular modules have no bundling downside
Priority
Low — not blocking anything. Pick this up when compress.ts grows further or when onboarding friction becomes noticeable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request