Repository navigation
Conversation
Remove unreferenced blob batch, configuration, image-capability and OpenRouter catalog helpers, an unused Sutta barrel and obsolete mock utilities. Preserve manually invoked scripts and HTML/extension entry points in the Knip graph. Tests: Node 24 typecheck; 13 focused provider/export tests; configured Knip reports no unused files or dependencies.
Reuse canonical persistence, glossary, image cache, provider, diff and diagnostics types. Move word alignment data contracts into a dependency-free type module. Preserve existing structural shapes and type exports. Validated with Node 24 tsc, 41 focused tests, and identical emitted JavaScript for all 17 edited source files. Collective worklog is maintained by the integration owner.
Preserve loaded templates and avoid bootstrapping defaults after a failed database read. Remove duplicate service catch-and-rethrow wrappers while keeping caller-owned reporting and storage recovery. Validation: four failure regressions fail before the fix; 58 focused tests pass afterward; Node 24 typecheck and focused lint pass.
Remove the redundant parse catch-and-rethrow and raw response dumps. The comparison portal already handles failures and clears its loading state; malformed-response tests preserve rejection without duplicate service logging.
Comparison field values come only from JSON.parse and therefore cannot contain cycles, functions, or BigInts. Serialize structured fields directly; keep the model-response JSON extraction boundary.
Route the chapter dropdown directly through the scoped summary operation. Remove the uncalled alternate importer and stable-session compatibility/rendering helpers, preserving real import and persisted-data migration paths. Tests: Node 24 typecheck, 125 focused tests, and synthetic failure/cancellation checks pass. The cancellation test detects a removed scope guard. Root owns the collective worklog and review receipt.
Remove three uncalled token/model helpers and narrow sixteen internal implementation exports. Keep the public tokenizer, renderer, sanitizer, capability and navigation entry points unchanged. Tests: Node 24 typecheck; 60 focused translation, EPUB, capability and section-grouping checks; Knip export findings 194 to 175.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code-quality cleanup from the eight-agent pass (Codex, local branch, now published). Net 112 files, +1800/−2683.
Behaviour fixes
fix(settings): template read failures now reach callers instead of being swallowed.refactor(comparison): callers now report parsing failures, and an unreachable serialization fallback is gone.refactor(image): provider and persistence types are enforced.Structure
Review: an independent branch triage (5 Nov) found it merges cleanly onto main and typechecks. The first commit (
5408637) is the local-main baseline it was built on.🤖 Generated with Claude Code