{
  "schemaVersion": "1.0",
  "item": {
    "slug": "consensus-code-merge-guard",
    "name": "consensus-code-merge-guard",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/kaicianflone/consensus-code-merge-guard",
    "canonicalUrl": "https://clawhub.ai/kaicianflone/consensus-code-merge-guard",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/consensus-code-merge-guard",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=consensus-code-merge-guard",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "AI-SELF-IMPROVEMENT.md",
      "README.md",
      "SKILL.md",
      "examples/input.json",
      "metadata.json",
      "package-lock.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/consensus-code-merge-guard"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/consensus-code-merge-guard",
    "agentPageUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "consensus-code-merge-guard",
        "body": "consensus-code-merge-guard turns code merge approval into a governed, auditable decision."
      },
      {
        "title": "What this skill does",
        "body": "consumes PR/change summary input\nruns persona-weighted vote arbitration\nenforces hard constraints (e.g., tests/security flags)\nmaps to engineering decision states: MERGE | BLOCK | REVISE\nwrites decision and updated persona artifacts to board state"
      },
      {
        "title": "Why this matters",
        "body": "CI passing does not guarantee risk-aware merge quality. Consensus review reduces silent failure propagation into production."
      },
      {
        "title": "Ecosystem role",
        "body": "Uses the same consensus substrate as other guards, enabling cross-domain governance with comparable metrics."
      },
      {
        "title": "Useful for",
        "body": "autonomous or semi-autonomous merge pipelines\nhigh-risk repos needing policy checks\nrepeatable release governance with artifact history"
      },
      {
        "title": "Runtime, credentials, and network behavior",
        "body": "runtime binaries: node, tsx\nnetwork calls: none in the guard decision path itself\nfilesystem writes: board/state artifacts under the configured consensus state path"
      },
      {
        "title": "Dependency trust model",
        "body": "consensus-guard-core is the first-party consensus package used in guard execution\nversions are semver-pinned in package.json for reproducible installs\nthis skill does not request host-wide privileges and does not mutate other skills"
      },
      {
        "title": "Install (registry)",
        "body": "npm i consensus-code-merge-guard"
      },
      {
        "title": "Quick start",
        "body": "node --import tsx run.js --input ./examples/input.json"
      },
      {
        "title": "Tool-call integration",
        "body": "This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):\n\nreadBoardPolicy\ngetLatestPersonaSet / getPersonaSet\nwriteArtifact / writeDecision\nidempotent decision lookup\n\nThis keeps board orchestration standardized across skills."
      },
      {
        "title": "Invoke Contract",
        "body": "This skill exposes a canonical entrypoint:\n\ninvoke(input, opts?) -> Promise<OutputJson | ErrorJson>\n\ninvoke() starts the guard flow and executes deterministic policy evaluation with board operations via shared guard-core wrappers."
      },
      {
        "title": "external_agent mode",
        "body": "Guards support two modes:\n\nmode=\"external_agent\": caller supplies external_votes[] from agents/humans/models for deterministic aggregation.\nmode=\"persona\": requires an existing persona_set_id; guard will not generate persona sets internally."
      }
    ],
    "body": "consensus-code-merge-guard\n\nconsensus-code-merge-guard turns code merge approval into a governed, auditable decision.\n\nWhat this skill does\nconsumes PR/change summary input\nruns persona-weighted vote arbitration\nenforces hard constraints (e.g., tests/security flags)\nmaps to engineering decision states: MERGE | BLOCK | REVISE\nwrites decision and updated persona artifacts to board state\nWhy this matters\n\nCI passing does not guarantee risk-aware merge quality. Consensus review reduces silent failure propagation into production.\n\nEcosystem role\n\nUses the same consensus substrate as other guards, enabling cross-domain governance with comparable metrics.\n\nUseful for\nautonomous or semi-autonomous merge pipelines\nhigh-risk repos needing policy checks\nrepeatable release governance with artifact history\nRuntime, credentials, and network behavior\nruntime binaries: node, tsx\nnetwork calls: none in the guard decision path itself\nfilesystem writes: board/state artifacts under the configured consensus state path\nDependency trust model\nconsensus-guard-core is the first-party consensus package used in guard execution\nversions are semver-pinned in package.json for reproducible installs\nthis skill does not request host-wide privileges and does not mutate other skills\nInstall (registry)\nnpm i consensus-code-merge-guard\n\nQuick start\nnode --import tsx run.js --input ./examples/input.json\n\nTool-call integration\n\nThis skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):\n\nreadBoardPolicy\ngetLatestPersonaSet / getPersonaSet\nwriteArtifact / writeDecision\nidempotent decision lookup\n\nThis keeps board orchestration standardized across skills.\n\nInvoke Contract\n\nThis skill exposes a canonical entrypoint:\n\ninvoke(input, opts?) -> Promise<OutputJson | ErrorJson>\n\ninvoke() starts the guard flow and executes deterministic policy evaluation with board operations via shared guard-core wrappers.\n\nexternal_agent mode\n\nGuards support two modes:\n\nmode=\"external_agent\": caller supplies external_votes[] from agents/humans/models for deterministic aggregation.\nmode=\"persona\": requires an existing persona_set_id; guard will not generate persona sets internally."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/kaicianflone/consensus-code-merge-guard",
    "publisherUrl": "https://clawhub.ai/kaicianflone/consensus-code-merge-guard",
    "owner": "kaicianflone",
    "version": "1.1.15",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard",
    "downloadUrl": "https://openagent3.xyz/downloads/consensus-code-merge-guard",
    "agentUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/consensus-code-merge-guard/agent.md"
  }
}