ReadPrintedHistoryCompareGraphs

v3.0 → v3.1

What changed from v3.0 to v3.1

From v3.0 (7 Apr) to v3.1 (7 Apr): 6,032 words to 5,410 words, 206 words in new or rewritten paragraphs and 828 taken out, 64 paragraphs changed.

Tightened, with a short limitations section

A tightening pass of v3.0: about 600 words shorter, same thesis and structure.

  • Cuts repetition in the introduction, the cycle description and the cost analysis.
  • Adds section 6.5 on failure modes and limitations.
v3.0 · 7 April 2026v3.1 · 7 April 2026
v3.0 · PREFRONTAL v3.1: From Guard Rails to Recipe Engine --- How Structured Orchestration Compounds Agent Intelligence# PREFRONTAL v3.0: From Guard Rails to Recipe Engine --- How Structured Orchestration Compounds Agent Intelligence
v3.1 · PREFRONTAL v3.1: From Guard Rails to Recipe Engine --- How Structured Orchestration Compounds Agent Intelligence# PREFRONTAL v3.1: From Guard Rails to Recipe Engine --- How Structured Orchestration Compounds Agent Intelligence
v3.0 · PREFRONTAL v3.1: From Guard Rails to Recipe Engine --- How Structured Orchestration Compounds Agent Intelligence**Oscar Serra^1^, Jarvis^1^** ^1^Independent Research *7 April 2026 --- v3.0*
v3.1 · PREFRONTAL v3.1: From Guard Rails to Recipe Engine --- How Structured Orchestration Compounds Agent Intelligence**Oscar Serra^1^, Jarvis^1^** ^1^Independent Research *7 April 2026 --- v3.1*

··· 2 unchanged paragraphs folded ···

v3.0 · AbstractThe gap between preventing bad behaviour and enabling great behaviour is the central challenge of agent architecture. Version 2.4 of this paper proposed compounded intelligence through fractal reflection --- a post-action review cycle that converts events into reusable rules. Six months of deployment validated the compounding hypothesis (CII +96%), but exposed a structural asymmetry: the architecture excels at *stopping agents from doing the wrong thing* (exploration gates, anti-gold-plating rules, denial tracking) yet provides no machinery for *guiding agents to do the right thing in the right order*. Guards prevent mistakes; they do not produce excellence.
v3.1 · AbstractThe gap between preventing bad behaviour and enabling great behaviour is the central challenge of agent architecture. Version 2.4 of this paper proposed compounded intelligence through fractal reflection --- a post-action review cycle that converts events into reusable rules. Deployment validated the compounding hypothesis (+96% CII) but exposed a structural asymmetry: guards prevent mistakes but do not guide excellence.
v3.0 · AbstractThis paper introduces Prefrontal v3.0, a major architectural revision that transforms the orchestration layer from a passive guard system into an active **recipe execution engine**. The key insight comes from convergent evolution across three independent systems: Anthropic's Claude Code achieves its effectiveness through *skills* --- structured workflow prompts injected on demand that decompose complex tasks into ordered steps; Journey Kits (Berman, 2026) demonstrates that the commercial value of AI agents lies not in the model but in the structured *recipe* wrapped around it; and our own `prefrontal-prompt.md`, a rich orchestration prompt that has sat unused in the codebase for months, already encodes the recipe format we now propose to execute.
v3.1 · AbstractThis paper introduces Prefrontal v3.1, a major architectural revision that transforms the orchestration layer from a passive guard system into an active **recipe execution engine**. The key insight comes from convergent evolution across three independent systems: Anthropic's Claude Code achieves its effectiveness through *skills* --- structured workflow prompts injected on demand that decompose complex tasks into ordered steps; Journey Kits (Berman, 2026) demonstrates that the commercial value of AI agents lies not in the model but in the structured *recipe* wrapped around it; and our own `prefrontal-prompt.md`, a rich orchestration prompt that has sat unused in the codebase for months, already encodes the recipe format we now propose to execute.

··· 5 unchanged paragraphs folded ···

v3.0 · 1.1 Why Claude Code WorksIn March 2026, an accidental source code exposure revealed the internal architecture of Anthropic's Claude Code, the commercially leading AI coding agent. The architecture's effectiveness derives not from a superior model --- Claude Code runs the same Sonnet and Opus models available to all API users --- but from a `while(true)` agentic loop wrapped in three structural mechanisms:
v3.1 · 1.1 Why Claude Code WorksIn March 2026, an accidental source code exposure revealed the internal architecture of Anthropic's Claude Code, the commercially leading AI coding agent. Its effectiveness derives not from a superior model, but from a `while(true)` loop wrapped in three mechanisms:

