Function
Builds every learner-scoped port for one learner — the only place that names the Turso adapters.
The database to read and write
The signed-in learner's user id
The learner's ports
The learner id must come from a verified session, never from a request body: this factory trusts it completely.
Builds every learner-scoped port for one learner — the only place that names the Turso adapters.