Solarch Update: Surgical AI & Plugin, CLI, MCP Server & Jest Testing
Hey everyone,
Quick recap for new faces: Solarch turns your architecture diagram into a real, type-safe NestJS codebase — the diagram is the source of truth, not an afterthought. The whole bet is architecture that's verified, not guessed.

This update pushes that bet everywhere you actually work — your editor, your terminal, and your AI agent — and makes the generated code provably correct, not just plausible.
Surgical AI — fills bodies, never architecture
Solarch builds your scaffold deterministically from the diagram: controllers, services, DTOs, entities, and all the wiring, type-safe, with zero AI guessing on structure. Surgical AI then fills only the algorithmic method bodies — one region at a time, inside a hard contract: the dependencies it's allowed to use, the exceptions it must throw, the return type it has to satisfy. You hit Fill, watch it read and grep your actual code, and it writes within the lines. No hallucinated structure, no rewrites of the logic you wrote by hand.

VS Code — live drift, right in the editor
The Solarch extension drops your architecture's live state into the Activity Bar: a revision timeline, plus every drift between code and design as a native Problems-panel diagnostic you can click straight to. Push, pull, generate, and fill all run from buttons — the CLI engine is embedded in-process, no terminal required. Same drift your CI blocks on, shown right where you write the code. On the Marketplace as Solarch

CLI — two-way sync between code and architecture
The solarch CLI handles scan, diff, generate, fill, pull, and push. The headline is two-way sync: change your code — a new method, a new dependency — and solarch push reflects it straight back onto the diagram. New in this update: push --prune carries deletions across too — remove a class or a dependency in code and the diagram drops it, safely, shown and confirmed first. And solarch diff runs the exact drift engine your CI blocks on — one diff engine, no second opinion.

MCP Server — real architecture context for your AI agent
@solarch/mcp hands any MCP-aware agent (Claude, Cursor, Cline) the real architecture instead of a guess: the live graph, the architecture rules, rule-checked mutations where every new edge passes the Rules Engine, and the surgical-fill work queue. Seven tools. Your agent reads the map, learns the laws, and verifies what it builds — drift-checked against the design, not vibes.
Jest Testing — verified, not assumed
Code that compiles isn't code that's correct. So fill now generates real behavioral Jest specs for the services it implements, and runs them — it verifies the behavior instead of assuming it. Every fill goes through a tsc loop plus the test gate before a single line lands. Green means green.
Plugin — Solarch inside Claude Code, in one command
The MCP now ships as a Claude Code plugin:
/plugin marketplace add solarch-dev/solarch-tools/plugin install solarch@solarch-toolsThat's it — architecture context and rule-checked codegen, right inside your agent.
---
Would love your thoughts — what would you want Surgical AI to handle next?
— Ugur, building Solarch
Replies
This is a really interesting approach. Most AI codegen tools treat architectures as a suggestion but making the diagram the source of truth feels much closer to how engineering teams actually work.
Solarch
@gordon_bennett Yess! Also Solarch is not only making the diagram-to-code approach. Our vision is sooo much wider. Like:
• Living Documentation: The diagram itself becomes your live Postman and Scalar/Swagger. You change a node, docs update instantly. No more drift.
• Visual Project Management: Why use detached Jira tickets? Nodes become your actual task boards. You track the project's real health directly on the architecture.
• Git Sync & Auditing: Imagine visual architecture diffs on PRs. You can literally see how a new feature affects service dependencies before merging.
• Deterministic UI Generation: Strict, rule-based frontend generation where backend DTOs automatically shape UI components based on your custom Design System/Tailwind config.
We are turning the diagram into a complete "Tech Workspace" where business logic meets engineering constraints. Thrilled that you caught the core value! 🚀