Skip to content

[EPIC-D][LOU-D36] Remove unused SaaS-era utilities (quotas, ConfigManager, formatters, json-path, file-extractor) - #87

Merged
LinuxDevil merged 1 commit into
mainfrom
lou-d36-remove-donor-utils
Oct 1, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
lou-d36-remove-donor-utils

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

What

Deletes src/security/quotas.ts, src/core/ConfigManager.ts, src/utils/formatters.ts, src/utils/json-path.ts, src/utils/file-extractor.ts with their tests, drops their export * lines from src/security/index.ts, src/core/index.ts (still exports AgentBuilder) and src/utils/index.ts, and removes the SaaS quota types in src/security/types.ts that only quotas.ts used (QuotaConfig, UsageStats, SaaSContext, QuotaValidationResult). One BREAKING CHANGELOG Removed entry 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, unrelated checkApiKey in src/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.md left as is.

Acceptance criteria

  • Listed modules are gone (none justified as kept)
  • Root/subpath exports compile (tsc --noEmit)
  • npm run build works for every tsup entry; scaffolder builds
  • src/providers/importGraph.test.ts passes (14 tests)
  • Lint warnings go down: 420 -> 405 (0 errors)
  • fallow is clean

How verified

  • npx tsc --noEmit: pass
  • npm run lint: 0 errors, 405 warnings (main: 420)
  • npm run test:types: pass
  • npx vitest run: 141 files passed, 2045 tests passed, 3 skipped
  • npm run build && npm run build --workspace=packages/create-loushy-agent: pass
  • npm run docs:verify-snippets -- --skip-build: 102 snippets type-check
  • npm run docs:llms:check: pass
  • npm 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

…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
@LinuxDevil
LinuxDevil merged commit 9a5a93d into main Oct 1, 2026
1 check 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.

2 participants