wrinklebrane/ ├─ README.md ├─ AGENTS.md # optional; roles, loops, guardrails ├─ pyproject.toml # or setup.cfg; minimal build metadata ├─ requirements.txt ├─ .gitignore ├─ src/ │ └─ wrinklebrane/ │ ├─ __init__.py │ ├─ membrane_bank.py # MembraneBank: holds/updates M │ ├─ codes.py # codebooks (Hadamard/DCT/Gaussian) + coherence tools │ ├─ slicer.py # 1×1 conv slicer (einsum/conv1x1) + ReLU │ ├─ write_ops.py # vectorized store of key–value pairs │ ├─ metrics.py # PSNR/SSIM/MSE; spectral entropy; gzip ratio; interference; symbiosis │ ├─ telemetry.py # wrappers to log K/C/S/I consistently │ ├─ persistence.py # leaky-integrator update with energy clamps │ └─ utils.py # FFT helpers, tiling, seeding, device helpers ├─ tests/ │ ├─ test_shapes_and_grad.py │ ├─ test_codes_orthogonality.py │ ├─ test_associative_recall_low_load.py │ └─ test_interference_scaling.py └─ experiments/ ├─ p0_assoc_mem.py # main experiment harness └─ viz_latents.py # PCA/RSA/spectral maps & plots