active-interleave
Installation
SKILL.md
Active Interleave Skill
Interleaves context from recently active Claude/Amp threads into current activity via random walk.
bmorphism Contributions
"all is bidirectional" — @bmorphism, Play/Coplay gist
Active Inference Pattern: The interleave implements Active Inference in String Diagrams epistemic foraging — actively sampling from recent contexts to minimize uncertainty about the current task. Each random walk step is an epistemic action that gathers information.
Play/Coplay Duality: The interleave embodies bmorphism's bidirectional principle:
- Play (action): Query recent threads, walk the awareness graph
- Coplay (perception): Integrate fragments, update current context
GF(3) Balanced Exploration: The triadic structure (MINUS/ERGODIC/PLUS) ensures balanced exploration — validation filters (MINUS), random walk explores (ERGODIC), and colored emission generates (PLUS). Conservation Σ = 0 maintains coherence.