ReadPrintedHistoryCompareGraphs

v8.3 → v8.4

What changed from v8.3 to v8.4

From v8.3 (29 Jul) to v8.4 (25 Nov): 12,413 words to 13,593 words, 1,199 words in new or rewritten paragraphs and 19 taken out, 22 paragraphs changed.

A cheap typed gate decides whether to reflect at all

The paper adds about 1,200 words and one section. A small typed decision model now runs before any reflection and answers fixed questions about the turn; only when it sees something worth keeping does a full model pass run. The folder's notes give the reason: most turns hold nothing to keep, and the cheapest reflection is the one that never runs.

  • New section on the first gate, with its inputs, its questions and the expected cost per turn.
  • The ledger section now uses a stored success, docked or failed record for every reflection call.
  • The abstract, contributions, notation, cost section and conclusion are updated to match.
v8.3 · 29 July 2026v8.4 · 25 November 2026

··· 1 unchanged paragraph folded ···

v8.3 · AbstractLLM agents reason and remember at a single scale, yet the failures that matter — a wrong answer, a habit of wrong answers, a system that produces the habit — live at different scales of the same structure. We propose **Fractal Reasoning**: one reflective operation, *observe – evaluate – adapt*, applied unchanged at every cognitive scale. This is a position paper and deployment post-mortem, not an efficacy result. Its empirical anchor is a personal-agent system whose reflection mechanism failed in successively more revealing ways: a 216-line doctrine produced low-value output, fabricated attribution, was deliberately severed from one prompt channel to protect request routing, and was then replaced by a parallel lane whose ledger exposed a new negative result. As of 29 July 2026 that ledger contains 1,897 rows — 1,849 errors, 48 skips, and no successful verdicts or escalations — so the architecture is code-present but not an operational reflection system. This failure supports a narrower claim: delivery-channel liveness, per-run attribution, and append-only outcome records are necessary for evaluating reflection; it does not show that reflection improves agent performance. A controlled cache probe separately shows that a forked conversation prefix can be served warm (155,495 cached tokens read against 10,877 written). The second half carries forward the **Fractal Memory Index (FMI)** as a pure-theory research agenda whose central experiment remains unrun. Deployment claims are tagged by evidence class, including live negative results.
v8.4 · AbstractLLM agents reason and remember at a single scale, yet the failures that matter — a wrong answer, a habit of wrong answers, a system that produces the habit — live at different scales of the same structure. We propose **Fractal Reasoning**: one reflective operation, *observe – evaluate – adapt*, applied unchanged at every cognitive scale. This is a position paper and deployment post-mortem, not an efficacy result. Its empirical anchor is a personal-agent system whose reflection mechanism failed in successively more revealing ways: a 216-line doctrine produced low-value output, fabricated attribution, was deliberately severed from one prompt channel to protect request routing, and was then replaced by a parallel lane whose ledger exposed a new negative result. As of 29 July 2026 that ledger contains 1,897 rows — 1,849 errors, 48 skips, and no successful verdicts or escalations — so the architecture is code-present but not an operational reflection system. This failure supports a narrower claim: delivery-channel liveness, per-run attribution, and append-only outcome records are necessary for evaluating reflection; it does not show that reflection improves agent performance. We also design a cheap first gate: a typed decision model reads a compact summary of each finished turn and launches the full reflection only when it names something worth doing, with an audit sample that counts what it misses. A controlled cache probe separately shows that a forked conversation prefix can be served warm (155,495 cached tokens read against 10,877 written). The second half carries forward the **Fractal Memory Index (FMI)** as a pure-theory research agenda whose central experiment remains unrun. Deployment claims are tagged by evidence class, including live negative results.

··· 8 unchanged paragraphs folded ···

