OptionaldirectionOptionalkeyScope key that was read or written. Only present on 'step' entries. Use this for structured data extraction (e.g., grounding analysis) instead of matching on rendered text strings.
OptionalrawRaw value from the scope event — available for programmatic access and custom formatting. Only present on 'step' entries (read/write ops). This is a live reference, not a clone. When using ScopeFacade, redacted keys will have value '[REDACTED]' (sanitized upstream by ScopeFacade before dispatching events — the recorder does not enforce redaction).
OptionalruntimeUnique per-execution-step identifier. Format: [subflowPath/]stageId#executionIndex. Links narrative entries to recorder Map entries for O(1) time-travel lookup. Undefined only when TraversalContext is absent from the source event.
OptionalstageStable stage identifier from the builder (matches spec node id). Use for UI sync.
OptionalstageOptionalstepOptionalsubflowSubflow ID when this entry was generated inside a subflow. Undefined for root-level.
Direction for subflow entries: 'entry' when entering, 'exit' when leaving. Only present on entries with type === 'subflow'. Use this instead of text scanning.