··· 3 unchanged paragraphs folded ···

v3.0 · 1.1 Why Claude Code WorksThe system prompt encodes specific anti-patterns observed in production --- "avoid using `find` or `grep` commands when dedicated tools exist," "never skip hooks with `--no-verify`," "prefer editing existing files to creating new ones." These are not generic safety rules; they are *learned operational recipes* distilled from production failure patterns.
removed in v3.1
not in v3.0
v3.1 · 1.1 Why Claude Code WorksThese are operational recipes distilled from failures.

··· 2 unchanged paragraphs folded ···

v3.0 · 1.2 The Journey Kits ThesisMatthew Berman's Journey Kits (journeykits.ai, 2026) crystallises an insight that was implicit in the Claude Code analysis: **the value is not the model --- it is the structured workflow wrapped around it**. Journey Kits proposes an "npm for AI agent workflows" --- a registry of reusable recipes that bundle skills, source code, documentation, and metadata into distributable packages.
v3.1 · 1.2 The Journey Kits ThesisMatthew Berman's Journey Kits (journeykits.ai, 2026) makes clear an insight that was implicit in the Claude Code analysis: **the value is not the model --- it is the structured workflow wrapped around it**. Journey Kits proposes an "npm for AI agent workflows" --- a registry of reusable recipes that bundle skills, source code, documentation, and metadata into distributable packages.
v3.0 · 1.2 The Journey Kits ThesisThe thesis is provocative in its directness: if you give the same model to two teams, the one with better recipes wins. The model is the commodity; the recipe is the differentiator. This inverts the conventional wisdom that model capability is the primary driver of agent quality.
v3.1 · 1.2 The Journey Kits ThesisThe thesis is direct: if you give the same model to two teams, the one with better recipes wins. The model is the commodity; the recipe is the differentiator. This inverts the conventional wisdom that model capability is the primary driver of agent quality.

··· 2 unchanged paragraphs folded ···

v3.0 · 1.3 The v2.4 GapVersion 2.4 of this paper promised compounded intelligence through fractal reflection --- "the compounding engine" that converts events into reusable rules at multiple abstraction levels. The implementation delivered:
v3.1 · 1.3 The v2.4 GapVersion 2.4 of this paper promised compounded intelligence through fractal reflection --- "the compounding engine" that converts events into reusable rules at multiple abstraction levels. The implementation delivered guards, observability, and monitoring, but lacked a navigation system for agents.
v3.0 · 1.3 The v2.4 Gap- **Guards**: exploration gate (must read before writing), anti-gold-plating rules (11 engineering discipline injections), denial tracking (escalate after 3 denials), permission hooks (user-defined shell script gates). - **Observability**: FAAR tracker (task outcome recording), effort router (expensive model warnings), CORF trigger (high-stakes decision flagging), feature flags (per-hook enable/disable). - **Monitoring**: call tree panel (real-time agent topology), guardian process (3-minute health checks).
removed in v3.1
v3.0 · 1.3 The v2.4 GapWhat v2.4 did *not* deliver was the central thesis of the paper --- the compounding engine itself. Fractal reflection, described in Section 3.1 of v2.4 as the primary mechanism of intelligence compounding, exists only as a prompt template (`prefrontal-prompt.md`) that was never wired into the execution pipeline. The four-question reflection protocol (MEMORY, PATTERN, RIPPLE, IMPROVE) runs only when the agent voluntarily follows the system prompt's instructions, which it does inconsistently.
v3.1 · 1.3 The v2.4 Gapv2.4 omitted the compounding engine itself. Fractal reflection, described in Section 3.1 of v2.4 as the primary mechanism of intelligence compounding, exists only as a prompt template (`prefrontal-prompt.md`) that was never wired into the execution pipeline. The four-question reflection protocol (MEMORY, PATTERN, RIPPLE, IMPROVE) runs only when the agent voluntarily follows the system prompt's instructions, which it does inconsistently.
v3.0 · 1.3 The v2.4 GapThe gap is structural: v2.4 built the *guardrails of a highway* but not *the highway itself*. Drivers (agents) are prevented from going off-road, but there is no navigation system telling them which exit to take.
removed in v3.1

··· 1 unchanged paragraph folded ···

v3.0 · 1.4 The Cache-Shared First CallThe architectural insight that enables v3.0 is economic. Anthropic's prompt cache means that a second LLM call with *nearly the same context* as the first is dramatically cheaper than two independent calls. If the system prompt, SOUL.md, memory hierarchy, and session history are identical between calls, only the differing portion (the orchestration instruction vs. the task instruction) incurs full token cost.
v3.1 · 1.4 The Cache-Shared First CallThe architectural insight that enables v3.1 is economic. Anthropic's prompt cache means that a second LLM call with *nearly the same context* as the first is dramatically cheaper than two independent calls. If the system prompt, SOUL.md, memory hierarchy, and session history are identical between calls, only the differing portion (the orchestration instruction vs. the task instruction) incurs full token cost.
v3.0 · 1.4 The Cache-Shared First CallThis means Prefrontal can become a **first call** --- receiving the user's message, selecting a recipe, planning the execution --- at approximately 5% token overhead. The orchestration is not a luxury; it is nearly free.
removed in v3.1
not in v3.0
v3.1 · 1.4 The Cache-Shared First CallPrefrontal becomes a **first call**, planning execution at ~5% overhead. Orchestration is nearly free.

··· 4 unchanged paragraphs folded ···

v3.0 · 2.1 System OverviewPrefrontal v3.0 introduces a three-phase cognitive cycle that wraps every agent interaction:
v3.1 · 2.1 System OverviewPrefrontal v3.1 introduces a three-phase cognitive cycle that wraps every agent interaction:

··· 2 unchanged paragraphs folded ···

v3.0 · 2.1 System OverviewFor simple requests (greetings, quick lookups, single-tool operations), Phase 1 collapses to a lightweight classification that bypasses recipe selection entirely. The overhead is incurred only when it produces value.
removed in v3.1
not in v3.0
v3.1 · 2.1 System OverviewFor simple requests, Phase 1 bypasses recipe selection to avoid overhead.

··· 1 unchanged paragraph folded ···

v3.0 · 2.2 Prefrontal as First CallThe traditional agent architecture processes user messages directly: the message enters the model alongside the system prompt, and the model decides what to do. Prefrontal v3.0 interposes an orchestration layer:
v3.1 · 2.2 Prefrontal as First CallThe traditional agent architecture processes user messages directly: the message enters the model alongside the system prompt, and the model decides what to do. Prefrontal v3.1 interposes an orchestration layer:

··· 1 unchanged paragraph folded ···

v3.0 · 2.2 Prefrontal as First CallThe critical design decision is that Prefrontal does *not* replace the main agent --- it *prepends* to it. The main agent retains full autonomy; the recipe provides structure, not constraint. This preserves the flexibility that makes LLM agents valuable while adding the predictability that makes them reliable.
v3.1 · 2.2 Prefrontal as First CallThe critical design decision is that Prefrontal does *not* replace the main agent, nor does it introduce a separate "manager agent". Prefrontal is a cache-shared first call using the *exact same agent*, simply prepending the recipe. The main agent retains full autonomy; the recipe provides structure, not bureaucratic constraint. This preserves the flexibility that makes LLM agents valuable while adding the predictability that makes them reliable.

··· 7 unchanged paragraphs folded ···

v3.0 · 2.4 Subagent ParallelismFor tasks that decompose naturally --- "investigate this bug, fix it, and write tests" --- Prefrontal fans out parallel subagents:
removed in v3.1
not in v3.0
v3.1 · 2.4 Subagent ParallelismFor decomposable tasks, Prefrontal fans out parallel subagents:
v3.0 · 2.4 Subagent Parallelism- **Fork subagents** inherit the parent's rendered prompt (cache-shared) and receive a scoped task: "investigate the stack trace," "write a failing test," "check for similar patterns in the codebase." Each subagent has an isolated tool set appropriate to its task (read-only for investigation, write-enabled for implementation).
v3.1 · 2.4 Subagent Parallelism- **Fork subagents** inherit the parent's rendered prompt (cache-shared) and receive a scoped task: "investigate the stack trace," "write a failing test," "check for similar patterns in the codebase."

··· 27 unchanged paragraphs folded ···

