Portal: Internals & design
How Solomon is structured in Go: entry points, runtime loop, LLM layer, tools, persistence, and extension points.
Articles
| Article | Summary |
|---|---|
| overview.md | Design tenets, top-level package dependency graph |
| package-index.md | Canonical map of every internal/ and cmd/ package |
| startup-and-cli.md | cmd/solomon/main.go, wizard, project resolve |
| server.md | Detached local server, Vite development proxy, health endpoint |
| runtime.md | Runtime hub: package map, Runtime fields, debug playbook |
| runtime-repl.md | Raw-mode editor, completion, @ mentions, shell-first |
| runtime-orchestration.md | Turns, tools, MCP, nested subagent, CI mode |
| runtime-and-repl.md | Redirect to runtime hub articles |
| agent-turn-pipeline.md | runAgentTurns, stream, tool execution, legacy XML, compaction |
| plan-vs-build.md | Modes, prompts, native tool sets, legacy syntax in templates |
| llm-layer.md | Streaming, params, images, stream integrity, legacy early stop |
| native-tools.md | Tool router, plan/build tools, legacy XML parse and validation |
| mcp-integration.md | MCP config, manager, adapter, runtime wiring |
| research.md | Asynchronous deep research jobs, web routing, persistence, and GUI/terminal surfaces |
| sessions-and-storage.md | chatstore, project, paths |
| checkpoints.md | Branching, goto, git OID sync |
| skills-and-slash.md | Skills registry, slash dispatch, commands |
| cursor-integration.md | Cursor API sidecar: HTTP proxy, fail-closed, tool bridge, debug |
| supporting-packages.md | Auth, tooloutput, search, instructions, updater, UX helpers |
Suggested order
- overview.md
- package-index.md — find the package you need
- startup-and-cli.md
- runtime.md
- runtime-orchestration.md or runtime-repl.md depending on area
- agent-turn-pipeline.md
- Remaining articles as needed for the area you are changing.