Architecture
text
cmd/minerva
internal/
cli/ Cobra commands
mcp/ MCP stdio server
skill/ SKILL.md discovery + Minerva activation
profile/ agent.yaml management
templates/ role prompts (builtin + disk)
library/ export/import/lint portable bundles
bridge/ local-agent integration snippets
monitor/ presence (bins + tiers)
integration/ deep readiness (sibling CLIs)
status/ unified doctor/status report
suggest/ shared suggestion engine
analytics/ append-safe events
evidence/ fcheap tag conventions + close receipts
textdiff/ unified diffs for compare
version/
docs/ VitePress site (this site)
specs/ Glyphrun CLI contracts
browser-specs/ Cairn docs-site contractsDesign rules
- Disk is the SSOT for library content shared with harnesses.
- Sibling tools own domain truth — Minerva shells their
--jsonAPIs. - Presence ≠ readiness — especially codemap/vecgrep.
- Suggest proposes; host applies — except allowlisted activate.
- No secret values in analytics, skills, or stashes.
- Dogfood with glyph (CLI) and cairn (site).
Related stack
| Tool | Relationship |
|---|---|
| local-agent / sonar | Runtime consumers of ~/.agents (session-native) |
| MCPHub | Gateway + call intelligence |
| Cortex | Task kernel (overview/stale signals only) |
| Bob | Repo contract |
| Codemap / Vecgrep | Retrieval readiness |
| fcheap | Evidence vault |
| glyph / cairn | Contract testing |