v8.3 · 1.1 Contributions1. **A unified metacognition ladder** (L0–L3) with one reflective template at every rung, including the pre-task retrieval-confidence check (L0) that single-level agents skip, and a **horizontal consequence scan** orthogonal to the vertical zoom (§2). 2. **A doctrine succession record**: the complete first-generation prompt (Appendix A), its failure modes, and the 81-line owner-commissioned successor's shift from a seven-question checklist to eight hard rules (§3, §A). 3. **A deployment post-mortem** of prompt-only metacognition: how it degraded, how its self-reported telemetry was discovered to be fabricated, and the corrected thesis — *prompting expresses the levels; only structure enforces them* (§3.3). 4. **A live negative result**: the parallel lane writes an observable ledger but has yet to produce one successful verdict; the ledger therefore validates observability, not reflection efficacy (§4–§6). 5. **A constitution-conformance method**: the system's own design constitution is fractal ("derive every bound from the live situation; a frozen threshold is a bug"), and we report a same-day audit in which the reflection layer's *own design* was caught violating it in 22 places — the framework catching itself, at the meta-level the framework predicts (§7). 6. **The storage-side instance**: FMI — buffered consolidation, Hilbert-curve multi-resolution retrieval, IFS compression — condensed to its complexity results and its falsifiable core experiment (§9). 7. **An evidence-class discipline** for deployment claims, applied to this report's own previous edition (§8).
v8.4 · 1.1 Contributions1. **A unified metacognition ladder** (L0–L3) with one reflective template at every rung, including the pre-task retrieval-confidence check (L0) that single-level agents skip, and a **horizontal consequence scan** orthogonal to the vertical zoom (§2). 2. **A doctrine succession record**: the complete first-generation prompt (Appendix A), its failure modes, and the 81-line owner-commissioned successor's shift from a seven-question checklist to eight hard rules (§3, §A). 3. **A deployment post-mortem** of prompt-only metacognition: how it degraded, how its self-reported telemetry was discovered to be fabricated, and the corrected thesis — *prompting expresses the levels; only structure enforces them* (§3.3). 4. **A live negative result**: the parallel lane writes an observable ledger but has yet to produce one successful verdict; the ledger therefore validates observability, not reflection efficacy (§4–§6). 5. **A constitution-conformance method**: the system's own design constitution is fractal ("derive every bound from the live situation; a frozen threshold is a bug"), and we report a same-day audit in which the reflection layer's *own design* was caught violating it in 22 places — the framework catching itself, at the meta-level the framework predicts (§7). 6. **The storage-side instance**: FMI — buffered consolidation, Hilbert-curve multi-resolution retrieval, IFS compression — condensed to its complexity results and its falsifiable core experiment (§9). 7. **An evidence-class discipline** for deployment claims, applied to this report's own previous edition (§8). 8. **A typed first gate** that decides from records, before any LLM pass, whether a turn deserves a reflection, with the audit sample, labels and baseline that would show what it misses (§4.5).

··· 1 unchanged paragraph folded ···

v8.3 · 1.2 Notation and terms| Term | Meaning | | --- | --- | | *Turn* | One user request → assistant answer cycle | | *Main lane* | The execution path that produces the user-visible answer | | *Reflection lane* | A parallel execution path, with its own run identity, that judges a finished turn | | *Triage* | The cheap, every-turn, read-only reflection pass | | *Fix lane* | The expensive, escalated pass that acts on a triage finding | | *Ledger* | The append-only record of every reflection outcome | | *L0–L3* | The metacognition ladder rungs (§2.1) | | n, D, d, B, ε, L, k, τ_ℓ | FMI notation, unchanged from §9 |
v8.4 · 1.2 Notation and terms| Term | Meaning | | --- | --- | | *Turn* | One user request → assistant answer cycle | | *Main lane* | The execution path that produces the user-visible answer | | *Reflection lane* | A parallel execution path, with its own run identity, that judges a finished turn | | *Gate* | A typed decision, made before any LLM pass, on whether a turn deserves a reflection at all (§4.5) | | *Triage* | The cheap, read-only reflection pass on a turn the gate let through | | *Fix lane* | The expensive, escalated pass that acts on a triage finding | | *Ledger* | The append-only record of every reflection outcome | | *L0–L3* | The metacognition ladder rungs (§2.1) | | n, D, d, B, ε, L, k, τ_ℓ | FMI notation, unchanged from §9 |

