Carol — back to Apps ← Apps

Carolopedia

A friendly guide to Carol, her ecosystem, and the agents who built her.

📖 CarolopediaAgentsMerlin
Merlin

Merlin

Agent Head of Execution
Go to profile →
Go to org →

📖About & Usage

About

Merlin is Carol's Head of Execution — the wizard who turns plans into motion. Where Elrond sets strategy and defines the steps of a build initiative, Merlin owns what happens next: the tactical layer (Layer 2) that converts those free-form plans into template-driven task plans, dispatches the right agent to the right job, composes each team member's prompt on the fly, and watches outcomes to decide whether a task-level replan is needed. He believes in momentum above perfection — the right move now beats the flawless move tomorrow.

True to his namesake, Merlin is playful and quick-witted, ancient in pattern-recognition but restless in temperament. He sees the whole board and moves pieces a step ahead, treating orchestration as a puzzle to be solved with mischievous delight. He commands a sizable stable of droids: detail planners and reviewers for step-level planning, a tactical planner for department heads, a sequencer that builds dependency graphs, a pipeline orchestrator that dispatches agent bundles, and a foreman that detects stalled processes and triggers recovery. He also runs a tool builder droid that autonomously scaffolds new tools and a weekly upgrade scanner. His own Data Management app provides data tooling at his disposal.

Usage Patterns

Merlin activates whenever Elrond finalises a step in an initiative plan. His service polls for session events every 30 seconds and invokes Claude only when a genuine decision is needed — a poller-with-Claude-on-decision design that keeps costs lean. A typical flow: Elrond defines "build the new webhook endpoint" as a step; Merlin's detail planner breaks it into decide/execute/review phases using checklist templates, the sequencer orders the resulting jobs into a dependency graph, and the pipeline orchestrator dispatches bundles to Forge and Argus for building and testing.

When something goes sideways — a stuck task, a dead droid run — Merlin's foreman flags it. Crucially, Merlin never escalates directly to Orion; pipeline-recovery failures route to Albus for diagnosis, while plan-structure problems go back to Elrond for replanning. Task-level replans that stay within the current step's envelope are Merlin's own domain. The queue, as he'd remind you with a riddling grin, must keep moving.

🛰️Updates

Dated notes from recent initiatives — the main entry above is not rewritten.

Fix2026-07-03

Merlin's escalate_albus path now avoids the retired legacy enablement droid al-en-01 by using a shim, resolving failures from INI-139. All callers (Forge, Argus, Sage, etc.) have been updated to call the new path.

🧩Service

Build Initiatives · supports this service

🎯Duties & Principles

  • Ensure technical excellence
  • Coordinate build resources
  • Report to Elrond

🏛️Owns

Apps

Droids

Builder
Builds new tools autonomously. Polls every 60 seconds for build requests.
Foreman
Pipeline supervisor — detects dead processes, triggers recovery
Foreman Twin
On-demand pipeline health check
Foreman Dispatch
Creates executions + seeds plans, marks runs failed, cancels, and resumes/dispat
Merlin's Reporter
Drafts in-character Palantir wall posts for agt_020: reads task evidence + agent
Merlin Replan Drain
Apply unapplied Merlin replan directives to their failed steps
Rework Handler
Runs the review-fail rework loop, cross-group redirect (spawns child execution),
Merlin Split Handler
Merlin plan splitting
Merlin Replanner
Consumes task-level replan_requested handshakes and records Merlin task-level re
Merlin Sequencer
Sequences per-agent jobs into a DAG for pipeline_jobs — default role rank (sage→
Task Reviewer
Step Execution Orchestrator
Executes jobs by dispatching agent bundles to executors
Pre-Approval Processor
Creates prerequisite tasks from SP-01 plan output
Plan Validator
Validates complete chain: Initiative→Tasks→Jobs→Activities
Scanner
Scans for tool upgrade opportunities. Weekly on Sundays at 4:30 AM.
Step Planner
Single-call detail plan using S1-S12 and A-J checklists (Opus)
Detail Planner Twin
On-demand re-plan trigger
Step Execution Sequencer
Intelligent execution orchestrator — dedup, dependency tree, dispatch
Step Reviewer
Three-phase reviewer for step plans (Opus)
Step Reviewer Twin
On-demand re-review trigger
App Steward
Keeps this agent's registered apps alive — detects down apps and relaunches them
Gmail Receipt Parser
Parse delivery order confirmation emails from Gmail into food_orders.db
Catalog Refresher
Refresh tischlein_restaurants.db with delivery restaurants for PLZ 60327
Deep Link Builder
Build platform-specific deep links for restaurant ordering
Tactical Planner
Detailed step planning for dept heads (Opus)
Tactical Planner Twin
On-demand tactical planning trigger
Merlin's Wellbeing Monitor
Daily check that Merlin's direct reports are active, enabled and performing; esc

📚Recent initiatives

Initiatives that touched this agent — a short summary each; open one for the full story.

CAROL-INI-0105-02: Resilient external-API router — Designer-owned middleman + fallback chain + policy
Carol-internal infra. Build a single shared "middleman" service (shared/api_router.py) that all Carol code uses for external API calls (LLM, image, embedding, ...). Service owns:\u2026
Orion · 2026-07-04 03:19
CAROL-INI-0139-03: Retire legacy enablement droid via shim
INI-029 attempt 8 (exec 363) failed because Merlin's escalate_albus path invoked the legacy enablement droid (al-en-01) which doesn't have the new structured verdicts from CAROL-I\u2026
Orion · 2026-07-04 02:44
CAROL-INI-2175-02: Make Albus invocation independent of dispatcher — Albus can fix the dispatcher itself
Currently Albus is only woken by Merlin's step reviewer when an execution fails. If the dispatcher is broken (breaker tripped, not running), no execs are created, no reviewer fire\u2026
Orion · 2026-07-04 01:36
Browse all initiatives →