version: 1
kind: HwlabWebProbeSentinelScenarios
metadata:
  id: web-probe-sentinel-fake-echo-scenarios
  owner: UniDesk
  specRef: PJ2026-01060508
  issue: 1190
sentinel:
  scenarios:
    - id: workbench-fake-echo-session-invariance-10x
      enabled: true
      cadence: 10m
      observeTargetPath: /workbench
      sampleIntervalMs: 1000
      screenshotIntervalMs: 60000
      maxRunSeconds: 1200
      commandWaitMs: 180000
      commandTimeoutSeconds: 180
      turnWaitChunkSeconds: 120
      providerProfile: fake-echo
      providerProfileMode: exact
      promptSetRef: config/hwlab-web-probe-sentinel/prompt-set.fake-echo.yaml#sentinel.promptSet
      reportViewRef: config/hwlab-web-probe-sentinel/report-views.yaml#sentinel.reportViews
      commandSequence:
        - type: newSession
        - type: sendPrompt
          promptSource: promptSet
          repeat: 10
      sessionInvarianceChecks:
        - id: after-round-1-navigation-invariance
          afterRound: 1
          refreshCurrent: true
          switchAwayAndBack: true
          alternateSessionStrategy: existing-or-create
          assertSessionInvariant: true
          expectedSentinelRange: sentinel-01..sentinel-01
          findingId: workbench-message-order-user-clustered-after-navigation
          severity: amber
          blocking: false
        - id: after-round-5-navigation-invariance
          afterRound: 5
          refreshCurrent: true
          switchAwayAndBack: true
          alternateSessionStrategy: existing-or-create
          assertSessionInvariant: true
          requireComposerReady: true
          expectedSentinelRange: sentinel-01..sentinel-05
          findingId: workbench-message-order-user-clustered-after-navigation
          severity: amber
          blocking: false
        - id: after-round-10-refresh-invariance
          afterRound: 10
          refreshCurrent: true
          switchAwayAndBack: false
          assertSessionInvariant: true
          expectedSentinelRange: sentinel-01..sentinel-10
          findingId: workbench-message-order-user-clustered-after-navigation
          severity: amber
          blocking: false
