Repository navigation
chore: flush dead marketplace/monetization cluster (~8.8k lines) - #27
Merged
Merged
Conversation
Remove ~8.8k lines of orphaned, off-mission code: a creator-economy / marketplace SaaS backend (author payouts via Stripe Connect, revenue/commission, grants, badges, partner/team/certification/moderation/beta-program, marketplace plugin-registry service) embedded in the local-first dev CLI. Verified dead: zero non-test importers (static or dynamic), zero cli.ts references — exercised only by their own unit tests. This logic belongs in a separate backend service, not the `git clone -> working dev env` gate. Removing it shrinks attack surface and sharpens the tool's positioning. Removes 11 services + 3 paired models + their tests (25 files). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
|
✅ Docker image built successfully
|
This was referenced Jun 22, 2026
sandstream
added a commit
that referenced
this pull request
Jun 22, 2026
Second dead-code sweep after the marketplace cluster (#27). Removes 59 files with ZERO importers (static or dynamic) and ZERO cli.ts/mcp-server references — exercised only by their own tests: - App-ops / observability (off-mission for a dev-setup CLI): analytics, sla-monitor, alert-rules-engine, apm-instrumentor, datadog/sentry/redis/cdn adapters, error-tracker, image-optimizer, query-optimizer, cache-manager, compression-manager. - Generated SaaS scaffold (duplicates real, wired modules): mcp-kit-tools-service, multi-agent-workflow-service, agent-governance-service, autonomous-setup-service, agent-adapter-service, approval-service, audit-logging-service, ci-cd-publisher, documentation-generator, plugin-updates, security-hardening, migration-runner, resilience-tests, middleware/rate-limiter (+ their paired *-model.ts). Verified: no file outside the set imports any member; build has no dangling references. The full test suite goes from 34 failing (pre-existing, all inside these dead modules' tests) to 0 failing — net green. Claude-Session: https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg Co-authored-by: Claude <noreply@anthropic.com>
Merged
sandstream
added a commit
that referenced
this pull request
Jun 22, 2026
Cut 1.13.0 from the 11 PRs merged since v1.12.0. Backfilled the CHANGELOG entries that landed without one (full-disk-encryption check #26, secrets validate + env diff #28, .gitignore shared-memory fix #24, ~30k-line dead-code flush #27/#30) and dated the section. Minor bump: all additive or dead-code removal, nothing breaking.
10 tasks done
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
Removes 8,799 lines / 25 files of orphaned, off-mission code: a creator-economy / marketplace SaaS backend embedded in the local-first dev CLI.
payout-service(Stripe Connect, 20% commission, monthly-payout cron, grants),author-dashboard,author-notifications,author-verification,badge-system,partner-service,certification-workflow-service,moderation-system,beta-program-service,plugin-registry-service(marketplace),team-service.certification-workflow-model,plugin-registry-model,team-model.*.test.ts.Why
import()) and zerocli.tsreferences — exercised only by their own unit tests. Not reachable from the CLI or MCP server.git clone → working dev env. It dilutes the "deterministic, local-first setup + gate" positioning.Verification
Cannot find modulefor any removed file (nothing outside the set imported them — verified by import-graph analysis).zod/@types/nodenot installed in this sandbox, ~2k tsc errors unrelated to this PR). Baselineorigin/main: 2278 tests / 34 fail → this branch: 1981 tests / 34 fail (297 fewer = the removed cluster's own tests). Zero regressions.Note
id-generator.tskeeps unusedpayout()/grant()helpers (harmless; trimming them is out of scope). Docs referencing the marketplace may want a follow-up sweep.🤖 Generated with Claude Code
https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
Generated by Claude Code