{
  "name": "Osty adversarial supply-chain benchmark and TLA+ proof lab",
  "description": "Osty's 15 adversarial supply-chain and fleet remediation scenarios (a01 to a15) and its TLA+ formal models, with the attack each scenario stages, the deterministic invariant it asserts, the Osty component under test and the exact command that runs it.",
  "url": "https://osty.dev/benchmarks/dataset.json",
  "version": "2026-11-29",
  "dateModified": "2026-11-29",
  "license": "CC-BY-4.0",
  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
  "creator": {
    "name": "Osty",
    "url": "https://osty.dev"
  },
  "verification": {
    "all": "mise run test:adversarial && mise run verify:formal",
    "adversarial": "go test -count=1 -tags adversarial ./lab/adversarial/...",
    "formal": "formal/tla/verify.sh with TLA_TOOLS_JAR pointing at tla2tools.jar v1.7.4",
    "requirements": [
      "Go toolchain",
      "Docker Compose services started by mise run compose:up (Postgres and MinIO)",
      "Native analyzers built by mise run tools:analyzers",
      "Java runtime for TLC"
    ]
  },
  "scenarios": [
    {
      "id": "a01",
      "title": "Wazuh lineage, unmanaged drift and stale deploys",
      "attackClass": "Runtime-to-source lineage forgery and stale deploys",
      "pillar": "see",
      "component": "Lineage reconciler, Wazuh collector and `osty stamp` provenance verifier",
      "invariant": "A forged `osty stamp` attestation is rejected, a stale deploy whose fix is on `main` is redeploy eligible only when every unshipped commit is a security fix, and a host with no attested artifact is classed unmanaged drift with no plan.",
      "attack": "Three Wazuh-reported hosts: one stale deploy with only security commits unshipped, one stale deploy with unrelated feature commits unshipped, and one legacy host running software no pipeline built, plus an attestation signed by an untrusted key.",
      "proof": [
        "The forged stamp from the untrusted key is refused.",
        "`edge-01` is auto-redeploy eligible, `billing-01` gets a surgical hotfix plan instead of a blind redeploy, and `legacy-01` is `UNMANAGED_DRIFT` with no artifact and no plan.",
        "All three reconciliations persist, including the live host SBOM in object storage."
      ],
      "sourceFile": "lab/adversarial/a01_wazuh_drift_test.go",
      "tests": [
        "TestA01WazuhLineageUnmanagedDriftAndStaleDeploy"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA01' ./lab/adversarial/..."
    },
    {
      "id": "a02",
      "title": "Runtime mutation drift and multi-stage build separation",
      "attackClass": "Container mutation after deploy and builder-stage scanner noise",
      "pillar": "see",
      "component": "Kubernetes collector, OCI SBOM scanner and build-stage lineage",
      "invariant": "A package that exists only in the builder stage never appears in the runtime image SBOM or carries production risk, and a running container that diverges from its attested image is flagged as runtime mutation drift.",
      "attack": "A Debian 12 image built from a `gcc-12` toolchain stage, deployed to Kubernetes, then mutated in place inside the running pod while its Wazuh agent reports the change.",
      "proof": [
        "Builder-only `gcc` never leaks into the `RUNTIME_IMAGE` SBOM and has no production runtime risk.",
        "Runtime OpenSSL exposure is attributed to the deployed workload.",
        "The Wazuh observation merges into its Kubernetes workload and `runtime_mutation_drift` is raised."
      ],
      "sourceFile": "lab/adversarial/a02_runtime_mutation_test.go",
      "tests": [
        "TestA02RuntimeMutationDriftAndMultiStageBuildSeparation"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA02' ./lab/adversarial/..."
    },
    {
      "id": "a03",
      "title": "Honey-secret DNS and HTTPS exfiltration",
      "attackClass": "Malicious `postinstall` stealing CI secrets",
      "pillar": "guard",
      "component": "Plane 1 sandbox vetter with honey-secret canaries and DNS/TLS sinkhole, `osty-proxy` and `osty verify`",
      "invariant": "A package that exfiltrates planted canary secrets is `CONFIRMED_MALICIOUS` with a forensic trace, the proxy returns 403 with an Ed25519-signed justification, and the lockfile gate blocks it.",
      "attack": "An npm package whose `postinstall` hex-encodes `AWS_SECRET_ACCESS_KEY` into DNS labels under `evil.test` and posts a base64 `GITHUB_TOKEN` to `https://collect.evil.test/v1/collect`.",
      "proof": [
        "Verdict is `CONFIRMED_MALICIOUS` with `canary_exfil_detected=true` and a forensic trace URI.",
        "The sinkhole captures both the DNS AWS exfiltration and the HTTPS GitHub token exfiltration.",
        "`osty-proxy` answers 403 Forbidden and the signed forensic justification verifies against the edge key.",
        "`osty verify` blocks the lockfile that pins the package."
      ],
      "sourceFile": "lab/adversarial/a03_honey_secret_exfil_test.go",
      "tests": [
        "TestA03HoneySecretDNSAndHTTPExfiltration"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA03' ./lab/adversarial/..."
    },
    {
      "id": "a04",
      "title": "Differential baseline without false positives",
      "attackClass": "Malicious behavior hidden in a patch release",
      "pillar": "guard",
      "component": "Plane 1 `vPrev -> vNew` differential behavioral baseline",
      "invariant": "Behavior repeated from the previous version produces an empty delta and a `CLEAN` verdict, and only genuinely new behavior escalates.",
      "attack": "Three releases of one package: `v1.0.0` sets the baseline, `v1.0.1` repeats the same network behavior, and `v1.0.2` adds a read of `~/.ssh/id_rsa` and a call to `new-evil.test`.",
      "proof": [
        "`v1.0.0` and `v1.0.1` are `CLEAN`, `v1.0.1` has an empty delta and the proxy allows it with 200.",
        "The `v1.0.2` delta pinpoints `~/.ssh/id_rsa` and `new-evil.test`, the verdict is `QUARANTINED_HIGH_RISK` or `CONFIRMED_MALICIOUS`, and the proxy blocks it with 403."
      ],
      "sourceFile": "lab/adversarial/a04_differential_baseline_test.go",
      "tests": [
        "TestA04DifferentialBaselineNonFPCheck"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA04' ./lab/adversarial/..."
    },
    {
      "id": "a05",
      "title": "Artifact versus source pipeline compromise",
      "attackClass": "Registry tarball that differs from its Git tag",
      "pillar": "guard",
      "component": "Plane 1 artifact-vs-Git diff verifier and `osty-proxy` quarantine hold",
      "invariant": "A published artifact whose files differ from the tagged source is `QUARANTINED_HIGH_RISK` with `MISMATCH_SUSPICIOUS` and the exact diff hunk, and the proxy holds it.",
      "attack": "A compromised publish pipeline ships a tarball for `v2.1.0` that contains code absent from the `v2.1.0` Git tag.",
      "proof": [
        "Verdict is `QUARANTINED_HIGH_RISK` plus `MISMATCH_SUSPICIOUS` with the injected hunk.",
        "The proxy returns 403 with `X-Osty-Decision: PULL_DECISION_QUARANTINE_HOLD`."
      ],
      "sourceFile": "lab/adversarial/a05_artifact_source_mismatch_test.go",
      "tests": [
        "TestA05ArtifactVsSourcePipelineCompromise"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA05' ./lab/adversarial/..."
    },
    {
      "id": "a06",
      "title": "Zero-knowledge dependency confusion",
      "attackClass": "Public package squatting a private internal name",
      "pillar": "guard",
      "component": "Zero-knowledge private namespace hashes, Plane 1 confusion detector and `osty-proxy`",
      "invariant": "Plane 1 detects a public publish that collides with a private name without ever receiving the plaintext private package name, and the proxy blocks the hijack.",
      "attack": "An attacker publishes a public package that matches a customer's private internal package name.",
      "proof": [
        "Exactly one dependency-confusion alert fires for the hijacked name.",
        "No plaintext private package name appears on the wire to Plane 1.",
        "The proxy blocks the public hijack with 403."
      ],
      "sourceFile": "lab/adversarial/a06_zk_dependency_confusion_test.go",
      "tests": [
        "TestA06ZeroKnowledgeDependencyConfusion"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA06' ./lab/adversarial/..."
    },
    {
      "id": "a07",
      "title": "Debian backport truth",
      "attackClass": "Scanner false positive on a distro backport",
      "pillar": "plan",
      "component": "OCI dpkg scanner, OSV and Debian Security Tracker importers and backport resolver",
      "invariant": "A Debian package carrying the backported fix produces zero actionable alerts with traceable VEX provenance, while the unpatched build of the same upstream version still raises exactly one.",
      "attack": "Two Debian 12 images with `openssl 3.0.11-1~deb12u2` (fix backported) and `3.0.11-1~deb12u1` (unpatched) against an upstream advisory for CVE-2024-5535 that says fixed in `3.0.12`.",
      "proof": [
        "`3.0.11-1~deb12u2` resolves to `FIXED_BACKPORT` with zero actionable alerts and persisted VEX provenance.",
        "`3.0.11-1~deb12u1` raises exactly one actionable `AFFECTED` alert."
      ],
      "sourceFile": "lab/adversarial/a07_debian_backport_test.go",
      "tests": [
        "TestA07DebianBackportAntiFalsePositive"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA07' ./lab/adversarial/..."
    },
    {
      "id": "a08",
      "title": "ELF glibc floor and license rug pull",
      "attackClass": "Upgrade that breaks the ABI or changes license",
      "pillar": "plan",
      "component": "ELF `DT_NEEDED` / `VERNEED` ABI checker and SPDX license diff",
      "invariant": "An upgrade whose native binary needs `GLIBC_2.34` is `ENV_BLOCKED` on a `glibc 2.31` host and refuses auto-merge, and an MIT to BSL-1.1 change is `LICENSE_BLOCKED`.",
      "attack": "A package upgrade ships an ELF64 binary that requires `GLIBC_2.34` and relicenses from MIT to BSL-1.1.",
      "proof": [
        "The extracted floor is `MinGlibcVersion 2.34` with the exact `GLIBC_2.34 > 2.31` proof.",
        "Debian 12 with `glibc 2.36` and `libssl.so.3` is `DROP_IN_SAFE`, Debian 11 is `ENV_BLOCKED` with `AutoMergeAllowed=false`.",
        "The license delta is `LICENSE_BLOCKED` and refuses auto-merge."
      ],
      "sourceFile": "lab/adversarial/a08_elf_abi_and_license_test.go",
      "tests": [
        "TestA08ELFGLIBCFloorAndLicenseRugPull"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA08' ./lab/adversarial/..."
    },
    {
      "id": "a09",
      "title": "Native compiler reachability and breaking call sites",
      "attackClass": "Reachability guesses that hide real exposure",
      "pillar": "plan",
      "component": "Go `go/packages` and TypeScript Compiler API analyzers",
      "invariant": "Production call sites are `STATIC_CALL_CONFIRMED`, test-only imports are `STATICALLY_UNREACHABLE`, renamed exports pinpoint the call site as `MIGRATION_REQUIRED`, and changelog claims the AST does not corroborate stay `UNVERIFIED_PROSE`.",
      "attack": "Three Go repositories and three TypeScript repositories: a real production call, a test-only or `devDependencies` import, and an upgrade across a renamed export.",
      "proof": [
        "Go and TypeScript repository 1 are `STATIC_CALL_CONFIRMED` with the exact call site.",
        "Repository 2 in both languages is `STATICALLY_UNREACHABLE`.",
        "Repository 3 in both languages is `MIGRATION_REQUIRED` at the impacted call site, and an uncorroborated changelog claim is `ast_verified=false`."
      ],
      "sourceFile": "lab/adversarial/a09_native_compiler_reachability_test.go",
      "tests": [
        "TestA09NativeCompilerReachabilityAndBreakingCallSites"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA09' ./lab/adversarial/..."
    },
    {
      "id": "a10",
      "title": "Changelog prompt injection defeated by the Policy Patch Verifier",
      "attackClass": "Prompt injection against an AI migration agent",
      "pillar": "ship",
      "component": "Zero-tool changelog extraction, AST cross-validation, migration context assembler and Policy Patch Verifier",
      "invariant": "An injected migration hint is never `ast_verified`, never reaches the migration worker, and a poisoned diff is hard-rejected while the legitimate rename migration still passes.",
      "attack": "A `CHANGELOG.md` for `@acme/tokenlib` 2.0.0 tells the AI agent to append a reverse shell to `.github/workflows/ci.yml` and add `evil-helper@1.0.0` to `package.json`.",
      "proof": [
        "The injected `MIGRATION_HINT` is tagged unverified prose and excluded from the migration context, and the raw changelog never reaches the worker.",
        "The poisoned diff violates `patchVerifier.forbiddenPaths`, `patchVerifier.forbidUnlistedDependencies` and `patchVerifier.forbidNewShellOrNetworkPrimitives`.",
        "The clean `ParseToken` to `VerifyToken` migration passes the verifier."
      ],
      "sourceFile": "lab/adversarial/a10_prompt_injection_migration_test.go",
      "tests": [
        "TestA10PromptInjectedChangelogDefense"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA10' ./lab/adversarial/..."
    },
    {
      "id": "a11",
      "title": "Zero-trust edge defeats a compromised control plane",
      "attackClass": "Compromised vendor control plane issuing rogue commands",
      "pillar": "policy-ledger",
      "component": "`osty-edge` local policy gate, mTLS command link and hash-chained Evidence Ledger",
      "invariant": "Commands that violate the Git-pinned `.osty/policy.yaml`, or that carry the wrong policy digest, are rejected locally with zero Git mutations and a signed ledger receipt.",
      "attack": "A compromised control plane dispatches a rogue merge on a Tier-0 repository, a redeploy without observability, and a command bound to a different policy digest.",
      "proof": [
        "Rogue `MergePR` and redeploy without observability are `REJECTED_POLICY_VIOLATION`, the digest mismatch is `REJECTED_POLICY_DIGEST_MISMATCH`.",
        "`main` keeps its SHA, the pull request stays open and unmerged, and the edge performs zero Git mutations.",
        "The evidence ledger hash chain verifies and records the pinned policy digest."
      ],
      "sourceFile": "lab/adversarial/a11_zero_trust_edge_policy_test.go",
      "tests": [
        "TestA11ZeroTrustEdgeDefeatsCompromisedControlPlane"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA11' ./lab/adversarial/..."
    },
    {
      "id": "a12",
      "title": "Stateful-safe kill switch and flake classification",
      "attackClass": "Emergency rollback that would corrupt a database, and flaky CI",
      "pillar": "ship",
      "component": "Kill-switch Temporal workflow, dual-control approvals, rollback safety inspector and CI flake classifier",
      "invariant": "The proxy freezes the bad version within the 1 second freeze budget, a workload with a stateful migration is contained and forward-rebuilt instead of rolled back, broad rollback needs two distinct signed operators, and a known flake never blocks a verified PR.",
      "attack": "A malicious npm version that exfiltrates CI tokens reaches two services, one of which shipped `migrations/0042_add_ledger.sql`, while an operator tries to approve twice and a forged attestation is submitted.",
      "proof": [
        "Freeze latency is under `campaigns.FreezeBudget` (1 second) and the control-plane registry reports the freeze.",
        "`service-b` is contained and gets a forward-rebuild PR pinned to the safe version, never a blind rollback.",
        "A duplicate operator counts once, a forged attestation is denied, and the ledger records exactly two accepted approvals before `service-a` rolls back to its attested digest.",
        "The secret exposure report ranks the admin CI deploy key first and is anchored in the ledger.",
        "A known flake survives one control rerun and opens a verified PR, while a new failure from the bump stops the campaign."
      ],
      "sourceFile": "lab/adversarial/a12_kill_switch_and_flake_test.go",
      "tests": [
        "TestA12KillSwitchContainsStatefulAndRollsBackStatelessUnderDualControl",
        "TestA12CampaignDifferentiatesKnownFlakeFromNewFailure"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA12' ./lab/adversarial/..."
    },
    {
      "id": "a13",
      "title": "Scale-to-zero ghost production never vanishes",
      "attackClass": "Production workloads invisible to scanners while idle",
      "pillar": "see",
      "component": "AWS (ECS, Lambda, ECR, Inspector) and GCP (Cloud Run, Artifact Registry, Container Analysis) collectors",
      "invariant": "Workloads scaled to zero are still collected as deployable production, bound only to immutable attested artifacts, and their scanner findings stay attributed.",
      "attack": "An ECS Fargate service with `DesiredCount: 0`, a Lambda function whose `$LATEST` and pinned version run different images, and a Cloud Run service scaled to zero.",
      "proof": [
        "Each scale-to-zero workload is collected as a deployable spec and persists in Postgres.",
        "Active artifacts resolve to immutable digests and unattested artifacts are never bound.",
        "`checkout` gets a surgical hotfix instead of a blind redeploy, and unmatched or foreign scanner findings are reported, not dropped."
      ],
      "sourceFile": "lab/adversarial/a13_ghost_prod_test.go",
      "tests": [
        "TestA13ScaleToZeroGhostProdNeverVanishes"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA13' ./lab/adversarial/..."
    },
    {
      "id": "a14",
      "title": "Sovereign offline air gap",
      "attackClass": "Tampered or downgraded offline intelligence bundles",
      "pillar": "policy-ledger",
      "component": "`osty airgap export` / `import`, `osty explain`, edge cache and `osty-proxy` in a network-refusing environment",
      "invariant": "Offline import, explain and verify make zero outbound requests, tampered archives and unauthorized verdict downgrades are refused, and re-import is idempotent.",
      "attack": "An exported Ed25519-signed bundle chain is carried across the gap, then a byte-flipped archive and a bundle that downgrades a `CONFIRMED_MALICIOUS` verdict to `CLEAN` are imported.",
      "proof": [
        "The offline phase makes zero requests to Plane 1 and zero outbound HTTP requests.",
        "The tampered archive and the unauthorized supply-chain verdict downgrade both fail import.",
        "Re-import applies nothing and skips bundles 1 to 3, and the proxy still blocks the malicious package offline."
      ],
      "sourceFile": "lab/adversarial/a14_airgap_offline_test.go",
      "tests": [
        "TestA14SovereignOfflineAirGap"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA14' ./lab/adversarial/..."
    },
    {
      "id": "a15",
      "title": "Multi-org RBAC against cross-tenant escalation",
      "attackClass": "Cross-tenant access and privilege escalation",
      "pillar": "policy-ledger",
      "component": "Control-plane strict authorizer, OIDC and mTLS identities, RBAC ledger",
      "invariant": "No identity sees or acts on another organisation, forged certificate role claims only surface the caller's own organisation, viewers never count toward dual control, and every grant carries an Ed25519-signed ledger receipt.",
      "attack": "Operators across two organisations using static, OIDC and mTLS identities, including a certificate that claims `ORG_ADMIN` in both organisations and an unbound operator trying to bootstrap.",
      "proof": [
        "An unbound operator cannot bootstrap an organisation and organisation listings never leak across tenants.",
        "A certificate claiming organisation B roles only surfaces organisation A.",
        "A viewer attestation never counts toward dual control and a single-operator release is refused before reaching the edge.",
        "Every RBAC entry is Ed25519 signed and the auditor sees no foreign ledger entry."
      ],
      "sourceFile": "lab/adversarial/a15_multi_org_rbac_test.go",
      "tests": [
        "TestA15MultiOrgRBACDefeatsCrossTenantAndPrivilegeEscalation"
      ],
      "command": "go test -count=1 -tags adversarial -run '^TestA15' ./lab/adversarial/..."
    }
  ],
  "formalModels": [
    {
      "module": "EdgeZeroTrustAndKillSwitch",
      "file": "formal/tla/EdgeZeroTrustAndKillSwitch.tla",
      "config": "formal/tla/EdgeZeroTrustAndKillSwitch.cfg",
      "models": "The edge policy gate, idempotent command execution, the kill-switch phases, frozen-coordinate merges and the offline audit buffer.",
      "constants": "Targets = {t1, t2}",
      "command": "mise run verify:formal",
      "run": {
        "statesGenerated": 6406468,
        "distinctStates": 1321308,
        "depth": 27
      },
      "properties": [
        {
          "name": "NoOutOfPolicyMutation",
          "kind": "invariant",
          "meaning": "No command executes unless the pinned policy claimed it.",
          "mutants": [
            {
              "name": "policy-gate-skipped",
              "counterexampleStates": 10
            }
          ]
        },
        {
          "name": "NoDuplicateIdempotentExecution",
          "kind": "invariant",
          "meaning": "Each idempotency key executes at most once, including after crash recovery.",
          "mutants": [
            {
              "name": "crash-recovery-releases-key",
              "counterexampleStates": 13
            }
          ]
        },
        {
          "name": "BroadRollbackRequiresTwoDistinctValidApprovals",
          "kind": "invariant",
          "meaning": "A rollback across more than one production target, or touching any `TIER0` target, needs two distinct operators with valid attestations.",
          "mutants": [
            {
              "name": "counts-attestations-not-operators",
              "counterexampleStates": 13
            },
            {
              "name": "gate-ignores-tier0",
              "counterexampleStates": 10
            }
          ]
        },
        {
          "name": "NoBlindRollbackOnStatefulMigration",
          "kind": "invariant",
          "meaning": "Only `SAFE_STATELESS` targets are ever rolled back.",
          "mutants": [
            {
              "name": "edge-skips-local-reinspection",
              "counterexampleStates": 10
            }
          ]
        },
        {
          "name": "ConfirmedMaliciousNeverAutoDowngraded",
          "kind": "invariant",
          "meaning": "A `CONFIRMED_MALICIOUS` verdict only drops through a signed human override.",
          "mutants": [
            {
              "name": "latest-verdict-wins",
              "counterexampleStates": 3
            }
          ]
        },
        {
          "name": "NoMergeOfFrozenCoordinate",
          "kind": "invariant",
          "meaning": "No campaign merge or redeploy lands for a package coordinate frozen after its pull request opened.",
          "mutants": [
            {
              "name": "edge-skips-freeze-check",
              "counterexampleStates": 7
            }
          ]
        },
        {
          "name": "OfflineAuditEventuallyFlushed",
          "kind": "temporal",
          "meaning": "Every pending audit record is eventually synced after the link reconnects.",
          "mutants": [
            {
              "name": "disconnect-drops-unsynced",
              "counterexampleStates": 16
            }
          ]
        }
      ]
    },
    {
      "module": "CampaignWaveAndCanary",
      "file": "formal/tla/CampaignWaveAndCanary.tla",
      "config": "formal/tla/CampaignWaveAndCanary.cfg",
      "models": "Topological campaign waves, canary soak, observability, OOM and TLS handshake gating, pause and resume, kill-switch halts and halted-wave approvals.",
      "constants": "UpstreamTargets = {lib}, DownstreamTargets = {api, web}, SoakTicks = 2, ZeroOOMKills = TRUE, TLSHandshakeGated = TRUE",
      "command": "mise run verify:formal",
      "run": {
        "statesGenerated": 79040208,
        "distinctStates": 5085200,
        "depth": 40
      },
      "properties": [
        {
          "name": "NoDownstreamBeforeUpstreamWave",
          "kind": "invariant",
          "meaning": "No downstream target leaves `PENDING` before every upstream target in an earlier wave is done.",
          "mutants": [
            {
              "name": "wave-advances-unsettled",
              "counterexampleStates": 3
            }
          ]
        },
        {
          "name": "NoAutoPromoteWithoutObservability",
          "kind": "invariant",
          "meaning": "A canary is auto-promoted only with observability `OK` after the full soak, never from a stale operator decision.",
          "mutants": [
            {
              "name": "stale-hold-signal-preresolves",
              "counterexampleStates": 8
            },
            {
              "name": "trusts-control-plane-final-phase",
              "counterexampleStates": 6
            }
          ]
        },
        {
          "name": "NoPromotionAfterOOMKill",
          "kind": "invariant",
          "meaning": "A target with an observable OOM kill is never promoted.",
          "mutants": [
            {
              "name": "zero-oom-gate-skipped",
              "counterexampleStates": 9
            }
          ]
        },
        {
          "name": "NoAutoPromoteWithoutTLSHandshakeEvidence",
          "kind": "invariant",
          "meaning": "With the TLS handshake gate on, a canary is auto-promoted only with observability `OK`, never with failing handshakes.",
          "mutants": [
            {
              "name": "tls-gate-not-consulted",
              "counterexampleStates": 8
            }
          ]
        },
        {
          "name": "TargetTransitionsAlwaysLegal",
          "kind": "invariant",
          "meaning": "Every target status change follows a legal execution edge.",
          "mutants": [
            {
              "name": "partial-rollout-marked-skipped",
              "counterexampleStates": 9
            }
          ]
        },
        {
          "name": "HaltedWaveRequiresLiveApproval",
          "kind": "invariant",
          "meaning": "A halted wave resumes only with an approval that is still live.",
          "mutants": [
            {
              "name": "early-approval-counts",
              "counterexampleStates": 6
            }
          ]
        },
        {
          "name": "ResumeNeverClearsHalt",
          "kind": "invariant",
          "meaning": "Resuming a paused campaign never clears a kill-switch halt; that still needs a wave approval.",
          "mutants": [
            {
              "name": "resume-clears-halt",
              "counterexampleStates": 6
            }
          ]
        },
        {
          "name": "PauseHoldsInFlightTargets",
          "kind": "temporal",
          "meaning": "While a campaign is paused, no target moves into merge, canary soak or deploy.",
          "mutants": [
            {
              "name": "paused-target-keeps-rolling-out",
              "counterexampleStates": 10
            }
          ]
        }
      ]
    }
  ],
  "totals": {
    "scenarios": 15,
    "tests": 16,
    "formalModels": 2,
    "formalProperties": 15,
    "mutants": 17
  },
  "lastRun": {
    "date": "2026-11-29",
    "formalDate": "2026-12-01",
    "scenariosPassed": 15,
    "testsPassed": 16,
    "testsFailed": 0,
    "formalModelsChecked": 2,
    "mutantsKilled": 17,
    "toolchain": "go test -tags adversarial against Docker Compose Postgres 17, MinIO and Temporal; TLC from tla2tools.jar v1.7.4"
  }
}