v3.0 · Failure Handlers - Step 1 fails (cannot reproduce): Gather more information from user - Step 4 fails (fix too complex): Escalate to user with analysis - Step 5 fails (tests break): Revert and re-analyse ```The format is deliberately human-readable. Recipes are markdown files, editable in any text editor, storable in the memory hierarchy, and versionable through git. This follows the same design philosophy as the tiered memory system (Section 3.2 of v2.4): transparency, portability, and composability over sophistication.
removed in v3.1
not in v3.0
v3.1 · Failure Handlers - Step 1 fails (cannot reproduce): Gather more information from user - Step 4 fails (fix too complex): Escalate to user with analysis - Step 5 fails (tests break): Revert and re-analyse ```Recipes are human-readable markdown files, editable, storable in memory, and versionable via git, favouring transparency and composability.

··· 1 unchanged paragraph folded ···

v3.0 · 3.2 Built-in RecipesPrefrontal v3.0 ships with six built-in recipes covering the most common agent tasks:
v3.1 · 3.2 Built-in RecipesPrefrontal v3.1 ships with six built-in recipes covering the most common agent tasks:

··· 4 unchanged paragraphs folded ···

v3.0 · 3.3 Custom RecipesCustom recipes are stored in the memory hierarchy (under `memory/recipes/`) and are automatically available to Prefrontal's recipe selection. This makes the recipe library a *growing* asset --- each new recipe captures operational knowledge that compounds across future sessions, extending the compounding thesis from individual lessons (v2.4) to entire workflows (v3.0).
v3.1 · 3.3 Custom RecipesCustom recipes are stored in the memory hierarchy (under `memory/recipes/`) and are automatically available to Prefrontal's recipe selection. This makes the recipe library a *growing* asset --- each new recipe captures operational knowledge that compounds across future sessions, extending the compounding thesis from individual lessons (v2.4) to entire workflows (v3.1).

··· 5 unchanged paragraphs folded ···

v3.0 · 3.4 Recipe SelectionFor messages that do not match any recipe --- casual conversation, simple questions, emotional support --- Prefrontal passes through without orchestration. The system detects when structure would add overhead without value.
removed in v3.1
not in v3.0
v3.1 · 3.4 Recipe SelectionUnstructured messages bypass orchestration.

··· 13 unchanged paragraphs folded ···

v3.0 · 4.1 Pre-Action: From Questions to Recipes3. **Plan presentation**: for complex tasks (estimated duration >5 minutes or >3 steps), Prefrontal presents the plan to the user before execution. This serves two purposes: it gives the user a chance to redirect ("actually, I just want the investigation, not the fix"), and it creates an explicit contract against which the agent's work can be evaluated.
v3.1 · 4.1 Pre-Action: From Questions to Recipes3. **Plan presentation**: for complex tasks (estimated duration >5 minutes or >3 steps), Prefrontal presents the plan to the user before execution. This allows user redirection and creates an execution contract.

··· 3 unchanged paragraphs folded ···

v3.0 · 4.2 During-Action: Supervised Execution- **Progress tracking**: each subagent emits structured events as it completes recipe steps. Prefrontal maintains a progress model and updates the UI.
removed in v3.1
v3.0 · 4.2 During-Action: Supervised Execution- **Stall detection**: if a subagent stops emitting events, enters a retry loop, or exceeds its time budget, Prefrontal detects the stall and intervenes. Interventions range from providing additional context ("the file you're looking for was renamed in commit abc123") to reassigning the task to a different model.
removed in v3.1
v3.0 · 4.2 During-Action: Supervised Execution- **Cross-subagent coordination**: when one subagent's findings affect another's task, Prefrontal relays the relevant information. For example, if the investigation subagent discovers that the bug is in module A (not module B as initially suspected), Prefrontal redirects the fix subagent before it wastes time on the wrong module.
removed in v3.1
v3.0 · 4.2 During-Action: Supervised Execution- **User updates**: for tasks exceeding 60 seconds, Prefrontal sends progress summaries to the UI. Users are not left staring at a spinner --- they see which step is active, what has been found so far, and how much remains.
removed in v3.1
not in v3.0
v3.1 · 4.2 During-Action: Supervised Execution- **Progress & Updates**: Subagents emit structured events. Prefrontal updates the UI, showing active steps and progress. - **Stall detection**: Prefrontal detects stalls (timeouts, retry loops) and intervenes by reassigning or providing context. - **Cross-subagent coordination**: Prefrontal relays critical findings between parallel subagents to prevent wasted effort.

