Skip to content

refactor: remove dead code and obsolete assets - #88

Merged
vinilana merged 2 commits into
mainfrom
chore/remove-dead-code
Jul 21, 2026
Merged

vinilana merged 2 commits into
mainfrom
chore/remove-dead-code

Conversation

@vinilana

Copy link
Copy Markdown
Owner

What changed

  • removed unreachable migration barrels, unused private helpers, obsolete types, and abandoned template generators
  • removed the unused auto-advance implementation and stale interactive sync flow
  • removed broken examples, the obsolete MCP test client, and prompt assets that were no longer read at runtime
  • pruned unreferenced translation entries in both supported locales
  • enabled noUnusedLocals and noUnusedParameters to prevent regressions
  • aligned package bundle scripts, smoke checks, bilingual docs, and the changelog with the reduced package surface

Why

The architecture migration left internal barrels, deprecated scaffolding paths, and packaged assets that were no longer reachable from the CLI, harness, MCP, integration, binary, or public package entry points. Some unused locals and parameters also remained invisible because the TypeScript project did not enforce unused-code checks.

Impact

This removes 2,766 lines across 112 files while preserving the public package boundaries and test-only fixtures and diagnostics. The CLI package no longer ships prompt files that the runtime does not consume. Future builds now reject unused locals and parameters.

Validation

  • npm run build
  • npm test -- --runInBand — 105 active suites and 758 tests passed; 2 suites intentionally skipped
  • npm run build:packages
  • npm run smoke:packages — all five bundles passed
  • npm run build in docs/
  • git diff --check

vinilana added 2 commits July 12, 2026 18:41
…ameters

fix: update shutdown function to remove unnecessary signal parameter

delete: remove configSummary module and related types

refactor: clean up prompts index by removing unused exports and functions

refactor: remove legacy validation functions from themedPrompt

chore: enable noUnusedLocals and noUnusedParameters in tsconfig
@vinilana
vinilana marked this pull request as ready for review July 13, 2026 20:03
@vinilana
vinilana merged commit f742f37 into main Jul 21, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant