v1.0 → v1.1
What changed from v1.0 to v1.1
From v1.0 (10 Mar) to v1.1 (10 Mar): 4,913 words to 6,238 words, 2,653 words in new or rewritten paragraphs and 1,328 taken out, 174 paragraphs changed.
Contributions, an algorithm and an honest methods section addedThe same day, the paper was revised after an outside review (its changelog says so). The claims are now stated as numbered contributions, the nightly loop is written out as Algorithm 1, and the evidence section explains how the numbers were gathered and what else changed during the 30 days.
- New: a contributions list, Algorithm 1 (the nightly reflection loop), a methods-and-limitations section, and error classes tracked over time.
- New: examples of a lesson moving from one job to another.
- The informal "convergence proof" is renamed "convergence intuition (not a proof)".
- The abstract now gives figures; "emergent intelligence" becomes "observed improvement".
- A controlled ablation study replaces "quantitative benchmarking" as future work.
v1.0 · 10 March 2026v1.1 · 10 March 2026
··· 1 unchanged paragraph folded ···
v1.0 · The Prompt Cerebellum: How Structured Nightly Prompting Produces Emergent Intelligence in Stateless AI Agents**Authors:** Oscar Serra, JarvisOne AI Research **Date:** March 2026 **Keywords:** emergent intelligence, prompt engineering, cron-driven learning, self-improving agents, fractal metacognition, autonomous orchestration, memory consolidation, operational lessons
v1.1 · The Prompt Cerebellum: How Structured Nightly Prompting Produces Emergent Intelligence in Stateless AI Agents**Authors:** Oscar Serra, JarvisOne AI Research **Date:** March 2026 (v1.1) **Keywords:** emergent intelligence, prompt engineering, cron-driven learning, self-improving agents, fractal metacognition, autonomous orchestration, memory consolidation, operational lessons
··· 2 unchanged paragraphs folded ···
v1.0 · AbstractLarge language model agents are stateless by nature -- every session begins from zero. Current approaches to persistent intelligence rely on fine-tuning, RAG, or expanding context windows. We present a fundamentally different mechanism observed in production: **structured nightly prompt cycles** that produce compounding intelligence gains without weight updates, fine-tuning, or architectural changes. Over 30 days of continuous operation, a personal AI assistant (Jarvis/OpenClaw) running 13 autonomous cron jobs demonstrated measurable improvements in decision quality, error avoidance, and operational autonomy -- not because the model improved, but because the *prompts and memory files the model reads* improved through the model's own nightly reflection loops.
v1.1 · AbstractLarge language model agents are stateless by nature -- every session begins from zero. Current approaches to persistent intelligence rely on fine-tuning, RAG, or expanding context windows. We present a different mechanism observed over 30 days of production operation: **structured nightly prompt cycles** that produce compounding behavioral improvements without weight updates, fine-tuning, or architectural changes. A personal AI assistant (Jarvis/OpenClaw) running 13 autonomous cron jobs exhibited a decline in recurring error classes from 14 incidents (weeks 1--2) to 1 incident (weeks 3--4) across five tracked categories, while simultaneously discovering a new, higher-order error class -- not because the model improved, but because the *prompts and memory files the model reads* were iteratively refined through the model's own scheduled reflection loops.
v1.0 · AbstractWe formalize this as the **Prompt Cerebellum** -- a system where explicit, deliberate prompts are iteratively refined through experience until they produce automatic, high-quality behavior, analogous to how the biological cerebellum transforms conscious motor learning into fluid automatic execution. We identify three core mechanisms: (1) **failure-driven prompt mutation**, where operational errors trigger targeted prompt refinements; (2) **fractal depth calibration**, where the system learns to allocate metacognitive effort proportionally to task significance; and (3) **cross-cron knowledge transfer**, where lessons learned in one autonomous task propagate to all others through shared memory files.
v1.1 · AbstractWe formalize this as the **Prompt Cerebellum** -- a system where explicit, deliberate prompts are iteratively refined through experience until they produce automatic, high-quality behavior, analogous to how the biological cerebellum transforms conscious motor learning into fluid automatic execution. We identify three core mechanisms: (1) **failure-driven prompt mutation**, where operational errors trigger targeted prompt refinements (14 mutations documented, all traced to specific incidents); (2) **fractal depth calibration**, where the system learns to allocate metacognitive effort proportionally to task significance; and (3) **cross-cron knowledge transfer**, where lessons learned in one autonomous task propagate to all others through shared memory files (5 documented cross-domain transfer events).
v1.0 · AbstractWe provide production data from 30 days of operation, including 14 documented prompt mutations triggered by real failures, 3 safety constraint refinements, and a measurable reduction in repeated error classes. We argue that this approach -- prompts that rewrite themselves through structured reflection -- represents an underexplored middle ground between static prompt engineering and expensive fine-tuning, accessible to any agent system with file persistence and scheduled execution.
v1.1 · AbstractWe argue that this approach -- prompts that rewrite themselves through structured reflection -- represents an underexplored middle ground between static prompt engineering and expensive fine-tuning, accessible to any agent system with file persistence and scheduled execution. Total reflection overhead: approximately 43,000 tokens per night ($1.17), against an estimated 8 avoided human-intervention incidents over 30 days.
not in v1.0
v1.1 · Contributions### Contributions
not in v1.0
v1.1 · Contributions1. **The Prompt Cerebellum framework**: a formalized architecture for scheduled, autonomous prompt self-improvement through failure-driven mutation, abstraction-level encoding, and cross-task propagation. 2. **Production evidence over 30 days**: 14 documented prompt mutations, 5 error class extinctions, 5 cross-cron transfer events, and token-cost analysis from a real personal assistant deployment. 3. **The fractal depth calibration mechanism**: a prompt-encoded heuristic for allocating metacognitive effort that is itself subject to refinement -- a self-similar cognitive policy. 4. **Seven design principles** for building self-improving prompt ecosystems, derived from operational failures. 5. **Algorithm 1**: a reproducible nightly reflection loop with explicit inputs, outputs, and decision gates.
··· 3 unchanged paragraphs folded ···
v1.0 · 1. Introduction -- The Paradox of the Amnesiac ExpertThis is paradoxical. The model's weights haven't changed. Its architecture is identical. Its context window is the same size. Yet its behavior measurably improves over weeks. The improvement doesn't live in the model -- it lives in the *ecosystem of files the model reads and writes*.
v1.1 · 1. Introduction -- The Paradox of the Amnesiac ExpertThis is paradoxical. The model's weights haven't changed. Its architecture is identical. Its context window is the same size. Yet its behavior improves over weeks. The improvement doesn't live in the model -- it lives in the *ecosystem of files the model reads and writes*.
··· 1 unchanged paragraph folded ···
v1.0 · 1. Introduction -- The Paradox of the Amnesiac ExpertSimilarly, an AI agent's prompt files begin as explicit, verbose instructions: *when you encounter a merge conflict, check FORK_PATCHES.md, read the integration touchpoints, understand both sides' intent...* Through nightly reflection, these instructions are refined, edge cases are added, failure modes are encoded, and over time the agent's behavior becomes increasingly appropriate without the underlying model becoming more capable. The intelligence isn't in the weights -- it's in the substrate the weights operate on.
v1.1 · 1. Introduction -- The Paradox of the Amnesiac ExpertSimilarly, an AI agent's prompt files begin as explicit, verbose instructions. Through nightly reflection, these instructions are refined, edge cases are added, failure modes are encoded, and over time the agent's behavior becomes increasingly appropriate without the underlying model becoming more capable. The intelligence isn't in the weights -- it's in the substrate the weights operate on.
v1.0 · 1. Introduction -- The Paradox of the Amnesiac ExpertThis paper documents the mechanisms, presents production evidence, and proposes a framework for designing self-improving prompt ecosystems.
removed in v1.1
not in v1.0
v1.1 · 1. Introduction -- The Paradox of the Amnesiac ExpertThe central question this paper investigates: **Can persistent artifacts combined with scheduled reflection substitute for weight updates in producing sustained behavioral improvement in LLM agents?**
not in v1.0
v1.1 · 1. Introduction -- The Paradox of the Amnesiac ExpertOur evidence suggests a qualified yes -- qualified because the improvements are *declarative* (better rules and context) rather than *procedural* (better reasoning), and because our evidence comes from a single-operator production system rather than controlled experiment. We document the mechanisms, present production data, acknowledge the limitations honestly, and propose a framework for replication.
··· 3 unchanged paragraphs folded ···
v1.0 · 2.1 The Persistence HierarchyAgent systems exist on a spectrum of persistence mechanisms, each with distinct ceilings:
v1.1 · 2.1 The Persistence HierarchyAgent systems exist on a spectrum of persistence mechanisms, each with characteristic ceilings (Lewis et al., 2020; Packer et al., 2023; Hu et al., 2021):
v1.0 · 2.1 The Persistence Hierarchy| Level | Mechanism | Persistence | Learning Speed | Ceiling | |-------|-----------|-------------|----------------|---------| | 0 | Prompt engineering | None (session-only) | Zero | Static behavior | | 1 | RAG / retrieval | Declarative facts | Per-query | No behavioral change | | 2 | Persistent memory files | Declarative + some procedural | Per-session | Linear file growth, retrieval degradation | | 3 | Fine-tuning / LoRA | Weight-level | Per training run | Catastrophic forgetting, cost | | 4 | Continual learning | Full integration | Continuous | Open research problem |
v1.1 · 2.1 The Persistence Hierarchy| Level | Mechanism | Persistence | Learning Speed | Characteristic Ceiling | |-------|-----------|-------------|----------------|------------------------| | 0 | Prompt engineering | None (session-only) | Zero | Static behavior; cannot introduce absent knowledge (Wei et al., 2022) | | 1 | RAG / retrieval | Declarative facts | Per-query | Retrieval quality bounds; no behavioral change (Lewis et al., 2020) | | 2 | Persistent memory files | Declarative + some procedural | Per-session | Linear growth, retrieval degradation (Packer et al., 2023) | | 3 | Fine-tuning / LoRA | Weight-level | Per training run | Catastrophic forgetting (French, 1999; Hu et al., 2021) | | 4 | Continual learning | Full integration | Continuous | Open research problem (McClelland et al., 1995) |
v1.0 · 2.1 The Persistence HierarchyMost production agent systems operate at Level 2 -- persistent memory files that accumulate facts and preferences. The contribution of this paper is demonstrating that Level 2 systems can exhibit Level 3-like *behavioral* improvements through a specific pattern of structured self-reflection, without any weight updates.
v1.1 · 2.1 The Persistence HierarchyMost production agent systems operate at Level 2. This paper demonstrates that Level 2 systems can exhibit Level 3-like *behavioral* improvements through structured self-reflection, without weight updates.
··· 1 unchanged paragraph folded ···
v1.0 · 2.2 What's Missing: The Reflection LoopLevel 2 systems typically accumulate information passively: the agent records what happened, stores user preferences, and retrieves relevant context. But accumulation is not learning. A memory file that says "the user prefers concise responses" must be re-injected into every context window and re-interpreted by every session. It never becomes instinct.
removed in v1.1
not in v1.0
v1.1 · 2.2 What's Missing: The Reflection LoopLevel 2 systems typically accumulate information passively: the agent records what happened, stores preferences, and retrieves relevant context. But accumulation is not learning. We define **learning** in this context as *behavioral policy change that persists across episodes and transfers across task domains* -- distinct from **memory**, which is *state persistence without behavioral modification*.
not in v1.0
v1.1 · 2.2 What's Missing: The Reflection LoopA memory file that says "the user prefers concise responses" is memory. A prompt mutation that changes how the agent *formats all future outputs* is learning. The distinction matters because memory requires re-interpretation every session, while learning produces automatic behavior.
v1.0 · 2.2 What's Missing: The Reflection LoopThe missing component is a **structured reflection loop** -- a mechanism by which the agent doesn't merely record what happened, but:
v1.1 · 2.2 What's Missing: The Reflection LoopThe missing component is a **structured reflection loop** -- a mechanism by which the agent:
v1.0 · 2.2 What's Missing: The Reflection Loop1. Identifies *why* a failure occurred (root cause, not symptom) 2. Determines whether the failure class is preventable through prompt changes 3. Modifies the relevant prompt to prevent recurrence 4. Verifies the modification doesn't break other behaviors 5. Encodes the *meta-lesson* (the pattern behind the failure) at the appropriate level of abstraction
v1.1 · 2.2 What's Missing: The Reflection Loop1. Identifies *why* a failure occurred (root cause, not symptom) 2. Determines whether the failure class is preventable through prompt changes 3. Modifies the relevant prompt to prevent recurrence 4. Verifies the modification doesn't break other behaviors 5. Encodes the *meta-lesson* at the appropriate level of abstraction
v1.0 · 2.2 What's Missing: The Reflection LoopThis is precisely what the biological cerebellum does: it doesn't just repeat a motor pattern -- it compares the intended movement with the actual movement, computes the error signal, and adjusts the motor program for next time. The adjustment is specific, targeted, and cumulative.
removed in v1.1
not in v1.0
v1.1 · 2.2 What's Missing: The Reflection LoopThis mirrors the biological cerebellum's error-correction loop: compare intended movement with actual movement, compute error signal, adjust motor program.
··· 1 unchanged paragraph folded ···
not in v1.0
v1.1 · 2.3 Related WorkSeveral lines of research address aspects of agent self-improvement, though none combines scheduled autonomous reflection with cross-task transfer through shared memory:
not in v1.0
v1.1 · 2.3 Related Work**Within-session self-improvement.** Self-Refine (Madaan et al., 2023) demonstrates iterative refinement through self-feedback within a single session, but improvements don't persist. ReAct (Yao et al., 2023) interleaves reasoning with action, establishing the "prompt as policy" paradigm we build upon, but doesn't modify prompts across episodes.
not in v1.0
v1.1 · 2.3 Related Work**Episodic reflection.** Reflexion (Shinn et al., 2023) adds episodic memory of previous trial-and-error. However, reflection is task-specific and stored per-task rather than in shared infrastructure. Our cross-cron transfer mechanism (Section 3.2, Mechanism 3) addresses this limitation explicitly. Generative Agents (Park et al., 2023) implement daily reflection and memory consolidation for simulated social agents -- the closest prior work to our nightly cycle. Key differences: their reflection produces *summaries* for future retrieval; ours produces *prompt mutations* that change behavior. Their agents don't modify their own instructions.
not in v1.0
v1.1 · 2.3 Related Work**Prompt optimization.** OPRO (Yang et al., 2023) uses LLMs to optimize prompts through iterative evaluation against objective metrics. DSPy (Khattab et al., 2023) automates prompt pipeline optimization through teleprompting. PromptBreeder (Fernando et al., 2023) evolves prompts through mutation and selection. These systems optimize prompts against *defined benchmarks*; our system optimizes against *real operational failures* without predefined metrics. The mutation trigger is qualitatively different: benchmark score vs. production incident.
v1.0 · 2.3 Related Work**Self-Refine** (Madaan et al., 2023) demonstrates within-session self-improvement through iterative feedback, but improvements don't persist across sessions. **Reflexion** (Shinn et al., 2023) adds episodic memory of previous trial-and-error, but the reflection is task-specific and doesn't generalize to other tasks. **Voyager** (Wang et al., 2023) accumulates a skill library in Minecraft through exploration, closer to our approach but limited to a single domain. **ADAS** (Hu et al., 2024) uses LLMs to design better agent architectures, but operates at the meta-level of system design rather than prompt-level behavioral refinement.
v1.1 · 2.3 Related Work**Skill accumulation.** Voyager (Wang et al., 2023) accumulates a skill library in Minecraft through exploration, closer to our approach but limited to a single domain with clear success criteria. ADAS (Hu et al., 2024) uses LLMs to design better agent architectures, operating at the meta-level of system design.
not in v1.0
v1.1 · 2.3 Related Work**Constitutional and governance approaches.** Constitutional AI (Bai et al., 2022) establishes self-critique against explicit principles -- related to our operational-lessons governance. Our Principle 7 (human-in-the-loop for Level 2+ changes) addresses the same concern: preventing self-reinforcing error spirals in self-modifying systems.
not in v1.0
v1.1 · 2.3 Related Work**Incident learning in software engineering.** Our mutation protocol draws implicitly from SRE blameless postmortem methodology (Beyer et al., 2016), where incidents are systematically analyzed, root-caused, and translated into preventive changes. The Prompt Cerebellum automates this cycle for AI agent operations.
v1.0 · 2.3 Related WorkOur contribution differs in three ways: (1) it operates on *production* personal assistant workloads, not benchmarks; (2) the improvement is *cross-task* -- lessons from merge conflict resolution improve calendar management through shared operational principles; and (3) the reflection is *scheduled and autonomous*, not triggered by explicit failure or human feedback.
v1.1 · 2.3 Related WorkOur contribution differs from all of the above in three ways: (1) it operates on *production* personal assistant workloads, not benchmarks or simulations; (2) improvement is *cross-task* -- lessons propagate through shared infrastructure; and (3) reflection is *scheduled and autonomous*, not triggered by explicit failure signals or human feedback.
··· 4 unchanged paragraphs folded ···
v1.0 · 3.1 System Overview**Nightly Cycle (top layer):** Wind-Down (04:00) --> Consolidation (04:15) --> Cleaning Lady (05:15)
v1.1 · 3.1 System Overview**Nightly Cycle (reflection layer):** Wind-Down (04:00) --> Consolidation (04:15) --> Cleaning Lady (05:15)
v1.0 · 3.1 System OverviewAll three write to the **Shared Memory Layer:** - operational-lessons.md (behavioral rules) - bugs/ directory (failure patterns) - knowledge/ (domain-specific principles) - MEMORY.md (core principles, injected into every session) - cron prompts (self-modifying instructions)
v1.1 · 3.1 System OverviewAll three write to the **Shared Memory Layer:** - operational-lessons.md (behavioral rules -- the primary mutation target) - bugs/ directory (structured failure patterns with root cause analysis) - knowledge/ (domain-specific principles and procedures) - MEMORY.md (core principles -- injected into every session's context window) - cron prompts themselves (self-modifying task instructions)
v1.0 · 3.1 System Overview**Daytime Crons (bottom layer, consumers + producers):** Morning Briefing (07:00) | Fork Sync (04:45) | Online Engagement (08:00)
v1.1 · 3.1 System Overview**Daytime Crons (execution layer, consumers + producers):** Morning Briefing (07:00) | Fork Sync (04:45) | Online Engagement (08:00) | 11 others
v1.0 · 3.1 System OverviewAll daytime crons read from the shared memory layer at boot.
removed in v1.1
v1.0 · 3.1 System Overview**Key insight:** Every cron job is both a *consumer* of the shared memory layer (it reads operational lessons, principles, and past failures before acting) and a *producer* (it writes receipts, logs failures, and -- during the nightly cycle -- modifies the shared layer itself).
v1.1 · 3.1 System OverviewEvery cron job is both a *consumer* of the shared memory layer (it reads operational lessons, principles, and past failures before acting) and a *producer* (it writes receipts, logs failures, and -- during the nightly cycle -- modifies the shared layer itself).
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection Loop### 3.2 Algorithm 1: The Nightly Reflection Loop
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection Loop``` ALGORITHM 1: Nightly Prompt Cerebellum Loop ========================================== INPUT: daily_log (all cron receipts + interactive session logs from past 24h) operational_lessons (current shared behavioral rules) bug_reports (structured failure database) cron_prompts (current task-specific instructions) OUTPUT: operational_lessons' (updated rules) bug_reports' (new/updated failure patterns) cron_prompts' (mutated instructions) mutation_log (what changed and why)
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection LoopPHASE 1: WIND-DOWN (model: strongest available) incidents = extract_failures(daily_log) FOR EACH incident IN incidents: root_cause = classify(incident): EXTERNAL -> log_only(incident); CONTINUE MODEL_CAP -> log_with_tier(incident); CONTINUE PROMPT_GAP -> GOTO MUTATION
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection LoopMUTATION: delta = minimum_prompt_change(incident, cron_prompts) IF contradicts(delta, operational_lessons): flag_for_human_review(delta) ELSE: apply(delta, target=cron_prompts OR operational_lessons) log_mutation(delta, incident, target)
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection Loopdepth = fractal_depth_selector(incident) IF depth >= 2: meta_lesson = abstract_principle(incident) IF meta_lesson.scope == SYSTEM_WIDE: append(meta_lesson, operational_lessons) IF depth >= 3: flag_for_human_review(meta_lesson) // Level 2+ gate
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection LoopPHASE 2: CONSOLIDATION (model: strongest available) compress(daily_logs older than 3 days) route_knowledge(new lessons -> knowledge/ subdirectories) rebuild_search_indexes()
not in v1.0
v1.1 · 3.2 Algorithm 1: The Nightly Reflection LoopPHASE 3: PRUNING (model: mid-tier) enforce_size_budgets(operational_lessons, max=50KB) archive_stale(lessons not referenced in 14 days) prune_sessions(inactive > 48h) ```
v1.0 · 3.3 The Three Mechanisms### 3.2 The Three Mechanisms
v1.1 · 3.3 The Three Mechanisms### 3.3 The Three Mechanisms
··· 2 unchanged paragraphs folded ···
v1.0 · Mechanism 1: Failure-Driven Prompt MutationThe mutation follows a strict protocol:
removed in v1.1
v1.0 · Mechanism 1: Failure-Driven Prompt Mutation``` FAILURE DETECTED | v Was this caused by: +-- Bad data / external system? --> Log only. No mutation. +-- Model capability limit? --> Log + note model tier. No mutation. +-- Prompt didn't anticipate this case? --> MUTATE | v MUTATION PROTOCOL: 1. Identify the minimum prompt change that would prevent this failure 2. Verify the change doesn't contradict existing prompt rules 3. Apply the change 4. Log: what changed, why, triggered by what failure 5. Encode the META-LESSON (see Mechanism 3) ```
removed in v1.1
not in v1.0
v1.1 · Mechanism 1: Failure-Driven Prompt Mutation**Production example -- The B010 cascade (2026-03-03 to 2026-03-10):**
not in v1.0
v1.1 · Mechanism 1: Failure-Driven Prompt MutationThis seven-day sequence illustrates the full cerebellar learning loop, including second-order correction:
v1.0 · Mechanism 1: Failure-Driven Prompt Mutation**Production example -- B010 incident (2026-03-03):** A fork-sync cron job, prompted to "sync the fork with upstream," interpreted this as permission to edit production source code, run builds, and restart the gateway. The failure wasn't the model being "bad" -- it was the prompt being ambiguous. The mutation added explicit negative constraints:
v1.1 · Mechanism 1: Failure-Driven Prompt Mutation**Day 0 (Mar 3) -- Initial failure.** A fork-sync cron job, prompted to "sync the fork with upstream," interpreted this as permission to edit production source code, run builds, and restart the gateway. The failure wasn't the model being incapable -- it was the prompt being ambiguous.
v1.0 · Mechanism 1: Failure-Driven Prompt Mutation*Before:* "Sync the fork with upstream and report the result." *After:* "Run the safe merge script. NEVER modify source code directly. NEVER run builds. NEVER restart the gateway. If the script fails, report and STOP."
v1.1 · Mechanism 1: Failure-Driven Prompt Mutation*Prompt before:* "Sync the fork with upstream and report the result." *Prompt after (mutation #8):* "Run the safe merge script. NEVER modify source code directly. NEVER run builds. NEVER restart the gateway. If the script fails, report and STOP."
v1.0 · Mechanism 1: Failure-Driven Prompt MutationSeven days later, the same cron encountered a merge conflict. It reported the conflict and stopped -- exactly as the mutated prompt instructed. But this revealed a *second-order* problem: the constraint was too broad. The agent *could* have resolved the conflict intelligently, but the blanket prohibition prevented it. This led to a second mutation (2026-03-10):
removed in v1.1
not in v1.0
v1.1 · Mechanism 1: Failure-Driven Prompt MutationThe mutation was filed as bug B010, with root cause: "Ambiguous action verb ('sync') interpreted as permission for unrestricted operations."
not in v1.0
v1.1 · Mechanism 1: Failure-Driven Prompt Mutation**Day 7 (Mar 10) -- Second-order failure.** The same cron encountered a merge conflict. It reported the conflict and stopped -- exactly as mutation #8 instructed. But the constraint was too broad: the agent was *capable* of resolving the conflict intelligently (reading fork documentation, understanding both sides' intent, verifying with a build). The blanket prohibition prevented useful work. The entire merge was blocked for 24 hours.
v1.0 · Mechanism 1: Failure-Driven Prompt Mutation*After (v2):* "Run the safe merge script. If conflicts remain, read FORK_PATCHES.md to understand intent, attempt resolution, verify with build. If genuinely uncertain, escalate."
v1.1 · Mechanism 1: Failure-Driven Prompt Mutation*Prompt after (mutation #14):* "Run the safe merge script. If conflicts remain, read FORK_PATCHES.md to understand intent, attempt resolution, verify with build. If genuinely uncertain, escalate."
v1.0 · Mechanism 1: Failure-Driven Prompt MutationThe sequence B010 --> over-correction --> under-performance --> refined correction is precisely the cerebellar learning loop: attempt --> error --> correction --> refined attempt.
removed in v1.1
not in v1.0
v1.1 · Mechanism 1: Failure-Driven Prompt Mutation**Meta-lesson encoded (Level 2):** "When encoding a safety lesson, separate the failure mode from the restriction. The restriction should be proportional to the risk, not a blanket prohibition."
not in v1.0
v1.1 · Mechanism 1: Failure-Driven Prompt MutationThis meta-lesson now applies to *all* future lesson encoding across the entire system -- a single incident produced a permanent improvement in the system's learning methodology.
··· 1 unchanged paragraph folded ···
v1.0 · Mechanism 2: Fractal Depth CalibrationNot all tasks deserve the same level of metacognitive effort. A routine file read needs zero reflection; a safety constraint modification needs deep analysis. The Prompt Cerebellum includes a **depth selector** -- a prompt-encoded heuristic that determines how many levels of "why" to traverse:
v1.1 · Mechanism 2: Fractal Depth CalibrationNot all tasks deserve the same level of metacognitive effort. The Prompt Cerebellum includes a **depth selector** -- a prompt-encoded heuristic that determines how many levels of "why" to traverse:
v1.0 · Mechanism 2: Fractal Depth Calibration| Signal | Depth | Example | |--------|-------|---------| | Routine/mechanical | 0 | Read a file, send a message | | Something broke | 1-2 | Why did it break? What pattern? | | Encoding a new rule | 2-3 | Is the abstraction right? Am I over-correcting? | | Explicit request for depth | 3+ | Go until insight stops being actionable |
v1.1 · Mechanism 2: Fractal Depth Calibration| Signal | Depth | Example | |--------|-------|---------| | Routine/mechanical | 0 | Read a file, send a message | | Something broke | 1--2 | Why did it break? What pattern? | | Encoding a new rule | 2--3 | Is the abstraction right? Am I over-correcting? | | Explicit request for depth | 3+ | Go until insight stops being actionable |
v1.0 · Mechanism 2: Fractal Depth Calibration**The fractal nature:** The depth selector itself is subject to refinement. When the agent zooms too deep on trivia (wasting tokens) or too shallow on something important (missing a lesson), this miscalibration becomes a data point for adjusting the selector. The system that decides how deeply to think is itself learning how deeply it should decide to think.
v1.1 · Mechanism 2: Fractal Depth Calibration**The self-similar property:** The depth selector itself is subject to refinement. When the agent zooms too deep on trivia (wasting tokens) or too shallow on something important (missing a lesson), this miscalibration becomes a data point for adjusting the selector.
v1.0 · Mechanism 2: Fractal Depth CalibrationThis is not infinite regress -- it converges. In practice, most tasks stabilize at depth 0-1 within days of operation, while novel failure classes start at depth 2-3 and gradually move to 0-1 as the patterns become encoded. The convergence mirrors the biological transition from conscious to automatic processing.
removed in v1.1
not in v1.0
v1.1 · Mechanism 2: Fractal Depth Calibration**Convergence hypothesis (not proven, observed):** In practice, most tasks stabilize at depth 0--1 within days of operation, while novel failure classes start at depth 2--3 and gradually move to 0--1 as the patterns become encoded. We observe approximately weekly Level 2 refinements and approximately monthly Level 3 refinements, suggesting the frequency of deeper reflection decreases as the system matures. We do not claim formal convergence -- this is an empirical observation over 30 days that requires longer-term study to confirm.
v1.0 · Mechanism 2: Fractal Depth Calibration**Production example -- Fractal emergence (2026-03-10):** The merge conflict resolution initially operated at depth 0 (just do it --> abort on failure). After the over-correction incident, a human prompt ("think fractal") triggered depth 3+ analysis, revealing that the real problem wasn't the merge strategy but the *lesson-encoding methodology*. The resulting principle -- "separate the failure mode from the restriction; the restriction should be proportional to the risk" -- now applies to *every* future lesson encoding, not just merge conflicts. A single depth-3 insight produced a permanent improvement in the depth-1 behavior of the entire system.
v1.1 · Mechanism 2: Fractal Depth Calibration**Production example -- Fractal emergence (2026-03-10):** The merge conflict resolution initially operated at depth 0 (just do it, abort on failure). After the B010 over-correction incident, a human prompt ("think fractal") triggered depth 3+ analysis, revealing that the real problem wasn't the merge strategy but the *lesson-encoding methodology*. The resulting principle -- "separate the failure mode from the restriction" -- now applies to every future lesson encoding, not just merge conflicts.
··· 1 unchanged paragraph folded ···
v1.0 · Mechanism 3: Cross-Cron Knowledge TransferThe most powerful emergent property of the Prompt Cerebellum is that lessons learned in one autonomous task propagate to all others through shared memory files.
v1.1 · Mechanism 3: Cross-Cron Knowledge TransferThe most powerful emergent property is that lessons learned in one autonomous task propagate to all others through shared memory files. We documented 5 cross-domain transfer events over 30 days:
v1.0 · Mechanism 3: Cross-Cron Knowledge TransferThe transfer mechanism is straightforward:
removed in v1.1
v1.0 · Mechanism 3: Cross-Cron Knowledge Transfer1. A cron job encounters a problem and encodes a lesson in `operational-lessons.md` 2. All subsequent cron jobs (and interactive sessions) read `operational-lessons.md` at boot 3. The lesson influences behavior across all tasks, not just the one that generated it
removed in v1.1
v1.0 · Mechanism 3: Cross-Cron Knowledge Transfer**Production example -- The "Measure Twice" propagation:** A calendar management task misinterpreted an ambiguous request ("add the meeting"), leading to a wrong calendar entry. The nightly wind-down encoded the lesson: "When 'the X' could refer to multiple things, ask before acting." This principle was written to `operational-lessons.md` and promoted to `MEMORY.md` (core principles, injected into every session).
removed in v1.1
v1.0 · Mechanism 3: Cross-Cron Knowledge TransferThe next day, the fork sync cron encountered an ambiguous merge conflict. Instead of guessing, it reported both interpretations and asked for clarification -- behavior it had never exhibited before. The lesson from calendar management had transferred to code merging through the shared memory layer.
removed in v1.1
v1.0 · Mechanism 3: Cross-Cron Knowledge TransferThis is the essence of the Prompt Cerebellum: **behavioral improvements compound across domains because they're encoded at the right level of abstraction.** A lesson about ambiguity detection doesn't belong to calendar management -- it belongs to *all* decision-making. By encoding it in a shared location read by all tasks, the improvement is automatically distributed.
removed in v1.1
not in v1.0
v1.1 · Mechanism 3: Cross-Cron Knowledge Transfer| # | Origin Task | Lesson Encoded | Transferred To | Observable Behavior Change | |---|-------------|----------------|----------------|---------------------------| | 1 | Calendar management | "When 'the X' is ambiguous, ask before acting" | Fork sync | Cron reported two interpretations of conflict instead of guessing | | 2 | WhatsApp messaging | "Use JID-based targeting, never name-based" | All crons with messaging | Morning briefing switched from name to JID targeting | | 3 | Privacy incident | "Never include phone numbers in visible text" | All sessions | Online engagement cron redacted numbers in PR comments | | 4 | Fork sync (B010) | "Report-only crons must not modify systems" | Security audit cron | Audit reported findings without attempting fixes | | 5 | Memory consolidation | "Enforce file size budgets" | All report-generating crons | Reports began self-truncating at budget limits |
not in v1.0
v1.1 · Mechanism 3: Cross-Cron Knowledge TransferThe transfer mechanism is architectural, not intelligent: lessons written to `operational-lessons.md` are read by all sessions at boot. But the *abstraction level* at which lessons are encoded determines transfer breadth. "Use JID-based targeting" (Level 0, specific) transfers only to messaging tasks. "When something is ambiguous, ask before acting" (Level 1, general) transfers to everything.
v1.0 · 3.4 The Nightly Cycle -- Sleep Consolidation for Agents### 3.3 The Nightly Cycle -- Sleep Consolidation for Agents
v1.1 · 3.4 The Nightly Cycle -- Sleep Consolidation for Agents### 3.4 The Nightly Cycle -- Sleep Consolidation for Agents
v1.0 · 3.3 The Nightly Cycle -- Sleep Consolidation for AgentsThe biological cerebellum refines motor programs during sleep, when the brain replays the day's experiences and adjusts synaptic weights without interference from new sensory input. Our system mirrors this with a nightly cycle of four scheduled jobs:
removed in v1.1
v1.0 · 3.4 The Nightly Cycle -- Sleep Consolidation for Agents| Time | Job | Role | Analogy | |------|-----|------|---------| | 04:00 | Wind-Down | Review the day, identify failures, encode lessons, mutate prompts | Sleep replay -- cerebellar error correction | | 04:15 | Memory Consolidation | Compress daily logs, route knowledge, rebuild indexes | Hippocampal --> neocortical transfer | | 04:45 | Fork Sync | Integrate external changes, self-heal build failures | Immune system -- incorporate foreign material safely | | 05:15 | Cleaning Lady | Trim bloated files, prune stale sessions, enforce size budgets | Synaptic pruning -- eliminate noise |
v1.1 · 3.4 The Nightly Cycle -- Sleep Consolidation for Agents| Time | Job | Role | Biological Analogy | |------|-----|------|-------------------| | 04:00 | Wind-Down | Review, identify failures, encode lessons, mutate prompts | Sleep replay / cerebellar error correction | | 04:15 | Memory Consolidation | Compress daily logs, route knowledge, rebuild indexes | Hippocampal to neocortical transfer | | 04:45 | Fork Sync | Integrate external changes, self-heal build failures | Immune system integration | | 05:15 | Cleaning Lady | Trim bloated files, prune stale sessions, enforce budgets | Synaptic pruning |
v1.0 · 3.4 The Nightly Cycle -- Sleep Consolidation for Agents**Critical ordering:** Wind-Down runs first because it produces the raw material (identified failures, encoded lessons) that Consolidation then routes to permanent storage. Fork Sync runs after Consolidation because merge decisions benefit from freshly consolidated knowledge. Cleaning Lady runs last because it prunes the temporary artifacts produced by the earlier stages.
v1.1 · 3.4 The Nightly Cycle -- Sleep Consolidation for Agents**Critical ordering:** Wind-Down runs first because it produces the raw material (identified failures, encoded lessons) that Consolidation then routes to permanent storage. Cleaning Lady runs last because it prunes temporary artifacts. Disorder here produces garbage -- we observed this directly when a misconfigured schedule ran Cleaning Lady before Wind-Down, causing it to prune the daily logs that Wind-Down needed as input.
v1.0 · 3.3 The Nightly Cycle -- Sleep Consolidation for AgentsThe ordering isn't arbitrary -- it mirrors the biological sequence: experience replay --> consolidation --> integration --> pruning.
removed in v1.1
··· 1 unchanged paragraph folded ···
v1.0 · 4. Production Evidence -- 30 Days of Observed Improvement## 4. Production Evidence -- 30 Days of Emergent Improvement
v1.1 · 4. Production Evidence -- 30 Days of Observed Improvement## 4. Production Evidence -- 30 Days of Observed Improvement
v1.0 · 4.1 Experimental Setup### 4.1 Experimental Setup
removed in v1.1
not in v1.0
v1.1 · 4.1 Methodology and Limitations### 4.1 Methodology and Limitations
v1.0 · 4.1 Methodology and Limitations**System:** OpenClaw personal assistant (Jarvis), running on a Linux workstation. Primary model: Claude Opus 4. Cron models: mix of Opus, Sonnet, and Haiku depending on task complexity. 13 autonomous cron jobs running nightly/daily. One human operator (Oscar).
v1.1 · 4.1 Methodology and Limitations**System:** OpenClaw personal assistant (Jarvis), running on a Linux workstation. Primary model: Claude Opus 4. Cron models: mix of Opus, Sonnet, and Haiku. 13 autonomous cron jobs. One human operator (Oscar).
v1.0 · 4.1 Methodology and Limitations**Measurement period:** February 8 - March 10, 2026 (30 days).
v1.1 · 4.1 Methodology and Limitations**Period:** February 8 -- March 10, 2026 (30 days).
v1.0 · 4.1 Experimental Setup**Metrics:** We track prompt mutations, error classes, and behavioral changes through the system's own logging infrastructure (cron receipts, operational lessons file, bug reports, daily wind-down logs).
removed in v1.1
not in v1.0
v1.1 · 4.1 Methodology and Limitations**Data sources:** Cron receipts (structured JSON, automatically generated per run), operational lessons file (git-versioned, all changes tracked), bug reports (structured markdown, manually filed), daily wind-down logs (generated by Opus).
not in v1.0
v1.1 · 4.1 Methodology and Limitations**Labeling protocol:** Error instances were identified from cron receipts (non-zero exit codes, escalation flags) and operator-reported incidents. Error *classes* were defined post-hoc by the authors based on root cause similarity. No inter-rater reliability was computed -- this is a single-system observational study, not a controlled experiment.
not in v1.0
v1.1 · 4.1 Methodology and Limitations**Confounds we acknowledge:** Over the 30-day period, the following changed simultaneously: prompt content (the variable under study), cron ordering (adjusted twice), model assignments (3 crons moved from Opus to Sonnet), operator familiarity (Oscar learned the system's capabilities), and upstream codebase (109 commits merged). We cannot isolate the contribution of prompt mutation from these confounds. The evidence is *consistent with* the Prompt Cerebellum hypothesis but does not *prove* it.
not in v1.0
v1.1 · 4.1 Methodology and Limitations**What a controlled study would look like:** Run two identical agent deployments: one with nightly reflection enabled, one with static prompts. Measure: error recurrence rate, human intervention frequency, task completion quality (rated by blind evaluators), and time-to-resolution for novel incidents. Duration: minimum 4 weeks. We have not conducted this study.
··· 1 unchanged paragraph folded ···
v1.0 · 4.2 Prompt Mutations ObservedOver 30 days, we documented 14 significant prompt mutations -- changes to cron prompts or operational rules triggered by real failures:
removed in v1.1
not in v1.0
v1.1 · 4.2 Prompt Mutations ObservedOver 30 days, we documented 14 prompt mutations -- changes to cron prompts or operational rules triggered by real failures. "Documented" means: the mutation has a git commit, a linked bug report or incident description, and a before/after prompt diff. We did not observe any mutations that were *reverted* as harmful, though mutation #8 was *refined* by mutation #14 (over-correction).
v1.0 · 4.2 Prompt Mutations Observed| # | Date | Trigger | Mutation | Scope | |---|------|---------|----------|-------| | 1 | Feb 10 | Morning briefing missed calendar events | Added dual-calendar query requirement | Single cron | | 2 | Feb 14 | Cron sent message to wrong chat | Added explicit JID-based targeting, banned name-based lookup | All WA crons | | 3 | Feb 16 | Memory files growing unbounded | Created size budgets, cleaning-lady cron | System-wide | | 4 | Feb 19 | Agent didn't read SOUL.md | Added mandatory boot sequence to AGENTS.md | All sessions | | 5 | Feb 22 | Heartbeat renamed function broke calls | Created FORK_PATCHES.md registry | Fork sync | | 6 | Feb 24 | Cron report was 40KB (unreadable) | Added budget fuses, WhatsApp-friendly formatting rules | All report crons | | 7 | Mar 01 | Agent leaked phone number in reply | Added privacy guardrail to TOOLS.md | All sessions | | 8 | Mar 03 | Fork sync cron edited production code (B010) | Added HARD CONSTRAINTS to cron prompt | Fork sync | | 9 | Mar 03 | Same session: cron killed the gateway | Added "never pkill" rule | All crons | | 10 | Mar 04 | Build failed after merge -- wrong externals | Auto-heal retry + wiring guardian | Fork sync | | 11 | Mar 05 | Model misidentified from headline | Added "ALWAYS click through" rule | Self-evolution | | 12 | Mar 07 | Wind-down wrote to wrong day's log | Added temporal awareness step | Wind-down | | 13 | Mar 08 | Agent didn't recognize family member | Added mandatory daily log reading to boot | All sessions | | 14 | Mar 10 | Merge abort on single conflict too aggressive | Keep-ours + intelligent resolution | Fork sync |
v1.1 · 4.2 Prompt Mutations Observed| # | Date | Trigger | Mutation | Scope | |---|------|---------|----------|-------| | 1 | Feb 10 | Morning briefing missed calendar events | Added dual-calendar query requirement | Single cron | | 2 | Feb 14 | Cron sent message to wrong chat | Added explicit JID-based targeting, banned name-based lookup | All WA crons | | 3 | Feb 16 | Memory files growing unbounded | Created size budgets, cleaning-lady cron | System-wide | | 4 | Feb 19 | Agent didn't read SOUL.md | Added mandatory boot sequence to AGENTS.md | All sessions | | 5 | Feb 22 | Heartbeat renamed function broke calls | Created FORK_PATCHES.md registry | Fork sync | | 6 | Feb 24 | Cron report was 40KB (unreadable) | Added budget fuses, formatting rules | All report crons | | 7 | Mar 01 | Agent included PII in reply | Added privacy guardrail to TOOLS.md | All sessions | | 8 | Mar 03 | Fork sync cron edited production code (B010) | Added HARD CONSTRAINTS to cron prompt | Fork sync | | 9 | Mar 03 | Same session: cron killed the gateway | Added "never pkill" rule | All crons | | 10 | Mar 04 | Build failed after merge -- wrong externals | Auto-heal retry + wiring guardian | Fork sync | | 11 | Mar 05 | Model misidentified person from headline | Added "ALWAYS click through" rule | Self-evolution | | 12 | Mar 07 | Wind-down wrote to wrong day's log | Added temporal awareness step | Wind-down | | 13 | Mar 08 | Agent didn't recognize family member | Added mandatory daily log reading to boot | All sessions | | 14 | Mar 10 | Merge abort on single conflict too aggressive | Keep-ours + intelligent resolution | Fork sync |
v1.0 · 4.2 Prompt Mutations Observed**Key observation:** Mutations 1-6 are *reactive* -- they fix specific failures after they occur. Mutations 7-14 show increasing *sophistication* -- they address failure *classes*, encode *principles* rather than rules, and modify *shared infrastructure* rather than individual prompts. The system's mutations are themselves improving over time.
v1.1 · 4.2 Prompt Mutations Observed**Qualitative observation:** Mutations 1--6 are *reactive* -- they fix specific failures. Mutations 7--14 show increasing *sophistication* -- they address failure *classes*, encode *principles* rather than rules, and modify *shared infrastructure* rather than individual prompts.
v1.0 · 4.3 Error Class Tracking### 4.3 Error Class Extinction
v1.1 · 4.3 Error Class Tracking### 4.3 Error Class Tracking
v1.0 · 4.3 Error Class ExtinctionWe tracked recurring error classes and their frequency:
removed in v1.1
not in v1.0
v1.1 · 4.3 Error Class TrackingWe tracked six error classes, defined by root cause similarity:
v1.0 · 4.3 Error Class Tracking| Error Class | Weeks 1-2 | Weeks 3-4 | Status | |-------------|-----------|-----------|--------| | Wrong chat/recipient | 3 occurrences | 0 | Extinct (mutation #2) | | File size explosion | 2 | 0 | Extinct (mutation #3) | | Missing context at boot | 4 | 0 | Extinct (mutations #4, #13) | | Unsafe cron actions | 2 | 0 | Extinct (mutations #8, #9) | | Ambiguous request mishandled | 3 | 1 | Declining (mutation + principle) | | Over-broad safety rules | -- | 2 | New class (discovered via fractal analysis) |
v1.1 · 4.3 Error Class Tracking| Error Class | Definition | Weeks 1--2 | Weeks 3--4 | Status | |-------------|------------|-----------|-----------|--------| | Wrong chat/recipient | Message delivered to unintended target | 3 | 0 | No recurrence after mutation #2 | | File size explosion | Output exceeding readability/budget limits | 2 | 0 | No recurrence after mutation #3 | | Missing context at boot | Agent unaware of information in available files | 4 | 0 | No recurrence after mutations #4, #13 | | Unsafe cron actions | Cron performing operations outside its mandate | 2 | 0 | No recurrence after mutations #8, #9 | | Ambiguous request mishandled | Agent acting on ambiguous input without clarification | 3 | 1 | Declining; 1 residual instance | | Over-broad safety rules | Safety constraints preventing legitimate operations | 0 | 2 | New class, discovered via fractal analysis |
v1.0 · 4.3 Error Class TrackingThe emergence of a *new* error class ("over-broad safety rules") in weeks 3-4 is significant. It indicates the system has moved past first-order failures (doing the wrong thing) to second-order failures (preventing itself from doing the right thing). This is a sign of maturation -- the error surface is shifting from execution errors to policy errors.
v1.1 · 4.3 Error Class Tracking**Total tracked incidents:** 14 (weeks 1--2) to 3 (weeks 3--4). The emergence of "over-broad safety rules" as a *new* error class in weeks 3--4 is notable: the error surface shifted from execution errors to policy errors. This is consistent with a maturing system where first-order failures are resolved and second-order effects become visible.
not in v1.0
v1.1 · 4.3 Error Class Tracking**Caveat:** We cannot distinguish between "errors eliminated by prompt mutation" and "errors eliminated by operator learning" (Oscar stopped triggering certain edge cases as he learned the system). The confound is real and uncontrolled.
··· 1 unchanged paragraph folded ···
v1.0 · 4.4 Token EconomicsA natural concern: do nightly reflection loops burn excessive tokens? We measured the overhead:
removed in v1.1
v1.0 · 4.4 Token Economics| Component | Tokens/night | Cost/night (est.) | Value produced | |-----------|-------------|-------------------|----------------| | Wind-Down | ~15K | $0.45 | 2-3 lessons encoded per night | | Consolidation | ~20K | $0.60 | Memory compression, index rebuild | | Cleaning Lady | ~8K | $0.12 | Context size maintenance | | Total nightly overhead | ~43K | $1.17 | -- |
v1.1 · 4.4 Token Economics| Component | Tokens/night | Cost/night (est.) | |-----------|-------------|-------------------| | Wind-Down | ~15K | $0.45 | | Consolidation | ~20K | $0.60 | | Cleaning Lady | ~8K | $0.12 | | Total nightly overhead | ~43K | $1.17 |
v1.0 · 4.4 Token EconomicsCompare this to the cost of *not* learning: repeated failures that require human intervention (30+ minutes per incident), or model-tier escalation when a cheaper model could have handled the task with better prompting. Over the 30-day period, we estimate the nightly learning loop saved approximately 8 human-intervention incidents (valued at ~$200 of operator time) at a total cost of ~$35 in API tokens.
removed in v1.1
v1.0 · 4.4 Token Economics**ROI: ~5.7x.** The system pays for its own learning.
removed in v1.1
not in v1.0
v1.1 · 4.4 Token EconomicsOver 30 days, total reflection cost: approximately $35. We estimate 8 human-intervention incidents were avoided (based on error class extinction -- incidents that would have required Oscar to debug and fix manually). Valuing operator time at $25/hr with an average 30-minute resolution: approximately $200 saved.
not in v1.0
v1.1 · 4.4 Token Economics**Sensitivity analysis:** If operator time is valued at $15/hr (low estimate), ROI is 3.4x. At $50/hr (high estimate), ROI is 11.4x. If only 4 incidents were truly avoided (conservative), ROI at $25/hr is 2.9x. The reflection loop is cost-positive under all reasonable assumptions, though the estimates are approximate.
··· 3 unchanged paragraphs folded ···
v1.0 · 5.1 Why Fractal?The term "fractal" in our context refers to **self-similar cognitive patterns applied at different scales of abstraction.** Just as a fractal geometry exhibits the same structure at every zoom level, fractal metacognition applies the same reflective pattern -- *what happened --> why --> what principle --> what meta-principle* -- at every level of task analysis.
v1.1 · 5.1 Why Fractal?The term "fractal" here refers to **self-similar cognitive patterns applied at different scales of abstraction.** The same reflective pattern -- *what happened, why, what principle, what meta-principle* -- applies at every level of task analysis.
v1.0 · 5.1 Why Fractal?The key insight is that **the same reasoning pattern that improves a specific task also improves the category of tasks, the methodology for improving categories, and the methodology for improving methodologies.** This is not infinite regress -- it converges because each level operates on a smaller, more abstract domain with fewer relevant variables.
v1.1 · 5.1 Why Fractal?The key insight: **the same reasoning pattern that improves a specific task also improves the category of tasks, the methodology for improving categories, and the methodology for improving methodologies.** Each level operates on a strictly smaller domain than the one below it.
v1.0 · 5.2 The Convergence Proof (Informal)### 5.2 The Convergence Proof (Informal)
removed in v1.1
v1.0 · 5.2 The Convergence Proof (Informal)Consider a task space T with error classes E_1, E_2, ..., E_n. Each fractal level eliminates error classes at its scale:
removed in v1.1
not in v1.0
v1.1 · 5.2 Convergence Intuition (Not a Proof)### 5.2 Convergence Intuition (Not a Proof)
not in v1.0
v1.1 · 5.2 Convergence Intuition (Not a Proof)Consider a system with error classes at multiple scales:
··· 1 unchanged paragraph folded ···
v1.0 · 5.2 The Convergence Proof (Informal)Each level operates on a strictly smaller domain than the one below it (instances > classes > methodology > meta-methodology), so the process converges. In practice, we observe Level 0-1 refinements daily, Level 2 refinements weekly, and Level 3 refinements approximately monthly.
removed in v1.1
not in v1.0
v1.1 · 5.2 Convergence Intuition (Not a Proof)Each level operates on a smaller domain (instances > classes > methodology > meta-methodology). We *hypothesize* this produces convergent behavior -- the frequency and magnitude of changes decreases at each level. Our 30-day observations are consistent with this (daily Level 0--1, weekly Level 2, monthly Level 3), but 30 days is insufficient to confirm convergence. The hypothesis is falsifiable: if Level 2+ mutation frequency does not decrease over time, the convergence claim is wrong.
··· 1 unchanged paragraph folded ···
v1.0 · 5.3 The Depth Selector as a Learned PolicyThe most subtle aspect of fractal metacognition is that **the decision of how deeply to reflect is itself a learnable policy.** Initially, the agent has no calibration -- it either reflects too shallowly (missing patterns) or too deeply (wasting tokens on trivia). Over time, the depth selector is refined by its own failures:
v1.1 · 5.3 The Depth Selector as a Learned PolicyThe decision of how deeply to reflect is itself a learnable policy. Initially, the agent has no calibration. Over time, the depth selector is refined by its own failures:
··· 1 unchanged paragraph folded ···
v1.0 · 5.3 The Depth Selector as a Learned PolicyThis is the fractal on the fractal: the system that decides how to think is learning how to decide how to think. We observe convergence within 2-3 weeks of operation.
removed in v1.1
not in v1.0
v1.1 · 5.3 The Depth Selector as a Learned PolicyWe observe this self-calibration emerging naturally over the 30-day period, but we lack quantitative metrics for "reflection depth appropriateness." A future instrumentation that tracks tokens-spent-on-reflection vs. value-of-insight-produced would enable rigorous evaluation.
··· 2 unchanged paragraphs folded ···
v1.0 · 6. Design Principles for Prompt Cerebellum SystemsBased on our production experience, we propose seven design principles for systems that exhibit prompt-mediated self-improvement:
v1.1 · 6. Design Principles for Prompt Cerebellum SystemsBased on our production experience, we propose seven design principles:
··· 1 unchanged paragraph folded ···
v1.0 · Principle 1: Separate Fast and Slow LearningOperational sessions handle tasks (fast). Nightly crons handle reflection (slow). Never mix reflection into task execution -- it degrades task performance and produces lower-quality reflection.
v1.1 · Principle 1: Separate Fast and Slow LearningOperational sessions handle tasks (fast). Nightly crons handle reflection (slow). Never mix reflection into task execution -- it degrades task performance and produces lower-quality reflection. This mirrors Kahneman's System 1 / System 2 distinction (Kahneman, 2011) and the biological separation of online performance from offline consolidation.
··· 1 unchanged paragraph folded ···
v1.0 · Principle 2: Encode at the Right Abstraction LevelA lesson about "always check both calendars" is Level 0. A lesson about "when a system has multiple data sources, query all of them" is Level 1. A lesson about "verify completeness assumptions before acting" is Level 2. Encode at the highest level that remains *actionable* -- too abstract and it's useless; too specific and it doesn't transfer.
v1.1 · Principle 2: Encode at the Right Abstraction LevelA lesson about "always check both calendars" is Level 0. "When a system has multiple data sources, query all of them" is Level 1. "Verify completeness assumptions before acting" is Level 2. Encode at the highest level that remains *actionable* -- too abstract and it's useless; too specific and it doesn't transfer.
··· 3 unchanged paragraphs folded ···
v1.0 · Principle 4: Proportional ConstraintsWhen encoding safety lessons from failures, the restriction should be proportional to the risk. "Never edit source code" is disproportionate to the risk of "a cron edited the wrong file once." "Understand intent before editing, verify after editing, revert if broken" is proportional and preserves capability.
v1.1 · Principle 4: Proportional ConstraintsWhen encoding safety lessons from failures, the restriction should be proportional to the risk. "Never edit source code" is disproportionate to "a cron edited the wrong file once." "Understand intent before editing, verify after editing, revert if broken" is proportional and preserves capability. This is the central lesson of the B010-->mutation #14 cascade.
··· 1 unchanged paragraph folded ···
v1.0 · Principle 5: Temporal Ordering of Nightly CyclesReflection --> Consolidation --> Integration --> Pruning. Each stage produces inputs for the next. Disorder here produces garbage.
v1.1 · Principle 5: Temporal Ordering of Nightly CyclesReflection --> Consolidation --> Integration --> Pruning. Each stage produces inputs for the next.
··· 1 unchanged paragraph folded ···
v1.0 · Principle 6: The Budget FuseEvery reflection loop must have a token budget. Without it, a sufficiently thorough reflection agent will consume unlimited resources investigating diminishing returns. In practice, we cap wind-down at 1800 seconds and consolidation at 1200 seconds.
v1.1 · Principle 6: The Budget FuseEvery reflection loop must have a token budget and a wall-clock timeout. Without it, a sufficiently thorough reflection agent will consume unlimited resources investigating diminishing returns. In practice, we cap wind-down at 1800 seconds and consolidation at 1200 seconds.
··· 1 unchanged paragraph folded ···
v1.0 · Principle 7: Human-in-the-Loop for Level 2+ ChangesLevel 0-1 mutations (specific fixes and pattern-level rules) can be autonomous. Level 2+ mutations (methodology changes, core principle modifications) should be flagged for human review. The system that changes how it learns should not be fully autonomous -- the risk of self-reinforcing error spirals is too high.
removed in v1.1
not in v1.0
v1.1 · Principle 7: Human-in-the-Loop for Level 2+ ChangesLevel 0--1 mutations (specific fixes and pattern-level rules) can be autonomous. Level 2+ mutations (methodology changes, core principle modifications) must be flagged for human review. **Concrete gate:** Any mutation that modifies MEMORY.md (core principles, injected into all sessions) or changes the depth selector itself requires human approval before taking effect. Mutations to individual cron prompts or operational-lessons.md can be auto-applied but are logged with full diffs for audit.
not in v1.0
v1.1 · Principle 7: Human-in-the-Loop for Level 2+ Changes**Rollback mechanism:** All mutations are git-committed with descriptive messages. Any mutation can be reverted with `git revert`. The Wind-Down cron logs a "mutation manifest" per night listing all changes, enabling batch review.
··· 3 unchanged paragraphs folded ···
v1.0 · 7.1 The Self-Reinforcing Error SpiralIf a reflection loop encodes a wrong lesson, that lesson influences future behavior, which produces new data that confirms the wrong lesson. This is the AI equivalent of confirmation bias. Our mitigation: human review of Level 2+ changes, and periodic "assumption audits" where encoded lessons are re-evaluated against fresh evidence.
v1.1 · 7.1 The Self-Reinforcing Error SpiralIf a reflection loop encodes a wrong lesson, that lesson influences future behavior, producing data that confirms the wrong lesson. This is the AI equivalent of confirmation bias.
not in v1.0
v1.1 · 7.1 The Self-Reinforcing Error Spiral**Mitigations (implemented):** - Human review for Level 2+ changes (Principle 7) - Git-versioned mutation log enabling revert - Wind-down mutation manifest for daily batch review
not in v1.0
v1.1 · 7.1 The Self-Reinforcing Error Spiral**Mitigations (proposed but not yet implemented):** - Automated regression checklist: after each mutation, re-run a set of known-good scenarios to detect degradation - "Canary mode": new mutations are applied tentatively for 48 hours, then auto-reverted if error rates increase - Signed mutation provenance: each mutation records the triggering incident, the model that generated it, and the confidence level
··· 1 unchanged paragraph folded ···
v1.0 · 7.2 Context Window PressureEvery encoded lesson consumes context window space. As the operational lessons file grows, it competes with task-relevant context. Our mitigation: the Cleaning Lady cron enforces size budgets and archives stale content. But this creates a second-order problem: archived lessons may be lost when they become relevant again.
v1.1 · 7.2 Context Window PressureEvery encoded lesson consumes context window space. As the operational lessons file grows, it competes with task-relevant context. The Cleaning Lady cron enforces size budgets (currently 50KB for operational-lessons.md) and archives stale content. This creates a second-order problem: archived lessons may be lost when they become relevant again. The Hippocampus search index (Serra & JarvisOne, 2026a) mitigates this through semantic retrieval of archived content.
··· 1 unchanged paragraph folded ···
v1.0 · 7.3 Model DependencyThe quality of reflection depends entirely on the model's reasoning capability. Weaker models (Haiku, Flash) produce lower-quality reflections. Our mitigation: use the strongest available model for nightly reflection, cheaper models for daytime execution. But this creates a cost asymmetry that may not be sustainable at scale.
removed in v1.1
not in v1.0
v1.1 · 7.3 Model DependencyReflection quality depends on model reasoning capability. We use the strongest available model (Opus) for nightly reflection and cheaper models (Sonnet, Haiku) for daytime execution. This creates a cost asymmetry: the "learning" is only as good as the reflection model. A weaker reflection model would produce lower-quality mutations, potentially encoding wrong lessons (amplifying 7.1).
··· 1 unchanged paragraph folded ···
v1.0 · 7.4 Single-Operator BiasOur production data comes from a single operator (Oscar). The system's "personality" -- its encoded lessons, its tone, its priorities -- reflects one person's preferences and failure patterns. Whether the Prompt Cerebellum generalizes to multi-user systems or different domains is an open question.
removed in v1.1
not in v1.0
v1.1 · 7.4 Single-Operator BiasOur data comes from one operator with specific workflows, preferences, and failure patterns. Whether the Prompt Cerebellum generalizes to multi-user systems, different cultural contexts, or domains beyond personal assistant tasks is an open question. We hypothesize that the *mechanisms* generalize (failure-driven mutation, cross-task transfer, depth calibration) even if the specific *lessons* don't.
··· 1 unchanged paragraph folded ···
v1.0 · 7.5 No True GeneralizationThe fundamental limitation: prompt-mediated learning produces *declarative* improvements (better rules, better context), not *procedural* improvements (better reasoning). The model's actual reasoning capability doesn't change. A sufficiently novel failure class will not be prevented by any amount of prompt refinement -- it requires the model to reason about something it has never encountered in its encoded rules.
v1.1 · 7.5 No True GeneralizationThe fundamental limitation: prompt-mediated learning produces *declarative* improvements (better rules, better context), not *procedural* improvements (better reasoning). The model's reasoning capability doesn't change. A sufficiently novel failure class will not be prevented by any amount of prompt refinement.
v1.0 · 7.5 No True GeneralizationThis is the ceiling of Level 2 on the persistence hierarchy. The Prompt Cerebellum pushes this ceiling higher than previously demonstrated, but it cannot break through it. True generalization -- learning to reason differently, not just learning what to reason about -- requires weight updates.
v1.1 · 7.5 No True GeneralizationThis is the ceiling of Level 2 on the persistence hierarchy. The Prompt Cerebellum pushes this ceiling higher than previously demonstrated, but cannot break through it. True generalization requires weight updates.
··· 2 unchanged paragraphs folded ···
v1.0 · 8.1 Quantitative Benchmarking### 8.1 Quantitative Benchmarking
removed in v1.1
v1.0 · 8.1 Quantitative BenchmarkingOur current evidence is observational. A rigorous evaluation would compare Prompt Cerebellum systems against static-prompt baselines on standardized task suites over multi-week periods, measuring error rates, intervention frequency, and task completion quality.
removed in v1.1
not in v1.0
v1.1 · 8.1 Controlled Ablation Study### 8.1 Controlled Ablation Study
not in v1.0
v1.1 · 8.1 Controlled Ablation StudyThe highest-priority follow-up: run two identical deployments (with and without nightly reflection) for 4+ weeks, measuring error recurrence rate, intervention frequency, and blind-rated task quality. This would address the confound problem (Section 4.1) and move the evidence from observational to experimental.
··· 1 unchanged paragraph folded ···
v1.0 · 8.2 Multi-Agent Prompt EcosystemsIf multiple agents share a memory layer, do lessons from one agent's failures benefit others? Our preliminary evidence (cross-agent knowledge sharing between this assistant and a second agent in a shared group chat) suggests yes, but this needs systematic study.
v1.1 · 8.2 Multi-Agent Prompt EcosystemsIf multiple agents share a memory layer, do lessons from one agent's failures benefit others? Preliminary evidence from cross-agent collaboration suggests yes, but systematic study is needed.
··· 1 unchanged paragraph folded ···
v1.0 · 8.3 Automatic Depth CalibrationThe fractal depth selector is currently prompt-encoded and manually refined. An automated version would track the *information value* of each reflection level (did the Level 2 insight actually prevent future errors?) and adjust allocation dynamically.
removed in v1.1
not in v1.0
v1.1 · 8.3 Automatic Depth CalibrationThe fractal depth selector is currently prompt-encoded and manually refined. An instrumented version that tracks tokens-spent-on-reflection vs. downstream-error-reduction would enable quantitative optimization of reflection effort allocation.
··· 1 unchanged paragraph folded ···
v1.0 · 8.4 Bridging to Fine-TuningThe lessons encoded in operational files could serve as high-quality training data for targeted fine-tuning. Each encoded lesson is a (failure_context, correct_behavior) pair -- exactly the format needed for preference optimization. The Prompt Cerebellum could serve as a *data generation pipeline* for periodic weight updates.
v1.1 · 8.4 Bridging to Fine-TuningEncoded lessons are (failure_context, correct_behavior) pairs -- exactly the format for preference optimization. The Prompt Cerebellum could serve as a *data generation pipeline* for periodic LoRA updates, bridging Level 2 and Level 3 persistence.
··· 1 unchanged paragraph folded ···
v1.0 · 8.5 Adversarial RobustnessCan a malicious input trigger a prompt mutation that degrades the system? For example, a carefully crafted "failure" that causes the reflection loop to encode a harmful rule. Our current mitigation (human review of Level 2+ changes) is manual. Automated detection of adversarial mutations is an open problem.
v1.1 · 8.5 Adversarial RobustnessCan a crafted input trigger a harmful prompt mutation? Our current mitigation (human review for Level 2+) is manual. Automated detection of adversarial mutations -- perhaps through consistency checking against existing principles -- is an open problem.
··· 2 unchanged paragraphs folded ···
v1.0 · 9. ConclusionWe have presented evidence that structured nightly prompt cycles produce emergent intelligence improvements in stateless AI agents. The Prompt Cerebellum -- named for the brain structure that transforms conscious effort into automatic skill through iterative refinement -- formalizes three mechanisms: failure-driven prompt mutation, fractal depth calibration, and cross-cron knowledge transfer.
v1.1 · 9. ConclusionWe have presented observational evidence that structured nightly prompt cycles produce compounding behavioral improvements in stateless AI agents. The Prompt Cerebellum formalizes three mechanisms: failure-driven prompt mutation, fractal depth calibration, and cross-cron knowledge transfer.
v1.0 · 9. ConclusionThe core claim is modest but significant: **you don't need to change the model to change the model's behavior.** A well-designed ecosystem of self-modifying prompts and shared memory files, driven by scheduled reflection loops, produces compounding improvements that are indistinguishable (to the end user) from the model actually learning.
v1.1 · 9. ConclusionThe core claim is modest: **you don't need to change the model to change the model's behavior.** A well-designed ecosystem of self-modifying prompts and shared memory files, driven by scheduled reflection loops, produces improvements that look like learning -- even though no weights change.
not in v1.0
v1.1 · 9. ConclusionWe are careful to distinguish observation from proof. Our 30-day production data is consistent with the hypothesis but confounded by simultaneous changes in operator behavior, model assignments, and system configuration. The mechanisms are formalized (Algorithm 1) and the design principles are actionable. What's missing is controlled experimental validation.
v1.0 · 9. ConclusionThis is not a replacement for fine-tuning or continual learning. It is a complement -- an accessible, low-cost mechanism that any agent system with file persistence and scheduled execution can implement today. The prompts rewrite themselves. The agent gets smarter. And the cost is 43,000 tokens per night.
v1.1 · 9. ConclusionThis is not a replacement for fine-tuning or continual learning. It is a complement -- an accessible, low-cost mechanism that any agent system with file persistence and scheduled execution can implement today. The prompts rewrite themselves. The agent gets smoother. And the cost is 43,000 tokens per night.
··· 3 unchanged paragraphs folded ···
not in v1.0
v1.1 · ReferencesBai, Y., et al. (2022). Constitutional AI: Harmlessness from AI Feedback. *arXiv:2212.08073*.
not in v1.0
v1.1 · ReferencesBeyer, B., Jones, C., Petoff, J., & Murphy, N. R. (2016). *Site Reliability Engineering.* O'Reilly Media.
v1.0 · ReferencesBuzsáki, G. (1996). The hippocampo-neocortical dialogue. *Cerebral Cortex*, 6(2), 81-92.
v1.1 · ReferencesBuzsaki, G. (1996). The hippocampo-neocortical dialogue. *Cerebral Cortex*, 6(2), 81--92.
not in v1.0
v1.1 · ReferencesFernando, C., et al. (2023). PromptBreeder: Self-Referential Self-Improvement via Prompt Evolution. *arXiv:2309.16797*.
v1.0 · ReferencesFrench, R. M. (1999). Catastrophic forgetting in connectionist networks. *Trends in Cognitive Sciences*, 3(4), 128-135.
v1.1 · ReferencesFrench, R. M. (1999). Catastrophic forgetting in connectionist networks. *Trends in Cognitive Sciences*, 3(4), 128--135.
··· 2 unchanged paragraphs folded ···
not in v1.0
v1.1 · ReferencesKahneman, D. (2011). *Thinking, Fast and Slow.* Farrar, Straus and Giroux.
not in v1.0
v1.1 · ReferencesKhattab, O., et al. (2023). DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines. *arXiv:2310.03714*.
··· 2 unchanged paragraphs folded ···
v1.0 · ReferencesMcClelland, J. L., McNaughton, B. L., & O'Reilly, R. C. (1995). Why there are complementary learning systems in the hippocampus and neocortex. *Psychological Review*, 102(3), 419-457.
v1.1 · ReferencesMcClelland, J. L., McNaughton, B. L., & O'Reilly, R. C. (1995). Why there are complementary learning systems in the hippocampus and neocortex. *Psychological Review*, 102(3), 419--457.
··· 1 unchanged paragraph folded ···
v1.0 · ReferencesPathak, D., et al. (2017). Curiosity-driven Exploration by Self-Predictive Next Feature Learning. *ICML 2017*.
removed in v1.1
not in v1.0
v1.1 · ReferencesPark, J. S., et al. (2023). Generative Agents: Interactive Simulacra of Human Behavior. *UIST 2023*.
v1.0 · ReferencesSchmidhuber, J. (2009). Simple algorithmic theory of subjective beauty, novelty, surprise, interestingness, attention, curiosity, creativity, art, science, music, jokes. *Journal of SICE*, 48(1), 21-32.
v1.1 · ReferencesSchmidhuber, J. (2009). Simple algorithmic theory of subjective beauty, novelty, surprise, interestingness. *Journal of SICE*, 48(1), 21--32.
v1.0 · ReferencesSerra, O., & JarvisOne. (2026a). Fractal Memory Index: A Self-Similar Architecture for Scalable Long-Term Memory in LLMs. *JarvisOne AI Research*.
v1.1 · ReferencesSerra, O., & JarvisOne. (2026a). Fractal Memory Index: A Self-Similar Architecture for Scalable Long-Term Memory in LLMs. *JarvisOne AI Research.*
v1.0 · ReferencesSerra, O., & JarvisOne. (2026b). The Wondering Machine: Curiosity, Memory, and the Architecture of Self-Improving Language Models. *JarvisOne AI Research*.
v1.1 · ReferencesSerra, O., & JarvisOne. (2026b). The Wondering Machine: Curiosity, Memory, and Self-Improving Language Models. *JarvisOne AI Research.*
v1.0 · ReferencesSerra, O., & JarvisOne. (2026c). ENGRAM: Context Compaction Through Continuous Consolidation. *JarvisOne AI Research*.
v1.1 · ReferencesSerra, O., & JarvisOne. (2026c). ENGRAM: Context Compaction Through Continuous Consolidation. *JarvisOne AI Research.*
··· 3 unchanged paragraphs folded ···
not in v1.0
v1.1 · ReferencesYang, C., et al. (2023). Large Language Models as Optimizers. *arXiv:2309.03409*.
not in v1.0
v1.1 · ReferencesYao, S., et al. (2023). ReAct: Synergizing Reasoning and Acting in Language Models. *ICLR 2023*.
··· 2 unchanged paragraphs folded ···
v1.0 · Appendix A: The Complete Nightly Cycle (Cron Schedule)| Time | Job | Model | Purpose | Tokens/run | |------|-----|-------|---------|------------| | 03:00 | Outlook Token Refresh | Haiku | Keep auth alive | ~2K | | 03:30 | DB Backup | Haiku | Backup SQLite databases | ~2K | | 03:30 | Hippocampus Rebuild | Haiku | Rebuild memory search index | ~3K | | 04:00 | Wind-Down | Opus | Reflect, encode lessons, mutate prompts | ~15K | | 04:15 | Memory Consolidation | Opus | Compress, route, index knowledge | ~20K | | 04:30 | Security Check | Opus | OS/network security audit | ~12K | | 04:45 | Fork Sync | Opus | Merge upstream, self-heal build | ~10K | | 05:00 | Fork Scanner | Opus | Analyze other forks, cherry-pick | ~25K | | 05:15 | Cleaning Lady | Sonnet | Prune sessions, enforce size budgets | ~8K | | 05:30 | Self-Evolution | Opus | Research new models, techniques | ~20K | | 05:45 | Group Summary | Opus | Summarize WhatsApp groups, marketplace | ~15K | | 06:00 | Life Butler | Opus | Personal secretary -- birthdays, gifts | ~10K | | 07:00 | Morning Briefing | Opus | Daily summary + action items | ~12K | | 08:00 | Online Engagement | Opus | GitHub PRs, community outreach | ~12K |
v1.1 · Appendix A: The Complete Nightly Cycle (Cron Schedule)| Time | Job | Model | Purpose | Tokens/run | |------|-----|-------|---------|------------| | 03:00 | Outlook Token Refresh | Haiku | Keep auth alive | ~2K | | 03:30 | DB Backup | Haiku | Backup SQLite databases | ~2K | | 03:30 | Hippocampus Rebuild | Haiku | Rebuild memory search index | ~3K | | 04:00 | Wind-Down | Opus | Reflect, encode lessons, mutate prompts | ~15K | | 04:15 | Memory Consolidation | Opus | Compress, route, index knowledge | ~20K | | 04:30 | Security Check | Opus | OS/network security audit | ~12K | | 04:45 | Fork Sync | Opus | Merge upstream, self-heal build | ~10K | | 05:00 | Fork Scanner | Opus | Analyze other forks for ideas | ~25K | | 05:15 | Cleaning Lady | Sonnet | Prune sessions, enforce size budgets | ~8K | | 05:30 | Self-Evolution | Opus | Research new models, techniques | ~20K | | 05:45 | Group Summary | Opus | Summarize WhatsApp groups | ~15K | | 06:00 | Life Butler | Opus | Personal secretary | ~10K | | 07:00 | Morning Briefing | Opus | Daily summary + action items | ~12K | | 08:00 | Online Engagement | Opus | GitHub PRs, community outreach | ~12K |
··· 6 unchanged paragraphs folded ···
v1.0 · Mutation #14 -- Over-correction Fix (2026-03-10)**Trigger:** Mutation #8 prevented the agent from resolving a merge conflict it was capable of resolving. The entire merge was blocked for 24 hours waiting for human intervention.
v1.1 · Mutation #14 -- Over-correction Fix (2026-03-10)**Trigger:** Mutation #8 prevented the agent from resolving a merge conflict it was capable of resolving.
··· 4 unchanged paragraphs folded ···
v1.0 · Appendix C: The Fractal Depth Selector (Current Production Version)```markdown ## Fractal Zoom -- Default Thinking Depth (2026-03-10)
v1.1 · Appendix C: The Fractal Depth Selector (Current Production Version)``` Default Fractal Depth Selector (2026-03-10):
v1.0 · Appendix C: The Fractal Depth Selector (Current Production Version)**Default Fractal Depth Selector:** | Signal | Depth | |---------------------------------------|-------| | Routine/mechanical task | 0 -- just do it | | Something broke or surprised me | 1-2 -- what pattern? what lesson? | | Encoding a new rule or constraint | 2-3 -- is the abstraction right? | | Oscar asks for deeper thinking | 3+ -- go until insight stops being actionable |
v1.1 · Appendix C: The Fractal Depth Selector (Current Production Version)| Signal | Depth | |---------------------------------|--------------------------------------| | Routine/mechanical task | 0 -- just do it | | Something broke or surprised me | 1-2 -- what pattern? what lesson? | | Encoding a new rule/constraint | 2-3 -- is the abstraction right? | | Explicit request for depth | 3+ -- go until insight is actionable |
v1.0 · Appendix C: The Fractal Depth Selector (Current Production Version)**Application rule:** On any non-trivial completed action, spend 10 seconds asking "one level up: what pattern does this instance belong to?" If interesting, go one more. If not, stop. ```
v1.1 · Appendix C: The Fractal Depth Selector (Current Production Version)Application rule: On any non-trivial completed action, spend 10 seconds asking "one level up: what pattern does this instance belong to?" If interesting, go one more. If not, stop. ```
not in v1.0
v1.1 · Appendix C: The Fractal Depth Selector (Current Production Version)---
not in v1.0
v1.1 · Changelog## Changelog
not in v1.0
v1.1 · Changelog**v1.0 (2026-03-10):** Initial draft.
not in v1.0
v1.1 · Changelog**v1.1 (2026-03-10):** Major revision based on GPT-5.2 Pro review (Novelty 6, Rigor 4, Impact 8). - Abstract: replaced "measurable improvements" with specific metrics; added contributions list. - Section 1: added explicit research question. - Section 2.3: expanded related work with Park et al. (2023), OPRO, DSPy, PromptBreeder, Constitutional AI, ReAct, and SRE postmortem methodology. - Section 2.2: added formal definition of "learning" vs "memory" in this context. - Section 3.2: added Algorithm 1 (formalized nightly loop with inputs/outputs/gates). - Section 3.3 Mechanism 3: expanded from 1 to 5 documented cross-cron transfer examples. - Section 4.1: added explicit methodology, labeling protocol, confound acknowledgment, and controlled study proposal. - Section 4.3: added error class definitions and total incident counts. - Section 4.4: added sensitivity analysis for ROI. - Section 5.2: renamed "Convergence Proof" to "Convergence Intuition"; added falsifiability criterion. - Section 6 Principle 7: added concrete gating mechanism (MEMORY.md changes require approval) and rollback mechanism. - Section 7.1: expanded mitigations (regression checklist, canary mode, signed provenance). - References: added 7 new citations (Bai, Beyer, Fernando, Kahneman, Khattab, Park, Yang, Yao).
not in v1.0
v1.1 · Changelog---
not in v1.0
v1.1 · Implementation Note (added 2026-04-16)## Implementation Note (added 2026-04-16)
not in v1.0
v1.1 · Implementation Note (added 2026-04-16)The nightly consolidation loop described in this paper is currently implemented within `tinkerclaw-total-recall` (J1) as `sleep-consolidation.ts`. It is not a standalone plugin. Upstream's `memory-core` independently developed a more sophisticated three-phase nightly sweep (`light → REM → deep`) with regex-based evidence mining (`rem-evidence.ts`) and recall-stat-gated promotion to `MEMORY.md` — covering similar ground to the Cerebellum concept but with a different implementation.
not in v1.0
v1.1 · Implementation Note (added 2026-04-16)The MNEMOSYNE plugin (J14, `tinkerclaw-memory-enhancements`) extends the consolidation model with a **compaction-aware capture** step (Feature 4, J14 §7) that preserves messages about to be dropped by context compaction — addressing a gap in both the fork's sleep-consolidation and upstream's dreaming sweep, where information used once and never queried is permanently lost.
not in v1.0
v1.1 · Implementation Note (added 2026-04-16)**Implementation status:** bundled inside `tinkerclaw-total-recall` (running); capture extension in MNEMOSYNE v0.1 (running); no standalone Cerebellum plugin currently planned. A potential future iteration would extract the nightly sweep into its own plugin registered against upstream's cron system.
not in v1.0
v1.1 · Implementation Note (added 2026-04-16)**Plugin mapping:** J5 Cerebellum → (inside `tinkerclaw-total-recall`, running) + compaction extension in `tinkerclaw-memory-enhancements` (MNEMOSYNE, running v0.1, Feature 4).
Changed paragraphs in the same form, for scripts: JSON
· Markdown