Gormes

Architecture Plan

Gormes — Executive Roadmap

Single source of truth: progress.json — machine-readable, auto-updated on build

Linked surfaces:


Progress Summary

PhaseStatusShipped
Phase 1 — The Dashboard✅ Complete5 items
Phase 2 — The Gateway🔨 In Progress4 of 8 subphases
Phase 3 — The Black Box🔨 Substantially Complete5 of 12 subphases
Phase 4 — The Brain Transplant⏳ Planned0 of 8 subphases
Phase 5 — The Final Purge⏳ Planned0 of 17 subphases
Phase 6 — The Learning Loop⏳ Planned0 of 6 subphases

Overall: 9/52 subphases shipped (17%) · 2 in progress · 41 planned


Phase 1 — The Dashboard ✅ Complete

Tactical bridge: Go TUI over Python’s api_server HTTP+SSE boundary

ItemStatus
Bubble Tea TUI shell
Kernel with 16 ms render mailbox
Route-B SSE reconnect
Wire Doctor — offline tool validation
Streaming token renderer

Ongoing: Polish, bug fixes, TUI ergonomics


Phase 2 — The Gateway 🔨 In Progress

Go-native wiring harness: tools, Telegram, and thin session resume

SubphaseStatusPriorityDeliverable
2.A — Tool RegistryP0In-process Go tool registry, streamed tool_calls
2.B.1 — Telegram ScoutP1Telegram adapter, long-poll, edit coalescing
2.C — Thin Mapping PersistenceP0bbolt session resume
2.D — Cron / Scheduled AutomationsP2robfig/cron/v3 scheduler + bbolt cron_jobs bucket + cron_runs audit + CRON.md mirror + Heartbeat [SYSTEM:] prefix + [SILENT] suppression; Ollama E2E proven
2.B.2+ — Wider Gateway SurfaceP1Discord, Slack, WhatsApp, Signal…
2.E — Subagent SystemP0Execution isolation, resource boundaries
2.F — Hooks + LifecycleP2Per-event extension points
2.G — Skills SystemP0Learning loop foundation

Phase 3 — The Black Box (Memory) 🔨 In Progress

SQLite + FTS5 + ontological graph + semantic fusion in Go

SubphaseStatusDeliverable
3.A — SQLite + FTS5 LatticeSqliteStore, FTS5 triggers, migrations
3.B — Ontological Graph + LLM ExtractorExtractor, entity/rel upsert
3.C — Neural Recall + Context InjectionRecallProvider, CTE, memory-context fence
3.D — Semantic FusionOllama embeddings, cosine recall
3.D.5 — Memory Mirror (USER.md)Async export, SQLite source of truth
3.E.1 — Session Index Mirrorbbolt → YAML export
3.E.2 — Tool Audit LogJSONL audit trail
3.E.3 — Transcript ExportMarkdown export command
3.E.4 — Extraction Visibilitygormes memory status
3.E.5 — Insights Audit LogUsage JSONL
3.E.6 — Memory DecayWeight attenuation, last_seen
3.E.7 — Cross-Chat SynthesisGraph unification across chats

Phase 4 — The Brain Transplant ⏳ Planned

Native Go agent orchestrator + prompt builder. Hermes becomes optional.

Build priority: Skills → Subagents → Gateway → Native Agent Loop

SubphaseDeliverable
4.A — Provider AdaptersAnthropic, Bedrock, Gemini, OpenRouter…
4.B — Context EngineLong session management
4.C — Native Prompt BuilderSystem + memory + tools + history
4.D — Smart Model RoutingPer-turn model selection
4.E — Trajectory + InsightsSelf-monitoring telemetry
4.F — Title GenerationAuto-naming sessions
4.G — Credentials + OAuthToken vault, multi-account auth
4.H — Rate / Retry / CachingProvider-side resilience

Phase 5 — The Final Purge ⏳ Planned

Python disappears entirely from the runtime path

17 subphases (5.A–5.Q): Tool Surface, Sandboxing, Browser, Vision, Voice, Skills, MCP, ACP, Plugins, Security, Code Exec, File Ops, MoA, Operator Tools, CLI Parity, Docker, TUI Gateway Streaming


Phase 6 — The Learning Loop (Soul) ⏳ Planned

The first Gormes-original core system — not a port

SubphaseDeliverable
6.A — Complexity DetectorHeuristic signal for worth-learning
6.B — Skill ExtractorLLM-assisted pattern distillation
6.C — Skill Storage FormatPortable SKILL.md format
6.D — Skill Retrieval + MatchingHybrid lexical + semantic
6.E — Feedback LoopEffectiveness scoring
6.F — Skill SurfaceTUI + Telegram browsing

Data Format

The progress.json file is the machine-readable source of truth. It contains:

  • Phase and subphase status for each item
  • Links to all public surfaces
  • Stats for automated dashboards

Updated automatically on make build via scripts/record-progress.sh.

In this section