··· 2 unchanged paragraphs folded ···

v3.0 · 4.3 Post-Action: Fractal Reflection, Orchestrated1. **Mandatory execution**: the reflection is not a suggestion in the system prompt --- it is a distinct LLM call initiated by Prefrontal after the recipe completes. The agent cannot skip it.
removed in v3.1
v3.0 · 4.3 Post-Action: Fractal Reflection, Orchestrated2. **Recipe-aware reflection**: the reflection receives not just the turn context but the recipe that was executed, the plan that was presented, and the actual execution trace. This enables structured assessment: "Step 3 took 4x longer than expected because the codebase search missed the relevant file --- update the search strategy for this recipe."
removed in v3.1
v3.0 · 4.3 Post-Action: Fractal Reflection, Orchestrated3. **Recipe improvement**: when the reflection identifies a systematic issue with a recipe ("the debug recipe should include a 'check recent changes' step before 'locate'"), Prefrontal updates the recipe file. The recipe library evolves through use.
removed in v3.1
v3.0 · 4.3 Post-Action: Fractal Reflection, Orchestrated4. **Knowledge writing**: lessons extracted during reflection are written to the appropriate memory tier, exactly as in v2.4. The difference is that these lessons are now *structured by the recipe context* --- "during debug.locate, always check git blame for recent changes" is more actionable than "remember to check git blame."
removed in v3.1
not in v3.0
v3.1 · 4.3 Post-Action: Fractal Reflection, Orchestrated1. **Mandatory execution**: Reflection is a distinct, unavoidable LLM call post-completion. 2. **Recipe-aware reflection**: Reflection assesses the turn context, recipe, plan, and execution trace to identify bottlenecks. 3. **Recipe improvement**: Prefrontal updates recipes automatically when systematic issues are identified. 4. **Structured Knowledge**: Extracted lessons are written to memory, deeply tied to their specific recipe context for higher actionability.

··· 3 unchanged paragraphs folded ···

v3.0 · 4.4 The FRACTAL Pattern: Cache-Shared Follow-Up CallsThe FRACTAL pattern is general. Any cognitive function that benefits from the same context but a different perspective --- planning, reflection, review, risk assessment, cost estimation --- can be implemented as a cache-shared call at minimal marginal cost. This transforms the trade-off from "one perspective per turn" to "as many perspectives as are useful, at 5% marginal cost each."
removed in v3.1
not in v3.0
v3.1 · 4.4 The FRACTAL Pattern: Cache-Shared Follow-Up CallsThe FRACTAL pattern applies generally: any cognitive function (planning, reflection, review) can be implemented via cache-shared calls at ~5% marginal cost, enabling multiple perspectives per turn.

··· 2 unchanged paragraphs folded ···

v3.0 · 5. Integration with Existing ExtensionsPrefrontal v3.0 does not replace the existing extension ecosystem --- it orchestrates it. Each extension retains its autonomous function while gaining a coordination layer.
v3.1 · 5. Integration with Existing ExtensionsPrefrontal v3.1 does not replace the existing extension ecosystem --- it orchestrates it. Each extension retains its autonomous function while gaining a coordination layer.

··· 1 unchanged paragraph folded ···

v3.0 · 5.1 Total Recall (Memory Retrieval)Total Recall provides the hybrid retrieval system (semantic search via local embeddings + structured search via filename patterns) that supplies context to every agent turn. In v3.0, Prefrontal uses Total Recall in two new ways:
v3.1 · 5.1 Total Recall (Memory Retrieval)Total Recall provides the hybrid retrieval system (semantic search via local embeddings + structured search via filename patterns) that supplies context to every agent turn. In v3.1, Prefrontal uses Total Recall in two new ways:

··· 3 unchanged paragraphs folded ···

