Accidental Public Access When Defining Vars in Auto‑Imported Clojure Namespaces
Clojure vars are package‑private by default, but when a var is defined in a namespace that is automatically loaded—such as via :require [clojure.tools.namespace.repl :as nrepl] —the var can be accessed from the REPL's current namespace, leading to accidental public exposure. The goal is to guarantee that a var remains inaccessible outside its defining namesp