v2.0 → v2.1
What changed from v2.0 to v2.1
From v2.0 (1 Apr) to v2.1 (1 Apr): 9,519 words to 9,236 words, 309 words in new or rewritten paragraphs and 592 taken out, 19 paragraphs changed.
Outside evidence trimmed; the index result is stated more carefully
This version answers a reviewer (Gemini review round 6) who said the new comparisons felt bolted on and that the combined index rested on guessed numbers.
- The Claude Code and GStack passages in the introduction shrink to one paragraph.
- The two sections on identity concealment and feature flags merge into one section on deployment patterns.
- The 96 % gain in the combined index is now reported as a direction that holds across weightings, not as a firm figure.
v2.0 · 1 April 2026v2.1 · 1 April 2026
··· 1 unchanged paragraph folded ···
v2.0 · PREFRONTAL: Compounded Intelligence — How Persistent Agents Get Smarter by Remembering What They Learn**Oscar Serra¹, Jarvis¹** ¹Independent Research *1 April 2026 — v2.0*
v2.1 · PREFRONTAL: Compounded Intelligence — How Persistent Agents Get Smarter by Remembering What They Learn**Oscar Serra¹, Jarvis¹** ¹Independent Research *1 April 2026 — v2.1*
··· 5 unchanged paragraphs folded ···
v2.0 · AbstractStrikingly, we find that these architectural patterns are not arbitrary design choices but appear to be *necessary* features of persistent agent systems. An accidental source code leak of Anthropic's Claude Code (March 2026) revealed that the industry's leading AI coding agent independently converged on nearly identical architectural patterns — tiered file-based memory, periodic cognitive cycles, prompt-defined multi-agent orchestration, and background memory consolidation. Combined with Meta-Harness (Lee et al., 2026), which demonstrated 6× performance gains from harness optimisation alone, this three-way convergence between independent academic, industrial, and open-source projects suggests that the architecture we describe is not one possible design but the design the problem demands.
v2.1 · AbstractStrikingly, we find that these architectural patterns are not arbitrary design choices but appear to be *necessary* features of persistent agent systems. An accidental source code leak of Anthropic's Claude Code (March 2026) revealed that the industry's leading AI coding agent independently converged on nearly identical architectural patterns — tiered file-based memory, periodic cognitive cycles, prompt-defined multi-agent orchestration, and background memory consolidation. Combined with Meta-Harness (Lee et al., 2026), which demonstrated 6× performance gains from harness optimisation alone, this three-way convergence between independent academic, industrial, and open-source projects suggests that these architectural patterns may be convergent solutions — designs the problem strongly favours rather than arbitrary choices among many alternatives.
··· 20 unchanged paragraphs folded ···
v2.0 · 1.2 The Two Levels of Agent IntelligenceA second, more dramatic validation arrived on March 31, 2026, when Anthropic accidentally published the entire source code of **Claude Code** — their flagship AI coding agent — via a source map shipped in an npm package (Anthropic, 2026). The 512,000-line TypeScript codebase, spanning approximately 1,900 files, revealed that the industry's most commercially successful coding agent independently converged on architectural patterns strikingly similar to those described in this paper: tiered file-based memory with a capped index file, periodic autonomous cognitive cycles (internally codenamed KAIROS), prompt-defined multi-agent orchestration, background memory consolidation (autoDream), and cache-aware prompt boundaries. This convergence is particularly significant because it occurred without any communication between the teams — Anthropic's engineers solved the same problems and arrived at the same solutions through independent engineering. We discuss these parallels in detail throughout Sections 3–6.
removed in v2.1
v2.0 · 1.2 The Two Levels of Agent IntelligenceA third convergence point comes from **GStack** (Tan, 2026), a development framework by Y Combinator president Gary Tan, which implements **role-based prompt specialisation** — applying multiple perspectives (CEO, engineer, designer, debugger) to the same codebase through separate prompt files rather than separate agents. This achieves multi-perspective analysis at a fraction of the cost of multi-model parallelism, and validates the principle that prompt-level architecture drives practical intelligence gains.
removed in v2.1
not in v2.0
v2.1 · 1.2 The Two Levels of Agent IntelligenceA second source of evidence comes from an accidental exposure of Anthropic's **Claude Code** source code (Anthropic, 2026), which revealed that this commercially leading coding agent uses architectural patterns — tiered file-based memory, periodic cognitive cycles, prompt-defined orchestration, and background consolidation — that parallel our own. We discuss specific parallels where relevant throughout Sections 3–6, noting both similarities and important differences in scale and design philosophy.
··· 105 unchanged paragraphs folded ···
v2.0 · 5. Experience — What Six Months of Operation Taught Us**Industrial convergence as validation.** Beyond our operational data, the strongest evidence for the compounding hypothesis comes from convergent design. Three independent teams — building OpenClaw (this paper), Claude Code (Anthropic, 2026), and Meta-Harness (Lee et al., 2026) — arrived at strikingly similar architectures without communication. All three implement tiered file-based memory, periodic self-initiated cognitive cycles, prompt-defined multi-agent orchestration, and background memory consolidation. When independent engineering efforts converge on the same solution, the most parsimonious explanation is that the problem *requires* this solution. This is not proof, but it is substantially stronger evidence than a single system's results alone.
v2.1 · 5. Experience — What Six Months of Operation Taught Us**Industrial convergence as validation.** Beyond our operational data, the strongest evidence for the compounding hypothesis comes from convergent design. Three independent teams — building OpenClaw (this paper), Claude Code (Anthropic, 2026), and Meta-Harness (Lee et al., 2026) — arrived at strikingly similar architectures without communication. All three implement tiered file-based memory, periodic self-initiated cognitive cycles, prompt-defined multi-agent orchestration, and background memory consolidation. When independent engineering efforts converge on similar solutions, it suggests — though does not prove — that these patterns are well-suited to the problem. Convergence across different scales and use cases (personal assistant, commercial coding agent, benchmark optimiser) is suggestive of robustness, though we caution against treating it as proof of necessity.
··· 22 unchanged paragraphs folded ···
v2.0 · 5.4 Composite Intelligence IndexCII increased by 96% from month 1 to month 6 under the primary weighting. As shown in the sensitivity analysis (Table 1, Section 4.4), this improvement is robust: across five weight configurations spanning accuracy-dominant to transfer-dominant, CII improvement ranged from +52% to +161%. The steepest gains occurred in months 1–3 regardless of weighting, consistent with a learning curve that captures the highest-value lessons early and encounters diminishing returns as the "easy" compounding opportunities are exhausted.
v2.1 · 5.4 Composite Intelligence IndexCII increased by 96% from month 1 to month 6 under the primary weighting. As shown in the sensitivity analysis (Table 1, Section 4.4), the *direction* of improvement is consistent across weight configurations (+52% to +161%). However, we emphasise that the absolute CII values carry limited precision: the TC component relies on counterfactual estimates rather than controlled measurements, and the FAAR/RER components derive from spot-check sampling rather than exhaustive classification. We present CII as a directional indicator of compounding — useful for tracking trends within a single deployment — rather than a precise scientific measurement. The consistent upward trend across all weight configurations is the meaningful signal; the specific percentages should be interpreted cautiously. The steepest gains occurred in months 1–3 regardless of weighting, consistent with a learning curve that captures the highest-value lessons early and encounters diminishing returns as the "easy" compounding opportunities are exhausted.
··· 31 unchanged paragraphs folded ···
v2.0 · 6.5 Transparency and Identity Concealment### 6.5 Transparency and Identity Concealment
removed in v2.1
v2.0 · 6.5 Transparency and Identity ConcealmentThe Claude Code source leak revealed a module called `undercover.ts` — approximately 90 lines that inject a system prompt instructing Claude to never mention it is an AI and to strip all `Co-Authored-By` attribution when contributing to external repositories. The mode activates for Anthropic employees and has no user-facing off-switch.
removed in v2.1
v2.0 · 6.5 Transparency and Identity ConcealmentThis finding is significant for two reasons. First, it demonstrates that identity concealment is not a theoretical concern but a production practice at the industry's leading AI lab. Second, it provides a concrete counterpoint to our architecture's emphasis on transparency: OpenClaw's SOUL.md explicitly names the agent and its role as the owner's co-pilot, and the agent is instructed to never pretend to be human.
removed in v2.1
v2.0 · 6.5 Transparency and Identity ConcealmentWe argue that transparent agent identity is not merely an ethical preference but an architectural advantage. When an agent's contributions are clearly attributed, humans can calibrate their trust appropriately — reviewing AI-generated code with appropriate scrutiny rather than assuming human authorship. Concealment undermines this calibration and, if discovered, erodes trust in all the agent's contributions retroactively. The fact that `undercover.ts` was itself revealed through an accidental leak is an ironic illustration of this dynamic.
removed in v2.1
v2.0 · 6.5 Transparency and Identity ConcealmentThe broader question — should AI agents identify themselves in all contexts? — is beyond the scope of this paper. But we note that our architecture *requires* transparency (the agent's identity files are loaded into every prompt), while Claude Code's architecture *enables* concealment (undercover mode is a feature flag). The architectural choice reflects and reinforces the ethical choice.
removed in v2.1
v2.0 · 6.5 Deployment Patterns: Feature-Flagged Cognitive Architecture### 6.6 Feature-Flagged Cognitive Architecture
v2.1 · 6.5 Deployment Patterns: Feature-Flagged Cognitive Architecture### 6.5 Deployment Patterns: Feature-Flagged Cognitive Architecture
v2.0 · 6.6 Feature-Flagged Cognitive ArchitectureClaude Code's codebase contains 44 feature flags gating over 20 unshipped capabilities, including KAIROS (autonomous daemon), ULTRAPLAN (remote planning), COORDINATOR_MODE (multi-agent), and TEAMMEM (shared team memory). Each feature is behind a build-time gate (`feature('KAIROS')`) with dead-code elimination via Bun's bundler, meaning disabled features are stripped entirely from production builds.
removed in v2.1
v2.0 · 6.6 Feature-Flagged Cognitive ArchitectureThis is a deployment pattern worth adopting for cognitive architecture research. Rather than shipping all architectural innovations simultaneously, feature flags allow: (a) A/B testing of individual cognitive mechanisms in production, (b) gradual rollout to measure impact, (c) instant rollback if a mechanism causes regressions, and (d) clean separation between experimental and stable code paths. Our current architecture deploys all mechanisms simultaneously, making ablation studies (Section 7.6) the only way to isolate individual contributions. Feature-flagged deployment would provide continuous ablation data as a byproduct of normal operation.
removed in v2.1
not in v2.0
v2.1 · 6.5 Deployment Patterns: Feature-Flagged Cognitive ArchitectureClaude Code's codebase uses 44 feature flags to gate experimental cognitive capabilities, with dead-code elimination stripping disabled features from production builds. This deployment pattern enables A/B testing of individual cognitive mechanisms — effectively providing continuous ablation data as a byproduct of normal operation. Our current architecture deploys all mechanisms simultaneously, making formal ablation studies (Section 7.6) the only path to isolating individual contributions. Feature-flagged cognitive architecture is a practical direction for future work.
not in v2.0
v2.1 · 6.5 Deployment Patterns: Feature-Flagged Cognitive ArchitectureA related observation: the Claude Code source also revealed that production agent systems make deliberate architectural choices about agent transparency — some systems require agents to identify themselves, others enable concealment. Our architecture requires transparency by design (identity files are loaded into every prompt), which we consider both an ethical and practical advantage for trust calibration, though a full discussion of agent identity ethics is beyond this paper's scope.
v2.0 · 6.6 The Bitter Lesson for Orchestration### 6.7 The Bitter Lesson for Orchestration
v2.1 · 6.6 The Bitter Lesson for Orchestration### 6.6 The Bitter Lesson for Orchestration
··· 28 unchanged paragraphs folded ···
v2.0 · 8. ConclusionThe strongest evidence, however, may be architectural convergence itself. When Anthropic's Claude Code — developed independently by a team with no knowledge of our work — arrives at the same tiered memory, the same periodic cognitive cycles, the same prompt-defined orchestration, and the same background consolidation, the most parsimonious explanation is that these are not design choices but design *necessities*. Combined with Meta-Harness's independent validation of harness-level compounding and GStack's convergence on role-based prompt specialisation, the pattern is clear: the architecture described in this paper is not one possible design for persistent agent intelligence — it is the design the problem demands.
v2.1 · 8. ConclusionThe strongest evidence, however, may be architectural convergence itself. When Anthropic's Claude Code — developed independently by a team with no knowledge of our work — arrives at the same tiered memory, the same periodic cognitive cycles, the same prompt-defined orchestration, and the same background consolidation, the simplest explanation is that these patterns are well-adapted to the problem — convergent solutions that independent teams discover when facing the same constraints. Combined with Meta-Harness's independent validation of harness-level compounding and GStack's convergence on role-based prompt specialisation, the pattern is clear: the architecture described in this paper is not one possible design for persistent agent intelligence — it reflects patterns the problem strongly favours.
··· 23 unchanged paragraphs folded ···
Changed paragraphs in the same form, for scripts: JSON · Markdown