v3.0 · 5.2 Identity Persistence (SOUL.md)The agent's identity --- personality, values, communication style --- is encoded in SOUL.md and loaded into every LLM call. In v3.0, this identity persists across all three phases of the cognitive cycle. The Prefrontal orchestration call, the subagent execution calls, and the fractal reflection call all share the same SOUL.md, ensuring that the agent's personality is consistent whether it is planning, executing, or reflecting.
v3.1 · 5.2 Identity Persistence (SOUL.md)The agent's identity --- personality, values, communication style --- is encoded in SOUL.md and loaded into every LLM call. In v3.1, this identity persists across all three phases of the cognitive cycle. The Prefrontal orchestration call, the subagent execution calls, and the fractal reflection call all share the same SOUL.md, ensuring that the agent's personality is consistent whether it is planning, executing, or reflecting.
v3.0 · 5.2 Identity Persistence (SOUL.md)This is non-trivial. In systems where orchestration is handled by a separate "planner" agent with its own persona, the user experiences personality discontinuities --- the planner is formal, the executor is casual, the reviewer is critical. By sharing SOUL.md across all calls, Prefrontal maintains a unified voice.
removed in v3.1
not in v3.0
v3.1 · 5.2 Identity Persistence (SOUL.md)By sharing SOUL.md across all calls, Prefrontal maintains a unified voice, avoiding the personality discontinuities of separate "planner" agents.

··· 1 unchanged paragraph folded ···

v3.0 · 5.3 Learned Intuition (AMYGDALA)The AMYGDALA extension (Serra, 2026) --- a neural action gating system that learns to recognise dangerous operations through situation embeddings --- integrates with v3.0 at the subagent level. Each subagent's tool calls pass through AMYGDALA's prudence network before execution, providing learned safety gating that complements the recipe's structural gates.
v3.1 · 5.3 Learned Intuition (AMYGDALA)The AMYGDALA extension (Serra, 2026) --- a neural action gating system that learns to recognise dangerous operations through situation embeddings --- integrates with v3.1 at the subagent level. Each subagent's tool calls pass through AMYGDALA's prudence network before execution, providing learned safety gating that complements the recipe's structural gates.

··· 2 unchanged paragraphs folded ···

v3.0 · 5.4 Fractal Reflection (Orchestrated)In v2.4, the `fractal-reflection` extension operated independently --- a post-turn LLM call that ran on its own schedule. In v3.0, Prefrontal orchestrates when reflection runs and what context it receives:
v3.1 · 5.4 Fractal Reflection (Orchestrated)In v2.4, the `fractal-reflection` extension operated independently --- a post-turn LLM call that ran on its own schedule. In v3.1, Prefrontal orchestrates when reflection runs and what context it receives:

··· 1 unchanged paragraph folded ···

v3.0 · 5.4 Fractal Reflection (Orchestrated)This orchestration eliminates the "reflection fatigue" identified in v2.4 Section 5.6 --- the problem of mandatory reflection on every turn creating visible latency during rapid exchanges. By matching reflection depth to task complexity, v3.0 preserves compounding while reducing overhead.
v3.1 · 5.4 Fractal Reflection (Orchestrated)This orchestration eliminates the "reflection fatigue" identified in v2.4 Section 5.6 --- the problem of mandatory reflection on every turn creating visible latency during rapid exchanges. By matching reflection depth to task complexity, v3.1 preserves compounding while reducing overhead.

··· 4 unchanged paragraphs folded ···

v3.0 · 6.1 FAAR Improvement Targets| Failure Mode | v2.4 FAAR Impact | v3.0 Mechanism | Target FAAR Delta | |-------------|-------------------|----------------|-------------------| | Fixing without reproducing | -0.08 | debug recipe step gate | +0.06 | | Coding without designing | -0.06 | feature recipe step gate | +0.04 | | Searching without scoping | -0.05 | investigate recipe step gate | +0.03 | | Skipping verification | -0.04 | all recipes include verify step | +0.03 | | **Cumulative** | **-0.23** | | **+0.16** |
v3.1 · 6.1 FAAR Improvement Targets| Failure Mode | v2.4 FAAR Impact | v3.1 Mechanism | Target FAAR Delta | |-------------|-------------------|----------------|-------------------| | Fixing without reproducing | -0.08 | debug recipe step gate | +0.06 | | Coding without designing | -0.06 | feature recipe step gate | +0.04 | | Searching without scoping | -0.05 | investigate recipe step gate | +0.03 | | Skipping verification | -0.04 | all recipes include verify step | +0.03 | | **Cumulative** | **-0.23** | | **+0.16** |
v3.0 · 6.1 FAAR Improvement TargetsThese targets would move the weighted FAAR from 0.90 (v2.4 month 6) to approximately 0.95 --- approaching the ceiling imposed by genuinely novel problems that no recipe can anticipate.
removed in v3.1
not in v3.0
v3.1 · 6.1 FAAR Improvement TargetsThese targets would move the weighted FAAR from 0.90 to ~0.95.

