affective-taxis
Installation
SKILL.md
affective-taxis
Models affective valence as the directional derivative of an interoceptive energy landscape (Sennesh & Ramstead 2025), providing alignment validation through structural conservation laws.
Use When
- Building alignment-aware RL agents that respect structural invariants
- Validating GF(3) conservation across reward trajectories
- Training Langevin-based policies as an alternative to PPO (which breaks conservation)
- Implementing fold-change detection reward signals in POMDP environments
- Bridging affective neuroscience models with RL training loops
Workflow
- Define energy landscape: set attractant/repellent positions, sigmas, and amplitudes
- Compute fold-change detection signal:
r(t) = nabla_z log gamma(z; beta) . v - Run Langevin dynamics:
dz/dt = nabla_z log gamma(z; beta) + sqrt(2) dW(t) - Classify trit per timestep: positive derivative → +1, orthogonal → 0, negative → -1
- Verify conservation:
sum(trits) === 0 (mod 3)across trajectory