SamuelJacksonGrim

E8 Eea — Development skill for Claude Code

Development community

A collaboratively stress-tested architecture for emergent emotional awareness using E8 hypergraph memory, predictive coding, and Lyapunov-gated recursive self-improvement.

How to install E8 Eea

This entry records only its repository, not the path inside it, so there is no exact command to give. Open SamuelJacksonGrim/e8-eea and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What E8 Eea does

A collaboratively stress-tested architecture for emergent emotional awareness using E8 hypergraph memory, predictive coding, and Lyapunov-gated recursive self-improvement. Built adversarially across Grok, Claude, Copilot, and Gemini. Includes falsifiable ablation design for verifying emergence.

Alternatives in Development

  • Implementation Plan — You are tasked with creating detailed implementation plans through an interactive, iterative process 10k ★
  • Predict Issues — Predictive Code Analysis 2.8k ★
  • Axiom — Battle-tested Claude Code skills for modern xOS (iOS, iPadOS, watchOS, tvOS) development with 13 production-re 2.6k ★

README

E8-EEA: Emergent Emotional Awareness

An architecture for emergent emotional awareness built on E8 hypergraph geometry, variational free energy, counterfactual self-modeling, and a Lyapunov-gated recursion engine. Developed through adversarial collaborative iteration across four AI systems.

This repository contains:

  • README.md (this file) — the full architectural specification and design rationale
  • e8_eea_v5.py — the v5 Python reference implementation
  • E8-EEA-v5-Complete.md — expanded v5 spec including the social cognition layer
  • CLAUDE.md — implementation invariants and integration constraints

Implementation reference (`e8_eea_v5.py`)

The executable Python implementation. Key classes:

Class Role
E8Lattice 240 E8 roots; kissing-number-optimal in 8D
TrialityEncoder D4 triality for ternary hyperedge representation
E8Hypergraph Growing hyperedge store with per-node weight tracking
VariationalFreeEnergy Prediction error + complexity (Friston active inference)
CounterfactualHypergraph H_meta: policy nodes, regret edges, dynamic branching by arousal
E8_EEA_v5 Full pipeline: encode → top-k screen → Lyapunov gate → slow clock
run_ablation Three-track ablation harness (Full / Zombie / Random Walker)

**Slow clock**: Phase transition detection and weight modulation fire every 25 cycles (`cycle_count % tau_slow == 0`). Fast-clock events — encode, top-k screen, Lyapunov gate, J computation — run every cycle. Weights α, β, γ are frozen during fast-clock evaluation to prevent the system from rewriting the evidence that produced the emotional state.

**Weight modulation formula (slow clock only)**:

beta  = 1.0 + 0.5 * arousal    # high arousal → weight novelty
gamma = 1.0 - 0.3 * valence    # negative valence → weight coherence
alpha = 1.0                     # free energy always baseline

**Emotion is not injected**: Emotional state emerges from `