Home / runxhq / runx · skills/schema-guard/SKILL.md · GitHub

schema-guard skillA

schema-guard is agent-read markdown (skill) from runxhq/runx: Check a proposed API or data contract against the current contract, real sample payloads, and a compatibility policy, and gate publication behind a refusable verdict with native digest evidence..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Schema Guard

Schema Guard decides whether a proposed contract change can move forward
without silently breaking callers. It compares the current and proposed JSON
Schema contracts field by field, validates every supplied sample payload
against the proposed contract, applies the caller's compatibility policy, and
either refuses or emits a gated publish proposal. It never publishes anything
itself.

## Procedure

1. Native `data.digest` binds the exact current schema, proposed schema, and
   sample set before any judgment, so the verdict is tied to specific bytes.
2. Deterministic comparison walks both contracts: removed fields, type changes,
   fields that became required, new required fields, and narrowed enums are
   breaking; additive optional fields and expanded enums are notes.
3. Every sample payload is validated against the proposed contract. Coverage is
   reported honestly: paths no sample exercises are flagged, not assumed
   covered.
4. The policy decides the verdict. Breaking changes are refused unless
   `breaking_allowed` is explicitly true, and policy `required_fields` must
   exist in the proposed contract.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add runxhq/runx/schema-guard@git:20260810.415bb38
Exact content
mdr add runxhq/runx/schema-guard@sha256:8cf85c86e819c47d

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tqcpwsocawmgzy2j.svg)](https://markdownregistry.com/a/art_tqcpwsocawmgzy2j)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260810.415bb38 latest2026-08-10 415bb38 2,057 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2057 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

runxhq/runx · 93 stars · license Apache-2.0 · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tqcpwsocawmgzy2j
GET https://markdownregistry.com/api/v1/resolve?ref=runxhq/runx/schema-guard
GET https://markdownregistry.com/api/v1/blob/8cf85c86e819c47d9ff7a088a8c7b0124d2b6236a1d5ededb1def8a41bd714f9

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from runxhq/runx

AGENTS.md agents
runxhq/runx · AGENTS.md
git:20260908.0ff743d · audit A · 93 stars
CLAUDE.md claude
runxhq/runx · CLAUDE.md
git:20260908.0ff743d · audit A · 93 stars
runx skill
runxhq/runx · SKILL.md · Governed runtime for agent skills: discover and install portable skills, run bounded skill graphs with explicit…
git:20260909.15accb0 · audit B · 93 stars
external-adapter-graph skill
runxhq/runx · examples/external-adapter-graph/SKILL.md · External-adapter front example; a graph whose step runs a governed subprocess adapter.
git:20260803.0993e04 · audit A · 93 stars
external-adapter-echo skill
runxhq/runx · examples/external-adapter-tool/SKILL.md · External-adapter sub-skill; a governed subprocess adapter that echoes its inputs.
git:20260803.0993e04 · audit A · 93 stars
github-mcp-hero skill
runxhq/runx · examples/github-mcp-hero/SKILL.md · Governed GitHub over MCP; read is admitted, out-of-scope mutation is sealed as a denial.
git:20260604.a6ec7d9 · audit A · 93 stars
github-mcp-merge-pr skill
runxhq/runx · examples/github-mcp-hero/merge-pr/SKILL.md · Merge a deterministic GitHub PR through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
github-mcp-read-issue skill
runxhq/runx · examples/github-mcp-hero/read-issue/SKILL.md · Read a deterministic GitHub issue through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
github-mcp-pr-review-note skill
runxhq/runx · examples/github-mcp-hero/review-note/SKILL.md · Add a deterministic GitHub PR review note through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
github-mcp-write-comment skill
runxhq/runx · examples/github-mcp-hero/write-comment/SKILL.md · Write a deterministic GitHub issue comment through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
hello-world skill
runxhq/runx · examples/hello-world/SKILL.md · Echo a first runx message through a checked-in cli-tool script.
git:20260723.6e5370b · audit B · 93 stars
loop-orchestration skill
runxhq/runx · examples/loop-orchestration/SKILL.md · Reference loop-orchestration example; a local loop host chains governed runx turns through receipts, budgets, context…
git:20260723.6e5370b · audit A · 93 stars

Every file in runxhq/runx

Browse by kind, by grade A, or by owner.