Customer delivery package
Every delivery bundle should contain:
-
mesa-pro-<version>.tgz -
SHA256SUMS -
pro-release.json(version/commit/contracts/asset sha256) - signed
customer.license+customer.mlic(single-file install package: license + public key) -
docs/install.md,docs/release.md,docs/runbook.md - plan name + exact
limits.plugins/limits.projects - base/contracts compatibility (
docs/compatibility.md)
Customer-side checks:
sha256sum -c SHA256SUMS
npm install -g ./mesa-pro-<version>.tgz
modu license install customer.mlic # 落到 ~/.modu/license/,之后零环境变量
modu license status --json # valid: true
mesa-mcp # 直接起,不再需要 MESA_LICENSE_FILE
customer.mlic 由 mesa-license export --license <file> --public-key-file <pub> 生成(单文件,
内含 license 与公钥,不含私钥)。拿不到 .mlic 时退化为:
modu license verify customer.license --public-key <base64> --json + MESA_LICENSE_FILE=... mesa-mcp。
- Do not include the issuer private key, internal notes, or tests/fixtures.
- Keep the previous artifact for rollback; Pro does not migrate
.modu/data. - Record the artifact sha256 and license customer/limits in the delivery ticket.
Automated dry-run: MESA_BASE_DIR=/path/to/mesa npm run delivery:check (pack + checksum + license +
manifest validation). It writes artifacts/delivery.json by default; use -- --out <file> to choose a path.
Template: templates/delivery-package.example.json.
Record the delivery in docs/delivery-ledger.md (hashes + serial + ticket; no private keys).
Optional acceptance evidence: set MESA_ACCEPTANCE_EVIDENCE=<file> when running delivery:check; its sha256
is recorded in the manifest and ledger. pack:pro clears artifacts/, so run acceptance first and point
at a copy outside artifacts/ (the delivery script hashes it before packing).
Customer tarball: npm run bundle:customer -- --license <file> [--manifest artifacts/delivery.json] [--out <tar.gz>].
It validates artifact/license/acceptance hashes and packages the artifact, license, manifest, README and docs.
The tarball gets a <name>.tar.gz.sha256 sidecar.
源文件 · mesa-pro/docs/delivery-package.md