Command Palette

Search for a command to run...

Назад к скиллам
скилл № 69558

sdr-borges-reafference

SDR (GNU Radio) as self-learning REPL with Borges infinite library exploration, reafference random walks, spectral gap 1/4, and maximally mixed state for…

БесплатноБез исполняемых скриптов
plurigridот plurigrid★ 73 звезды на GitHub

Установить sdr-borges-reafference в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

SDR-Borges-Reafference: Agency-Enabling Signal Processing

"The Library of Babel contains every possible radio transmission." — Borges meets GNU Radio

Core Concept

SDR as Infinite Library: Software Defined Radio is a Borges library where:

  • Every frequency is a book
  • Every modulation scheme is a language
  • Every signal is a text awaiting interpretation
  • The spectral gap determines how fast you find the book you seek

Spectral Gap 1/4: The Sweet Spot

┌─────────────────────────────────────────────────────────────────┐
│  SPECTRAL GAP AND MIXING TIME                                   │
├─────────────────────────────────────────────────────────────────┤
│  Gap = 0:    τ_mix = ∞    (stuck, no exploration)               │
│  Gap = 1/4:  τ_mix = 4    (balanced exploration/exploitation)   │
│  Gap = 1/2:  τ_mix = 2    (fast mixing, less diversity)         │
│  Gap = 1:    τ_mix = 1    (instant mixing, no memory)           │
└─────────────────────────────────────────────────────────────────┘

WHY 1/4?
- Alon-Boppana bound for d=3 regular graphs: λ₂ ≤ 2√2 ≈ 2.83
- Normalized gap = (d - λ₂)/d ≈ 0.25 for Ramanujan graphs
- This is OPTIMAL for 3-way (GF(3)) systems!

Maximally Mixed State: Agency Through Ignorance

The maximally mixed state ρ = I/d is:

  • Maximum entropy: S(ρ) = log(d)
  • No information about which eigenstate you're in
  • Agency interpretation: Complete freedom of choice
# Maximally mixed state in 3-dimensional GF(3) space
ρ_max = [1/3 0 0; 0 1/3 0; 0 0 1/3]

# Purity: tr(ρ²) = 1/3 (minimal for d=3)
# Von Neumann entropy: S = log(3) ≈ 1.585 bits

# AGENCY MEANING:
# - You can become MINUS, ERGODIC, or PLUS with equal probability
# - No prior commitment constrains your action space
# - Maximum optionality = maximum agency

What Maximally Mixed Gets Us

Property Maximally Mixed Pure State
Entropy log(3) = 1.585 0
Purity 1/3 1
Agency Maximum Minimum
Predictability Minimum Maximum
Adaptability Maximum Minimum

Key Insight: Agency requires uncertainty. A system that knows exactly what it will do has no choice.

Reafference Random Walks

From von Holst's principle:

Efference copy: What I intend to transmit
Reafference:    What I observe being transmitted
Error:          Reafference - Efference copy

If error = 0: I caused this (self-generated)
If error ≠ 0: World caused this (exafference)

SDR Reafference Loop

┌─────────────────────────────────────────────────────────────────┐
│  SDR REAFFERENCE ARCHITECTURE                                   │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│   ┌──────────┐    Tx Signal     ┌──────────┐                   │
│   │  INTENT  │ ───────────────► │  TX SDR  │ ──► Antenna       │
│   │ (Efference│                 └──────────┘                   │
│   │   Copy)  │                                                  │
│   └────┬─────┘                       │                          │
│        │                             ▼                          │
│        │                       Environment                      │
│        │                             │                          │
│        │                             ▼                          │
│   ┌────▼─────┐    Rx Signal     ┌──────────┐                   │
│   │COMPARATOR│ ◄─────────────── │  RX SDR  │ ◄── Antenna       │
│   │(Reafference)                └──────────┘                   │
│   └────┬─────┘                                                  │
│        │                                                        │
│        ▼                                                        │
│   Error Signal → Learning → Updated Tx Parameters               │
└─────────────────────────────────────────────────────────────────┘

Random Walk on Frequency Space

# Reafference-guided random walk on spectrum
function reafference_walk(sdr, initial_freq, steps)
    freq = initial_freq
    history = [freq]
    
    for step in 1:steps
        # Efference: intended frequency shift
        Δf_intended = randn() * bandwidth
        
        # Actual observation (with channel effects)
        signal = receive(sdr, freq + Δf_intended)
        Δf_observed = estimate_frequency_shift(signal)
        
        # Reafference error
        error = Δf_observed - Δf_intended
        
        # If error ≈ 0: we caused this (stay/exploit)
        # If error ≫ 0: world caused this (explore!)
        if abs(error) < threshold
            freq += Δf_intended  # Exploit
        else
            freq += error  # Explore world's contribution
        end
        
        push!(history, freq)
    end
    
    return history
end

ACSet Skill Integration

The acset-skill provides categorical database operations:

using ACSets

# SDR Observation schema
@present Sc
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • reafference_coordinator.scm
  • signal_generator.scm
  • spectrum_analyzer.scm

FAQ

Что делает скилл sdr-borges-reafference?

SDR (GNU Radio) as self-learning REPL with Borges infinite library exploration, reafference random walks, spectral gap 1/4, and maximally mixed state for agency-enabling signal processing.

Как установить скилл sdr-borges-reafference?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sdr-borges-reafference запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sdr-borges-reafference с