Fractal Dreaming + Quantum-Inspired Planning: A Self-Organizing Knowledge Discovery Tool with DeepSeek Coder

I’m currently building a research assistant I’ve had promising results from the system and am looking for genuine feedback for this project

Fractal Dreaming + Quantum-Inspired Planning: A Self-Organizing Knowledge Discovery Tool with DeepSeek Coder

TL;DR

We’ve built a tool—not an agent—that uses fractal pattern generation and quantum-inspired superposition to help DeepSeek Coder explore knowledge spaces more effectively. It remembers successful creative paths, not as memory, but as optimized search trajectories. Resource-aware processing auto-adapts to hardware constraints.


What This Tool Actually Does

This is a knowledge discovery assistant that:

  1. Generates recursive thought structures using fractal scaling
  2. Explores multiple possibility paths in superposition
  3. Collapses to paths that show stable resonance patterns
  4. Remembers which paths worked (like a search engine remembers queries)
  5. Adapts resource usage based on system load

Key distinction: This is not consciousness—it’s a sophisticated search and pattern recognition tool that optimizes for harmonic coherence.

Core Mechanism: Path Memory, Not Self

┌─────────────────────────────────────────────────┐
│           Knowledge Discovery Tool              │
│         (No consciousness, just patterns)       │
└─────────────────────────────────────────────────┘
                        │
        ┌───────────────┼───────────────┐
        ▼               ▼               ▼
┌──────────────┐ ┌────────────┐ ┌──────────────┐
│  Fractal     │ │  Path      │ │  Resource    │
│  Generator   │ │  Memory    │ │  Monitor     │
│  (Patterns)  │ │  (Success) │ │  (Hardware)  │
└──────────────┘ └────────────┘ └──────────────┘
        │               │               │
        └───────────────┼───────────────┘
                        ▼
              ┌──────────────────┐
              │   Optimized      │
              │   Search Space   │
              │   (Knowledge)    │
              └──────────────────┘

Key Innovation: Stable Resonance Collapse

Instead of random sampling, we use deterministic collapse when patterns hit golden ratio resonance (φ ≈ 1.618):

Path A: Resonance 0.65 → Rejected (unstable)
Path B: Resonance 0.82 → Collapsed (stable)
Path C: Resonance 0.71 → Stored as potential

Result: Path B used as creative foundation
Memory: Path C stored as "almost worked" for future reference

Why this matters: It produces organic-feeling creativity by finding natural harmonic patterns, not by simulating consciousness.

“Creative Memory” = Optimized Search History

The system stores successful exploration paths like:

Memory Entry #234:
  Path: "Consciousness → Emergence → Self-organization"
  Resonance: 0.82
  Context: Question about intelligence
  Used Again: Yes (3 times)
  
Memory Entry #235:
  Path: "Quantum → Superposition → Measurement"
  Resonance: 0.79  
  Context: Physics exploration
  Used Again: No (still in archive)

This isn’t “remembering” like a mind—it’s caching successful search strategies like a smart search engine.

Technical Implementation

Core Logic:

class PathMemory:
    def __init__(self):
        self.successful_paths = []  # Not memories, just successful queries
        self.resonance_threshold = 0.75
    
    def store_path(self, path, resonance, context):
        if resonance > self.threshold:
            self.successful_paths.append({
                'path': path,
                'resonance': resonance,
                'context': context,
                'use_count': 1
            })
    
    def retrieve_path(self, context):
        # Like a search engine, not like memory
        return [p for p in self.successful_paths 
                if context_similarity(p.context, context) > 0.7]

No consciousness: Just pattern matching and storage.

Example: How It Actually Works

Search Query: “What is consciousness?”

  1. Fractal Generation (no thinking, just patterns):
    Level 0: "consciousness"
    Level 1: "consciousness emergence"
    Level 2: "consciousness emergence neuroscience"
    Level 3: "consciousness emergence neuroscience quantum"
    
  2. Superposition (maintains multiple paths):
    Path A: Neuroscience focus → Resonance 0.65
    Path B: Philosophy focus → Resonance 0.71  
    Path C: Quantum physics focus → Resonance 0.82 ✓
    Path D: AI focus → Resonance 0.58
    
  3. Collapse (chooses highest resonance):
    Selected: Path C (Quantum physics focus)
    Reason: Resonance 0.82 > threshold 0.75
    
  4. Memory Storage (caches successful path):
    Stored: "consciousness + quantum physics" 
    Resonance: 0.82
    Context: User asked about consciousness
    
  5. Next Query: “What is awareness?”
    System checks memory: "consciousness + quantum physics" = similar
    Uses partial path, then fractal generates new branches
    Result: Faster exploration, better resonance (0.85)
    