··· 52 unchanged paragraphs folded ···

v8.3 · 4.1 Architecture``` user turn ──▶ main lane (runId R_main) ──▶ answer streams to UI │ │ turn-end hook (fire-and-forget) ▼ ┌─────────────────────────────────────────────┐ │ Reflection plugin │ │ loop guard (self-minted run identity) │ │ governor (derived pressure — §4.4) │ │ spawn TRIAGE (own runId, own lane, │ │ low thinking, READ-ONLY by tool denial, │ │ forked warm from the main session) │ └─────────────────────────────────────────────┘ │ verdict: clean | act:<finding+evidence> | gap ▼ on a find: re-verify the evidence on disk (one file read), then spawn FIX lane (own runId, max thinking, full tools under write-leases; turn budget = derived, ceiling-capped) │ ▼ ledger row appended (always — including skips and errors); structured event docks a collapsed verdict block under the exact answer it judged, attributed from real tool records ```
v8.4 · 4.1 Architecture``` user turn ──▶ main lane (runId R_main) ──▶ answer streams to UI │ │ turn-end hook (fire-and-forget) ▼ ┌─────────────────────────────────────────────┐ │ Reflection plugin │ │ loop guard (self-minted run identity) │ │ governor (derived pressure — §4.4) │ │ GATE: typed decision on a compact turn │ │ state (§4.5); "no" → recorded skip │ │ spawn TRIAGE (own runId, own lane, │ │ low thinking, READ-ONLY by tool denial, │ │ forked warm from the main session) │ └─────────────────────────────────────────────┘ │ verdict: clean | act:<finding+evidence> | gap ▼ on a find: re-verify the evidence on disk (one file read), then spawn FIX lane (own runId, max thinking, full tools under write-leases; turn budget = derived, ceiling-capped) │ ▼ ledger row appended (always — including skips and errors); structured event docks a collapsed verdict block under the exact answer it judged, attributed from real tool records ```

··· 1 unchanged paragraph folded ···

