A living game world built on proof-native commerce.
Wildz is a real, full-screen game PWA and the first end-to-end reference product built by taking the open-source Receiz Commerce Kit beyond a storefront. It turns the same identity, proof, ownership, publication, settlement, MCP, and AI-skill primitives into a persistent world where players explore, collect, compete, share, and trade.
Wildz is both a product and a reference implementation. The game is the product; the repository is the evidence that the Receiz application model can be reshaped into something genuinely different without replacing its proof authority.
Most SDK examples stop at a code snippet or a sample checkout. Wildz is deliberately larger: a production-shaped application with identity recovery, portable artifacts, deterministic gameplay, multiplayer, public projections, offline reads, commerce coordination, release gates, and agent operating doctrine.
It demonstrates four layers working together:
| Layer | What Wildz uses it for | Authority boundary |
|---|---|---|
| Receiz Commerce Kit | The forkable application kernel and original commerce architecture | Starting point, not a runtime dependency |
@receiz/sdk@114.0.0 |
Identity, proof objects, custody, ownership, publication, audit, and settlement clients | The typed application/runtime boundary |
@receiz/mcp-server@114.0.0 |
Capability inspection and authorized operator workflows | Tooling only; it cannot manufacture proof or authority |
@receiz/ai-skills@114.0.0 plus the checked-in Wildz skills |
Proof-aware build, market, and release procedures for coding agents | Operating guidance only; verification still wins |
All three Receiz packages resolve from the official npm registry and are pinned by pnpm-lock.yaml. The application contract in receiz.app.json selects artifact-first authority and explicitly disables database authority.
Wildz replaces the source repository's commerce-site experience with a game-first product while preserving and extending its Receiz rails:
- A no-signup first landing with local player genesis and later Receiz identity activation.
- Identity Seal/key continuation and verified Vault recovery.
- Living, portable creature cards with lineage, mastery, progression, export, import, and cross-application continuity.
- A deterministic world with ecology, settlements, social memory, routes, raids, bosses, and canonical event projections.
- Mortal Arena, Hearttree, party play, competition, and multiplayer commands.
- Sanitized public player profiles and public card routes.
- A social market overlay with listings, offers, trades, checkout, and settlement contracts.
- An installable PWA with explicit install/update consent and a narrow, tested offline-read boundary.
- A constitutional Receiz application contract, repository checker, secret scanner, conformance tests, and one-command release gate.
- Three repository-native AI skills that teach agents how to build, operate the market, and qualify a release without outranking verified proof.
This is not a reskinned storefront. It is an architectural fork: the inherited kernel has been exercised against a different interaction model, state model, threat model, and product loop.
Requirements: Node.js 20.18.0 or newer and pnpm 10.29.1.
git clone https://github.com/kojibai/wildz.quest.git
cd wildz.quest
corepack enable
pnpm install --frozen-lockfile
cp .env.example .env.local
pnpm devOpen http://localhost:3000. The local product can boot without production credentials. Shared-world publication, live identity coordination, market mutations, and settlement remain unavailable until their server-side Receiz capabilities are configured.
Before changing code, establish a clean baseline:
pnpm release:checkThat command runs the Node test suite, typecheck, Receiz v114 contract checker, MCP conformance, lint, tracked/untracked text secret scan, production build, and default Receiz doctor.
flowchart LR
P["Player or operator"] --> UI["Wildz Next.js PWA"]
UI --> G["Deterministic game systems"]
UI --> A["Wildz Receiz adapters"]
A --> SDK["Receiz SDK"]
SDK --> O["Verified proof objects"]
SDK --> R["Configured Receiz rails"]
MCP["Receiz MCP"] --> A
S["Wildz + Receiz AI skills"] --> MCP
S --> UI
O -->|"authority"| A
R -->|"admitted shared state"| A
A -->|"verified projections"| UI
The important rule is directional: AI skills and MCP can help inspect, prepare, and invoke work, but neither can promote model output, local storage, a receipt, or a queued proposal into authority. Complete artifacts are verified before their payloads are interpreted. Canonical transitions require current evidence and fail closed when a capability is absent.
Read the detailed architecture, Receiz rail map, and MCP contract.
Application-facing Receiz code lives in src/lib/receiz. UI and game modules consume these adapters instead of scattering SDK calls across components. New v114 artifacts use the native Record → Seal flow, preserve SDK-returned bytes exactly, and are independently reopened before acceptance.
The checked-in contract and generated evidence bind the application to the v114 ruleset, registry digest, 16-operation matrix, protocol limits, 30 numbered artifact laws, and the v114 profile/economy showcase authority rules. The expanded matrix adds profile-showcase genesis and append planning plus economy-showcase genesis, append, and merge planning while keeping plans non-authoritative and zero-write:
pnpm receiz:check
pnpm receiz:doctorRun the pinned MCP server from an MCP-capable agent host:
pnpm exec receiz-mcpPublic reads do not require a bearer token. Authorized delegated operations require a scoped Receiz credential supplied to the MCP process. MCP packages must stay out of browser and application bundles. See docs/MCP.md for the supported v114 inventory and credential boundary.
The ai-skills directory contains installable, versioned procedures for agents working in this codebase:
wildz-builder-skillpreserves custody, continuity, append-only history, and deterministic projections.wildz-market-operator-skillgoverns bearer ownership and capability-gated market work.wildz-release-skillenforces package, digest, artifact-law, conformance, verification, and release parity.
These skills make the repository teachable to an agent without turning the agent into a source of truth. See the AI skills guide.
Wildz adds no external application database. Owner-scoped continuity is retained in browser IndexedDB; durable public, world, social, and economy state depends on configured Receiz rails.
| Surface | Local development | Configured live environment | Offline |
|---|---|---|---|
| App shell and local verified owner state | Yes | Yes | Previously installed state only |
| Previously visited public profiles/cards | Yes | Yes | Readable from the allowlisted cache |
| Identity/Vault verification | Fixture and local flows | Yes | Artifact-dependent; no remote continuation |
| Live world and social presence | No durable claim | Yes | No |
| Publication and public projection writes | Fail closed | Capability required | No |
| Listing, trade, transfer, payment, settlement | Fail closed | Every required capability and proof required | No |
The current v114 SDK does not expose Wildz's required conditional market-ownership append. Those live mutations therefore remain deliberately unavailable; the app does not substitute IndexedDB, process memory, or a successful checkout response for settlement authority.
| Path | Purpose |
|---|---|
app |
Next.js pages, public routes, and 31 API route handlers |
src/features |
Identity, world, games, market, profile, shell, and PWA product modules |
src/lib/receiz |
Receiz adapters, artifact custody, sessions, repositories, verification, and publication |
tests |
212 contract, game, continuity, PWA, market, and release test files |
ai-skills |
Agent-readable build, market, and release doctrine |
docs |
Architecture, Receiz boundaries, interoperability, and release evidence |
scripts |
Release gate, doctor, checker, conformance support, and secret scanning |
v3.0.0 is the first public open-source release of the standalone Wildz product. The exact local candidate has passed the repository release gate. Production credentials, authorized strict-live verification, external multi-writer interoperability, remote mutation qualification, deployment, tagging, and publication are intentionally reported as separate gates—not implied by a green local build.
Read the complete v3.0.0 release notes, verification record, and changelog.
Use this repository when you want to study a complete vertical product rather than a minimal SDK call. A disciplined fork should:
- Replace the Wildz product domain while keeping Receiz calls behind a narrow adapter.
- Declare features and authority in
receiz.app.json. - Treat carried proof as untrusted until the SDK verifies the complete artifact.
- Keep MCP and agent actions below the same capability and confirmation gates as human actions.
- Add domain tests before expanding a canonical mutation surface.
- Make
pnpm release:checka required branch and release gate.
The architecture guide identifies the extension seams and non-negotiable authority rules.
Wildz is open for rigorous contributions. Start with CONTRIBUTING.md, use SUPPORT.md for help, and follow SECURITY.md for private vulnerability reporting. Participation is governed by CODE_OF_CONDUCT.md.
Wildz includes code derived from kojibai/Receiz-commerce at commit fb366506e218d82ecac20c60bc74c5977627713e. The fork relationship, retained license obligations, and Wildz-specific composition are recorded in NOTICE.md.
Released under the MIT License.