Governed open skill overlay

Govern a public verification-before-completion skill under an immutable sha256 pin, read-only repository scope, and an explicit shell execution allowlist.

You’re reading version sha-67b4988902fa. Go to the current version

Overview

This package wraps a public verification-before-completion skill without copying or editing its instructions. The immutable upstream reference and sha256 pin live in X.yaml; the caller resolves those bytes and supplies the recomputed digest as resolved_digest.

SKILL.md

Governed verification overlay

This package wraps a public verification-before-completion skill without copying or editing its instructions. The immutable upstream reference and sha256 pin live in X.yaml; the caller resolves those bytes and supplies the recomputed digest as resolved_digest.

What this skill does

  1. Admits only the immutable wrapped instructions named in X.yaml.
  2. Compares a freshly resolved sha256 digest with the reviewed pin.
  3. Bounds the wrapped instructions to read-only repository verification through one explicit tool.
  4. Emits a machine-readable ready decision or a sealed stale-digest refusal.

When to use this skill

  • Before claiming that repository work is complete, fixed, or passing.
  • When an operator wants the wrapped verification discipline without granting repository write or network authority.
  • When the upstream instructions must remain content-addressed and reviewable.

When not to use this skill

  • To modify, commit, push, publish, or otherwise mutate a repository.
  • To download mutable instructions or trust an unpinned branch URL.
  • To execute a changed upstream skill before its new digest is reviewed.
  • To substitute a previous test result for a fresh verification command.

Governance boundary

  • Pinned instructions: only the exact bytes identified by sha256:ea52d15aabaf72bc6b558efe2c126f161b53961090ddcd712000273bfe8c7b6c are admitted.
  • Scope bound: repo.read permits inspection and verification of the repository already in scope. It does not grant repository mutation.
  • Allowed tools: shell.exec is the only tool the wrapped instructions may use, and only for the operator-selected verification command.
  • Explicit exclusions: no file writes, commits, pushes, publishing, network access, credential access, secret access, or destructive commands.

The most restrictive authority wins. A graph or host may narrow this envelope, but the overlay never widens it.

Procedure

  1. Resolve the immutable wraps.path declared in X.yaml.
  2. Compute sha256 over the exact response bytes without transforming them.
  3. Pass the prefixed value as resolved_digest and state the verification intent as objective.
  4. Continue only when the result is decision: ready with no diagnostics.
  5. Run the operator-selected verification command through shell.exec, read its complete output and exit code, and make only the claim that evidence supports.

Run

Recompute the digest of the immutable source referenced by X.yaml, then pass that value to the overlay:

sh
runx skill . \
  -i objective='Verify the current work before making a completion claim.' \
  -i resolved_digest='sha256:ea52d15aabaf72bc6b558efe2c126f161b53961090ddcd712000273bfe8c7b6c' \
  --json

The optional objective is receipt context only; it grants no additional authority. When resolved_digest is omitted, the runner seals a deterministic needs_input receipt and does not claim that current bytes match the pin.

Refusal

If the resolved bytes do not match the pin, the runner emits runx.overlay.digest.stale, exits nonzero, and lets runx seal a failed receipt. Changed instructions are never executed unseen. Invalid sha256 input follows the same refusal path.

Edge cases and stop conditions

  • Malformed digest: refuse with runx.overlay.digest.stale.
  • Missing digest: return needs_input with runx.overlay.digest.required; do not claim the pin is current.
  • Well-formed mismatch: refuse with runx.overlay.digest.stale; do not run the wrapped instructions.
  • Mutable or unavailable source: stop before execution and resolve the immutable source out of band; the overlay has no network grant.
  • Requested write, secret, network, commit, push, or publish action: stop because it is outside both scope and the explicit tool contract.
  • Verification command fails: report the failure evidence; never convert it into a completion claim.

Output schema

json
{
  "schema": "runx.skill_overlay.v1",
  "objective": "string",
  "wraps": {
    "path": "immutable HTTPS URL",
    "digest": "sha256:<64 lowercase hex>"
  },
  "resolved_digest": "sha256:<64 lowercase hex> | null",
  "runner": {
    "type": "agent",
    "scopes": ["repo.read"],
    "allowed_tools": ["shell.exec"],
    "denied_capabilities": ["string"]
  },
  "decision": "ready | needs_input | refused",
  "diagnostics": [
    { "id": "string", "severity": "error", "message": "string" }
  ]
}

Worked example