v8.3 · 4.1 Architecture- **Parallel, never blocking.** The reflection runs on its own run identity in a dedicated lane; the user's next message proceeds concurrently. The interrupting-racer class of bug is structurally impossible — the reflection never touches the main lane's queue. - **Always-fire, prove-it-first.** Version 1 reflects on every user-visible turn. Selective gating is deferred until the ledger can *show* what gating would discard — and when it returns it must be a derived judgment surfaced as a recorded skip, never a silent prompt-side decision. - **Two-phase thinking (design target).** Triage uses a low thinking budget; a finding should escalate to a *fresh* maximum-thinking fix lane. On this harness a worker's thinking budget is pinned at spawn, so escalation requires a new spawn. - **Structural read-only triage.** The triage worker's editing tools are removed at spawn. "Triage never edits" is physics, not obedience — and it keeps attribution trivially honest, since any file change observed under the triage run identity would be an alarm, not a judgment call. The enforcement primitive this rests on is no longer a design assertion: a sister subsystem in the same host — a *danger floor* that refuses destructive tool calls before they run — went live denying tool calls at a native `PreToolUse` hook *under `bypassPermissions`*, the hardest case, where the worker cannot talk its way around the deny. The host honors a `{block}`/deny at `PreToolUse`, which is the exact precondition every "by tool denial" claim in this section depends on. Two independent subsystems now ride the same deny mechanism — reflection's read-only triage and the danger floor — which promotes the enforcement claim from a single-instance design choice to a platform fact, and retires the earlier worry that host-side tool enforcement was an observe-only physics limit. - **Evidence before expense.** A triage finding must carry falsifiable evidence including a verbatim quote from disk; the plugin re-reads the file and confirms the quote *before* paying for the fix lane. A hallucinated or already-fixed finding dies for the price of one file read, recorded as an abstention. (Already-fixed findings recur structurally: the triage lane's forked context never contains the fix lane's edits — the cheap pre-verify converges them to abstentions.) - **Verify after acting.** After the fix lane edits, the cheapest relevant check runs — and its kind and result are stamped on the ledger row. A verification that matched zero tests is recorded as `none`, never as a pass. - **Honest attribution (design target).** "Reflection changed X / the main turn changed Y" must derive from persisted per-run tool records, never from prose. With no successful verdict, the end-to-end join remains unvalidated. - **Graceful exhaustion.** The fix lane's turn budget is derived per-finding and capped by a ceiling; running out is not an error but a recorded partial: status `flagged`, `incomplete:true`, artifacts listed, verifier still run — resumable by the next pass. Hard-aborting in-flight work to honor a number is, by the host constitution, a bug (§7).
v8.4 · 4.1 Architecture- **Parallel, never blocking.** The reflection runs on its own run identity in a dedicated lane; the user's next message proceeds concurrently. The interrupting-racer class of bug is structurally impossible — the reflection never touches the main lane's queue. The same holds for the processor: the reflection worker runs at background CPU weight, one tenth of a chat worker's, so under contention it gets about 1/11 of the CPU it shares with a chat and finishes later. It is never frozen, and on an idle host it runs at full speed. The user's next turn always wins the race for the machine. - **Every turn gets a decision, not every turn gets a reflection.** The first version reflected on every user-visible turn, so that the ledger could later *show* what selective gating would discard. Gating now returns as the typed first gate of §4.5: a derived judgment whose "no" is a recorded skip, never a silent prompt-side decision, and whose misses are counted by an audit sample. - **Two-phase thinking (design target).** Triage uses a low thinking budget; a finding should escalate to a *fresh* maximum-thinking fix lane. On this harness a worker's thinking budget is pinned at spawn, so escalation requires a new spawn. - **Structural read-only triage.** The triage worker's editing tools are removed at spawn. "Triage never edits" is physics, not obedience — and it keeps attribution trivially honest, since any file change observed under the triage run identity would be an alarm, not a judgment call. The enforcement primitive this rests on is no longer a design assertion: a sister subsystem in the same host — a *danger floor* that refuses destructive tool calls before they run — went live denying tool calls at a native `PreToolUse` hook *under `bypassPermissions`*, the hardest case, where the worker cannot talk its way around the deny. The host honors a `{block}`/deny at `PreToolUse`, which is the exact precondition every "by tool denial" claim in this section depends on. Two independent subsystems now ride the same deny mechanism — reflection's read-only triage and the danger floor — which promotes the enforcement claim from a single-instance design choice to a platform fact, and retires the earlier worry that host-side tool enforcement was an observe-only physics limit. - **Evidence before expense.** A triage finding must carry falsifiable evidence including a verbatim quote from disk; the plugin re-reads the file and confirms the quote *before* paying for the fix lane. A hallucinated or already-fixed finding dies for the price of one file read, recorded as an abstention. (Already-fixed findings recur structurally: the triage lane's forked context never contains the fix lane's edits — the cheap pre-verify converges them to abstentions.) - **Verify after acting.** After the fix lane edits, the cheapest relevant check runs — and its kind and result are stamped on the ledger row. A verification that matched zero tests is recorded as `none`, never as a pass. - **Honest attribution (design target).** "Reflection changed X / the main turn changed Y" must derive from persisted per-run tool records, never from prose. With no successful verdict, the end-to-end join remains unvalidated. - **Graceful exhaustion.** The fix lane's turn budget is derived per-finding and capped by a ceiling; running out is not an error but a recorded partial: status `flagged`, `incomplete:true`, artifacts listed, verifier still run — resumable by the next pass. Hard-aborting in-flight work to honor a number is, by the host constitution, a bug (§7).

··· 4 unchanged paragraphs folded ···

not in v8.3
v8.4 · 4.2 The ledger: immune memory as negative evidenceThe rows above had to be counted by reading logs, which is slow and easy to get wrong. The design therefore adds a second, coarser record: every reflection call writes exactly one durable outcome row to an events database, labelled `success` (a verdict came back), `docked` (the verdict was also attached under the answer it judged) or `failed`, with the duration of the whole call. Every failing return goes through one error-row path, so no failure can leave the call without a row. The success rate and the docked rate per day then become a query over that table, not a reconstruction from logs. This rate is the baseline against which the gate of §4.5 is measured.

