(error "XTM integration requires the prepared qualified source registry.")))))
(asdf:test-system "topic-maps/ctm/xtm-tests")
(uiop:symbol-call :topic-maps.xtm-mergemap.tests :write-reports prefix)))
+
+
+;; Slice 20A registration always runs after the retained suites and the optional
+;; XTM adapter. Historical reports above remain snapshots of their own stages.
+(asdf:test-system "topic-maps/ctm/registered-original-tests")
+(let ((prefix (uiop:getenv "TOPIC_MAPS_REGISTERED_ORIGINALS_REPORT")))
+ (when prefix
+ (uiop:symbol-call :topic-maps.registered-original.tests :write-reports prefix)))
+
+
+;; Slice 20B runs after the unchanged Slice 20A snapshot in the same fresh process.
+(asdf:test-system "topic-maps/ctm/registered-negative-tests")
+(let ((prefix (uiop:getenv "TOPIC_MAPS_REGISTERED_NEGATIVES_REPORT")))
+ (when prefix
+ (uiop:symbol-call :topic-maps.registered-original.tests :write-negative-reports prefix)))
+
+;; Slice 20C: retained 20A/20B snapshots precede the new original contracts.
+(asdf:test-system "topic-maps/ctm/prolog-tests")
+(let ((prefix (uiop:getenv "TOPIC_MAPS_PROLOG_REPORT")))
+ (when prefix (uiop:symbol-call :topic-maps.prolog.tests :write-reports prefix)))