{
  "artifact": {
    "bytes": 10532,
    "format": "json",
    "mediaType": "application/json",
    "path": "samples/states/github/merge-conflict/state.json",
    "sha256": "30274c2ec28348487ff8e3787de2db4ba835e41429fedfe0157d4e8103f07730"
  },
  "capabilities": {
    "limitations": [
      "The supported route manifest remains the boundary; it is not the entire GitHub API."
    ],
    "required": [
      "state.read",
      "state.load",
      "state.reset",
      "rest.repositories"
    ],
    "supportedSurface": "Stateful repository, issue, pull-request, content, workflow, and organization REST flows."
  },
  "category": "edge-case",
  "displayName": "GitHub merge conflict",
  "entityCounts": {
    "collections": {
      "branches": 2,
      "comments": 0,
      "commits": 3,
      "files": 4,
      "issues": 1,
      "labels": 1,
      "pullRequests": 1,
      "repos": 1,
      "users": 2,
      "workflowRuns": 0,
      "workflows": 0
    },
    "total": 15
  },
  "environmentId": "github",
  "expectedDiff": {
    "changedPathsInclude": [
      "comments"
    ],
    "exact": false,
    "notes": "Hosted promotion must observe every listed path after the provider-native mutation; dynamic provider ids and timestamps are excluded from exact matching."
  },
  "expectedFirstRead": {
    "body": null,
    "expectedStatus": [
      200
    ],
    "method": "GET",
    "operationId": "getPullRequest",
    "path": "/repos/dev-main/conflict-repo/pulls/1",
    "transport": "provider-rest"
  },
  "id": "github.merge-conflict.v1",
  "provenance": {
    "authoredBy": "archal",
    "kind": "derived-fixture",
    "sanitizationNotes": [
      "Replaced 1 credential-shaped or non-example email value(s).",
      "Replacement paths: repos.0.sshUrl (email-domain)"
    ],
    "sourcePath": "clones/github/seeds/merge-conflict.json",
    "sourceSha256": "9a4d8a9df325195fcd9a2a34456eae86a37c2f08444170bbab2631a4088d5d88",
    "transformationNotes": [
      "Copied the complete pinned clones/github/seeds/merge-conflict.json state without dropping or slicing entities.",
      "Canonicalized object-key ordering for byte-stable public output."
    ]
  },
  "purpose": "Verify a pull request whose source and target branches contain conflicting file revisions.",
  "qualification": {
    "candidate": {
      "basis": "catalog-admission",
      "status": "passed"
    },
    "certification": {
      "evidencePath": null,
      "lastHostedVerificationAt": null,
      "runtimeBundleDigest": null,
      "sourceCommit": null,
      "status": "unknown"
    },
    "isolation": {
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "reset": {
      "expected": "restores-loaded-sample",
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "validation": {
      "checks": [
        "artifact-hash",
        "historical-source-lock",
        "state-contract",
        "scenario-semantics",
        "relationship-closure",
        "secret-scan",
        "size-limit"
      ],
      "status": "passed",
      "validator": "archal.environment-samples.v1"
    }
  },
  "representativeMutation": {
    "body": {
      "body": "Conflict reproduced in the configuration file. Keep the pull request blocked until the base branch is reconciled."
    },
    "expectedStatus": [
      201
    ],
    "method": "POST",
    "operationId": "createIssueComment",
    "path": "/repos/dev-main/conflict-repo/issues/1/comments",
    "transport": "provider-rest"
  },
  "schema": "archal.environment-sample",
  "schemaVersion": 1,
  "slug": "merge-conflict",
  "stateContract": {
    "format": "json",
    "schema": "archal.environment-state.github",
    "version": 1
  }
}