··· 3 unchanged paragraphs folded ···

v3.0 · 6.2 Cost AnalysisEven in the worst case, the overhead is modest relative to the cost savings from improved first-attempt accuracy (fewer retry loops, fewer wasted tool calls, fewer human interventions to correct agent mistakes).
removed in v3.1
not in v3.0
v3.1 · 6.2 Cost AnalysisEven worst-case overhead is modest compared to savings from improved first-attempt accuracy.

··· 8 unchanged paragraphs folded ···

v3.0 · 7. Implementation Status## 7. Implementation Status
removed in v3.1
not in v3.0
v3.1 · 6.5 Failure Modes and Limitations### 6.5 Failure Modes and Limitations
not in v3.0
v3.1 · 6.5 Failure Modes and LimitationsWhile cache-shared orchestration minimizes overhead, it is vulnerable to **cache evictions**. If the session goes dormant and Anthropic evicts the prompt cache, Phase 1 incurs a full context token cost. Furthermore, complex recipes with many parallel subagents can exhaust API rate limits, requiring the orchestrator to pace execution or queue sub-tasks. ## 7. Implementation Status

··· 3 unchanged paragraphs folded ···

v3.0 · 7.1 What Is Built (v2.4 Baseline)Total: ~3,900 lines of TypeScript, 151 tests, 12 test files, 6 RPC endpoints.
v3.1 · 7.1 What Is Built (v2.4 Baseline)Total: ~3,300 lines of TypeScript, 151 tests, 11 test files, 6 RPC endpoints.
v3.0 · 7.2 What Is New in v3.1### 7.2 What Is New in v3.0
v3.1 · 7.2 What Is New in v3.1### 7.2 What Is New in v3.1

··· 15 unchanged paragraphs folded ···

v3.0 · 8. ConclusionThe honest assessment remains that much of v3.0 is specified but not yet implemented. The recipe engine, the orchestrator loop, the subagent supervisor, and the reflection orchestrator exist as designs in this paper, not as code in the repository. The v2.4 baseline --- guards, observability, monitoring --- is live and validated. The v3.0 additions are the next implementation target.
v3.1 · 8. ConclusionThe honest assessment remains that much of v3.1 is specified but not yet implemented. The recipe engine, the orchestrator loop, the subagent supervisor, and the reflection orchestrator exist as designs in this paper, not as code in the repository. The v2.4 baseline --- guards, observability, monitoring --- is live and validated. The v3.1 additions are the next implementation target.
v3.0 · 8. ConclusionBut the architectural insight is clear, and the economic enabler exists. Prompt caching makes orchestration nearly free. The recipe format is defined. The subagent infrastructure is tested. The fractal reflection protocol is proven. What remains is wiring --- connecting components that already exist into the cognitive cycle this paper describes.
v3.1 · 8. ConclusionThe architectural insight is clear: prompt caching makes orchestration nearly free. What remains is wiring existing components into this cognitive cycle.

··· 42 unchanged paragraphs folded ···

v3.0 · Appendix B: Built-in Recipe Index| Recipe | Trigger Patterns | Steps | Key Gate | |--------|-----------------|-------|----------| | debug | "fix", "bug", "error", "broken", stack traces | 6 | Reproduce before fix | | feature | "add", "implement", "build", "create" + scope | 7 | Design before code | | investigate | "why", "what's going on", "look into", "check" | 5 | Scope before search | | refactor | "clean up", "refactor", "reorganise", "simplify" | 6 | Measure before change | | review | "review", "check this", PR URLs, diff blocks | 5 | Read completely before opining | | deploy | "deploy", "release", "ship", "push to prod" | 7 | Verify at every stage |
v3.1 · Appendix B: Built-in Recipe Index| Recipe | Trigger Patterns | Steps | Key Gate | |--------|-----------------|-------|----------| | debug | "fix", "bug", stack traces | 6 | Reproduce before fix | | feature | "add", "implement" | 7 | Design before code | | investigate | "why", "check" | 5 | Scope before search | | refactor | "clean up", "refactor" | 6 | Measure before change | | review | PR URLs, diff blocks | 5 | Read completely before opining | | deploy | "deploy", "release" | 7 | Verify at every stage |

Changed paragraphs in the same form, for scripts: JSON · Markdown