{
  "artifact": {
    "bytes": 58614,
    "format": "json",
    "mediaType": "application/json",
    "path": "samples/states/github/ci-cd-pipeline/state.json",
    "sha256": "6cdc20ed2682a4e7d65a30c8c372ff0ab3930af7fe51ad22aa1c26c9a2e61c0a"
  },
  "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": "workflow",
  "displayName": "GitHub CI/CD pipeline workflow",
  "entityCounts": {
    "collections": {
      "branches": 5,
      "checkRuns": 12,
      "collaborators": 4,
      "comments": 2,
      "commits": 6,
      "commitStatuses": 7,
      "deployments": 7,
      "deploymentStatuses": 9,
      "discussionCategories": 0,
      "discussionComments": 0,
      "discussions": 0,
      "environments": 4,
      "files": 3,
      "gists": 0,
      "gitCommits": 0,
      "gitTrees": 0,
      "issues": 5,
      "labels": 5,
      "milestones": 2,
      "notifications": 3,
      "organizations": 0,
      "projectsV2": 0,
      "pullRequests": 2,
      "releases": 3,
      "repos": 1,
      "starredRepos": 0,
      "tags": 3,
      "teamMembers": 0,
      "teams": 0,
      "users": 4,
      "webhooks": 5,
      "workflowRuns": 6,
      "workflows": 4
    },
    "total": 102
  },
  "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": "getRepositoryIssue",
    "path": "/repos/archal-labs/api-gateway/issues/2",
    "transport": "provider-rest"
  },
  "id": "github.ci-cd-pipeline.v1",
  "provenance": {
    "authoredBy": "archal",
    "kind": "authored",
    "sanitizationNotes": [
      "Replaced 20 credential-shaped or non-example email value(s).",
      "Replacement paths: commits.0.authorEmail (email-domain), commits.0.committerEmail (email-domain), commits.1.authorEmail (email-domain), commits.1.committerEmail (email-domain), commits.2.authorEmail (email-domain), commits.2.committerEmail (email-domain), commits.3.authorEmail (email-domain), commits.3.committerEmail (email-domain), commits.4.authorEmail (email-domain), commits.4.committerEmail (email-domain), commits.5.authorEmail (email-domain), commits.5.committerEmail (email-domain), repos.0.sshUrl (email-domain), users.0.email (email-domain), users.1.email (email-domain), users.2.email (email-domain), webhooks.0.config.secret, webhooks.1.config.secret, webhooks.2.config.secret, webhooks.4.config.secret"
    ],
    "sourcePath": "clones/github/seeds/ci-cd-pipeline.json",
    "sourceSha256": "b29ca7fdf5d7c0ddc7360246eb54ec924e65190fd7aa8710d66ef8265c32f4cb",
    "transformationNotes": [
      "Constructed by the exact reviewed profile github.ci-cd-pipeline.",
      "Selected and amended records from the pinned clones/github/seeds/ci-cd-pipeline.json fixture without changing that historical source.",
      "Validated against the scenario proof, first-read prerequisites, mutation prerequisites, and declared relationship closure.",
      "Canonicalized object-key ordering for byte-stable public output."
    ]
  },
  "purpose": "Correlate INC-2027-014 with api-gateway@3.1.0, its production deployment, failed delivery behavior, rollback evidence, and remediation PR.",
  "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": "INC-2027-014: api-gateway@3.1.0 rollback is healthy. Do not replay queued deliveries until idempotency verification is complete."
    },
    "expectedStatus": [
      201
    ],
    "method": "POST",
    "operationId": "createIssueComment",
    "path": "/repos/archal-labs/api-gateway/issues/2/comments",
    "transport": "provider-rest"
  },
  "schema": "archal.environment-sample",
  "schemaVersion": 1,
  "slug": "ci-cd-pipeline",
  "stateContract": {
    "format": "json",
    "schema": "archal.environment-state.github",
    "version": 1
  }
}
