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 v127.

Stable route
/reference/frameworks
Version
128.0.0
Source SHA-256
8d9fd4b5269c095a80edf3c15627347844c4f01e8bc69c3a63aae40bc29b534c

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
128.0.0
Package SHA-256
69e5f7065dd3cddee36ebd54380533cf452bd4c1c15e5ef90a49a65abc8abd33
Record source
node_modules/@receiz/sdk/dist/frameworkAdapters.js

Exact form

Signature or request

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

Inputs

Inputs and constraints

  1. ReceizAppContract at operation contract version 127.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 · d62271f87ff60c36cb648c7a259f495beecf67d877d7670e1d9a01ae9847632a

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 127.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.