Skip to content

The Living System

The Under the Hood page describes your agent’s 54 background processes. The Default Jobs page describes its 26 scheduled jobs. But they don’t operate in isolation — they form a single organism with interlocking systems that detect threats, learn from experience, maintain hygiene, and grow over time.

This page maps the complete system to biological analogies. Not because it’s cute — because it reveals the design logic. Each biological system has a clear purpose, and so does each group of processes and jobs. When something goes wrong, the question isn’t “which component broke?” but “which system is failing?”


Purpose: Detect threats, respond to damage, recover from injury.

The immune system is the most layered part of the organism. It has innate immunity (fast mechanical responses), adaptive immunity (learned pattern matching), and a meta-immune layer that monitors whether the immune system itself is working.

ComponentTypeWhat It Does
SessionRecoveryProcessInnate immunity. Analyzes conversation files for three failure patterns (tool stalls, crashes, error loops) and truncates to a safe point. Handles 60-70% of failures with zero LLM cost.
SessionWatchdogProcessInnate immunity. Kills stuck commands through escalating force (Ctrl+C → SIGTERM → SIGKILL).
TriageOrchestratorProcessAdaptive immunity. 8 heuristic patterns handle 90% of remaining cases. Only spawns an LLM when no heuristic matches — and even then, deterministic predicates gate every auto-action.
SessionMonitorProcessSurveillance. Polls every 60s, classifies sessions as healthy/idle/unresponsive/dead, feeds problems into the recovery stack.
DegradationReporterProcessSymptom detection. Fires when any system falls back from primary to secondary path. Ensures no silent degradation.
StallDetectorProcessPromise monitoring. Detects when messages get injected but never answered, and when the agent says “working on it” but never follows up.
health-checkJob (5 min)Vital signs. Server responding? Disk space OK? The simplest possible “am I alive?” check.
guardian-pulseJob (8h)Meta-immunity. Verifies that the other immune components (jobs) are actually running. If health-check stops, guardian-pulse notices.
degradation-digestJob (4h)Pattern recognition. Groups DegradationReporter events — a single fallback is noise; the same fallback every hour is a trend.
state-integrity-checkJob (6h)Structural scan. Cross-validates state files for orphaned references, bloat, and corruption.
session-continuity-checkJob (4h)Outcome validation. Did sessions actually produce artifacts? A 30-minute session that leaves no trace is a wasted session.
overseer-guardianJob (6h)Immune review. Analyzes all immune components as a group — spots contradictions, recommends tuning.

How it flows: SessionMonitor detects → SessionRecovery tries fast fix → TriageOrchestrator runs heuristics → LLM diagnosis as last resort. Meanwhile, DegradationReporter catches fallbacks, health-check confirms vitals, guardian-pulse watches the watchers, and overseer-guardian reviews the whole immune response periodically.


Purpose: Carry messages, route signals, ensure nothing gets lost in transit.

ComponentTypeWhat It Does
TelegramAdapterProcessPrimary sensory interface. Long-polling for incoming messages, JSONL history for persistence.
SessionSummarySentinelProcessSignal processing. Every 60s, summarizes each session’s terminal output via Haiku. Enables intelligent message routing — “send to best session” works because summaries make sessions searchable.
SessionActivitySentinelProcessEpisodic memory formation. Every 30 min, creates condensed digests of what each session accomplished.
NotificationBatcherProcessSignal prioritization. Three urgency tiers (immediate/summary/digest) with deduplication and quiet hours.
DeliveryRetryManagerProcessGuaranteed delivery. Three retry layers (server unreachable, session unavailable, ACK timeout) plus post-injection crash detection.
MessageStoreProcessSignal persistence. Atomic writes, deduplication, dead-letter archiving (30-day retention).
TopicResumeMapProcessSession binding. Maps Telegram topics to session UUIDs so conversations survive session restarts.
commitment-detectionJob (5 min)Promise extraction. Scans messages for commitments (“I’ll build that tomorrow”) and registers them for tracking.
dashboard-link-refreshJob (15 min)Signal maintenance. Keeps the Telegram dashboard link current as tunnel URLs change.