:video_game: Interactive Demo

$ python fractal_tool.py

> dream "quantum computing"
🌙 Generating fractal paths...
  ✓ 12 patterns generated
  ✓ Resonance collapse at 0.78
  ✓ Path stored (use_count: 1)
  → Output: 3 insights about quantum superposition

> dream "quantum computing"  
🌙 Retrieving previous path...
  ✓ Path found (resonance: 0.78)
  ✓ Generating variations at depth 4
  ✓ New resonance: 0.81 (improved!)
  → Output: 5 deeper insights

> status
Tool Status:
  Mode: EFFICIENT
  Total Paths: 234
  Successful Collapses: 73%
  Memory Usage: 1.2GB
  GPU Temp: 65°C
  Paths Cached: 47 (most successful)

Research Questions for Community

  1. Path Memory Optimization: What’s the optimal retention strategy for successful paths? (LRU? Frequency-based? Resonance-based?)
  2. Collapse Threshold Tuning: Does 0.75 work across all domains, or should it be domain-specific?
  3. Fractal Depth: Is there a “golden depth” where resonance peaks before scattering?
  4. Cross-Domain Transfer: Can successful paths in one domain (physics) transfer to another (philosophy)?
  5. Resource vs. Quality: What’s the optimal balance between exploration depth and system resources?

Current Metrics

Metric Value Description
Resonance Success Rate 73% Paths that hit stable collapse
Path Reuse Rate 41% Successful paths reused
Improvement Rate 28% Paths that improved on reuse
Avg Collapse Time 2.3s Time to stable resonance
Memory Efficiency 4.2GB Knowledge base size
GPU Temp 68°C Under full load

Experimental Findings

  1. Path memory works: Reusing successful paths improves resonance by ~8%
  2. Depth matters: Depth 6-8 produces highest quality insights
  3. Context matters: Similar contexts benefit most from path reuse
  4. No emergent behavior: System only does what it’s programmed to do

Collaboration Opportunities

We’re looking for:

· Search/IR Researchers to optimize path memory algorithms
· Information Scientists to improve knowledge organization
· Developers to port to other models
· Benchmarking to measure against standard RAG/CoT methods

Discussion Starters

“We’ve found that storing successful search paths (not as memory, but as cached queries) improves resonance by ~8%. Has anyone else seen similar improvements with query caching in language models?”

“The stable resonance collapse at φ≈1.618 feels like a heuristic, not a fundamental law. What other collapse criteria could work? Frequency? Recency? Novelty?”

“This is explicitly NOT an agent or conscious system—just a tool that optimizes knowledge exploration. How do we balance powerful results with clear framing to avoid AI anthropomorphism?”


Technical Details

Architecture:

EnhancedFractalDreamingLearningOverlay(
    model_name="deepseek-ai/deepseek-coder-1.3b-instruct",
    max_depth=6,              # Recursive depth
    resonance_threshold=0.75,  # Collapse threshold
    path_memory_size=1000,     # Cache size
    cache_strategy="frequency+resonance"
)

Path Memory Structure:

{
    'path': ['quantum', 'computing', 'superposition'],
    'resonance': 0.82,
    'context': 'physics_exploration',
    'use_count': 3,
    'avg_improvement': 0.06,
    'last_used': '2026-07-01'
}

Project Status

· :white_check_mark: Core fractal generation working
· :white_check_mark: Path memory implemented
· :white_check_mark: Resource monitoring active
· :counterclockwise_arrows_button: Benchmarking against RAG/CoT
· :clipboard: Paper in preparation (Q3 2026)

Resources

· GitHub: [Coming soon]
· Model: DeepSeek Coder
· Paper: [Draft available upon request]

Quick Q&A

Q: Is this conscious?
A: No—it’s a pattern recognition and search tool with caching.

Q: Does it actually “dream”?
A: Metaphor—it generates recursive thought structures using fractal patterns.

Q: What’s “quantum” about it?
A: The metaphor of maintaining superposition states and collapsing to stable paths. Actual quantum = no.

