             (cr/fire-rules)))))
 
 (time (perf-loop 100))
-(l/vec-ops @session)
+(l/vec-ops @test-session-atom)
 (count (:one-to-one @state/fact-index))
 (:unique @state/fact-index)
 ;(inspect/inspect @session)

              [clara.rules :as cr]
              [clara.rules.accumulators :as acc]
              [precept.spec.sub :as sub]
              [precept.rules :refer [session
                                          define
                                          rule
                                          defquery]]
              [precept.listeners :as l]
              [precept.schema :as schema]
      #?(:clj [clara.tools.inspect :as inspect])

;; have for non-generated rule names, because when we delete a rule or rename it, it's still in
;; the REPL and requires a restart or manual ns-unmap to clear. We could expose a function
;; that takes all nses in which they are rules and unmaps everything in them.
(define [?e :todo/visible :tag] :- [[_ :visibility-filter :all]] [[?e :todo/title]])

(cr/defrule add-item-handler
  ;; Works with maps
