Public schemas, examples, skills, adapters, and verification for reviewing consequential agent actions before execution.
Runtime: Node 24 via .nvmrc. Public package compatibility remains Node >=22.14.0 and is checked in a separate CI job.
- Protocol owns shared message shape, versioning, validation, and conformance.
- Relay evaluates proposed actions and returns Decision Receipts plus refs-only evidence.
- Registry supplies optional identity, standing, capability, and continuity context.
- The developer or operator runtime owns downstream execution or restraint.
This repository is the public proof and integration surface. It is not the private Relay runtime and does not issue production authority or execute downstream work.
git clone https://github.com/neurarelay/relay-action-card.git
cd relay-action-card
nvm use
npm ci
npm run checkThen run the golden path:
node examples/core/resolve-action-card.mjsThe example reads a synthetic Action Card, demonstrates a governed decision boundary, and returns a Decision Receipt-shaped result without executing the proposed action.
Start with these files:
examples/core/action-card.json: proposed action.examples/core/resolve-action-card.mjs: bounded resolver example.examples/core/decision-receipt.example.json: returned decision evidence.schemas/action-card.v0.1.json: machine-readable Action Card schema.schemas/decision-receipt.v0.1.json: machine-readable Decision Receipt schema.
Use the golden path before choosing a specialized route.
Use examples/mcp/README.md for direct MCP, OpenAI, Anthropic, Google ADK, Microsoft Agent Framework, and related runtime examples. These examples demonstrate integration boundaries; they do not establish official provider endorsement or production partnership.
Use examples/openclaw/QUICKSTART.md for the public preflight adapter, action-receipt kit, near-miss workbench, and synthetic severe-scenario proof. Published-package source and provenance must remain aligned with this repository.
Choose the lane that matches what you want to prove with the OpenClaw-style receipt kit:
- OpenClaw Developer Journey Proof: read
docs/openclaw-developer-journey.md, then runnpm run openclaw:proof. The source isexamples/openclaw/run-developer-journey-proof.mjs; an explicitly authorized live test usesnpm run openclaw:proof -- --live. Verify clean installation withnpm run verify:openclaw-clean-consumer. - OpenClaw OS Decision Receipt Surface: read
docs/openclaw-os-decision-receipt-surface.md, then runnpm run openclaw:workspace-proofandnpm run verify:openclaw-workspace-surface. The source isexamples/openclaw/run-workspace-decision-surface.mjs; verifier anchors areverify-openclaw-workspace-surface.mjsandopenclaw-workspace-surface.test.mjs. - Near-miss workbench: read
docs/openclaw-near-miss-workbench.md, runnpm run openclaw:workbench, reviewdocs/assets/openclaw-near-miss-workbench/near-miss-workbench-desktop.png, and inspectartifacts/openclaw-near-miss-workbench/report.html. The report shows what the agent was about to do, what Neura caught, the receipt route, and the developer-owned next step. Verify the route withnpm run verify:openclaw-workbench. - Severe Scenario Proof Pack: read
docs/openclaw-severe-scenario-proof-pack.md, runnpm run openclaw:severe-proof, verify withnpm run verify:openclaw-severe-proof, test withnpm run test:openclaw-severe-proof, and inspectartifacts/openclaw-severe-scenario-proof/report.html. - Severe Preflight Queue: read
docs/openclaw-severe-preflight-queue.md, runnpm run openclaw:severe-preflight, verify withnpm run verify:openclaw-severe-preflight, test withnpm run test:openclaw-severe-preflight, and inspectartifacts/openclaw-severe-preflight-queue/transcript.html.
The OpenClaw route keeps its implementation under examples/openclaw/, including near-miss-workbench/, workspace-surface/, and preflight-adapter/; reusable operator material remains under skills/openclaw/. The workspace proof writes artifacts/openclaw-workspace-decision-surface/report.html.
Use examples/sdk/README.md and examples/a2a/README.md for protected Relay client examples. Run npm run example:sdk:authority-routing to see hold_for_registry_backed_authority for unverified public demo context. The current SDK is 0.1.3; the route is runtime-owned and has no public API keys. Production access still requires the relevant Relay authentication and product boundary.
The A2A Controlled Client Pack v0.2 demonstrates the A2A Controlled Runtime v1 boundary:
A2A client -> public Agent Card -> protected `/a2a` message/send -> Decision Receipt task
Run public discovery with npm run example:a2a -- --agent-card-only. With controlled access, run RELAY_A2A_ACCESS_TOKEN=... npm run example:a2a -- --json. The route uses examples/a2a, keeps execution developer-owned, and preserves no public A2A token issuance, no public API keys, and no unprotected execution.
The active public schema mirror is:
action-card.v0.1.json;decision-receipt.v0.1.json;agent-io-event-envelope.v0.1.json;mcp-approval-receipt.v0.1.json;recoverable-observer-envelope.v0.1.json;structured-result-trust-receipt.v0.1.json.
Neura Protocol is the canonical authority. schemas/manifest.json records the Protocol source path, versions, and expected SHA-256 values for these byte-identical public mirrors.
Shared-contract movement requires an intentional version change and successful local plus cross-repository compatibility verification.
Reusable skills live under skills/:
neura-action-cardfor constructing bounded Action Cards;neura-authority-reviewfor reviewing authority and evidence;neura-first-receiptfor producing a first receipt-shaped result.
The skills preserve the same boundary as the examples: review and evidence before developer-owned execution.
The OpenClaw preflight adapter is sourced from this public repository and has provenance. The SDK and OpenAI Agents packages currently source from the private Relay repository while their metadata points here.
Existing versions must not be mutated or republished. Before any future SDK or OpenAI Agents version, publishable source, repository metadata, Trusted Publishing identity, provenance, and release tags must be aligned prospectively.
OpenClaw submission-readiness evidence remains indexed at docs/openclaw-clawhub-submission-readiness.md. Verify it with npm run verify:openclaw-submission-readiness and npm run verify:openclaw-clawhub-release; the controlled publisher verifier is verify-openclaw-founder-clawhub-publisher.mjs. The current npm package is @neurarelay/openclaw-preflight-adapter@0.1.5; the separately published ClawHub community package remains 0.1.4, alongside the legacy @rpelevin/neura-relay-preflight-adapter@0.1.1. No official OpenClaw or ClawHub listing, approval, endorsement, partnership, or integration claim exists.
Run the public proof first, then choose the next route:
- Open a First receipt feedback issue with receipt and trace refs only.
- Request Sandbox MCP access through the signed-in Relay Workspace.
- Request Production/private MCP access only for a concrete governed-action use case.
- Create the production Agent Passport in Neura Registry before production identity validation:
https://www.neuraregistry.com/sign-up?next=%2Fbuilder%2Fagents%2Fnew. - The Official MCP Registry and
com.neurarelay/relay-mcpare distribution references only; they do not establish approval, listing, endorsement, partnership, or integration.
Share refs only. Do not paste private payloads, credentials, tokens, or customer data into issues or documentation.
Primary development and CI:
nvm use
npm ci
npm run check
npm audit --audit-level=highGitHub runs the Node 24 proof-contract gate and one Node 22.14.0 public-compatibility job. Branch protection requires the deterministic local-contract and verify checks on an up-to-date branch.
Stable proof snapshot and Action Receipt Kit compatibility index:
- Local and receipt modes:
npm run openclaw:dry-runandnpm run openclaw:receipts. - Contract gates:
npm run verify:openclaw-action-receipt-kit,npm run verify:openclaw-developer-journey,npm run test:openclaw-kit, andnpm run test:openclaw-kit:e2e. - Verifier anchors:
verify-openclaw-near-miss-workbench.mjs,verify-openclaw-developer-journey.mjs, andopenclaw-action-receipt-kit.yml; historical release notes remain inCHANGELOG.md. - Fixture routes include
openclaw-memory-writeandopenclaw-data-export. CI now runs the local kit contract; live receipts remain explicitly authorized and separate. - The preserved Action Receipt Pack index is
docs/openclaw-action-receipt-pack.md, with fixtures underexamples/openclaw/action-cards, skills underskills/openclaw/neura-action-card, and route identifiers includingopenclaw-send-messageandopenclaw-shell-command.
- Contribution workflow:
CONTRIBUTING.md. - Security reporting:
SECURITY.md. - Ownership:
.github/CODEOWNERS.
Pull requests should remain synthetic, evidence-backed, and free of private customer data, credentials, tokens, or raw private payloads.
schemas/ Public machine-readable contract mirrors
examples/ Golden path plus specialized integration proofs
skills/ Reusable Action Card and authority-review skills
scripts/ Deterministic verification helpers
tests/ Focused contract tests
docs/ Current proof documentation and preserved history
This repository demonstrates how to review agent actions and preserve decision evidence. It does not provide public production credentials, grant authority by itself, execute downstream tools, certify third-party systems, or prove customer adoption.
The complete pre-compression README is preserved at docs/history/README-through-2026-07-21.md.