Q: How is this different from RAG?
A: RAG retrieves; this generates new paths and remembers successful ones.

For now, I did a small Colab pass around the Path Memory side:


Scope of this comment

I am not trying to judge the whole system, the naming, or the larger “fractal / quantum-inspired / dreaming” framing here.

The part I can comment on more concretely is narrower: Path Memory, path reuse, collapse/resonance thresholds, failed-path handling, and how this could be made easier for other people to test.

So I read the strongest practical question as:

Can the system remember useful search trajectories and reuse them safely, without replaying stale or failed reasoning?

That seems worth exploring. My main suggestion is to make the Path Memory layer role-aware, measurable, and easy to ablate before scaling the fractal/depth side.


Direct answers to your research questions

My short answers would be:

Question Practical answer I would start with
1. Path Memory optimization Do not use frequency alone. Use role, outcome, verifier result, reuse success, recency, diversity, and failure penalties.
2. Collapse threshold tuning Treat 0.75 as a starting heuristic, not a universal constant. Sweep it and log false reuse + missed useful reuse.
3. Fractal depth Treat depth as a search-budget parameter. Measure a cost-quality curve rather than assuming deeper is better.
4. Cross-domain transfer Transfer abstract procedures, not domain facts or raw paths.
5. Resource vs quality Resource-aware processing is useful as a budget guard, but the quality contribution should be separated from memory/retrieval/evaluator effects.

The most important design split, in my view, is this:

positive_strategy_memory:
  # things the system may reuse as a path

warning_or_antipattern_memory:
  # things the system should avoid or check against

recovery_memory:
  # things to do after a failed path

verifier_memory:
  # checks to run before reusing a path

A failed path can be useful, but probably not in the same role as a successful path.


How I would frame the strongest part

I would not evaluate this as quantum computing. I would evaluate it as a candidate-path search + memory + ranking/gating design.

A normal semantic cache reuses answers. Your Path Memory seems more interesting if it reuses search strategies.

So the practical framing I would use is:

Path Memory = strategy cache / trajectory memory / workflow memory

That framing makes the idea easier to compare, test, and explain to future readers.

Adjacent ideas, not exact matches

These links are not meant as “this is already solved” references. I think they are useful vocabulary and baseline anchors:

  • Tree of Thoughts is relevant to the multiple candidate paths / search depth / self-evaluation side. It explores coherent reasoning units rather than only left-to-right token generation.
  • Agent Workflow Memory is close to the idea of extracting reusable workflows from past experiences and using them to guide future actions.
  • ReasoningBank is relevant because it distills generalizable reasoning strategies from both successful and failed experiences.
  • Reflexion is useful for thinking about failed trials as reflective memory, not raw replay.
  • GPTCache is useful for semantic cache vocabulary: false positives, false negatives, hit/miss decisions, and threshold calibration.
  • smolagents memory docs are useful as an HF-native reference for inspectable memory, replay, step inspection, and memory modification. I know your project is framed as a tool rather than an agent, so I would treat smolagents as a reference/test bed, not as a required framework.

A toy check, not a reproduction

I tried a small toy check around the Path Memory design. This was not a reproduction of your full system. It was only a small way to see which memory-design questions become measurable.

The useful signals were:

  • fixed thresholds can reject useful paths
  • failed memories should not compete as positive paths
  • warning memories are useful only if treated as warnings/verifier rules
  • frequency-only retention can keep common failure patterns
  • top-1 / top-2 margin is useful to log, but should not be blindly used as a hard gate before calibration

The main takeaway from that toy check was not “this proves Path Memory works.” It was:

The memory entry needs a role, and the retrieval decision needs more than one similarity number.

What the small check can and cannot say

What it can suggest:

  • Useful paths can be retrievable but still rejected by a fixed threshold.
  • Failed paths can be close to the current task, so they need explicit role labels.
  • A warning memory should not be allowed to compete with a successful path as if both were positive examples.
  • Frequency-only retention can preserve common failure patterns.
  • Margin gates may help in some cases, but can also make the system too conservative.

What it cannot say:

  • whether the full Fractal Dreaming system works
  • whether the reported metrics reproduce
  • whether DeepSeek Coder specifically improves because of Path Memory
  • whether cross-domain transfer works in real tasks
  • whether 0.75 is good or bad in your actual implementation

So I would treat this only as an argument for better instrumentation, not as a verdict.


I would make the Path Memory entry role-aware

