requireDetectorTraceRecord property

bool requireDetectorTraceRecord
final

When true, the at + above captures must contain at least one sleuth.issue.<stableId>.<severityLabel> trace record inside the scenario span. Default true — proves the detector actually fired for the captured scenario, closing the bracket-without-emission gap. Set false only for axes whose trace evidence is provided by the canonical bracket alone (rare; the multi-axis pattern usually produces independent emissions per axis).

Default differs from ProfileCaptureSchema.validateBracket(...) (defaults false). The named-arg public API kept its v0.18.0 contract for backward compat; the BracketSpec constructor opts into the stronger default because every multi-axis spec ships at runtimeVerified, where a bracket-without-emission would be over-claimed evidence. When wiring tests against pre-v0.18.0 fixtures (no sleuthMetadata.schemaVersion), pass requireDetectorTraceRecord: false explicitly or the schemaVersion gate fires before any other validation.

Implementation

final bool requireDetectorTraceRecord;