Member Junction
    Preparing search index...
    • Parameters

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

        Optional evidence dump for the FINAL failed attempt, appended to the thrown message.

        A bare model-noncompliance: says only "the model didn't do it" — and the fixtures are purged at teardown, so nothing can be re-queried afterwards to find out WHY. Without this, "the model declined" is indistinguishable from "the tool was never advertised" or "the response came back empty", which is precisely how three real product defects hid behind this prefix during the 6.1 release. Must never throw: a failing diagnostic must not replace the failure it is describing.

      Returns Promise<string>

      Use RunWithCompliance.