From 2d2c11f8300143408998fdcd0b0bc51208776848 Mon Sep 17 00:00:00 2001 From: PJ Date: Sun, 31 May 2026 15:33:25 +0530 Subject: [PATCH] feat(trace): add Transitional flag to Step --- internal/trace/writer.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/trace/writer.go b/internal/trace/writer.go index c73d081..9578da1 100644 --- a/internal/trace/writer.go +++ b/internal/trace/writer.go @@ -24,6 +24,11 @@ type Step struct { Residuals map[string]json.RawMessage `json:"residuals,omitempty"` Metrics *Metrics `json:"metrics,omitempty"` ExtractorChanges map[string]ExtractorChange `json:"extractor_changes,omitempty"` + // Transitional marks a step whose hierarchy still showed a NavHost + // cross-fade (multiple route-level *Screen ids) after the runner's + // retry budget. The verifier is skipped for these steps so transient + // state does not poison the previous/current extractor advance. + Transitional bool `json:"transitional,omitempty"` } // ExtractorChange records the prev/curr JSON values of an extractor whose