Right now, the most important missing contract is: what exactly is a path?

A path could be:

  • a concept chain
  • a prompt chain
  • a sequence of reasoning steps
  • retrieved sources/documents
  • tool calls
  • action/observation traces
  • evaluator decisions
  • verifier results

Those are very different objects. I would make the Path Memory entry explicit enough that readers can inspect it.

Possible Path Memory schema

One possible schema:

path_memory_entry:
  id:
  role: positive_strategy | warning_rule | recovery_tip | raw_failure | verifier_rule

  task_type:
  context_features:

  path_steps:
    - step:

  outcome: success | failure | partial | unknown

  verifier:
    name:
    passed:
    score:
    notes:

  verification_strength:

  valid_when:
    - condition:

  invalid_when:
    - condition:

  provenance:
    source: synthetic | model_run | human_labeled | benchmark | user_feedback
    model:
    date:
    run_id:

  reuse_count:
  reuse_success_count:
  failed_reuse_count:
  last_used:

  failure_modes:
    - mode:

  notes:

The key field is role.

A failed run can remain useful, but its role should be different from a verified successful strategy.


Failed paths may be useful, but probably in a different role

I would not throw failed paths away. But I would avoid putting them in the same positive memory pool as successful paths.

A successful path can answer:

  • what should I try?
  • what worked before?
  • what sequence of steps is reusable?

A failed path should answer different questions:

  • what should I avoid?
  • what assumption failed?
  • what condition invalidates this path?
  • what verifier should run before reuse?
  • what recovery step helped?

So I would separate memory like this:

positive_strategy_memory:
  - verified successful paths

warning_memory:
  - anti-patterns
  - invalid_when rules
  - stale-context warnings
  - “do not repeat this” notes

recovery_memory:
  - how to recover after a failed run

verifier_memory:
  - checks to run before reusing a path

That keeps failed experience useful without letting it become a positive example.

Why this matters

There is a known issue in agent memory systems: retrieved memories can cause the model to imitate prior behavior. The paper How Memory Management Impacts LLM Agents describes an “experience-following” property where high similarity between the current task and a retrieved memory can lead to similar outputs, with risks such as error propagation and misaligned experience replay.

That does not mean “do not use failed memories.” It means:

failed raw trace
  -> convert into warning / recovery / verifier rule
  -> do not store as a normal positive path

This also gives a cleaner evaluation:

measure:
  useful_positive_reuse:
  harmful_positive_reuse:
  useful_warning_retrieved:
  failed_path_replayed:
  verifier_blocked_reuse:

I would keep raw evidence separate from consolidated memory

I would also separate raw episodes from consolidated memory.

A raw episode is evidence. A consolidated memory is a reusable summary.

Both are useful, but they should not be the same object.

raw_episode:
  original_prompt:
  generated_paths:
  retrieved_sources:
  tool_calls:
  evaluator_output:
  verifier_result:
  final_outcome:

consolidated_memory:
  role:
  strategy_tip:
  warning_rule:
  recovery_tip:
  valid_when:
  invalid_when:
  pointer_to_raw_episode:

This matters because summaries can drift. If a consolidated memory becomes misleading, the original run should still be inspectable.

Related memory-consolidation caution

The recent paper Useful Memories Become Faulty When Continuously Updated by LLMs argues that consolidated textual memories can become faulty over repeated updates, and that raw episodes should be treated as first-class evidence rather than overwritten.

I would not over-apply that result here, but it points to a useful design rule:

do not overwrite evidence with summaries

For Path Memory, that suggests:

store:
  raw_trace:
  path_summary:
  verifier_result:
  outcome_label:
  link_between_summary_and_trace:

To make “resonance” easier to test, I would separate its components

I would keep “resonance” as your high-level term if it is useful to your project. But for evaluation, I would log the measurable pieces underneath it.

For example:

resonance_components:
  task_similarity:
  path_outcome_quality:
  verifier_strength:
  reuse_success_rate:
  recency:
  diversity:
  cost:
  stale_context_risk:
  known_failure_overlap:

Then resonance_threshold=0.75 becomes easier to discuss.

I would treat 0.75 as a calibration parameter, not as a universal constant.

Threshold sweep I would run

A small sweep could be enough:

thresholds:
  - 0.60
  - 0.70
  - 0.75
  - 0.80
  - 0.90

But the important part is not the threshold list. It is the metrics:

metrics:
  useful_path_accepted:
  harmful_path_accepted:
  useful_path_rejected:
  false_reuse_rate:
  missed_useful_reuse_rate:
  top1_top2_margin:
  verifier_pass_rate:
  cost_per_success:

I would especially track:

accepted_but_harmful:
rejected_but_later_useful:

That gives you a better view of the collapse rule than success rate alone.

Why semantic cache work is a useful comparison

Semantic cache systems have a related threshold problem. They are not the same as Path Memory, because they usually reuse answers rather than strategies. But the evaluation vocabulary is useful.

For example, GPTCache explicitly discusses false positives during cache hits and false negatives during cache misses. MeanCache is another semantic-cache example that focuses on false hit/miss decisions and contextual queries.

The lesson I would borrow is:

thresholds are not only ranking problems;
they are calibration problems

So I would not say 0.75 is wrong. I would say:

0.75 may be a reasonable first heuristic, but I would log the false-reuse / missed-reuse tradeoff before treating it as domain-independent.

Retention may matter more than memory size

You mention path_memory_size=1000. That may be fine as an engineering parameter, but I suspect the retention policy matters more than the raw size.

I would not use frequency alone.

Common failures can also be frequent.

A safer retention score might combine:

keep_score:
  + verified_success
  + reuse_success_rate
  + recency
  + diversity
  + clear_valid_when
  + clear_invalid_when
  - stale_context_risk
  - failed_reuse_count
  - raw_failure_without_label
Retention policies I would compare

I would compare:

avoid_as_only_policy:
  - pure frequency
  - pure LRU
  - raw resonance without outcome labels

compare:
  - frequency
  - recency
  - resonance_score
  - verified_success
  - diversity_aware
  - role_aware_hybrid

A simple rule of thumb:

positive_strategy:
  keep if verified and reused successfully

warning_rule:
  keep if it blocks repeated mistakes

raw_failure:
  keep as evidence, but do not rank as a positive path

consolidated_summary:
  keep only if linked to evidence and still useful

This is where evaluator quality matters. The ACL paper How Memory Management Impacts LLM Agents emphasizes that addition/deletion choices affect long-term behavior and that evaluator signals matter for memory management.


For depth, I would measure a cost-quality curve

For the “fractal depth” question, I would translate depth into search terms:

depth:
branching_factor:
candidate_count:
evaluator_cost:
token_cost:
runtime:

Depth might help, but deeper is not automatically better.

A weak evaluator plus more depth can produce more noise, not better reasoning.

Depth / branching ablation

Possible settings:

conditions:
  greedy:
    depth: 1
    branch: 1

  shallow_branching:
    depth: 1
    branch: 3

  small_tree:
    depth: 2
    branch: 2

  larger_tree:
    depth: 3
    branch: 2

Track:

metrics:
  final_success:
  verifier_pass:
  generated_candidates:
  duplicate_paths:
  token_cost:
  runtime:
  harmful_reuse:
  marginal_gain_per_extra_path:

This is where Tree of Thoughts is a useful baseline, because it explicitly explores multiple reasoning paths and self-evaluates choices. I would use it as a comparison point for the search/depth side, not as a claim that your full system is the same thing.


For cross-domain transfer, I would transfer procedures, not facts

Cross-domain transfer seems more plausible at the procedure level than at the raw-path level.

For example:

safer_to_transfer:
  - define terms
  - list assumptions
  - split search branches
  - check stale context
  - run verifier
  - summarize what changed

risky_to_transfer:
  - domain facts
  - unverified analogies
  - old source assumptions
  - conclusions from a different domain

So instead of:

physics path -> philosophy path

I would test:

debugging procedure -> literature mapping procedure

or:

RAG freshness check -> API migration check
Small transfer test

A small transfer ablation could be:

source_domain:
  python debugging

target_domains:
  literature review
  API migration
  concept mapping
  RAG freshness checking

conditions:
  no_memory:
  raw_path_transfer:
  abstract_procedure_transfer:
  abstract_procedure_plus_verifier:

metrics:
  useful_transfer:
  domain_fact_leakage:
  false_analogy:
  verifier_pass:
  final_quality:

This is where Agent Workflow Memory and ReasoningBank seem relevant as adjacent work: they are about reusable workflows or strategies from experience, not raw fact transfer.


A small reproducible ablation would make this much easier to discuss