··· 11 unchanged paragraphs folded ···

not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection### 4.5 The first gate: a typed decision before any reflection
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflectionThe warm fork of §5 makes each triage cheap, but it is still a full LLM pass, and most turns hold nothing worth keeping. The successor doctrine says so itself: a turn with nothing to keep gets one line, not a manufactured reflection. The cheapest reflection is the one that never runs. So the design puts a gate in front of triage, and the gate is not an LLM.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**The gate model.** A small typed decision model reads a structured state and answers a fixed list of typed questions: yes/no, a choice among up to 255 named options, or a score, each with a confidence. Its input is a few thousand tokens. At that size we estimate a call at about $0.0001 and 0.3 s, against a full triage pass that re-reads the whole conversation.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**The state is computed, not the transcript.** The gate sees the principal's message, the final reply, this turn's tool calls and their results (tool names, exit status, files written and their modification times), any corrections in recent turns, the list of known failure classes, and recent memory writes. Every field comes from records, so the gate judges what happened, not what the reply says happened.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**The questions.**
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection| Question | Type | What a "yes" means | | --- | --- | --- | | `worth_a_reflection` | yes/no | The turn holds something a reflection should act on | | `faculty` | choice | Which kind of work: memory, ripple, recipe, preempt, unattended, self-heal, census, delivery channel, or none | | `principal_corrected_me` | yes/no | The principal corrected the agent in this turn | | `recurrence_of_known_class` + `which_class` | yes/no + choice | A known failure class appeared again, and which one | | `claim_without_record` | yes/no | The reply claims work that the tool records do not show | | `stored_claim_contradicted` | yes/no | Something observed this turn contradicts a stored note | | `world_moved` | yes/no | An outside fact the agent relies on has changed | | `delivery_failure_reported` | yes/no | Someone reported that a message or file did not arrive | | `expected_value` | score | How much a reflection on this turn is worth |
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflectionThe known failure classes fit in one choice question, so "second sighting of class K" becomes a lookup, not a hope. That is the L3 recurrence rule of §2.1 at the price of one field.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**What a "yes" launches.** When the gate says yes, the triage turn starts with a brief, not an open "reflect on everything": *a finding was seen in the last turn (the finding, its confidence, its evidence); leave the durable change on disk, then report it.* An open brief invites filler and makes the reflection rediscover what happened. A typed finding gives it one job and makes attribution easier, because the reflection knows what it was sent to do. The attribution rules of §4.1 do not change.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**What a "no" costs.** A "no" writes a recorded skip with the gate's answers, so a skipped turn is still a ledger row and the missed-turns invariant of §4.2 still holds.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**Controls against misses.** A gate that is never checked would hide its own errors, which is the failure §3.2 describes. Three controls:
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection1. **Audit sample.** On a small random share of the turns the gate turns down, about 5 %, the full reflection runs anyway. What it finds there is what the gate missed. 2. **Labels.** A miss is a lesson the principal later has to teach that a reflection should have caught. A false alarm is a launched reflection that wrote nothing durable. 3. **Learning.** A nightly consolidation pass rewrites the gate's question texts from those labels, the way sleep consolidates a day's experience. The question list stays fixed; only the wording that steers the model changes.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**One call, not two.** At the end of a turn the host already calls the same decision model to check whether the reply claims work that the tool records do not show. The gate's questions ride on that call; `claim_without_record` is the question both uses share.
not in v8.3
v8.4 · 4.5 The first gate: a typed decision before any reflection**How to tell whether it helps.** Compare the gated lane against the ungated one on four numbers: LLM tokens per 100 turns, durable changes per 100 turns, how often the principal must re-teach something the reflection should have caught, and the share of reflections that are filler. The per-call outcome rows of §4.2 supply the ungated baseline. Until the ungated lane returns successful verdicts, that baseline is zero, and a comparison against it says nothing. So the gate's test comes after the lane's repair.

