Biologically-Constrained Modular Active Inference: A Functional Architecture from Trace to Gating (RDLNN v1.0) | Synapse