The contract between the editor, the server build and the launcher: the complete set of non-stock artifacts a release runs with, each with its consumers and the release that introduced it, so a server build fetches everything from one manifest and never a client-only file. Migrations are pinned by hash in the core checkout; binaries live under releases/<introducedIn>/, never rewritten. `manifest-check --previous` refuses a release that drops or rewrites an inherited DBC. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.7 KiB
Release manifest, schema 1
The contract between the editor, the server build and the client launcher. One manifest describes
one content release completely. The code is crates/editor-release. benilla-editor-cli manifest-check <manifest> [--previous <manifest>] applies these rules.
examples/release-manifest.json is a release that adds one
migration and inherits a DBC and a client patch.
Shape
| Field | |
|---|---|
schemaVersion |
1. A reader refuses any other version, and unknown fields fail. To change the contract, bump the version. |
releaseId |
Unique and immutable, [A-Za-z0-9._-], e.g. 2026.11.02-1. |
previous |
The release this one replaces, null for the first. |
target |
clientBuild (5875), vmangosRev (the core commit the SQL and server data are built for), contentPatch (the realm's WOW_PATCH, 0 to 10). |
artifacts |
Every non-stock file the release runs with (see below). |
activation |
What deploying the release takes beyond fetching files: restartWorld, clientUpdate, clearClientCache. |
Each artifact has these fields:
| Field | |
|---|---|
kind |
worldMigration, dbc, clientPatch or serverMapData. |
path |
Relative, /-separated, no . or .. parts, unique per kind (case-insensitive). Where the consumer puts the file. |
size, sha256 |
Size in bytes; SHA-256 as lowercase hex. |
consumers |
server, client, or both. Allowed values depend on the kind (see below). |
introducedIn |
The release that first shipped this exact file. |
objectKey |
Required for binary kinds and forbidden for worldMigration. Always under releases/<introducedIn>/. |
| Kind | Lives in | Consumers |
|---|---|---|
worldMigration |
The core repository, sql/content/<path>. path is migrations/<YYYYmmddHHMMSS>_world.sql. |
server |
dbc |
Object storage | server, client or both, stated per file. The server reads some DBCs, the client others. |
clientPatch |
Object storage | client |
serverMapData |
Object storage | server |
Rules
A manifest lists the full set of files, not the changes. A DBC changed three releases ago is
listed again in every later release, unchanged and with its original introducedIn and
objectKey. A server build reads one manifest and gets everything it needs from it, without walking
the release chain. --previous checks this rule: each binary artifact of the previous release
must appear again byte for byte, or be replaced by a file that this release introduces. A
migration does not need to be listed again, because it stays in the core repository's history.
Objects are immutable. A release writes only under its own releases/<releaseId>/ prefix and
never overwrites an existing key. A changed file is a new object in the release that changes it.
An artifact that keeps an old introducedIn with a new hash is refused: that would mean rewriting
an object of the old release.
The server never fetches client-only files. The set a server build downloads is exactly the
binary artifacts whose consumers include server (Manifest::server_fetch). A client patch
never reaches the server.
Activation follows from the new files. If the release introduces a server artifact, it must
include restartWorld, because mangosd reads the world database, DBCs and map data only at
startup. If it introduces a client artifact, it must include clientUpdate. clearClientCache is
a judgment call that the release must state explicitly. It is needed when the release changes a
name or text of a creature, quest, item or game object that clients may already have in their
WDB cache. Changes to new entries never need it.
The production server build (R3)
Before compiling mangosd for a release, the build:
- Reads and validates the release's manifest, and checks it against the previous release's.
- Checks that the core checkout carries every
worldMigration(server_checkout) at itssha256. - Downloads every artifact from
server_fetchand checks itssizeandsha256. - Stops before compiling if any step fails: a missing or damaged DBC means no build.
Only the manifest is fetched first, and only the files it names are fetched after it. Nothing the manifest does not list is downloaded, and nothing it lists is skipped.
Relation to the launcher manifest
moonwell-deploy publishes the client's own manifest (buildHash, files[path, size, sha256, objectKey]), which is what the launcher downloads. The clientPatch artifacts of a release and
its client-side dbc artifacts packed into those patches are what goes into that client package.
This manifest does not replace the launcher manifest: it records which release the package
belongs to.