--- /mnt/user-data/uploads/entry_engine.py	2026-08-21 01:31:44.245656000 +0000
+++ /mnt/user-data/outputs/entry_engine.py	2026-08-21 01:32:56.772574890 +0000
@@ -165,6 +165,17 @@
     # [BUGFIX 2026-08-18] Fresh intraday-health gate -- required, hard
     # disqualifier. See the health_reading parameter docstring above for
     # why this can't be optional or soft-weighted.
+    #
+    # [FEATURE 2026-08-20] momentum_slope_class added to both log strings
+    # below, purely additive -- no change to should_enter/disqualified
+    # logic here (that's intraday_health.compute_health()'s job, see the
+    # 2026-08-20 raw_state classification change there). This was
+    # previously computed on every HealthReading but never surfaced in
+    # the CONFIRMATION log line, which made it impossible to retroactively
+    # check what momentum was doing at real past entries (confirmed gap:
+    # QUBT's two 2026-08-20 losing entries could not be analyzed for this
+    # after the fact because the value was never logged in the first
+    # place). Going forward every CONFIRMATION line carries it.
     if cfg.get("require_fresh_health_check", True):
         if health_reading is None:
             disqualified = True
@@ -175,14 +186,16 @@
                 f"fresh health check failed (state={health_reading.raw_state}, "
                 f"score={health_reading.health_score:.0f}, "
                 f"price_slope={health_reading.price_slope_class}, "
-                f"vwap_slope={health_reading.vwap_slope_class})"
+                f"vwap_slope={health_reading.vwap_slope_class}, "
+                f"momentum_slope={health_reading.momentum_slope_class})"
             )
         else:
             reasons_for.append(
                 f"fresh health {health_reading.raw_state} "
                 f"(score={health_reading.health_score:.0f}, "
                 f"price_slope={health_reading.price_slope_class}, "
-                f"vwap_slope={health_reading.vwap_slope_class})"
+                f"vwap_slope={health_reading.vwap_slope_class}, "
+                f"momentum_slope={health_reading.momentum_slope_class})"
             )
 
     if quote:
