@atbash/sdk 0.7.1-dev.0 → 0.7.2-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3499,6 +3499,7 @@ var Atbash = class _Atbash {
3499
3499
  onChain: Boolean(data.on_chain),
3500
3500
  enforced: Boolean(data.enforced),
3501
3501
  enforcementMode: String(data.enforcement_mode ?? ""),
3502
+ status: String(data.status ?? ""),
3502
3503
  score
3503
3504
  };
3504
3505
  }
@@ -3540,6 +3541,12 @@ var Atbash = class _Atbash {
3540
3541
  resolved: input.resolved
3541
3542
  });
3542
3543
  if (result.verdict === "No verdict") {
3544
+ if (result.status !== "logged") {
3545
+ return this.fail(
3546
+ `judge returned no verdict without an audit-tier marker (status: ${result.status || "absent"})`,
3547
+ result.toolCallId
3548
+ );
3549
+ }
3543
3550
  return {
3544
3551
  allow: true,
3545
3552
  verdict: "ALLOW",