Skip to content

refactor: strip Ghost to MCP-only server (v0.8.0)#149

Merged
wcatz merged 2 commits intomainfrom
refactor/mcp-only
Apr 18, 2026
Merged

refactor: strip Ghost to MCP-only server (v0.8.0)#149
wcatz merged 2 commits intomainfrom
refactor/mcp-only

Conversation

@wcatz
Copy link
Copy Markdown
Owner

@wcatz wcatz commented Apr 18, 2026

Summary

  • Remove 16 internal packages: tui, telegram, voice, google, server, scheduler, github, briefing, calendar, mdv2, orchestrator, mode, project, prompt, tool, simulation
  • Remove vscode-ghost/ extension
  • Remove engine.go and extract.go from reflection (no remaining callers)
  • Strip provider.go to MemoryStore + LLMProvider interfaces only (remove PromptBuilder, Frontend, InputSource, OutputSink, ApprovalFunc)
  • Rewrite cmd/ghost/main.go: keep only mcp/hook/reflect/upgrade/version subcommands
  • Run go mod tidy: drops ~20 deps (charm.land/*, go-telegram/bot, google.golang.org/api, chi, gocron, go-github, etc.)
  • Update Dockerfile CMD: "serve" → "mcp"
  • Update README: remove daemon/TUI/bot sections, add CLI reference, update architecture diagram

What stays

memory, mcpserver, mcpinit, embedding, reflection (consolidators only), claudeimport, config, ai, selfupdate, provider

Test plan

  • go build ./cmd/ghost/ — clean
  • go vet ./... — clean
  • go test ./... — all pass
  • Dockerfile CMD updated
  • README updated

Spec: docs/superpowers/specs/2026-04-18-ghost-mcp-only-strip.md

Remove TUI, Telegram bot, HTTP server, voice, Google integrations,
scheduler, GitHub monitor, briefing, orchestrator, tool registry,
prompt builder, mode system, project context, and VSCode extension.

Keep: MCP server, memory store, reflection/consolidation, embedding,
mcpinit/hook, claudeimport, selfupdate, config, ai client, provider
interfaces.

Update Dockerfile CMD from "serve" to "mcp".
Update README to reflect MCP-focused repositioning.

Closes #149 (mcp-only refactor per spec docs/superpowers/specs/2026-04-18-ghost-mcp-only-strip.md)
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

Warning

Rate limit exceeded

@wcatz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 30 minutes and 36 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 30 minutes and 36 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c4752eaf-f5ee-467e-a033-ab2bca5f1bf9

📥 Commits

Reviewing files that changed from the base of the PR and between e82a321 and d0af92e.

⛔ Files ignored due to path filters (5)
  • go.sum is excluded by !**/*.sum
  • vscode-ghost/assets/ghost.png is excluded by !**/*.png
  • vscode-ghost/media/ghost-icon.svg is excluded by !**/*.svg
  • vscode-ghost/media/ghost-tab.png is excluded by !**/*.png
  • vscode-ghost/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (125)
  • .github/workflows/ci.yml
  • Dockerfile
  • README.md
  • cmd/ghost/main.go
  • go.mod
  • internal/briefing/briefing.go
  • internal/briefing/briefing_test.go
  • internal/calendar/caldav.go
  • internal/calendar/caldav_test.go
  • internal/github/helpers_test.go
  • internal/github/monitor.go
  • internal/github/monitor_db_test.go
  • internal/github/monitor_test.go
  • internal/google/auth.go
  • internal/google/calendar.go
  • internal/google/gmail.go
  • internal/google/notifier.go
  • internal/google/notifier_test.go
  • internal/mdv2/escape.go
  • internal/mdv2/escape_test.go
  • internal/mode/modes.go
  • internal/mode/modes_test.go
  • internal/orchestrator/onboard.go
  • internal/orchestrator/orchestrator.go
  • internal/orchestrator/orchestrator_test.go
  • internal/orchestrator/session.go
  • internal/orchestrator/session_test.go
  • internal/project/context.go
  • internal/project/context_test.go
  • internal/prompt/builder.go
  • internal/prompt/builder_test.go
  • internal/provider/provider.go
  • internal/provider/verify.go
  • internal/reflection/engine.go
  • internal/reflection/engine_test.go
  • internal/reflection/extract.go
  • internal/reflection/extract_test.go
  • internal/reflection/tier_haiku.go
  • internal/scheduler/scheduler.go
  • internal/scheduler/scheduler_test.go
  • internal/server/chat.go
  • internal/server/server.go
  • internal/server/server_test.go
  • internal/simulation/simulation_test.go
  • internal/telegram/approval.go
  • internal/telegram/bot.go
  • internal/telegram/helpers_test.go
  • internal/telegram/sessions.go
  • internal/telegram/sessions_test.go
  • internal/telegram/stream.go
  • internal/telegram/stream_test.go
  • internal/telegram/voice.go
  • internal/tool/bash.go
  • internal/tool/bash_test.go
  • internal/tool/file_edit.go
  • internal/tool/file_edit_test.go
  • internal/tool/file_read.go
  • internal/tool/file_read_test.go
  • internal/tool/file_write.go
  • internal/tool/file_write_test.go
  • internal/tool/git.go
  • internal/tool/git_test.go
  • internal/tool/glob.go
  • internal/tool/glob_test.go
  • internal/tool/grep.go
  • internal/tool/grep_test.go
  • internal/tool/helpers_test.go
  • internal/tool/memory_save.go
  • internal/tool/memory_save_test.go
  • internal/tool/memory_search.go
  • internal/tool/memory_search_test.go
  • internal/tool/register.go
  • internal/tool/registry.go
  • internal/tool/registry_test.go
  • internal/tool/util.go
  • internal/tui/app.go
  • internal/tui/approval.go
  • internal/tui/bridge.go
  • internal/tui/clipboard.go
  • internal/tui/help.go
  • internal/tui/images.go
  • internal/tui/input.go
  • internal/tui/keys.go
  • internal/tui/messages.go
  • internal/tui/oneshot.go
  • internal/tui/palette.go
  • internal/tui/repl.go
  • internal/tui/statusbar.go
  • internal/tui/styles.go
  • internal/tui/toolbar.go
  • internal/tui/viewport.go
  • internal/voice/audio_alsa.go
  • internal/voice/factory.go
  • internal/voice/factory_test.go
  • internal/voice/pipeline.go
  • internal/voice/pipeline_test.go
  • internal/voice/stt_assemblyai.go
  • internal/voice/stt_assemblyai_stream.go
  • internal/voice/stt_whisper.go
  • internal/voice/transcode.go
  • internal/voice/tts_elevenlabs.go
  • internal/voice/tts_piper.go
  • internal/voice/vad_energy.go
  • internal/voice/vad_energy_test.go
  • internal/voice/voice.go
  • vscode-ghost/.gitignore
  • vscode-ghost/.vscodeignore
  • vscode-ghost/README.md
  • vscode-ghost/REGRESSION_CHECKLIST.md
  • vscode-ghost/esbuild.mjs
  • vscode-ghost/eslint.config.mjs
  • vscode-ghost/media/chat.css
  • vscode-ghost/media/pcm-processor.js
  • vscode-ghost/package.json
  • vscode-ghost/src/chat-webview.ts
  • vscode-ghost/src/extension.ts
  • vscode-ghost/src/ghost-client.ts
  • vscode-ghost/src/memory-panel.ts
  • vscode-ghost/src/protocol.ts
  • vscode-ghost/src/status-bar.ts
  • vscode-ghost/src/util.ts
  • vscode-ghost/src/webview/chat-main.ts
  • vscode-ghost/src/webview/markdown.ts
  • vscode-ghost/tsconfig.json
  • vscode-ghost/tsconfig.webview.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/mcp-only

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@wcatz wcatz merged commit 9aff8a7 into main Apr 18, 2026
5 checks passed
@wcatz wcatz deleted the refactor/mcp-only branch April 18, 2026 09:15
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