An operator resolves the immutable source and recomputes the exact pinned digest. The overlay returns decision: ready, so the host admits one fresh read-only test command. If even one upstream byte changes, the digest differs, the overlay returns decision: refused, and runx seals the failed attempt without executing the changed instructions.

Inputs

  • objective (optional string): verification intent captured in the receipt; it grants no authority.
  • resolved_digest (optional string): freshly recomputed sha256 of the immutable wrapped bytes. Omitting it produces a sealed needs_input result, never a matching-digest claim.

Verification contract

The inline harness contains two cases:

  1. pinned-digest-seals proves the exact pinned digest seals successfully.
  2. digest-stale-refuses proves changed content is refused with a sealed failed receipt.

Standalone fixture mirrors live under fixtures/ for direct replay and public review.

Published execution profile

The execution profile published with sha-67b4988902fa, shown as its exact bytes.

Runner
  • default
Profile digestsha256:587ed5d958d6f0d674c78f27c2374ef3990951eb970f01fa25a138ba6dda5db1
skill: overlay-open-skill-1
version: 0.1.1
catalog:
  kind: skill
  audience: public
  visibility: public
  role: context
  category: authoring
runners:
  default:
    default: true
    inputs:
      objective:
        type: string
        required: false
        description: Verification intent recorded in the sealed receipt without granting authority.
      resolved_digest:
        type: string
        required: false
        description: Recomputed sha256 digest of the immutable wrapped SKILL.md bytes.
    steps:
      - id: default
        tool:
          command: node
          args:
            - run.mjs
        inputs:
          objective: $input.objective
          resolved_digest: $input.resolved_digest
harness:
  cases:
    - name: pinned-digest-seals
      runner: default
      inputs:
        objective: Confirm the immutable wrapped instructions remain current before verification.
        resolved_digest: sha256:ea52d15aabaf72bc6b558efe2c126f161b53961090ddcd712000273bfe8c7b6c
      expect:
        status: sealed
        receipt:
          schema: runx.receipt.v1
      operator_journeys:
        - mode: standalone
          confusors:
            - skill-adopt
            - sandbox-harden
          request: Run this open-ecosystem skill under a pinned digest and an explicit allowlist.
          expected_outcome: Return the governed result of the wrapped skill under its pin, scope and allowlist.
        - mode: composed
          request: Continue this overlay-open-skill-1 work from evidence already gathered upstream.
          expected_outcome: Return the governed result of the wrapped skill under its pin, scope and allowlist.
          prior_evidence:
            - The pinned skill digest and execution allowlist already admitted.
          must_not_repeat:
            - Do not re-admit a skill whose pin is already verified.
    - name: digest-stale-refuses
      runner: default
      inputs:
        objective: Refuse changed wrapped instructions before any verification command runs.
        resolved_digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
      expect:
        status: failure
        receipt:
          schema: runx.receipt.v1

Published package and test evidence.

This exact version passed its recorded harness run: 2 checks passed · 0 failed.

Test result

Harness resultPassed
Tested versionsha-67b4988902fa
Recorded result2 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Declared cases2
Test recordOpen the recorded run
Inspect receipt referencessha256:f0bff6baf4dbf548bd026d9f022eb9eb097d6a43b27218e70418498faee2da57sha256:b596fe7a70b41a2e77b4679a89e431d0129b91ce4bb18140bbeafb0cc3d4aa0a

Package identity

Published revisionsha-67b4988902fa
Content digestsha256:67b4988902fab4ac907ee53b5874bea9600a7fc473a876bc7d35bcd0328f5be0
SKILL.md digestsha256:469cb2f98c264646a6cac2a2d9e30ced11a9892ab5d2fb759d4c986b1ef21372
Execution profile digestsha256:587ed5d958d6f0d674c78f27c2374ef3990951eb970f01fa25a138ba6dda5db1
Publisher identityUnverified publisher · bilbop1
Trust tierCommunityPublished through the registry without publisher verification. This tier is not a code assessment.
Attestations
  • Publisher · Declaredbilbop1 · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. sha-67b4988902faViewingContent digest sha256:67b4988902fab4ac907ee53b5874bea9600a7fc473a876bc7d35bcd0328f5be0
  2. sha-fbcc3b415231Content digest sha256:fbcc3b415231977d8ecb48567935449c1f552a86ad91cd5a654be5a74d54e2fc
  3. sha-971575263ba0Content digest sha256:971575263ba0e25db826a646b57aa35224685338006472ac7a07d51532834c37
  4. sha-190844efa9e6Content digest sha256:190844efa9e6b95c3eb7a3f825609f0c6e5dc50a5283a8e7607fcb020032dcb3