Reference · Generated mechanics · owned boundaries

Framework integrations

Generate framework-neutral or Next.js App Router integration files from the stable application operation contract distributed by v124.

Stable route
/reference/frameworks
Version
124.1.0
Source SHA-256
89752f34b2cc0bd0f8df1ce0655ad5de684fe7bd55dfface3671ffae328c6cdd

Solved outcome

What this enables

Adopt Receiz mechanics in an application while preserving developer-owned extension files and sealed artifact authority.

Installed identity

@receiz/sdk

Version
124.1.0
Package SHA-256
479d52f4c2215b05377ac557a62427abae9c16347e5341201b72699311afd7ac
Record source
packages/receiz-sdk/src/frameworkAdapters.ts

Exact form

Signature or request

generateReceizFrameworkFiles(contract: ReceizAppContract) => readonly ReceizGeneratedFile[]

Inputs

Inputs and constraints

  1. ReceizAppContract at operation contract version 122.0.0.
  2. framework-neutral or nextjs-app-router.
  3. Required v122 application operation matrix.

Outputs

Output and receipt

  1. receiz-generated files
  2. receiz-extension files
  3. Explicit developerEditable and authorityBoundary fields

Stable recovery

Failures

receiz_app_contract_required

Supply and validate the exact v122 application contract before generation or apply.

node_modules/@receiz/mcp-server/dist/index.js · db515d2d0e6144642e6755a0d484c2a885f97a370b76de2de14ced1433d07a6a

Offline

Offline behavior

Contract validation and file generation are local. Generated files do not need a session or network to establish their declared shape.

Authority

Truth boundary

Begin with exact held artifact bytes and local verification. SDK, HTTP, MCP, AI, framework, server, session, and UI mechanics may transport, coordinate, inspect, or distribute beneath the sealed Receiz proof object. They do not become proof authority.

The enclosing sealed Receiz proof object and its exact bytes are the stronger source of truth.Record Moment and Seal File are independent local operations after one-time anonymous Signature V4 device enrollment. Neither requires an account or server signer. Identity and account continuity remain optional projections beneath public verification.

Permanent anchor · #frameworks-application-contract

Application contract

Validate a ReceizAppContract at operation contract version 122.0.0 with the required application-operation matrix before generating files.

Permanent anchor · #frameworks-framework-neutral

Framework-neutral

Generate transport-neutral modules that expose the declared operations, environment requirements, authority boundaries, and developer extension points without framework session assumptions.

Permanent anchor · #frameworks-next-js-app-router

Next.js App Router

Generate server-only credential modules, route handlers, and declared client boundaries for Next.js App Router. Keep secrets out of browser modules and preserve deterministic proof first paint.

Permanent anchor · #frameworks-generated-ownership

Generated ownership

receiz-generated files are compiler-owned; receiz-extension files are developer-owned. Apply updates through the exact preview digest and never overwrite declared developer-editable files.

Permanent anchor · #frameworks-upgrade-path

Upgrade path

Run app inspect, plan, check, apply, and upgrade with the exact target version. Review the plan digest, confirm only that digest, then rerun SDK conformance.

Permanent anchor · #frameworks-end-to-end-example

End-to-end example

Generated adapters begin from the same held-artifact local Verify path. Any separately selected authenticated issuance, request, response, cache, or session mechanic remains beneath the verified artifact.

Copyable path

Authenticated SDK issuance → Verify → inspect receipt

import { createReceizClient } from "@receiz/sdk";

// Begin with the complete proof object already held by the person or runtime.
const encoded = process.env.RECEIZ_ARTIFACT_BASE64;
if (!encoded) throw new Error("RECEIZ_ARTIFACT_BASE64 is required");
const artifactBytes = Uint8Array.from(Buffer.from(encoded, "base64"));

// Local verification is account-free and precedes every transport projection.
const receiz = createReceizClient();
const verification = await receiz.verification.verifyArtifact(artifactBytes);
if (verification.status !== "verified-artifact") {
  throw new Error(`Artifact verification status: ${verification.status}`);
}
console.log(verification.status);

Deterministic check

Conformance

pnpm sdk:test

Run from the Receiz repository against the exact coordinated package identity. A command result is evidence beneath sealed artifact truth.