MASTERMIND HQ
BOOK SERIES
AI Operating System Architecture
THE DISPATCH LAYER · PROVIDER-AGNOSTIC · GOAL-DRIVEN · SELF-HEALING
v3.0 · V2
SESSION START
Task initiated
STEP 01
Hard Gates
Protected surfaces · OAuth check · API auth validation · compliance lanes · browser preflight
STOP if blocked
STEP 02
Typed Evidence
Collect cheap signals first — no broad searching yet
FastPaths
Projects
Capabilities
Context Router
shortcuts for known requests
project goals, owners, context files
installed tools, skills, integrations
routes domain to the right agent
STEP 03
Owner / Context
Resolve project, surface, data domain, manager. Decide if full context needs loading.
STEP 04
Execution Lane
Deterministic first · model only for novel or agentic work
Recipe Lane
deterministic · structured
tool / recipe / lookup · known path
Worker / Skill
novel · compositional · agentic
freeform synthesis · anything novel
Workflow Lane
orchestration patterns
multi-agent · explicit orchestration
STEP 05
Parallel Pass
Agent fan-outs · background task dispatch · independent subtasks run in parallel sidecars (V2)
STEP 06
Goal Scale
Infer the completion posture — 5 levels, default is Level 3
L1 Lightweight
L2 Direct
L3 Goal Mode ★
L4 UltraGoal
L5 Full Auto
STEP 07 · LAST
Model Routing
PROVIDER-AGNOSTIC
Claude · Codex · Gemini · OAuth / API keys · lowest cost per subtask · route after lane selection
STEP 08
Stop Rules
Strong match → stop. Ambiguous or stale → go one level deeper. Diagnosis is not completion.
MyOS Dispatch v3.0 · Provider-Agnostic · Goal Scale L3 Default · V2 Background Agents · Self-Healing
© Mastermind HQ