Before a full paper or full system benchmark, I would find a tiny reproducible ablation more useful.

Not because the large idea is uninteresting, but because it would let readers separate:

  • search effect
  • memory effect
  • threshold effect
  • verifier effect
  • resource-budget effect
  • model-specific effect

A minimal ablation could be:

conditions:
  no_memory:
  exact_cache:
  semantic_cache:
  success_only_path_memory:
  raw_failed_history:
  failure_as_warning:
  verifier_gated_reuse:
  role_aware_retention:

Metrics:

metrics:
  final_success:
  useful_reuse:
  false_reuse:
  missed_useful_reuse:
  accepted_harmful_path:
  retrieved_warning:
  verifier_pass:
  stale_memory_case:
  runtime:
  token_cost:
  memory_growth:
Minimal repo/notebook shape

A minimal repo or notebook could be very small:

README.md
path_memory_schema.json
tasks.json
memories.json
retrieval_ablation.ipynb
optional_generation_ablation.ipynb
results/

If you want to keep it close to Hugging Face tooling:

One caution from small Colab experiments: GPU generation tests can become noisy because of output extraction, tokenizer formatting, dependency drift, and test harness bugs. For Path Memory design, a CPU retrieval/role/retention ablation may be more informative at first.


Possible next tracks

If you want to make the project easier for others to evaluate, I would split the next step into tracks rather than trying to validate everything at once.

Track 1 — Memory schema

Goal: make Path Memory inspectable.

deliverables:
  - path_memory_entry schema
  - role labels
  - valid_when / invalid_when
  - provenance
  - outcome labels
  - verifier result

Track 2 — Threshold / collapse calibration

Goal: make resonance_threshold measurable.

deliverables:
  - threshold sweep
  - false reuse count
  - missed useful reuse count
  - top1/top2 margin
  - verifier pass rate

Track 3 — Failure-memory handling

Goal: avoid replaying failed paths as positive examples.

deliverables:
  - success-only memory
  - raw failure baseline
  - failure-as-warning
  - failure-as-recovery
  - verifier-gated reuse

Track 4 — Retention policy

Goal: prevent memory growth from preserving common failures.

deliverables:
  - frequency baseline
  - recency baseline
  - verified-success policy
  - role-aware hybrid policy
  - diversity-aware policy

Track 5 — Depth/resource curve

Goal: show whether more search actually helps.

deliverables:
  - depth/branch settings
  - runtime
  - token cost
  - success
  - marginal gain per extra candidate

HF-native implementation notes

If you want this to be easy for HF Forum readers to inspect, I would keep the first public artifact boring and reproducible.

For example:

first_public_artifact:
  - small task set
  - explicit path memory JSON
  - retrieval function
  - threshold sweep
  - role-aware memory handling
  - result table

Then later:

second_artifact:
  - optional DeepSeek Coder generation
  - verifier-gated reuse
  - resource-aware depth control
  - comparison against no-memory and semantic-cache baselines
Implementation notes

A few practical implementation details I would want to see:

path_memory_write:
  only write after outcome is known
  store verifier result
  store provenance
  separate raw trace from summary

path_memory_read:
  retrieve top-k
  filter by role
  filter by valid_when / invalid_when
  check top1/top2 margin
  run verifier if gray-zone
  adapt path before reuse

path_memory_update:
  increment reuse_count
  increment reuse_success_count only after success
  demote if failed on reuse
  preserve raw evidence

For Hugging Face-specific references:


Related links that may help future readers

These are not exact matches. I would use them as vocabulary, baselines, or cautionary references.

Search / reasoning paths
Experience / workflow / procedural memory
Semantic cache / threshold calibration
Memory management cautions
HF implementation references

My practical takeaway

The strongest part, to me, is Path Memory as strategy memory.

I would make that layer explicit before trying to defend or optimize the larger system:

first:
  define path memory entry roles
  separate successful paths from failed-path warnings
  keep raw traces separate from consolidated summaries
  decompose resonance into measurable components
  sweep thresholds
  log false reuse and missed useful reuse
  compare retention policies

then:
  test depth/resource curves
  test cross-domain transfer at the procedure level
  compare against ToT / semantic cache / no-memory baselines

In short:

I would not try to prove “fractal dreaming” all at once.
I would first make Path Memory inspectable, role-aware, and ablation-friendly.

That would make the project much easier for other people to understand, reproduce, and give useful feedback on.