# Fractal Reasoning: v7.2 → v7.3

From v7.2 (2 Jun) to v7.3 (2 Jun): 8,162 words to 8,244 words, 144 words in new or rewritten paragraphs and 62 taken out, 7 paragraphs changed.

## Change note of v7.3

**Worked example of a query through the whole pipeline**

A small revision. The integrated architecture section now follows one query, "that security incident last month", from the moment it is written to the moment it is found. The interface for existing retrieval pipelines becomes a list of four operations, and the figure changes from raw LaTeX to a plain image link.

## Changed paragraphs

Marks: [-removed-] {+added+}.

### 3. The Fractal Memory Index Architecture

[-```{=latex} \begin{figure}[htbp] \centering \includegraphics[width=\linewidth,height=0.85\textheight,keepaspectratio]{images/fmi-architecture.png} \caption{FMI-] {+![FMI+} consolidation-and-retrieval pipeline: input memories flow through the write buffer, periodic consolidation (clustering, summarization, IFS compression), and the Hilbert-curve multi-resolution index; queries traverse the index once and return ranked results at the requested [-granularity.} \label{fig:fmi-architecture} \end{figure} ```-] {+granularity.](images/fmi-architecture.png)+}

### 3.4 Integrated Architecture

{+To make the pipeline concrete, trace the query "that security incident last month" — the case a flat index cannot answer (§5.5). At ingest, each turn that mentioned the incident landed in the write buffer as a raw event. A later consolidation cycle clustered those turns by embedding similarity, summarized the cluster into a single gist ("the incident"), and wrote that gist into HMRI as a concept-level node sitting above its constituent events on the Hilbert curve. At query time, the embedding of the query resolves to that concept node in one traversal; the Hilbert locality property then pulls the surrounding event-level turns from the adjacent interval without a second search. The agent receives the abstraction and its supporting detail together, assembled once at consolidation time rather than reconstructed on every read.+}

### 6.3 Integration with Existing Systems

[-FMI is designed as a drop-in replacement for the retrieval backend in existing RAG pipelines. The interface is small: an `add` operation that appends to the write buffer in O(1); a `query` operation that takes a query embedding, a list of resolution levels, and a top-k bound, and returns ranked results across those levels; a `consolidate` operation that triggers a consolidation cycle (optionally aggressive); and a `stats` operation that reports the measured fractal dimension, compression ratio, and memory usage. A pipeline already calling a vector store's add/query can adopt FMI by widening `query` to accept resolution levels — single-level callers keep working unchanged, since standard RAG is the L = 1 special case (§5.4).-]

### 6.3 Integration with Existing Systems

{+FMI is designed as a drop-in replacement for the retrieval backend in existing RAG pipelines. The interface is small — four operations:+}

### 6.3 Integration with Existing Systems

{+- `add`: append to the write buffer in O(1). - `query`: take a query embedding, a list of resolution levels, and a top-k bound; return ranked results across those levels. - `consolidate`: trigger a consolidation cycle (optionally aggressive). - `stats`: report the measured fractal dimension, compression ratio, and memory usage.+}

### 6.3 Integration with Existing Systems

{+A pipeline already calling a vector store's add/query can adopt FMI by widening `query` to accept resolution levels. Single-level callers keep working unchanged, since standard RAG is the L = 1 special case (§5.4).+}

### 9. Fractal Metacognition

[-```{=latex} \begin{figure}[htbp] \centering \includegraphics[width=\linewidth,height=0.85\textheight,keepaspectratio]{images/metacognition-levels.png} \caption{Fractal-] {+![Fractal+} Metacognition levels: a stack from Level 0 (retrieval confidence) through Level 1 (task), Level 2 (process), and Level 3+ (meta-pattern), where each level applies the same observe-evaluate-adapt operation to the output of the level below, and higher levels fire more [-rarely.} \label{fig:metacognition-levels} \end{figure} ```-] {+rarely.](images/metacognition-levels.png)+}
