diff --git a/docs/achievements.md b/docs/achievements.md index eef93a9..3734d28 100644 --- a/docs/achievements.md +++ b/docs/achievements.md @@ -1,12 +1,12 @@ # Power Grid achievements -**Unpublished review candidate: engine 2.0.33, manifest revision 2, 36 achievements.** Adds 20 map victories (24 total) and raises Fully Supplied from a 10-city to a 15-city minimum, preserving its complete-network condition. The separate powered-city tiers remain 15 and 18. No viewer, artwork, map-cap, scoring, or backfill changes. Existing awards are not recalculated or revoked by this change. +**Published: engine 2.0.33, manifest revision 2, 36 achievements.** Adds 20 map victories (24 total) and raises Fully Supplied from a 10-city to a 15-city minimum, preserving its complete-network condition. The separate powered-city tiers remain 15 and 18. No viewer, artwork, map-cap, scoring, or backfill changes. Existing awards are not recalculated or revoked by this change. -The live 2.0.32 / revision-1 release remains documented in `docs/releases/achievements-2.0.32.json`. Do not publish this candidate until coordinator review. +Independent review approved `2f89876`; publication and installer verification are recorded in `docs/releases/achievements-2.0.33.json`. The previous revision-1 release receipt remains in `docs/releases/achievements-2.0.32.json`. ## Contract -`engine/wrapper.ts` exports the optional `achievementDefinitions()` and `achievements(data)` hooks. Both use the published `@boardgamers/protocol@0.11.0` `/engine` types. The candidate manifest has revision 2. IDs are stable game-local identifiers: do not rename or reuse them after publication. Future definition changes require a manifest revision bump. Icons are omitted, allowing platform fallback icons; no asset upload is needed. +`engine/wrapper.ts` exports the optional `achievementDefinitions()` and `achievements(data)` hooks. Both use the published `@boardgamers/protocol@0.11.0` `/engine` types. The manifest has revision 2. IDs are stable game-local identifiers: do not rename or reuse them after publication. Future definition changes require a manifest revision bump. Icons are omitted, allowing platform fallback icons; no asset upload is needed. The input is the deserialized, authoritative saved `GameState`, not a viewer payload or client-supplied achievement claim. Evaluation is pure, repeatable, and does not store counters or mutate state. Results use player-array indexes as seats. The hook returns nothing for unfinished, tentative, analysis/simulation, or fewer-than-two-player states. Power Grid has no standalone solo rules; a human against bots competes normally and receives an explicit win/loss outcome. @@ -88,7 +88,7 @@ Analysis constructors and moves mark their copies with `achievementAnalysis: tru - Full suite: **725 passing** with `pnpm --filter powergrid-engine exec mocha -r ts-node/register 'src/*.spec.ts' --timeout 10000`. An archived unchanged `eb08aaf` baseline passes **625** with the same timeout. Both baseline and candidate hit existing 2-second replay timeouts under the default limit; the override is command-line only, with no skipped tests or assertion changes. An initial candidate run also hit the historically recorded China shuffled-deck analysis assertion; it did not recur in the comparison runs or targeted baseline test. - Engine build and published protocol schema validation pass. The compiled manifest is compared with the recorded revision-1 catalog: exactly 20 additions, with only Fully Supplied's approved description change among existing IDs. - 102 viewer unit tests pass. Engine lint passes with 0 errors and 41 warnings. Frozen installation, formatting, and whitespace checks pass. -- Scoped read-only review found no concrete issues; final coordinator approval is still required before publication. +- Scoped read-only review found no concrete issues; a fresh independent review approved `2f89876`, followed by coordinator publication authorization. ## Previous release verification (2.0.32) diff --git a/docs/releases/achievements-2.0.33.json b/docs/releases/achievements-2.0.33.json new file mode 100644 index 0000000..ac421e7 --- /dev/null +++ b/docs/releases/achievements-2.0.33.json @@ -0,0 +1,272 @@ +{ + "game": "powergrid", + "gameVersion": 13, + "publishedAt": "2026-11-14T01:30:04.529Z", + "sourceCommit": "2f89876e712ccd3edc70683189057975cab6b521", + "approvedCommit": "2f89876e712ccd3edc70683189057975cab6b521", + "engine": { + "version": "2.0.33", + "package": { + "name": "powergrid-engine", + "version": "2.0.33", + "url": "https://s3.fr-par.scw.cloud/bgs-assets/games/powergrid/13/engine/4a6efaf8b7f6c5b5/powergrid-engine-2.0.33.tgz" + }, + "entryPoint": "dist/wrapper.js", + "sha256": "4a6efaf8b7f6c5b5e3d7c2234228f70014c7dceb9a640e3c79da22b4daacfcfc", + "bytes": 411657 + }, + "previousEngine": { + "package": { + "name": "powergrid-engine", + "version": "2.0.32", + "url": "https://s3.fr-par.scw.cloud/bgs-assets/games/powergrid/13/engine/29068a7dc3426cd8/powergrid-engine-2.0.32.tgz" + }, + "entryPoint": "dist/wrapper.js" + }, + "viewerUnchanged": true, + "settingsUnchanged": true, + "optionsUnchanged": true, + "preferencesUnchanged": true, + "expansionsUnchanged": true, + "iconUrl": "https://s3.fr-par.scw.cloud/bgs-assets/assets/powergrid/pictogram/75a7b5816f82c060/pictogram.webp", + "verification": { + "engineTests": 725, + "engineTestTimeoutMs": 10000, + "achievementTests": 150, + "engineBuild": true, + "protocolSchemas": true, + "cleanTarballInstall": true, + "engineLint": { + "errors": 0, + "warnings": 41 + }, + "viewerUnitTests": 102, + "publicTarballHash": true, + "adminMetadata": true, + "viewerUnchanged": true, + "settingsUnchanged": true, + "optionsUnchanged": true, + "preferencesUnchanged": true, + "expansionsUnchanged": true, + "fullySuppliedMinimum": 15, + "powerTiers": [15, 18], + "installerCatalog": { + "revision": 2, + "count": 36, + "mapWinCount": 24, + "exactManifestMatch": true, + "verifiedAt": "2026-11-14T01:30:47.756Z" + }, + "latestCatalogMatches": true, + "publicAlbum": { + "url": "https://boardgamers.space/badges/games/powergrid", + "status": 200, + "all36Ids": true, + "fallbackGameIcon": true, + "browserVerified": true, + "allFallbackIconsLoaded": true + }, + "gameIcon": { + "url": "https://s3.fr-par.scw.cloud/bgs-assets/assets/powergrid/pictogram/75a7b5816f82c060/pictogram.webp", + "status": 200, + "contentType": "image/webp" + }, + "fabricatedGamesCreated": false, + "localInstalledArtifactThresholdBoundaries": [10, 14, 15, 16] + }, + "achievementManifest": { + "revision": 2, + "achievements": [ + { + "id": "grid-champion", + "name": "Grid Champion", + "description": "Win a game of Power Grid." + }, + { + "id": "head-to-head", + "name": "Head to Head", + "description": "Win a two-player game." + }, + { + "id": "full-table", + "name": "Full Table", + "description": "Win a six-player game." + }, + { + "id": "germany-champion", + "name": "Germany Champion", + "description": "Win on the Germany map." + }, + { + "id": "usa-champion", + "name": "USA Champion", + "description": "Win on the USA map." + }, + { + "id": "france-champion", + "name": "France Champion", + "description": "Win on the France map." + }, + { + "id": "japan-champion", + "name": "Japan Champion", + "description": "Win on the Japan map." + }, + { + "id": "brazil-champion", + "name": "Brazil Champion", + "description": "Win on the Brazil map." + }, + { + "id": "spain-portugal-champion", + "name": "Spain & Portugal Champion", + "description": "Win on the Spain & Portugal map." + }, + { + "id": "india-champion", + "name": "India Champion", + "description": "Win on the India map." + }, + { + "id": "italy-champion", + "name": "Italy Champion", + "description": "Win on the Italy map." + }, + { + "id": "quebec-champion", + "name": "Quebec Champion", + "description": "Win on the Quebec map." + }, + { + "id": "middle-east-champion", + "name": "Middle East Champion", + "description": "Win on the Middle East map." + }, + { + "id": "china-champion", + "name": "China Champion", + "description": "Win on the China map." + }, + { + "id": "benelux-champion", + "name": "Benelux Champion", + "description": "Win on the Benelux map." + }, + { + "id": "russia-champion", + "name": "Russia Champion", + "description": "Win on the Russia map." + }, + { + "id": "central-europe-champion", + "name": "Central Europe Champion", + "description": "Win on the Central Europe map." + }, + { + "id": "baden-wurttemberg-champion", + "name": "Baden-W\u00fcrttemberg Champion", + "description": "Win on the Baden-W\u00fcrttemberg map." + }, + { + "id": "northern-europe-champion", + "name": "Northern Europe Champion", + "description": "Win on the Northern Europe map." + }, + { + "id": "korea-champion", + "name": "Korea Champion", + "description": "Win on the Korea map." + }, + { + "id": "europe-champion", + "name": "Europe Champion", + "description": "Win on the Europe map." + }, + { + "id": "north-america-champion", + "name": "North America Champion", + "description": "Win on the North America map." + }, + { + "id": "south-africa-champion", + "name": "South Africa Champion", + "description": "Win on the South Africa map." + }, + { + "id": "uk-ireland-champion", + "name": "UK & Ireland Champion", + "description": "Win on the UK & Ireland map." + }, + { + "id": "australia-champion", + "name": "Australia Champion", + "description": "Win on the Australia map." + }, + { + "id": "bremen-champion", + "name": "Bremen Champion", + "description": "Win on the Bremen map." + }, + { + "id": "manhattan-champion", + "name": "Manhattan Champion", + "description": "Win on the Manhattan map." + }, + { + "id": "power-fifteen", + "name": "Power Fifteen", + "description": "Finish able to power at least 15 cities in your network." + }, + { + "id": "power-eighteen", + "name": "Power Eighteen", + "description": "Finish able to power at least 18 cities in your network." + }, + { + "id": "fully-supplied", + "name": "Fully Supplied", + "description": "Finish able to power every city in a network of at least 15 cities." + }, + { + "id": "network-seventeen", + "name": "Network Seventeen", + "description": "Finish with at least 17 cities in your network." + }, + { + "id": "network-twenty", + "name": "Network Twenty", + "description": "Finish with at least 20 cities in your network." + }, + { + "id": "cash-reserve", + "name": "Cash Reserve", + "description": "Finish with at least 100 Elektro." + }, + { + "id": "deep-reserves", + "name": "Deep Reserves", + "description": "Finish with at least 200 Elektro." + }, + { + "id": "wind-farm", + "name": "Wind Farm", + "description": "Finish owning wind plants with a combined capacity of at least 8 cities." + }, + { + "id": "atomic-power", + "name": "Atomic Power", + "description": "Finish owning uranium-fuelled power plants with a combined capacity of at least 8 cities. Australian uranium mines do not count." + } + ] + }, + "verified": true, + "gitDelivery": { + "canonical": "https://github.com/boardgamers/powergrid", + "branch": "master", + "sourceCommit": "2f89876e712ccd3edc70683189057975cab6b521", + "approvedSourceContained": true, + "nonForcePush": true, + "unrelatedDrift": false, + "publicMirror": "Canonical GitHub is public; no separate required mirror workflow. Divergent contributor fork untouched." + } +}