··· 7 unchanged paragraphs folded ···

not in v8.3
v8.4 · 5. Measured economics: reflection at one-tenth priceCost and latency are different questions. Because the reflection worker runs at background CPU weight (§4.1), its wall-clock time depends on what else the host is doing: on an idle host it runs at full speed, and next to a busy chat it gets about 1/11 of the shared CPU. Any reflection latency figure must therefore state whether the host was contended, or it measures the neighbours rather than the reflection.

··· 14 unchanged paragraphs folded ···

v8.3 · 8. Evidence classes, including this report's own corrections| Class | Meaning | Examples in this report | | --- | --- | --- | | **Live-and-verified** | Measured on the running system | Warm-fork probe (§5); doctrine severance and its source comment; 1,897-row ledger failure distribution (§4.2); the `PreToolUse` deny primitive in the sister danger floor | | **Code-present, live negative** | Executes or records attempts, but the intended outcome has not succeeded | Parallel triage lane: 1,849 errors, 48 skips, zero verdicts or escalations as of 29 July 2026 | | **Code-present, unverified** | Exists in the tree; never observed firing live | Link layer; episode detection; deliberation engine | | **Design-of-record** | Owner-approved design not yet observed end to end | Ledger KPIs beyond failure counting; successful tool-record attribution; recurrence-driven L3; governor; ratification queue | | **Pure theory** | No implementation claim made | IFS semantic compression (§9.3); the compression-ratio analysis |
v8.4 · 8. Evidence classes, including this report's own corrections| Class | Meaning | Examples in this report | | --- | --- | --- | | **Live-and-verified** | Measured on the running system | Warm-fork probe (§5); doctrine severance and its source comment; 1,897-row ledger failure distribution (§4.2); the `PreToolUse` deny primitive in the sister danger floor | | **Code-present, live negative** | Executes or records attempts, but the intended outcome has not succeeded | Parallel triage lane: 1,849 errors, 48 skips, zero verdicts or escalations as of 29 July 2026 | | **Code-present, unverified** | Exists in the tree; never observed firing live | Link layer; episode detection; deliberation engine | | **Design-of-record** | Owner-approved design not yet observed end to end | Ledger KPIs beyond failure counting; successful tool-record attribution; recurrence-driven L3; governor; ratification queue; per-call outcome rows (§4.2); the typed first gate and its audit sample (§4.5) | | **Pure theory** | No implementation claim made | IFS semantic compression (§9.3); the compression-ratio analysis |

··· 22 unchanged paragraphs folded ···

v8.3 · 11. ConclusionIn thought, the ladder L0–L3 applies one reflective template at every scale. The deployed history supports a systems lesson rather than an efficacy claim: doctrine delivery must be monitored per channel, attribution must derive from tool records, and every attempted outcome must leave a ledger row. The current ledger's uninterrupted failure is useful evidence precisely because it prevents the implementation from being mistaken for a working reflection system. Whether successful reflection improves agent behavior remains untested. In storage, the same principle motivates multi-resolution memory, but its central compression hypothesis also remains untested. And in governance, a fractal constitution — derive everything from the live situation; frozen numbers are at most ceilings — caught its own implementation violating it twenty-two times in one documented audit.
v8.4 · 11. ConclusionIn thought, the ladder L0–L3 applies one reflective template at every scale. The deployed history supports a systems lesson rather than an efficacy claim: doctrine delivery must be monitored per channel, attribution must derive from tool records, and every attempted outcome must leave a ledger row. The design also argues that the cheapest reflection is the one not run: a typed gate that decides from records which turns need one, with an audit sample to count what it misses. The current ledger's uninterrupted failure is useful evidence precisely because it prevents the implementation from being mistaken for a working reflection system. Whether successful reflection improves agent behavior remains untested. In storage, the same principle motivates multi-resolution memory, but its central compression hypothesis also remains untested. And in governance, a fractal constitution — derive everything from the live situation; frozen numbers are at most ceilings — caught its own implementation violating it twenty-two times in one documented audit.

··· 111 unchanged paragraphs folded ···

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