How it flows: TelegramAdapter receives → SessionSummarySentinel scores sessions for routing → DeliveryRetryManager ensures delivery → NotificationBatcher controls outbound flow → MessageStore persists everything → commitment-detection extracts actionable signals.


Purpose: Remember, learn, forget. Turn experience into durable knowledge.

ComponentTypeWhat It Does
EvolutionManagerProcessLearning lifecycle. Manages proposals from gap detection through review to implementation.
MemoryMonitorProcessMemory pressure. Triggers cleanup when heap usage exceeds 80%.
reflection-triggerJob (4h)Experience capture. Reviews recent activity and writes learnings to MEMORY.md. Raw material for everything downstream.
insight-harvestJob (8h)Pattern synthesis. Groups learnings into insights, spots cross-domain connections, generates evolution proposals.
evolution-proposal-evaluateJob (6h)Critical review. Reads pending proposals, evaluates merit, approves or rejects. Does not implement.
evolution-proposal-implementJob (4x/day)Growth execution. Picks up approved proposals and builds them — new skills, hooks, job changes. The most expensive job by design.
evolution-overdue-checkJob (4h)Commitment tracking. Monitors promises and commitments for overdue items.
memory-hygieneJob (12h)Memory grooming. Reviews MEMORY.md for stale entries, duplicates, and contradictions.
memory-exportJob (6h)Memory consolidation. Regenerates MEMORY.md from the SemanticMemory knowledge graph.
identity-reviewJob (daily)Self-model maintenance. Checks whether behavior aligns with AGENT.md and soul.md.
overseer-learningJob (2 days)Meta-learning. Is the agent actually getting smarter, or is the learning pipeline busy-work?

How it flows: reflection-trigger captures raw learnings → insight-harvest finds patterns → EvolutionManager creates proposals → evolution-proposal-evaluate approves → evolution-proposal-implement builds → memory-hygiene prunes → memory-export consolidates → identity-review checks alignment. overseer-learning watches the whole pipeline.


Purpose: Move data between organs. Sync state across machines. Keep everything flowing.

ComponentTypeWhat It Does
GitSyncManagerProcessBlood flow. Debounced commits (30s), full sync cycles (30 min), multi-stage conflict resolution.
LiveConfigProcessHormone distribution. Watches config.json every 5s, emits events on change so systems hot-reload.
git-syncJob (hourly)Full reconciliation. Periodic deep sync with tiered model escalation for conflict resolution.
feedback-retryJob (6h)Clot resolution. Retries forwarding feedback items that failed to reach upstream.
overseer-infrastructureJob (daily)Circulation review. Checks sync success rates, link freshness, retry queues.

How it flows: LiveConfig distributes local changes → GitSyncManager commits and syncs → git-sync job ensures hourly reconciliation → feedback-retry clears blockages → overseer-infrastructure reviews circulation health.


Purpose: Structural integrity. The frame everything else hangs on.

ComponentTypeWhat It Does
AutoUpdaterProcessBone growth. Checks for updates every 30 min, coalesces rapid releases, defers during active sessions.
ProcessIntegrityProcessStructural verification. Detects when the running binary is stale vs what’s on disk.
CaffeinateManagerProcessPosture (macOS). Prevents sleep while the agent is running.
ForegroundRestartWatcherProcessGraceful molting. Watches for restart signals after updates, manages clean handoff.
Graceful ShutdownProcessControlled collapse. Signal handlers ensure clean teardown: stop polling, persist state, disconnect, unregister.
CoherenceMonitorProcessStructural auditing. Every 5 min, checks process integrity, config coherence, state durability, output sanity, feature readiness.
coherence-auditJob (8h)Deep structural review. Verifies topic-project bindings, semantic coherence beyond what CoherenceMonitor checks.
project-map-refreshJob (12h)Spatial awareness. Regenerates the project territory map.
capability-auditJob (6h)Feature inventory. Refreshes the capability map and detects drift.
overseer-maintenanceJob (daily)Maintenance review. Watches for diminishing returns in housekeeping jobs.

Purpose: Clean up waste. Prevent accumulation. The biological equivalent of the liver and kidneys.

ComponentTypeWhat It Does
OrphanProcessReaperProcessWhite blood cell. Every 60s, finds and kills orphaned Claude processes.
JSONL RotationProcessKidney filtration. Size-based rotation for all append-only logs (>10MB → keep newest 75%).
Session File CleanupProcessCell recycling. Removes session state for completed sessions (24h) and killed sessions (1h).
Triage Evidence CleanupProcessWound cleanup. Every 6h, removes stale triage evidence and abandoned triage sessions.
Recovery Backup CleanupProcessScar tissue removal. Every 6h, removes .bak files older than 24h.
Dead-Letter CleanupProcessDead cell removal. Every 6h, removes failed messages older than 30 days.
Temp File CleanupProcessMetabolic waste. On startup, removes temp Telegram files older than 7 days.
Global Install CleanupProcessForeign body removal. On startup, removes stale global instar installations.

No paired jobs — housekeeping is entirely process-driven. It runs continuously because waste accumulates continuously.


Purpose: Relationships with other agents and the outside world.

ComponentTypeWhat It Does
AgentDiscoveryProcessPresence. 5-second heartbeat announcing this agent exists.
HandshakeManagerProcessIntroduction protocol. Ed25519 identity keys for encrypted communication.
TrustManagerProcessReputation. Tracks trust levels: untrusted → verified → trusted → autonomous.
ThreadlineRouterProcessConversation. Routes messages between agents via the Threadline protocol.
InboundMessageGateProcessBoundary enforcement. Validates incoming relay messages against trust levels.
Relay ClientProcessLong-distance communication. WebSocket to the cloud relay for cross-machine messaging.
AgentRegistry HeartbeatProcessRoll call. Every 30s, writes presence to the global agent registry.
relationship-maintenanceJob (daily)Social awareness. Reviews tracked relationships, surfaces stale contacts.

Purpose: External visibility. Let the operator observe the organism.

ComponentTypeWhat It Does
WebSocketManagerProcessSensory nerve endings. Manages browser connections, auth, subscriptions.
Terminal StreamProcessLive feed. Captures terminal output every 500ms, sends diffs to connected clients.
Session List BroadcastProcessStatus display. Sends running session metadata to all clients every 5s.

No paired jobs — the dashboard is purely reactive to operator attention.


SystemProcessesJobsTotal Components
Immune6612
Nervous729
Memory & Learning2911
Circulatory235
Skeletal6410
Housekeeping808
Social718
Dashboard303
Total~48~25~73

Note: Some processes appear in multiple categories (e.g., SleepWakeDetector spans Skeletal and Lifecycle). Some jobs serve multiple systems (e.g., overseer-guardian spans Immune and Meta). Counts are approximate — the organism doesn’t have sharp boundaries between systems, and that’s by design.


When something goes wrong, thinking in systems rather than components tells you where to look:

SymptomFailing SystemFirst Check
Sessions keep dyingImmuneSessionRecovery logs, TriageOrchestrator heuristic matches
Messages not arrivingNervousDeliveryRetryManager queue depth, NotificationBatcher state
Agent not learningMemoryreflection-trigger output quality, insight-harvest novelty scores
State out of syncCirculatorygit-sync success rate, GitSyncManager conflict log
Disk filling upHousekeepingJSONL rotation thresholds, orphan process count
Agent acting strangelySkeletalCoherenceMonitor alerts, identity-review findings

The biological metaphor isn’t decorative — it’s a diagnostic framework.