Member Junction
    Preparing search index...
    • Two-phase compliance runner (§3.3). Runs scenario (which returns the persisted root run ID or undefined), then evaluates isCompliant from persisted artifacts (Phase P). On non-compliance it retries with a fresh scenario up to maxAttempts total, then throws model-noncompliance:. The FIRST compliant attempt's run ID is returned so Phase A (framework assertions, never retried) runs against a run that provably attempted the guarded behavior — the anti-vacuity guarantee.

      Parameters

      • scenario: () => Promise<string | undefined>
      • isCompliant: (rootRunId: string) => Promise<boolean>
      • label: string
      • maxAttempts: number = 3

      Returns Promise<string>