Back to skills
SKILL.md
Zig Syrup Propagator Interleave
ASecurity> Bridge connecting zig-syrup advanced computational modules (propagator networks, homotopy continuation, AGM belief revision, QRTP air-gapped transport, passport.gay identity, geo.zig spatial, xev_io async) to the ASI skill graph. Use when wiring Radul-Sussman propagators, implementing CellValue lattice merge, running homotopy continuation for polynomial solving, performing AGM belief revision, or building air-gapped identity verification via QRTP. >>>>>>> origin/main
- 61 stars
- 0 votes
- 0 copies
- 2 views
- Added September 6, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add plurigrid/asi --skill zig-syrup-propagator-interleave --agent claude-codeAre you the author of Zig Syrup Propagator Interleave?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/plurigrid-zig-syrup-propagator-interleave)---
name: zig-syrup-propagator-interleave <<<<<<< HEAD
description: '> Bridge connecting zig-syrup advanced computational modules (propagator networks, homotopy continuation, AGM belief revision, QRTP air-gapped transport, passport.gay identity, geo.zig spatial, xev_io async) to the ASI skill graph. Use when wiring Radul-Sussman propagators, implementing CellValue lattice merge, running homotopy continuation for polynomial solving, performing AGM belief revision, or building air-gapped identity verification via QRTP. >>>>>>> origin/main'
deployed: 2026-02-19 =======
role: BRIDGE
tags: '[zig-syrup, propagator, homotopy, continuation, agm, qrtp, bci, passport, geo, xev, gf3, interleave, air-gap, validator]'
trit: '-1'
version: 1.0.0
---
# zig-syrup Advanced Modules x ASI Interleave
<<<<<<< HEAD
VALIDATOR bridge (-1) connecting 7 zig-syrup computational modules to the ASI skill graph.
## GF(3) Tripartite Tag
`zig-syrup-propagator-interleave(-1) (x) propagator-network(0) (x) homotopy-continuation(+1) = 0`
Validation (-1) x Bridge (0) x Solution (+1) = balanced constraint propagation.
---
## Module Anatomy (DeepWiki: plurigrid/zig-syrup)
=======
Bridge connecting 7 zig-syrup computational modules to the ASI skill graph.
## Module Anatomy
>>>>>>> origin/main
### 1. propagator.zig -- Radul-Sussman Propagator Networks
```zig
// CellValue: partial information lattice
// Ordering: Nothing < Value < Contradiction
pub fn CellValue(comptime T: type) type {
return union(enum) {
<<<<<<< HEAD
nothing, // unknown
value: T, // concrete
contradiction: struct { a: T, b: T }, // conflict
=======
nothing,
value: T,
contradiction: struct { a: T, b: T },
>>>>>>> origin/main
};
}
// latticeMerge: the join operation
// Nothing -> adopts incoming
// same Value -> idempotent
// different Value -> Contradiction
// Contradiction absorbs all
pub fn latticeMerge(existing: CellValue(T), incoming: CellValue(T)) CellValue(T) { ... }
```
- **Cell**: holds CellValue + list of Propagator neighbors; alerts neighbors on change
- **Propagator**: inputs from Cells, applies function, sets output Cells
- Bidirectional constraint propagation throughout the network
<<<<<<< HEAD
- Special propagator functions: `neurofeedback_gate` (BCI), `adjacency_gate` (spatial), `focus_brightness`
- Connected to Orion Reed's "scoped propagators" concept
=======
- Special functions: `neurofeedback_gate` (BCI), `adjacency_gate` (spatial), `focus_brightness`
>>>>>>> origin/main
### 2. homotopy.zig -- Polynomial Homotopy Continuation
```
H(x, t) = (1 - t) * G(x) + t * F(x)
```
- Deformation from start system G (known solutions) to target system F
- Complex number polynomial root tracking along paths
<<<<<<< HEAD
- GF(3) trit classification per solution path: stable(+1), saddle(0), unstable(-1)
- Integrates with syrup serialization (paths are Syrup-serializable)
- Integrates with continuation.zig for resumable pipeline execution
### 3. continuation.zig -- AGM Belief Revision + GF(3) Trit Arithmetic
=======
- Integrates with syrup serialization (paths are Syrup-serializable)
- Integrates with continuation.zig for resumable pipeline execution
### 3. continuation.zig -- AGM Belief Revision + Trit Arithmetic
>>>>>>> origin/main
```zig
const Belief = struct { proposition: []const u8, entrenchment: f64 };
const BeliefSet = struct {
beliefs: std.ArrayList(Belief),
<<<<<<< HEAD
fn expand(self, b: Belief) void { ... } // add without consistency check
fn contract(self, prop: []const u8) void { ... } // remove belief + negation
fn revise(self, b: Belief) void { // Levi identity: (K - !p) + p
=======
fn expand(self, b: Belief) void { ... } // add without consistency check
fn contract(self, prop: []const u8) void { ... } // remove belief + negation
fn revise(self, b: Belief) void { // Levi identity: (K - !p) + p
>>>>>>> origin/main
self.contract(negate(b.proposition));
self.expand(b);
}
};
const Trit = enum { minus, zero, plus }; // -1, 0, +1
<<<<<<< HEAD
// Conserved across: serialization, transport, propagators, identity, BCI
=======
>>>>>>> origin/main
```
### 4. QRTP -- QR Transfer Protocols (Air-Gapped Identity)
- Fountain-coded QR codes for data transfer across air gaps
- Each source block = Cell, each encoded block = Propagator
- Contradiction = transmission error detection
<<<<<<< HEAD
- "Scoped propagators applied to erasure decoding" (Orion Reed connection)
=======
- Scoped propagators applied to erasure decoding
>>>>>>> origin/main
### 5. passport.gay -- Identity Protocol
- Homotopy continuity for liveness detection (deformation must be continuous)
<<<<<<< HEAD
- Generates GF(3) trit trajectories as identity fingerprints
=======
- Generates trit trajectories as identity fingerprints
>>>>>>> origin/main
- Identity proofs fountain-encoded into QR frames via QRTP for air-gapped verification
### 6. geo.zig -- Geographic Integration
- OLC (Open Location Code / Plus Codes) encoding/decoding
- Syrup serialization for geographic types: CodeArea, Coordinate, PlusCode
- Zero-copy coordinate handling with CID determinism for coordinates
- Spatial propagation via adjacency_gate in propagator.zig
### 7. xev_io -- Completion-Based Async I/O
- Async I/O for Syrup protocol via libxev
- Completion-based (not readiness-based): aligns with propagator "alert on change" model
- Drives the wire protocol layer for zig-syrup OCapN transport
<<<<<<< HEAD
---
## ASI Integration Points
### propagator.zig <-> propagators skill
Direct match. ASI `propagators` skill provides the Radul-Sussman theory; `propagator.zig` is the Zig implementation. CellValue lattice, bidirectional constraints, and scoped propagation patterns shared.
### neurofeedback_gate <-> reafference-corollary-discharge
```zig
fn neurofeedback_gate(focus: Cell(f32), brightness: Cell(f32)) Propagator {
// EEG focus level -> display brightness via propagator constraint
}
```
Reafference = predicted sensory consequence of motor command. The neurofeedback_gate IS a corollary discharge: predicts brightness from focus. Wire to `unified-reafference` skill.
### BCI propagator functions <-> bci-phenomenology
- 8ch EEG -> focus level -> `CellValue(f32)` -> `neurofeedback_gate` -> brightness
- Fisher-Rao distance on EEG manifold -> trit classification via continuation.zig
- Phenomenal field as propagator network: each qualia = Cell, attention = Propagator
- **ASI skills**: `bci-colored-operad`, `sheaf-cohomology-bci`
=======
## ASI Integration Points
### propagator.zig <-> propagators skill
Direct match. ASI `propagators` skill provides the Radul-Sussman theory; `propagator.zig` is the Zig implementation.
### neurofeedback_gate <-> reafference-corollary-discharge
The neurofeedback_gate IS a corollary discharge: predicts brightness from focus. Wire to `unified-reafference` skill.
>>>>>>> origin/main
### continuation.zig <-> abductive-monte-carlo
AGM belief revision IS abductive reasoning:
- `expand` = add hypothesis without consistency check (abduction)
- `contract` = remove refuted hypothesis (contraction)
- `revise` = Levi identity: contract negation, then expand (belief update)
<<<<<<< HEAD
- Trit tracks hypothesis status: minus=refuted, zero=suspended, plus=accepted
### homotopy.zig <-> homotopy continuation skills, polynomial-dynamics
- Polynomial system solving for CRN equilibria (`crn-topology`)
- Solution path tracking with GF(3) classification
- Liveness detection for passport.gay (continuous deformation = alive)
- **ASI skills**: `crn-topology`, `turing-chemputer`, `chemical-organization-theory`
### QRTP <-> proof-of-frog, merkle-proof-validation
- Fountain coding = erasure-resilient data transport (cf. Proof-of-Frog offline validation)
- QR air-gap verification = merkle proof without network connectivity
- Propagator-based decoder: each frame incrementally resolves Cells toward proof completion
- **ASI skills**: `proof-of-frog`, `spi-parallel-verify`, `bisimulation-game`
### passport.gay <-> gay-integration, gay-monte-carlo
- GF(3) trit trajectories from homotopy paths = Gay.jl color fingerprints
- SplitMix64 seed from MAC -> color -> trit trajectory -> passport identity
- Conservation: sum of trit trajectory = 0 mod 3 (identity invariant)
- **ASI skills**: `gay-mcp`, `gay-monte-carlo`, `splitmix-ternary`, `gf3-pr-verify`
### geo.zig <-> osm-topology, geohash-coloring, duckdb-spatial
- OLC Plus Codes = spatial addressing for propagator networks
- Syrup-serialized coordinates feed adjacency_gate (spatial propagation)
- CID-deterministic coordinates enable content-addressed spatial data
- DuckDB spatial queries over Syrup-encoded geographic types
- **ASI skills**: `osm-topology`, `geohash-coloring`, `duckdb-quadruple-interleave`
=======
### homotopy.zig <-> crn-topology, polynomial-dynamics
- Polynomial system solving for CRN equilibria
- Solution path tracking with classification
- Liveness detection for passport.gay (continuous deformation = alive)
### QRTP <-> proof-of-frog, merkle-proof-validation
- Fountain coding = erasure-resilient data transport
- QR air-gap verification = merkle proof without network connectivity
- Propagator-based decoder: each frame incrementally resolves Cells toward proof completion
### geo.zig <-> osm-topology, geohash-coloring, duckdb-spatial
- OLC Plus Codes = spatial addressing for propagator networks
- Syrup-serialized coordinates feed adjacency_gate
- CID-deterministic coordinates enable content-addressed spatial data
>>>>>>> origin/main
### xev_io <-> nashator, zig-syrup wire protocol
- libxev completion-based I/O drives zig-syrup OCapN transport layer
- Nashator (:9999) uses same wire format: 4-byte BE + JSON-RPC 2.0
<<<<<<< HEAD
- xev_io async patterns align with nashator's event loop
- **ASI skills**: `nashator` (~/i/nashator/), `zig-syrup` (~/i/zig-syrup/)
---
## Gap Registry
| Gap ID | Module | Missing Capability | Candidate ASI Skills |
|--------|--------|--------------------|---------------------|
| G1 | propagator.zig | No dependent type checking on CellValue lattice | `type-checker`, `narya-proofs` |
| G2 | homotopy.zig | No GPU-accelerated path tracking | `vibe-gpu`, `basin-gpu-game` |
| G3 | continuation.zig | No persistent belief revision log (only in-memory) | `duckdb-timetravel`, `time-travel-crdt` |
| G4 | QRTP | No forward error correction beyond fountain coding | `reed-solomon` (not yet exists) |
| G5 | passport.gay | No revocation mechanism for compromised identities | `anoma-intents`, `aptos-gf3-society` |
| G6 | geo.zig | No H3 hexagonal indexing (only OLC) | `geohash-coloring`, `low-discrepancy-sequences` |
| G7 | xev_io | No TLS layer on async transport | `keychain-secure`, `constant-time-analysis` |
| G8 | cross-module | No unified test harness across all 7 modules | `harness-writing`, `property-based-testing` |
| G9 | propagator.zig | Scoped propagator formalization (Orion Reed) not proven | `proofgeneral-narya`, `formal-verification` |
---
=======
## Gap Registry
| Gap | Module | Missing Capability |
|---|---|---|
| G1 | propagator.zig | No dependent type checking on CellValue lattice |
| G2 | homotopy.zig | No GPU-accelerated path tracking |
| G3 | continuation.zig | No persistent belief revision log (only in-memory) |
| G4 | QRTP | No forward error correction beyond fountain coding |
| G5 | passport.gay | No revocation mechanism for compromised identities |
| G6 | geo.zig | No H3 hexagonal indexing (only OLC) |
| G7 | xev_io | No TLS layer on async transport |
| G8 | cross-module | No unified test harness across all 7 modules |
>>>>>>> origin/main
## Cross-Connection Map
```
propagator.zig
+-- neurofeedback_gate -> bci-phenomenology, reafference-corollary-discharge
+-- adjacency_gate -> osm-topology, geohash-coloring (via geo.zig)
+-- QRTP fountain -> air-gapped identity (passport.gay)
+-- scoped propagators -> abductive-monte-carlo constraint networks
homotopy.zig
+-- polynomial solving -> crn-topology, chemical-organization-theory
<<<<<<< HEAD
+-- GF(3) path trits -> continuation.zig trit classification
=======
>>>>>>> origin/main
+-- liveness detection -> passport.gay identity proof
continuation.zig
+-- AGM belief revision -> abductive-monte-carlo, dynamic-sufficiency
<<<<<<< HEAD
+-- GF(3) trit S=0 -> all layers (serialization -> transport -> BCI -> identity)
=======
>>>>>>> origin/main
+-- resumable pipelines -> duckdb-timetravel, time-travel-crdt
geo.zig
+-- OLC encoding -> osm-topology, duckdb-spatial
+-- Syrup coordinates -> adjacency_gate spatial propagation
+-- CID determinism -> merkle-proof-validation
xev_io
+-- libxev async -> nashator event loop, zig-syrup wire protocol
+-- completion model -> propagator "alert on change" alignment
```
<<<<<<< HEAD
## Related Skills
- `propagators` -- Radul-Sussman theory; CellValue lattice patterns
- `bci-colored-operad` / `sheaf-cohomology-bci` -- BCI <-> neurofeedback_gate
- `reafference-corollary-discharge` -- corollary discharge <-> neurofeedback prediction
- `abductive-monte-carlo` / `abductive-repl` -- AGM belief revision integration
- `dynamic-sufficiency` -- belief revision drives the 145-ref universal hub
- `crn-topology` / `turing-chemputer` -- homotopy.zig for CRN equilibrium solving
- `proof-of-frog` / `merkle-proof-validation` -- QRTP air-gapped verification
- `gay-integration` / `gay-monte-carlo` -- GF(3) trit trajectories, SplitMix64 identity
- `osm-topology` / `geohash-coloring` / `duckdb-spatial` -- geo.zig spatial integration
- `nashator` -- xev_io async patterns, wire protocol alignment
- `zig-syrup` / `zig-programming` -- parent skill; core OCapN serialization
- `splitmix-ternary` -- trit stream generation for passport.gay
- `polynomial-dynamics` -- homotopy continuation theory
=======
>>>>>>> origin/main
## ACP atlas
Part of: `acp-commons`.
Files in this skill
- CONCOMITANT_SKILLS.md
- SKILL.md
Attribution
Comments
Loading comments…