Repository navigation
[EPIC-D][LOU-D36] Remove unused SaaS-era utilities (quotas, ConfigManager, formatters, json-path, file-extractor) - #87
Merged
Conversation
…ager, formatters, json-path, file-extractor) Delete modules nothing in the SDK, Agent Forge, the scaffolder or examples used, with their tests, index re-exports and the orphaned SaaS quota types. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016bY29ibQgv3MDdjAbUT4YR
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.
What
Deletes
src/security/quotas.ts,src/core/ConfigManager.ts,src/utils/formatters.ts,src/utils/json-path.ts,src/utils/file-extractor.tswith their tests, drops theirexport *lines fromsrc/security/index.ts,src/core/index.ts(still exportsAgentBuilder) andsrc/utils/index.ts, and removes the SaaS quota types insrc/security/types.tsthat onlyquotas.tsused (QuotaConfig,UsageStats,SaaSContext,QuotaValidationResult). One BREAKING CHANGELOGRemovedentry per module with a migration note (no replacement; copy the file into your project).Why
Epic D donor-project residue (AUDIT section 4). Whole-repo grep (src/, apps/agent-forge, packages/, examples/, docs/, README.md, scripts/) found no consumer of any exported symbol outside the modules' own tests; the only hits were
docs/research/feature-audit.md(historical) and a local, unrelatedcheckApiKeyinsrc/cli/doctorChecks.ts. Nothing is kept: no module is used by the SDK runtime, Agent Forge, the scaffolder or an example. docs/utilities.md and docs/api-overview.md never documented these, so no docs or llms changes were needed.docs/eslint-baseline-followup.mdleft as is.Acceptance criteria
tsc --noEmit)npm run buildworks for every tsup entry; scaffolder buildssrc/providers/importGraph.test.tspasses (14 tests)How verified
npx tsc --noEmit: passnpm run lint: 0 errors, 405 warnings (main: 420)npm run test:types: passnpx vitest run: 141 files passed, 2045 tests passed, 3 skippednpm run build && npm run build --workspace=packages/create-loushy-agent: passnpm run docs:verify-snippets -- --skip-build: 102 snippets type-checknpm run docs:llms:check: passnpm run test:coverage: 141 files, 2045 passed;npm run fallow: exit 0, clean🤖 Generated with Claude Code
https://claude.ai/code/session_016bY29ibQgv3MDdjAbUT4YR
Generated by Claude Code