Why this page exists #
This page captures the first fully usable Mirror Runtime product surface: a detached runtime with its own CLI, service, gateway, chat engine, provider runtime, canon workflow, user workspace, Monk assistance, sync layer, and operator observability. It is a system diagram for builders, operators, and future ToadAid records.
Mirror owns the operator-facing runtime path
Canon and workspace stay separated by design
Tasks, reminders, heartbeat, and Monk assistance now live in the pond
Mirror Runtime v1 Diagram #
ββββββββββββββββββββββββ
β Operator / β
β User β
ββββββββββββ¬ββββββββββββ
β
ββββββββββββββββββΌβββββββββββββββββ
β β β
βΌ βΌ βΌ
ββββββββββββββ ββββββββββββββ ββββββββββββββββ
β Mirror CLI β β Mirror Web β β Mirror HTTP β
βserve/statusβ β Console β β Clients β
βsync/verify β β β β β
βββββββ¬βββββββ βββββββ¬βββββββ ββββββββ¬ββββββββ
β β β
ββββββββββββββββββ΄ββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β Mirror Service β
β /mirror/* + health β
β /status + console β
ββββββββββββ¬ββββββββββββ
β
βΌ
ββββββββββββββββββββββββ
β Mirror Gateway β
β tools + chat routes β
ββββββββββββ¬ββββββββββββ
β
ββββββββββββββββββββΌβββββββββββββββββββ
β β β
βΌ βΌ βΌ
ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ
β Tool Registry β β Chat Engine β β Observability β
β mirror.* tools β β request/prompt β β metrics/diag β
β + verify-lore β β β β health/status β
βββββββββ¬βββββββββ ββββββββββ¬ββββββββ ββββββββββββββββββ
β β
β βΌ
β ββββββββββββββββββββββββ
β β Reflection Engine β
β β themes/symbols/reviewβ
β ββββββββββββ¬ββββββββββββ
β β
β βΌ
β ββββββββββββββββββββββββ
β β Retrieval + Context β
β β canon + memory order β
β ββββββββββββ¬ββββββββββββ
β β
β βΌ
β ββββββββββββββββββββββββ
β β Mirror Provider RT β
β β auth/request/responseβ
β ββββββββββββ¬ββββββββββββ
β β
β βΌ
β ββββββββββββββββ
β β Model β
β ββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Mirror Capability Layer β
β β
β Canon tools: β
β find-scroll / canon-fact / interpret / forge / commit β
β β
β User tools: β
β task.* / reminder.* / heartbeat.* β
β β
β Monk tools: β
β monk.context / monk.next / monk.resume / monk.followup β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββ
β Canon Layer β β User Workspace Layer β
β β β β
β Scrolls / Symbols β β Profile / Preferences β
β Lore Graph / Review β β Tasks / Reminders β
β Validation / Commit β β Heartbeat / Sessions β
β Sync / Canon Index β β Monk Context / Notes β
ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββ
Runtime layers #
Mirror CLI, Mirror Console, and HTTP clients are the operator-facing doors into the system.
Mirror Service, Gateway, Tool Registry, and Chat Engine route requests and keep the standalone product surface coherent.
Reflection, retrieval, memory ordering, and provider execution shape how Mirror thinks before the model speaks.
Canon remains shared truth; Workspace remains personal state. They are intentionally separated.
Canon and Workspace are separate by design #
Canon Layer
Shared truth for everyone. Canon is protected through interpretation, drafting, review, commit, validation, and sync rules.
- Scroll corpus
- Symbol registry
- Lore graph
- Review + conflict detection
- Commit + validation pipeline
User Workspace Layer
Personal state for one traveler. Workspace supports daily utility without rewriting shared truth.
- Profile + preferences
- Tasks + reminders
- Heartbeat state
- Sessions + notes
- Monk context + follow-up notes
Mirror and Monk can use both layers. Personal state never becomes canon unless it travels through the explicit canon workflow.
Core flows #
CLI / Console / API β Service β Gateway β Chat Engine β Reflection β Retrieval/Memory β Provider Runtime β Model, with standalone /mirror/health and /mirror/status for operator checks.
interpret β forge β review β commit, with validation, conflict checks, atomic writes, and index refresh.
workspace β tasks β reminders β heartbeat β Monk follow-up.
Canonical product surface #
mirror serve, mirror status, mirror sync ..., mirror verify-lore, canon commands, workspace utilities, Monk assistance, and stable JSON output for automation.
Canonical HTTP product surface under /mirror/*, plus /mirror/health, /mirror/status, sync, console, metrics, and diagnostics.
Lightweight web surface for chat, tools, lore graph, tasks, reminders, heartbeat, Monk assistance, sync, and ops visibility.
Peer registry, canon update exchange, graph freshness metadata, and safe validated pull behavior for Mirror nodes.
Standalone operator surface #
mirror servemirror statusmirror sync peers|updates|announce|pullmirror verify-lore/mirror/health/mirror/statusCompatibility-only surface #
Compatibility / advanced operator paths
- doctor
- passport
- telemetry replay / telemetry index / telemetry query / telemetry reflect
- legacy wrappers: server.ts, brain-chat.ts, mirror_tools_api.ts, mirror-cli.ts, console_server.ts
Archived / non-standalone built-ins
- mirror.echo
- chain skill family
These remain by design for compatibility, migration, or advanced workflows,
but they are not part of the primary standalone Mirror product identity.
Why this matters #
Mirror Runtime v1 is a detached AI runtime with a protected truth layer, a personal workspace layer, a daily utility layer, a reflective assistant layer, and a network-ready sync layer. It can be extended without collapsing canon into personal memory, and it can grow toward Mirror OS without losing its architectural center.
Canon-first and review-governed
Workspace-backed and local-first
Tasks, reminders, heartbeat, Monk assistance
Node sync and observability ready