{
  "schema": "opstruth.main-governance-proposal",
  "schemaVersion": "2.0.0",
  "proposalState": "ACTIVE",
  "repository": {
    "name": "AyobamiH/opstruth-chatgpt-plugin",
    "repositoryId": 1345997124,
    "defaultBranch": "main",
    "baseCommit": "7cc308895cbbe06856cb4a3c80ff243a58eeb132"
  },
  "providerObservation": {
    "observedOn": "2026-09-04",
    "source": "GitHub branch and ruleset API read-back plus enforcement probe PR #29",
    "mainProtection": "PROTECTED",
    "requiredStatusEnforcement": "ON",
    "activeRulesets": 1,
    "rulesetId": 22247265
  },
  "activation": {
    "permitted": true,
    "desiredEnforcement": "active",
    "artifactEnforcement": "disabled",
    "activatedAt": "2026-09-04T05:48:38.670+01:00",
    "blockers": []
  },
  "stages": {
    "mechanicalBaseline": {
      "state": "ACTIVE",
      "requiredApprovals": 0,
      "requiresSecondHumanReviewer": false
    },
    "independentHumanReview": {
      "state": "FOLLOW_ON",
      "requiredApprovalsAfterActivation": 1,
      "mustNotWeakenMechanicalBaseline": true
    }
  },
  "ownership": {
    "codeOwners": [
      "@AyobamiH"
    ],
    "mergeAuthority": [
      "@AyobamiH"
    ],
    "independentReviewer": {
      "reviewer": null,
      "state": "UNNAMED",
      "activationBlocker": false,
      "mustBeHuman": true
    },
    "emergencyBypass": {
      "actors": [
        "@AyobamiH"
      ],
      "mode": "always",
      "directPush": "EMERGENCY_ONLY",
      "forcePush": false,
      "branchDeletion": false
    }
  },
  "releaseChannelIdentity": {
    "product": "OpsTruth",
    "version": "0.4.0",
    "sourceMainCommit": "186ac58c7f76da942bb1b6bfc8c9b18bd2b812d5",
    "chatgptDirectoryState": "PUBLISHED",
    "changesDeploymentState": false,
    "changesPublicationState": false,
    "changesReleaseState": false
  },
  "hostedChecks": [
    {
      "context": "verify",
      "workflowName": "CI",
      "workflowPath": ".github/workflows/ci.yml",
      "job": "verify",
      "pullRequestTrigger": true,
      "pathFiltered": false,
      "jobCondition": null,
      "required": true,
      "integrationId": 15368
    },
    {
      "context": "review",
      "workflowName": "OpsTruth maintainer review",
      "workflowPath": ".github/workflows/maintainer-review.yml",
      "job": "review",
      "pullRequestTrigger": true,
      "pathFiltered": false,
      "jobCondition": null,
      "required": true,
      "integrationId": 15368
    },
    {
      "context": "deploy",
      "workflowName": "Deploy MCP to Cloudflare",
      "workflowPath": ".github/workflows/deploy-cloudflare.yml",
      "job": "deploy",
      "pullRequestTrigger": false,
      "pathFiltered": true,
      "jobCondition": null,
      "required": false,
      "exclusionReason": "The workflow runs on selected main changes and manual dispatch, so it is not an always-emitted pull-request check."
    }
  ],
  "githubRuleset": {
    "name": "OpsTruth main mechanical governance",
    "target": "branch",
    "enforcement": "disabled",
    "bypass_actors": [
      {
        "actor_id": 47716486,
        "actor_type": "User",
        "bypass_mode": "always"
      }
    ],
    "conditions": {
      "ref_name": {
        "include": [
          "refs/heads/main"
        ],
        "exclude": []
      }
    },
    "rules": [
      {
        "type": "deletion"
      },
      {
        "type": "non_fast_forward"
      },
      {
        "type": "pull_request",
        "parameters": {
          "allowed_merge_methods": [
            "merge",
            "squash",
            "rebase"
          ],
          "dismiss_stale_reviews_on_push": false,
          "require_code_owner_review": false,
          "require_last_push_approval": false,
          "required_approving_review_count": 0,
          "required_review_thread_resolution": true
        }
      },
      {
        "type": "required_status_checks",
        "parameters": {
          "do_not_enforce_on_create": false,
          "required_status_checks": [
            {
              "context": "verify",
              "integration_id": 15368
            },
            {
              "context": "review",
              "integration_id": 15368
            }
          ],
          "strict_required_status_checks_policy": true
        }
      }
    ]
  },
  "activationReadBack": {
    "state": "VERIFIED",
    "observedAt": "2026-09-04T05:54:20+01:00",
    "rulesetId": 22247265,
    "providerEnforcement": "active",
    "effectiveBranchRules": [
      "refs/heads/main only",
      "pull request required",
      "verify required via GitHub Actions integration 15368",
      "review required via GitHub Actions integration 15368",
      "strict target-branch freshness",
      "resolved review conversations",
      "deletion blocked",
      "non-fast-forward blocked",
      "zero required approvals",
      "single owner emergency bypass"
    ],
    "enforcementProbe": {
      "pullRequest": 29,
      "head": "6ec09aed203b8beb4b0358c064f29f5f1690a79b",
      "verifyRun": 33838447356,
      "reviewRun": 33838447326,
      "mergeCommit": "7cc308895cbbe06856cb4a3c80ff243a58eeb132"
    }
  }
}
