[PR #737] [MERGED] feat(pixelforge): 0.16.0 — the wilderness opens, the town varies, and generation can be retried #1118

Closed
opened 2026-10-21 05:03:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/737
Author: @kolacheee
Created: 9/7/2026
Status: ✅ Merged
Merged: 9/7/2026
Merged by: @kolacheee

Base: staging ← Head: feat/pixelforge-016-procedural-worlds


📝 Commits (10+)

  • c8b4b44 chore(pixelforge): open 0.16.0
  • 1a2be32 feat(pixelforge): a stage that fell back can be tried again, without a new game
  • 41855e2 feat(pixelforge): the world says what didn't finish being written, and offers the way out
  • a0152d4 test(pixelforge): the retry surface is driven end to end, not described
  • 91bc927 fix(pixelforge): the cascade does not strand the press, the world, or the seed
  • cbee8b3 test(pixelforge): the lanes watch the mechanisms, not the turn they ran in
  • a32c05a fix(pixelforge): the world moves only for the press that was confirmed here
  • 3b041af test(pixelforge): the lanes stand on both sides of the world-replacing press
  • 859f4f1 fix(pixelforge): the panel says what is true of the state it is in
  • edc7273 test(pixelforge): the paid world re-roll is pressed, not described

📊 Changes

17 files changed (+14434 additions, -456 deletions)

View changed files

➕ artifacts/pixelforge-0.16.0.zip (+0 -0)
📝 packages/pixelforge/CHANGELOG.md (+8 -0)
📝 packages/pixelforge/README.md (+87 -1)
📝 packages/pixelforge/client.js (+3617 -172)
📝 packages/pixelforge/docs/ROADMAP.md (+207 -9)
📝 packages/pixelforge/docs/brief-schema.md (+20 -0)
📝 packages/pixelforge/docs/player-state.md (+783 -15)
📝 packages/pixelforge/manifest.json (+3 -3)
📝 packages/pixelforge/src/20-world.js (+655 -74)
➕ packages/pixelforge/src/21-lattice.js (+1112 -0)
📝 packages/pixelforge/src/30-sim.js (+61 -0)
📝 packages/pixelforge/src/50-spatial.js (+7 -0)
📝 packages/pixelforge/src/60-save.js (+1274 -59)
📝 packages/pixelforge/src/70-hud.js (+481 -25)
📝 packages/pixelforge/src/90-element.js (+12 -1)
📝 packages/pixelforge/test-brief.mjs (+6106 -96)
📝 scripts/build-pixelforge-package.mjs (+1 -1)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #736

Why this change

  • The complaint this release exists for is "always the same main village map", and the first thing the planning round established is that it was true of generated worlds too. The crossroad was the middle of the map, the square was the same eight-by-eight around it, and every band of buildings sat centred in its own span — so at a given size the fifth house landed on the same tile in every world that ever compiled. The only exterior variation a seed produced was a scattering of grass tiles. 0.16 rolls where the crossroad falls, what shape the square takes, how each row of buildings slides along its street, and what the surrounding land does to the ground, all off the world's own seed.
  • And walking out of town ended at a wall. A world was a handful of small grids joined by portals, and the wilderness was exactly two of them behind a solid ring of trees. Now the settlement stands at the middle of a lattice with no edge: every direction has country in it, every patch of it already exists whether or not anyone has walked there, and a patch walked back into is the one that was left. Nothing about it is saved, which is what makes it affordable — and that limitation ships stated rather than discovered.
  • A ruling redirected the third piece of work entirely, and the redirect is the better feature. The plan proposed giving the fallback map the same wilderness. The maintainer's answer was that nobody should be living on the fallback map at all, and that a player whose generation half-worked needs a way to re-attempt that part — "which would save them time and tokens assuming everything else generated successfully and they wouldn't have to start a new game." So the fallback map gets nothing, deliberately, and 0.16 ships a per-stage generation retry surface instead. A second ruling then made the world's seed immutable on every recovery path, because history generation and every future stage downstream must derive from the world that is actually standing — which killed a cheaper design that had already converged and replaced it with a same-seed rebuild.
  • This is also the release the maintainer has committed to playtest, and it is the first procedural playtest in the project's history: every release since 0.4 has generated worlds, and none of them has been walked through by the maintainer with generation actually running. The deferred-verification list in docs/player-state.md was rebuilt as that session's agenda rather than as a wish.

What changed

  • Affected package ID: pixelforge (catalog-excluded; the uncatalogued-manifest sweep validates it).
  • packages/pixelforge/src/*: new 21-lattice.js (the cell addressing, the six terrain classes and their per-theme word book, region compilation as a total function of seed/theme/climate/surround/cell, the two-phase edge punching, arrival bookkeeping, the signpost, and the residency policy with its cache clears); the traversal and gate-step work plus the settlement's four layout levers and the surround ground idioms in 20-world.js; the generation retry surface — the stage registry, the derivation, the post-start hold, the world-replacing install and its confirmation contract — in 60-save.js, with its panel, chip and copy in 70-hud.js; the arrival routing and the write-governor condition in 90-element.js; the narrated-arrival share of the same bookkeeping in 50-spatial.js; the notice plumbing in 30-sim.js.
  • packages/pixelforge/test-brief.mjs: the regression lanes for all of it (+6,113 lines) — the lattice walked rather than described, the wilderness let go of and walked back into, the world swapped under the signpost, both paid retries driven with their call counts, the free rebuild driven in both directions of the update that fixes the builder, the re-arm driven through a real chat switch, and the panel driven through a real HUD on the DOM shim.
  • packages/pixelforge/docs/: player-state.md gains the wilderness lattice and the retry surface as full sections, a measured 0.16 wire-size table, and a rebuilt deferred-verification list; ROADMAP.md records 0.16 as shipped and opens the two new entries the rulings created (the persistence umbrella and megastructures) plus the retry surface's own; brief-schema.md gains the exception a compiler-minted wilderness cell needed.
  • Generated outputs rebuilt and committed: client.js (1,391,641 bytes over nineteen modules), manifest.json, and artifacts/pixelforge-0.16.0.zip (1,403,477 bytes). No art moved — both theme tile sheets and atlas.json are byte-unchanged.
  • packages/pixelforge/README.md and packages/pixelforge/CHANGELOG.md: the 0.16.0 sections.

Package and security impact

  • Affected package IDs: pixelforge only
  • Engine compatibility impact: none new. capabilityApi stays at {1, 10} and the supported engine range is unchanged.
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: no new key in the player block and no new field in the save envelope — but "zero new save fields" is not the whole story this time, and the difference is worth reading rather than skipping:
    • Two existing, long-empty fields get their first real traffic. The discovery journal (player.found, declared in 0.11 and never written until now) takes one row per landmark — 47 bytes at a typical cell id, 3,851 bytes at its shipped 80-row cap. The one-shot landmark flags ride the existing intro key in the envelope at about 14 bytes each; that row is uncapped, and it is the release's only durable envelope growth (measured at 170 bytes for twelve landmarks over a three-ring walk; the 262,144-character row cap is about eighteen thousand of them).
    • The retry surface adds three durable chat-metadata keys, on the content pack's precedent — none of them enters the save snapshot, so they count against neither the row cap nor the keepalive budget. pixelforgeFallbackAcceptedBrief (40 bytes) and pixelforgeFallbackAcceptedPack (39 bytes) are written only when a player presses "keep playing without it"; pixelforgeBriefPrior (about 1.5 KB) parks the outgoing world setting, and only when a paid rewrite replaces one, riding in the same patch as the incoming one so there is no window where the only copy is gone.
    • The wilderness itself stores nothing at all. A region is recomputed from the seed and the cell on every load, exactly like the settlement it hangs off.
    • Memory is additive, not instead-of, and the number is measured rather than estimated: 18.6 MB of settlement and interiors plus 30.4 MB for nine resident regions = 49.0 MB of cached paintings in the harness's software canvas. That is the floor under the browser's own figure, which is on the verification list below.
    • Worlds that already exist re-lay their streets on their next load and keep every person, friendship, job and home; the fallback map is byte-untouched.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Boxes above are the human contributor's to-do list. What was agent-verified, exactly:

  • Development discipline: six plan versions across four adversarial planning rounds (fifty-one findings dispositioned in the first, thirty-six in the last, none rejected), two batches of maintainer rulings mid-flight — the second of which overruled a design that had already converged — then per-slice implementation with an independent adversarial verification pass in an isolated worktree between every slice and the next. The record is uneven and it is stated as it happened: the retry surface needed five rounds and four DO-NOT-SHIP verdicts before it passed; the traversal and write-governor slice needed three; the lattice substrate and the documentation pass needed two each; residency and the settlement variety shipped first-pass under attack.
  • Mutation testing, because a green lane proves nothing on its own. The retry surface's five verification rounds applied 191 surgical mutations in total (32, 17, 22, 45 and 75), each from a pristine file copy against the full suite, each reverted; the residency slice took 33, the settlement-variety slice 25, and the final polish pass 12. On the settlement work two mutations stayed green on purpose — they delete guards that turn out to be inert at every shipped scale, which is why both guards now say in their own comments that they are defensive rather than load-bearing. The final round drove nine named must-bite mutations plus ten fresh ones against the diff it was reviewing, and all nineteen turned a lane red on the correct assertion; one mutation in the retry surface's re-run battery survives on purpose — it deletes a defensive line that is genuinely unreachable, which is said at the line itself rather than papered over with a lane that pretends otherwise.
  • The invariance that had to hold, proved by forcing rather than by sampling. The shipped lane samples 200 worlds by seed; verification forced the compiler onto every legal crossroad the search offers, at every rank, both themes, all three prosperity levels — 6,942 forced compiles, zero faults. The population stamp, the compiled zone-id set, every zone name and every non-settlement zone's tiles were identical to the centred baseline in all of them. That is what makes "the streets move and nobody moves house" a proof rather than a hope. Twenty frozen fallback-map layout fingerprints did not move across any of the three re-pins.
  • Build guards: the shipped bundle's size was reproduced from its parts before it was trusted — nineteen modules totalling 1,390,843 bytes plus a 798-byte wrapper is 1,391,641 exactly, which is the check the CRLF incident in 0.11 is the reason for. the builder was then run twice over the final tree and produced byte-identical output including the artifact hash, a re-bake leaves zero dirty files, validate-catalog prints its uncatalogued-pixelforge witness beside 35 catalogued packages, and both theme tile sheets and atlas.json carry the same three hashes they carried before the cycle opened, in both the shipped copies and the regenerated build output.
  • Three bakes, and the reason for the second is a disclosure rather than a detail: the first bake shipped source that npm run check — the command CI runs on every PR — refuses. A tunables rename had pushed three statements past the formatter's line width, and the whole arc had been validating with the package's own harness, which loads the source and has no opinion about how it is wrapped. Bisected, repaired with the formatter's own output, and proven inert (the harness output is character-identical across it). npm run check exits 0 at the tip with no new warnings; the 69 that remain are pre-existing and none is in this package.

Manually verify in the browser and at the playtest (nothing headless can prove these) — §12.2 and §12.3 of docs/player-state.md are the canonical lists:

  • Does re-entry hitch? Walking back into a region recomposites it at 1,089 to 1,170 tile draws against a ceiling of 2,592. That is the only hitch candidate in the feature — compiling a whole city takes 2.70 ms — so if a hitch shows, say "the recomposite hitches" rather than "the wilderness is slow".
  • Memory over a real 40-region walk, fair and snowy, with interiors visited, against the 49.0 MB floor above and a policy that holds nine regions.
  • Snow by eye in both themes, especially the classes with no snow vocabulary (bare rock in a white world, liquid water in a fen), plus 0.16's own new ground inside the settlement.
  • The square at noon, at village scale and up. The band phases spend the lot grid's centring slack toward the crossroad by design, so buildings stand closer to the paving and there is less open ground around the square. Nobody is ever placed in a wall — this is a look, not a fault — but does a busy square read as a market or as a crush?
  • The retry popup in a real browser: z-order against the host's narration panel (the one playtest-caught bug in this class), focus behaviour, the topbar chip's legibility, and how an auto-open feels. Mount, unmount, Escape routing and hide-under-gate are driven in the harness and are not on this list.
  • The signpost chip at a real topbar width with a long landmark name in it — it is a derived string of unbounded length sitting beside the clock and the purse.
  • The world-swap moment, which is the felt question of the retry surface: a successful world retry replaces the map under a player mid-session. Does the confirmation's keeps-and-loses contract match what the player then experiences, and does the free rebuild arriving in milliseconds read as an answer or as a glitch?
  • A live generation on a real connection, which is the only thing that can price the retry surface honestly: a pack re-attempt spends one call, a paid rewrite spends its own plus the one the cascade owes downstream.

Honest disclosures — named here rather than left for review to find:

  • At the two smallest ranks the crossroad only slides sideways. An outpost and a hamlet have room for exactly one legal band depth, so the horizontal road sits on the same row in every outpost that will ever compile and in every hamlet. What varies there is the square, the lot rhythm and the ground. If a small map still reads as "the same village", that is the reason, and it is a scale-table question rather than a lever that failed.
  • The stone verge may not read as a shoulder in the sci-fi colony, on a fair day. Rasterised through the shipped painters, the verge tile and the road tile sit a mean colour distance of 7 apart in the colony theme against 60 in the cozy village. It is clearly distinct from grass (88) and very clearly distinct under snow (176), so the idiom is not invisible — but the likely colony reading is a road that looks about five tiles wide with ragged edges rather than a road with a shoulder. If that is how it reads, the sanctioned remedy is one appended tile at the next bake.
  • One sentence the plan specified was deleted rather than shipped, and this is the disclosure. A "second failure" line ("if this happens again, the problem is likely the setting, not luck") was designed to appear under a retry row on a re-press after a failed rewrite. It cannot fire: the regeneration call answers the moment a request goes out, so a request that comes back badly paints the gate's own failure screen and never reaches the panel's note map. The only presses that could reach it are presses that never reached a call at all — the wrong stage and the wrong cause both times. Making it fire would need a session-only per-stage failure witness, which is a maintainer call rather than a fix-round one.
  • Existing worlds re-lay their streets on their next load. Seed-instability across updates is explicitly accepted for this release by ruling ("it may make playtesting a bit simpler"); freezing a loaded region's layout across generator changes is the first facet of the new persistence roadmap entry, not a 0.16 behaviour.
  • The wilderness does not remember you, and nothing out there can be changed. That is the release's headline limitation, it is in the player-facing README in those words, and living with it is the one playtest question whose answer changes what gets built next.
  • A generation re-attempt pressed while the GM is mid-turn waits and then fails with the shipped busy-shaped screen rather than queueing — an imported failure mode that does not exist at boot. The copy happens to be right for it; whether it reads right is a playtest item.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

(In-branch: packages/pixelforge/README.md, CHANGELOG.md, docs/player-state.md, docs/ROADMAP.md and docs/brief-schema.md are all updated — the second box is the accurate one to tick after review. No Marinara Engine documentation changes here.)

UI evidence (if applicable)

  • The wilderness, the signpost, the re-laid town and the retry popup are all package UI; screenshots to come from the maintainer's playtest pass (the browser list above). The harness drives the same surfaces over its DOM shim and rasterises both art tiers directly, which is how the colour-distance figures above were measured — but nothing in this repository can produce a screenshot of what a player sees.

Summary by CodeRabbit

  • New Features

    • Explore a procedurally generated wilderness surrounding towns, with varied terrain, landmarks, gates, and directional signposts.
    • Town layouts now vary by world while preserving existing settlement contents and population identity.
    • Retry incomplete world-generation stages from within the game, with options to keep playing or rebuild affected content.
    • Wilderness travel records discoveries while avoiding unnecessary save interruptions.
  • Documentation

    • Added Pixelforge 0.16.0 guidance covering wilderness exploration, settlement variation, and generation recovery.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/737 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 9/7/2026 **Status:** ✅ Merged **Merged:** 9/7/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `feat/pixelforge-016-procedural-worlds` --- ### 📝 Commits (10+) - [`c8b4b44`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c8b4b449024e43e3c016282620f5d5ed0aafc3c3) chore(pixelforge): open 0.16.0 - [`1a2be32`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1a2be325a720a7eacf4f78a14df199dd7b8b26d0) feat(pixelforge): a stage that fell back can be tried again, without a new game - [`41855e2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/41855e2c280adc9a25c7ae6fdcf698425af14570) feat(pixelforge): the world says what didn't finish being written, and offers the way out - [`a0152d4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a0152d491d5fbf73c282589f995efaba228b0689) test(pixelforge): the retry surface is driven end to end, not described - [`91bc927`](https://github.com/Pasta-Devs/Marinara-Agents/commit/91bc9273341ff11e2e34dab8aaaf2043d35d1393) fix(pixelforge): the cascade does not strand the press, the world, or the seed - [`cbee8b3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cbee8b3cfb9f2fb8af92268be7446a140e7f7d70) test(pixelforge): the lanes watch the mechanisms, not the turn they ran in - [`a32c05a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a32c05a0960b26ef007d5d87b7efeef35f0cfc1a) fix(pixelforge): the world moves only for the press that was confirmed here - [`3b041af`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3b041af78c9d435d3419f5246e871cdf13a194f7) test(pixelforge): the lanes stand on both sides of the world-replacing press - [`859f4f1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/859f4f1b843eab023f95b8d4bf0f1dea06e9c0c3) fix(pixelforge): the panel says what is true of the state it is in - [`edc7273`](https://github.com/Pasta-Devs/Marinara-Agents/commit/edc72736fa2547067075f8a7a251d3a060e679c0) test(pixelforge): the paid world re-roll is pressed, not described ### 📊 Changes **17 files changed** (+14434 additions, -456 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/pixelforge-0.16.0.zip` (+0 -0) 📝 `packages/pixelforge/CHANGELOG.md` (+8 -0) 📝 `packages/pixelforge/README.md` (+87 -1) 📝 `packages/pixelforge/client.js` (+3617 -172) 📝 `packages/pixelforge/docs/ROADMAP.md` (+207 -9) 📝 `packages/pixelforge/docs/brief-schema.md` (+20 -0) 📝 `packages/pixelforge/docs/player-state.md` (+783 -15) 📝 `packages/pixelforge/manifest.json` (+3 -3) 📝 `packages/pixelforge/src/20-world.js` (+655 -74) ➕ `packages/pixelforge/src/21-lattice.js` (+1112 -0) 📝 `packages/pixelforge/src/30-sim.js` (+61 -0) 📝 `packages/pixelforge/src/50-spatial.js` (+7 -0) 📝 `packages/pixelforge/src/60-save.js` (+1274 -59) 📝 `packages/pixelforge/src/70-hud.js` (+481 -25) 📝 `packages/pixelforge/src/90-element.js` (+12 -1) 📝 `packages/pixelforge/test-brief.mjs` (+6106 -96) 📝 `scripts/build-pixelforge-package.mjs` (+1 -1) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #736 ## Why this change - **The complaint this release exists for is "always the same main village map", and the first thing the planning round established is that it was true of *generated* worlds too.** The crossroad was the middle of the map, the square was the same eight-by-eight around it, and every band of buildings sat centred in its own span — so at a given size the fifth house landed on the same tile in every world that ever compiled. The only exterior variation a seed produced was a scattering of grass tiles. 0.16 rolls where the crossroad falls, what shape the square takes, how each row of buildings slides along its street, and what the surrounding land does to the ground, all off the world's own seed. - **And walking out of town ended at a wall.** A world was a handful of small grids joined by portals, and the wilderness was exactly two of them behind a solid ring of trees. Now the settlement stands at the middle of a lattice with no edge: every direction has country in it, every patch of it already exists whether or not anyone has walked there, and a patch walked back into is the one that was left. Nothing about it is saved, which is what makes it affordable — and that limitation ships stated rather than discovered. - **A ruling redirected the third piece of work entirely, and the redirect is the better feature.** The plan proposed giving the fallback map the same wilderness. The maintainer's answer was that nobody should be living on the fallback map at all, and that a player whose generation half-worked needs a way to re-attempt *that part* — *"which would save them time and tokens assuming everything else generated successfully and they wouldn't have to start a new game."* So the fallback map gets nothing, deliberately, and 0.16 ships a per-stage generation retry surface instead. A second ruling then made the world's seed immutable on every recovery path, because history generation and every future stage downstream must derive from the world that is actually standing — which killed a cheaper design that had already converged and replaced it with a same-seed rebuild. - **This is also the release the maintainer has committed to playtest**, and it is the first procedural playtest in the project's history: every release since 0.4 has generated worlds, and none of them has been walked through by the maintainer with generation actually running. The deferred-verification list in `docs/player-state.md` was rebuilt as that session's agenda rather than as a wish. ## What changed - **Affected package ID: `pixelforge`** (catalog-excluded; the uncatalogued-manifest sweep validates it). - `packages/pixelforge/src/*`: new `21-lattice.js` (the cell addressing, the six terrain classes and their per-theme word book, region compilation as a total function of seed/theme/climate/surround/cell, the two-phase edge punching, arrival bookkeeping, the signpost, and the residency policy with its cache clears); the traversal and gate-step work plus the settlement's four layout levers and the surround ground idioms in `20-world.js`; the generation retry surface — the stage registry, the derivation, the post-start hold, the world-replacing install and its confirmation contract — in `60-save.js`, with its panel, chip and copy in `70-hud.js`; the arrival routing and the write-governor condition in `90-element.js`; the narrated-arrival share of the same bookkeeping in `50-spatial.js`; the notice plumbing in `30-sim.js`. - `packages/pixelforge/test-brief.mjs`: the regression lanes for all of it (+6,113 lines) — the lattice walked rather than described, the wilderness let go of and walked back into, the world swapped under the signpost, both paid retries driven with their call counts, the free rebuild driven in both directions of the update that fixes the builder, the re-arm driven through a real chat switch, and the panel driven through a real HUD on the DOM shim. - `packages/pixelforge/docs/`: `player-state.md` gains the wilderness lattice and the retry surface as full sections, a measured 0.16 wire-size table, and a rebuilt deferred-verification list; `ROADMAP.md` records 0.16 as shipped and opens the two new entries the rulings created (the persistence umbrella and megastructures) plus the retry surface's own; `brief-schema.md` gains the exception a compiler-minted wilderness cell needed. - Generated outputs rebuilt and committed: `client.js` (1,391,641 bytes over nineteen modules), `manifest.json`, and `artifacts/pixelforge-0.16.0.zip` (1,403,477 bytes). **No art moved** — both theme tile sheets and `atlas.json` are byte-unchanged. - `packages/pixelforge/README.md` and `packages/pixelforge/CHANGELOG.md`: the 0.16.0 sections. ## Package and security impact - Affected package IDs: `pixelforge` only - Engine compatibility impact: none new. `capabilityApi` stays at `{1, 10}` and the supported engine range is unchanged. - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: **no new key in the player block and no new field in the save envelope** — but "zero new save fields" is not the whole story this time, and the difference is worth reading rather than skipping: - **Two existing, long-empty fields get their first real traffic.** The discovery journal (`player.found`, declared in 0.11 and never written until now) takes one row per landmark — 47 bytes at a typical cell id, 3,851 bytes at its shipped 80-row cap. The one-shot landmark flags ride the existing `intro` key in the envelope at about 14 bytes each; that row is **uncapped**, and it is the release's only durable envelope growth (measured at 170 bytes for twelve landmarks over a three-ring walk; the 262,144-character row cap is about eighteen thousand of them). - **The retry surface adds three durable chat-metadata keys**, on the content pack's precedent — none of them enters the save snapshot, so they count against neither the row cap nor the keepalive budget. `pixelforgeFallbackAcceptedBrief` (40 bytes) and `pixelforgeFallbackAcceptedPack` (39 bytes) are written only when a player presses "keep playing without it"; `pixelforgeBriefPrior` (about 1.5 KB) parks the outgoing world setting, and only when a paid rewrite replaces one, riding in the same patch as the incoming one so there is no window where the only copy is gone. - **The wilderness itself stores nothing at all.** A region is recomputed from the seed and the cell on every load, exactly like the settlement it hangs off. - **Memory is additive, not instead-of, and the number is measured rather than estimated:** 18.6 MB of settlement and interiors plus 30.4 MB for nine resident regions = **49.0 MB of cached paintings** in the harness's software canvas. That is the floor under the browser's own figure, which is on the verification list below. - Worlds that already exist re-lay their streets on their next load and keep every person, friendship, job and home; the fallback map is byte-untouched. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Boxes above are the human contributor's to-do list. What was agent-verified, exactly: - **Development discipline:** six plan versions across four adversarial planning rounds (fifty-one findings dispositioned in the first, thirty-six in the last, none rejected), two batches of maintainer rulings mid-flight — the second of which overruled a design that had already converged — then per-slice implementation with an independent adversarial verification pass in an isolated worktree between every slice and the next. The record is uneven and it is stated as it happened: the retry surface needed **five rounds and four DO-NOT-SHIP verdicts** before it passed; the traversal and write-governor slice needed three; the lattice substrate and the documentation pass needed two each; residency and the settlement variety shipped first-pass under attack. - **Mutation testing, because a green lane proves nothing on its own.** The retry surface's five verification rounds applied **191 surgical mutations** in total (32, 17, 22, 45 and 75), each from a pristine file copy against the full suite, each reverted; the residency slice took 33, the settlement-variety slice 25, and the final polish pass 12. On the settlement work two mutations stayed green on purpose — they delete guards that turn out to be inert at every shipped scale, which is why both guards now say in their own comments that they are defensive rather than load-bearing. The final round drove nine named must-bite mutations plus ten fresh ones against the diff it was reviewing, and all nineteen turned a lane red on the correct assertion; one mutation in the retry surface's re-run battery survives on purpose — it deletes a defensive line that is genuinely unreachable, which is said at the line itself rather than papered over with a lane that pretends otherwise. - **The invariance that had to hold, proved by forcing rather than by sampling.** The shipped lane samples 200 worlds by seed; verification forced the compiler onto **every legal crossroad the search offers, at every rank, both themes, all three prosperity levels — 6,942 forced compiles, zero faults.** The population stamp, the compiled zone-id set, every zone name and every non-settlement zone's tiles were identical to the centred baseline in all of them. That is what makes "the streets move and nobody moves house" a proof rather than a hope. Twenty frozen fallback-map layout fingerprints did not move across any of the three re-pins. - **Build guards:** the shipped bundle's size was reproduced from its parts before it was trusted — nineteen modules totalling 1,390,843 bytes plus a 798-byte wrapper is 1,391,641 exactly, which is the check the CRLF incident in 0.11 is the reason for. the builder was then run twice over the final tree and produced byte-identical output including the artifact hash, a re-bake leaves zero dirty files, `validate-catalog` prints its uncatalogued-pixelforge witness beside 35 catalogued packages, and both theme tile sheets and `atlas.json` carry the same three hashes they carried before the cycle opened, in both the shipped copies and the regenerated build output. - **Three bakes, and the reason for the second is a disclosure rather than a detail:** the first bake shipped source that `npm run check` — the command CI runs on every PR — refuses. A tunables rename had pushed three statements past the formatter's line width, and the whole arc had been validating with the package's own harness, which loads the source and has no opinion about how it is wrapped. Bisected, repaired with the formatter's own output, and proven inert (the harness output is character-identical across it). `npm run check` exits 0 at the tip with no new warnings; the 69 that remain are pre-existing and none is in this package. **Manually verify in the browser and at the playtest (nothing headless can prove these) — §12.2 and §12.3 of `docs/player-state.md` are the canonical lists:** - **Does re-entry hitch?** Walking back into a region recomposites it at 1,089 to 1,170 tile draws against a ceiling of 2,592. That is the only hitch candidate in the feature — compiling a whole city takes 2.70 ms — so if a hitch shows, say "the recomposite hitches" rather than "the wilderness is slow". - **Memory over a real 40-region walk, fair and snowy, with interiors visited**, against the 49.0 MB floor above and a policy that holds nine regions. - **Snow by eye in both themes**, especially the classes with no snow vocabulary (bare rock in a white world, liquid water in a fen), plus 0.16's own new ground inside the settlement. - **The square at noon, at village scale and up.** The band phases spend the lot grid's centring slack toward the crossroad by design, so buildings stand closer to the paving and there is less open ground around the square. Nobody is ever placed in a wall — this is a look, not a fault — but does a busy square read as a market or as a crush? - **The retry popup in a real browser**: z-order against the host's narration panel (the one playtest-caught bug in this class), focus behaviour, the topbar chip's legibility, and how an auto-open feels. Mount, unmount, Escape routing and hide-under-gate are driven in the harness and are *not* on this list. - **The signpost chip at a real topbar width** with a long landmark name in it — it is a derived string of unbounded length sitting beside the clock and the purse. - **The world-swap moment**, which is the felt question of the retry surface: a successful world retry replaces the map under a player mid-session. Does the confirmation's keeps-and-loses contract match what the player then experiences, and does the free rebuild arriving in milliseconds read as an answer or as a glitch? - **A live generation on a real connection**, which is the only thing that can price the retry surface honestly: a pack re-attempt spends one call, a paid rewrite spends its own plus the one the cascade owes downstream. **Honest disclosures — named here rather than left for review to find:** - **At the two smallest ranks the crossroad only slides sideways.** An outpost and a hamlet have room for exactly one legal band depth, so the horizontal road sits on the same row in every outpost that will ever compile and in every hamlet. What varies there is the square, the lot rhythm and the ground. If a small map still reads as "the same village", that is the reason, and it is a scale-table question rather than a lever that failed. - **The stone verge may not read as a shoulder in the sci-fi colony, on a fair day.** Rasterised through the shipped painters, the verge tile and the road tile sit a mean colour distance of **7** apart in the colony theme against **60** in the cozy village. It is clearly distinct from grass (88) and very clearly distinct under snow (176), so the idiom is not invisible — but the likely colony reading is a road that looks about five tiles wide with ragged edges rather than a road with a shoulder. If that is how it reads, the sanctioned remedy is one appended tile at the next bake. - **One sentence the plan specified was deleted rather than shipped, and this is the disclosure.** A "second failure" line ("if this happens again, the problem is likely the setting, not luck") was designed to appear under a retry row on a re-press after a failed rewrite. It cannot fire: the regeneration call answers the moment a request goes out, so a request that comes back badly paints the gate's own failure screen and never reaches the panel's note map. The only presses that could reach it are presses that never reached a call at all — the wrong stage and the wrong cause both times. Making it fire would need a session-only per-stage failure witness, which is a maintainer call rather than a fix-round one. - **Existing worlds re-lay their streets on their next load.** Seed-instability across updates is explicitly accepted for this release by ruling ("it may make playtesting a bit simpler"); freezing a loaded region's layout across generator changes is the first facet of the new persistence roadmap entry, not a 0.16 behaviour. - **The wilderness does not remember you**, and nothing out there can be changed. That is the release's headline limitation, it is in the player-facing README in those words, and living with it is the one playtest question whose answer changes what gets built next. - **A generation re-attempt pressed while the GM is mid-turn** waits and then fails with the shipped busy-shaped screen rather than queueing — an imported failure mode that does not exist at boot. The copy happens to be right for it; whether it *reads* right is a playtest item. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation (In-branch: `packages/pixelforge/README.md`, `CHANGELOG.md`, `docs/player-state.md`, `docs/ROADMAP.md` and `docs/brief-schema.md` are all updated — the second box is the accurate one to tick after review. No Marinara Engine documentation changes here.) ## UI evidence (if applicable) - The wilderness, the signpost, the re-laid town and the retry popup are all package UI; screenshots to come from the maintainer's playtest pass (the browser list above). The harness drives the same surfaces over its DOM shim and rasterises both art tiers directly, which is how the colour-distance figures above were measured — but nothing in this repository can produce a screenshot of what a player sees. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Explore a procedurally generated wilderness surrounding towns, with varied terrain, landmarks, gates, and directional signposts. - Town layouts now vary by world while preserving existing settlement contents and population identity. - Retry incomplete world-generation stages from within the game, with options to keep playing or rebuild affected content. - Wilderness travel records discoveries while avoiding unnecessary save interruptions. - **Documentation** - Added Pixelforge 0.16.0 guidance covering wilderness exploration, settlement variation, and generation recovery. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:03:07 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1118
No description provided.