---
name: nerv
description: NERV - Rapid LocalSend Test with Voice
version: 1.0.0
---

# NERV - Rapid LocalSend Test with Voice

Rapid peer discovery and LocalSend connectivity testing with Italian voice announcements.

## State Machine

```
VOID → SEEKING → FOUND → READY
```

## Commands

```bash
# Full test with voice announcements
bb nerv.bb test

# Silent peer discovery
bb nerv.bb seek

# Just announce status
bb nerv.bb announce
```

## Features

- **Tailscale Integration**: Discovers online peers via Tailscale status
- **LocalSend Check**: Tests port 53317 connectivity
- **Voice Announcements**: Emma (Premium) at rate 180 for energetic Italian phrases
- **State Machine**: Tracks discovery progress

## Voice Phrases

- "NERV inizializzazione!" - startup
- "Cercando peers nella rete!" - seeking
- "Trovati N peers!" - found count
- "Peer X online!" - each peer
- "X pronto per trasporto!" - LocalSend ready
- "NERV online! Trasporto topologico pronto!" - final ready

## Dependencies

- Babashka
- Tailscale.app
- macOS `say` command



## Scientific Skill Interleaving

This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:

### Graph Theory
- **networkx** [○] via bicomodule
  - Universal graph hub

### Bibliography References

- `general`: 734 citations in bib.duckdb



## SDF Interleaving

This skill connects to **Software Design for Flexibility** (Hanson & Sussman, 2021):

### Primary Chapter: 2. Domain-Specific Languages

**Concepts**: DSL, wrapper, pattern-directed, embedding

### GF(3) Balanced Triad

```
nerv (+) + SDF.Ch2 (−) + [balancer] (○) = 0
```

**Skill Trit**: 1 (PLUS - generation)


### Connection Pattern

DSLs embed domain knowledge. This skill defines domain-specific operations.
## Cat# Integration

This skill maps to **Cat# = Comod(P)** as a bicomodule in the equipment structure:

```
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
```

### GF(3) Naturality

The skill participates in triads satisfying:
```
(-1) + (0) + (+1) ≡ 0 (mod 3)
```

This ensures compositional coherence in the Cat# equipment structure.