Release Offshore Island engine 2.2.0 and viewer 2.1.0

This commit is contained in:
coyotte508 2026-11-19 00:48:16 +00:00
commit 0a111ad296
5 changed files with 14 additions and 12 deletions

View file

@ -2,14 +2,14 @@
The engine wrapper exports the optional `achievementDefinitions()` and
`achievements(GameState)` hooks using the published `@boardgamers/protocol/engine`
0.11.0 types. The working manifest is revision **4** with 19 achievements; no
package version bump, publication or activation is part of this expansion work.
0.11.0 types. Engine **2.2.0** includes manifest revision **4** with 19
achievements as part of the authorized Offshore Island release.
IDs are permanent; never reuse them for another condition. The original 17
definitions, conditions and stable `achievement-<id>` asset references remain
unchanged. Original SVG/PNG artwork, provenance, reproduction instructions and
contact sheets are in [achievement-art](achievement-art/README.md).
The historical revision-3 artwork manifest and release receipt are preserved,
not regenerated. Upload and activation remain gated on independent review approval.
not regenerated. The Offshore additions were reviewed and tested before release authorization.
Revision 4 adds **Offshore Magnate** (`offshore-win`) and **Two-Way Trade**
(`offshore-trader`). Both require `options.offshoreIsland === true` and the same
@ -51,7 +51,7 @@ not require a victory.
| `offshore-win` | Sole winner of a completed Offshore Island expansion game |
| `offshore-trader` | Win a cash bank auction and a container bank auction in the same completed expansion game |
## Revision 2 change (pending coordinator approval)
## Revision 2 change (historical)
Engine 2.1.9 replaces `island-five` / **Island Investor** (at least five island
containers) with the new ID `island-fifteen` / **Island Magnate** (at least fifteen).
@ -61,9 +61,8 @@ completed game reaching exactly fifteen and reproducing the award on replay.
No existing award migration, deletion, or backfill is performed. The old ID is
retired, never reused; any existing platform records are left untouched.
Engine 2.1.8 / revision 1 remains the previously delivered release; this review
candidate must not be uploaded or activated until coordinator authorization.
The prior release receipt is unchanged.
This change subsequently shipped with the revision-3 artwork in engine 2.1.10.
The historical activation receipt remains unchanged.
## Threshold attainability audit

View file

@ -1,6 +1,6 @@
{
"name": "container-engine",
"version": "2.1.10",
"version": "2.2.0",
"description": "An engine for Container",
"main": "dist/index.js",
"types": "index.ts",

View file

@ -24,7 +24,7 @@ assert [a['id'] for a in manifest['assets']] == ids
assert len(ids) == len(set(ids)) == 17
assert 'island-fifteen' in ids and not {'island-five', 'warehouse-six'} & set(ids)
assert manifest['revision'] == 3 and manifest['engineVersion'] == '2.1.10'
assert json.loads((ROOT/'engine/package.json').read_text())['version'] == manifest['engineVersion']
# This manifest attests the historical artwork release, not the current engine version.
assert hashlib.sha256((ROOT/manifest['generator']).read_bytes()).hexdigest() == manifest['generatorSha256']
hashes = set()
for a in manifest['assets']:

View file

@ -8,7 +8,10 @@ const packed = path.resolve(process.argv[2]);
const hooks = require(path.join(packed, 'dist/wrapper.js'));
const { setup } = require(path.join(packed, 'dist/index.js'));
const manifest = require(path.join(root, 'docs/achievement-art/manifest.json'));
assert.equal(require(path.join(packed, 'package.json')).version, manifest.engineVersion);
assert.equal(
require(path.join(packed, 'package.json')).version,
require(path.join(root, 'engine/package.json')).version
);
const definitions = hooks.achievementDefinitions();
assert.equal(definitions.revision, 4);
const historical = definitions.achievements.filter((a) => !a.id.startsWith('offshore-'));
@ -51,5 +54,5 @@ for (const n of [3, 4, 5]) {
}
}
console.log(
'PASS: exact extracted 2.1.10 package, revision 4, 17 historical asset refs and 2 text badges, legal 3/4/5-player completion and replay'
`PASS: exact extracted ${require(path.join(packed, 'package.json')).version} package, revision 4, 17 historical asset refs and 2 text badges, legal 3/4/5-player completion and replay`
);

View file

@ -1,6 +1,6 @@
{
"name": "container-viewer",
"version": "2.0.16",
"version": "2.1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/boardgamers/container.git",