[PR #563] [MERGED] Pixelforge 0.12.0: fishing, sleep + the daily recap, journal & character sheet, bridges #1028

Closed
opened 2026-10-20 17:33:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/563
Author: @kolacheee
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @kolacheee

Base: staging ← Head: feat/pixelforge-012-fishing


📝 Commits (10+)

  • 7423477 chore(pixelforge): open the 0.12 cycle before anything else does
  • cf74883 feat(pixelforge): a zone writes down where its named features stand
  • 86539d5 feat(pixelforge): the sim knows when the player is standing at the water
  • 35f802c feat(pixelforge): the pouch tells a tier from a name
  • cf81f31 feat(pixelforge): fishing's numbers, and a rod priced in every world that sells one
  • 572d3ea feat(pixelforge): the clock can be spent a window at a time, and it crosses midnight
  • 26764e2 feat(pixelforge): the legacy name book has to agree with the brief that names the same things
  • 653f3d4 feat(pixelforge): the water gets a table, and what comes out of it gets a name
  • 1ceba1b feat(pixelforge): the keeper who lets the room sells the rod, one rung at a time
  • b0f3be5 feat(pixelforge): a cast is one window of clock, spent whole

📊 Changes

22 files changed (+10411 additions, -292 deletions)

View changed files

➕ artifacts/pixelforge-0.12.0.zip (+0 -0)
📝 packages/pixelforge/README.md (+37 -1)
📝 packages/pixelforge/atlas.json (+2 -1)
📝 packages/pixelforge/build/build-art.mjs (+14 -0)
📝 packages/pixelforge/client.js (+2717 -62)
📝 packages/pixelforge/docs/ROADMAP.md (+110 -15)
📝 packages/pixelforge/docs/brief-schema.md (+43 -5)
📝 packages/pixelforge/docs/player-state.md (+646 -46)
📝 packages/pixelforge/manifest.json (+9 -9)
📝 packages/pixelforge/src/10-art.js (+20 -0)
📝 packages/pixelforge/src/20-world.js (+242 -16)
📝 packages/pixelforge/src/30-sim.js (+190 -2)
📝 packages/pixelforge/src/50-spatial.js (+19 -1)
📝 packages/pixelforge/src/58-player.js (+334 -10)
📝 packages/pixelforge/src/59-economy.js (+1084 -17)
📝 packages/pixelforge/src/60-save.js (+33 -7)
📝 packages/pixelforge/src/70-hud.js (+758 -5)
📝 packages/pixelforge/src/90-element.js (+36 -3)
📝 packages/pixelforge/test-brief.mjs (+4116 -91)
📝 packages/pixelforge/tiles-sci-fi-colony.png (+0 -0)

...and 2 more files

📄 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 #562

Why this change

  • 0.11 gave a Pixelforge day a bed and a purse; nothing yet gave it something to be about. 0.12 is the action layer the roadmap has been building toward: fishing as the first real skill verb (deterministic rolls, themed catches, an economy rung at the keeper), sleep as the day's honest boundary, and — the maintainer-ruled centerpiece — the daily recap: the GM finally hears what the player actually did, once, at wake-up, through the S5 ledger machinery that has been writing silently since 0.11. Two panels (journal, character sheet) let the player read the same story back.
  • Every design fork in the release was maintainer-ruled during planning (rods never free; per-theme acquisition realism; sleep staging covering post-midnight fishing; the GM touching fishing only via the recap and future questlines; road-meets-water becoming bridges — which un-blocked wilds ponds and seeded the swamp-biome roadmap entry).

What changed

  • Affected package ID: pixelforge (catalog-excluded; the uncatalogued-manifest sweep validates it).
  • packages/pixelforge/src/*: the fishing verb + catch tables + resolvers (fish(), per-day session lines incl. midnight-crossing splits), the keeper-outfitter rod ladder with starter bait, Sleep until [daypart] with the any-sleep staging rule, the two-field flush (intro.ledgerOwed + captured-rows burn with a self-enforcing guard), the ledger.notices[] band format (told-flag rows; the old day-shift back-door removed), the feature registry + nearFeature, the bridge tile (road ∩ water, both art tiers; fords migrated), themed legacy NPC roles, the journal panel + character sheet on topbar chips with the C hotkey.
  • packages/pixelforge/docs/: player-state.md extended to the full 0.12 surface (claim-traceable, file+symbol citations); brief-schema.md §9 un-reserved + two drift-closing notes; ROADMAP.md corrected (0.11 history row; explicit "0.11 did not ship S2 or L2") and extended with seven ruled items (factions, ruleset sheets, boons, sleep-deprivation, smart-device shopping, swamp platforms, modern-theme note).
  • Generated outputs rebuilt and committed: client.js (769,775 B after the review-round guard fix, byte-verified against the sorted LF-blob concatenation), manifest.json, artifacts/pixelforge-0.12.0.zip (added beside 0.11.0's per convention), tile atlas + sheets (bridge at index 28; slots 0–27 pixel-identical).
  • README.md: the 0.12.0 release-notes section, per the repo's README-section convention.

Package and security impact

  • Affected package IDs: pixelforge only
  • Engine compatibility impact: none new — the S5 experience-state routes are used as shipped; writeOrdinal/rawState readers remain presence-gated
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: additive save fields only (intro.ledgerOwed, ledger.notices[], skills.*, pouch rows). A 0.11 save round-trips; a save with an existing intro block gains "ledgerOwed":0 on first 0.12 open (one extra write per chat). Legacy saves without the new fields serialize char-identical (frozen wire literal pinned).

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: the plan survived four adversarial rounds to convergence (blockers 12 → 5 → 1 → 0); every implementation slice was independently adversarially verified in an isolated worktree (fail-first reds replayed from scratch, wrong-implementation kills, byte-stability re-derivations). Three DO-NOT-SHIP verdicts were caught and fixed before this PR: a midnight-crossing catch-loss in the ledger (192/200 repro, now 0/200), a notice-burn ordering bug reproduced through the real Travel sender, and a docs accuracy round.
  • The ruled headline, end-to-end in the harness: fish through midnight → bed at 00:30 → the next accepted turn's compose carries yesterday's line including the crossing catch by name; the burn raises the gate; the next compose is bare. Verified in both themes.
  • Determinism: same state → same yields, byte-identical across processes; hash inputs are resolved values, never raw save strings (hostile saves clamp, never fork the stream).
  • Save contract: hostile rows round-trip verbatim and are refused only at live mutators; the frozen wire literal is byte-pinned; max-shape measured at town 31747/35449, city 32248/39731 vs the 262,144 row cap.
  • Rebuild guards: client.js byte-identical to the sorted git-LF-blob concatenation (the exact check the 0.11 defect evaded); a deliberately-appended CR byte makes validate-catalog throw at the integrity tripwire (negative control, then restored and sha-verified); atlas delta proven to be the new bridge slot alone.

Manually verify in the browser (nothing headless can prove these):

  • Topbar layout with both new chips (📖 👤) beside a long location name; no wrapping at phone widths; the location toast still clears the bar.
  • Journal and sheet panel scrolling on a phone-width surface; the journal keeps its place across a replay.
  • Portrait fidelity: the sprite at 6× with image-rendering: pixelated, and the Tier-0 → Tier-1 upgrade moment when authored art loads.
  • Focus/tab order into the chips; a real host modal (setup wizard) over the game — C should be inert and Escape should reach the host.
  • Touch ergonomics of glyph-width chips beside the existing spans.
  • The bridge tile's actual look (planks over water; the sci-fi theme serves Tier-0 art by design).
  • M5 (Fish button/census UX) and M11 (journal panel shape) — provisionally ruled, conclusive at this playtest.

Documentation impact

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

UI evidence (if applicable)

  • Panels/chips/bridge are package UI; screenshots to come from the maintainer's playtest pass (the browser items above) — the harness drives the same surfaces over the DOM shim.

Summary by CodeRabbit

  • New Features

    • Added fishing, rod purchasing, sleeping, journal, and character-sheet interfaces.
    • Added themed fishing content, catches, bait, rod tiers, and economy interactions.
    • Added passable bridge tiles for road crossings over water.
    • Added persistent notices, ledger updates, skills, equipment, and improved player-state handling.
    • Improved world generation with named features, safer placement, and water-crossing support.
    • Updated the package to version 0.12.0.
  • Documentation

    • Expanded gameplay, world-generation, schema, roadmap, and release documentation for version 0.12.

🔄 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/563 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `feat/pixelforge-012-fishing` --- ### 📝 Commits (10+) - [`7423477`](https://github.com/Pasta-Devs/Marinara-Agents/commit/742347735f64410b744c315e10fa60e87194fff8) chore(pixelforge): open the 0.12 cycle before anything else does - [`cf74883`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cf7488334cf5536f32e3418c1c174f7bfd678876) feat(pixelforge): a zone writes down where its named features stand - [`86539d5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/86539d57847967e0ff81405fca600fa85365a3cd) feat(pixelforge): the sim knows when the player is standing at the water - [`35f802c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/35f802c0cc9b7daa40a737f45c82bc209f931faf) feat(pixelforge): the pouch tells a tier from a name - [`cf81f31`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cf81f3116effc8aea9e578a69d8ceb1878ad763e) feat(pixelforge): fishing's numbers, and a rod priced in every world that sells one - [`572d3ea`](https://github.com/Pasta-Devs/Marinara-Agents/commit/572d3ea76ce456e712b041278b1e89bed23cbcfb) feat(pixelforge): the clock can be spent a window at a time, and it crosses midnight - [`26764e2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/26764e226c85860a60c73c92939e8527d09671dd) feat(pixelforge): the legacy name book has to agree with the brief that names the same things - [`653f3d4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/653f3d4cc7c36c87ad709421c5f99dd000585f58) feat(pixelforge): the water gets a table, and what comes out of it gets a name - [`1ceba1b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1ceba1b0bd6765079bbddcfb30c496c4bac3b395) feat(pixelforge): the keeper who lets the room sells the rod, one rung at a time - [`b0f3be5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b0f3be5b8984fb5c3a52682d3ee6db2c7f4ebafa) feat(pixelforge): a cast is one window of clock, spent whole ### 📊 Changes **22 files changed** (+10411 additions, -292 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/pixelforge-0.12.0.zip` (+0 -0) 📝 `packages/pixelforge/README.md` (+37 -1) 📝 `packages/pixelforge/atlas.json` (+2 -1) 📝 `packages/pixelforge/build/build-art.mjs` (+14 -0) 📝 `packages/pixelforge/client.js` (+2717 -62) 📝 `packages/pixelforge/docs/ROADMAP.md` (+110 -15) 📝 `packages/pixelforge/docs/brief-schema.md` (+43 -5) 📝 `packages/pixelforge/docs/player-state.md` (+646 -46) 📝 `packages/pixelforge/manifest.json` (+9 -9) 📝 `packages/pixelforge/src/10-art.js` (+20 -0) 📝 `packages/pixelforge/src/20-world.js` (+242 -16) 📝 `packages/pixelforge/src/30-sim.js` (+190 -2) 📝 `packages/pixelforge/src/50-spatial.js` (+19 -1) 📝 `packages/pixelforge/src/58-player.js` (+334 -10) 📝 `packages/pixelforge/src/59-economy.js` (+1084 -17) 📝 `packages/pixelforge/src/60-save.js` (+33 -7) 📝 `packages/pixelforge/src/70-hud.js` (+758 -5) 📝 `packages/pixelforge/src/90-element.js` (+36 -3) 📝 `packages/pixelforge/test-brief.mjs` (+4116 -91) 📝 `packages/pixelforge/tiles-sci-fi-colony.png` (+0 -0) _...and 2 more files_ </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 #562 ## Why this change - 0.11 gave a Pixelforge day a bed and a purse; nothing yet gave it something to be *about*. 0.12 is the action layer the roadmap has been building toward: **fishing** as the first real skill verb (deterministic rolls, themed catches, an economy rung at the keeper), **sleep** as the day's honest boundary, and — the maintainer-ruled centerpiece — the **daily recap**: the GM finally hears what the player actually did, once, at wake-up, through the S5 ledger machinery that has been writing silently since 0.11. Two panels (journal, character sheet) let the player read the same story back. - Every design fork in the release was maintainer-ruled during planning (rods never free; per-theme acquisition realism; sleep staging covering post-midnight fishing; the GM touching fishing *only* via the recap and future questlines; road-meets-water becoming bridges — which un-blocked wilds ponds and seeded the swamp-biome roadmap entry). ## What changed - **Affected package ID: `pixelforge`** (catalog-excluded; the uncatalogued-manifest sweep validates it). - `packages/pixelforge/src/*`: the fishing verb + catch tables + resolvers (`fish()`, per-day session lines incl. midnight-crossing splits), the keeper-outfitter rod ladder with starter bait, `Sleep until [daypart]` with the any-sleep staging rule, the two-field flush (`intro.ledgerOwed` + captured-rows burn with a self-enforcing guard), the `ledger.notices[]` band format (told-flag rows; the old day-shift back-door removed), the feature registry + `nearFeature`, the **bridge** tile (road ∩ water, both art tiers; fords migrated), themed legacy NPC roles, the journal panel + character sheet on topbar chips with the `C` hotkey. - `packages/pixelforge/docs/`: `player-state.md` extended to the full 0.12 surface (claim-traceable, file+symbol citations); `brief-schema.md` §9 un-reserved + two drift-closing notes; `ROADMAP.md` corrected (0.11 history row; explicit "0.11 did not ship S2 or L2") and extended with seven ruled items (factions, ruleset sheets, boons, sleep-deprivation, smart-device shopping, swamp platforms, modern-theme note). - Generated outputs rebuilt and committed: `client.js` (769,775 B after the review-round guard fix, byte-verified against the sorted LF-blob concatenation), `manifest.json`, `artifacts/pixelforge-0.12.0.zip` (added beside 0.11.0's per convention), tile atlas + sheets (bridge at index 28; slots 0–27 pixel-identical). - `README.md`: the 0.12.0 release-notes section, per the repo's README-section convention. ## Package and security impact - Affected package IDs: `pixelforge` only - Engine compatibility impact: none new — the S5 experience-state routes are used as shipped; `writeOrdinal`/`rawState` readers remain presence-gated - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: additive save fields only (`intro.ledgerOwed`, `ledger.notices[]`, `skills.*`, pouch rows). A 0.11 save round-trips; a save with an existing `intro` block gains `"ledgerOwed":0` on first 0.12 open (one extra write per chat). Legacy saves without the new fields serialize char-identical (frozen wire literal pinned). ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] 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:** the plan survived four adversarial rounds to convergence (blockers 12 → 5 → 1 → 0); every implementation slice was independently adversarially verified in an isolated worktree (fail-first reds replayed from scratch, wrong-implementation kills, byte-stability re-derivations). Three DO-NOT-SHIP verdicts were caught and fixed before this PR: a midnight-crossing catch-loss in the ledger (192/200 repro, now 0/200), a notice-burn ordering bug reproduced through the real Travel sender, and a docs accuracy round. - **The ruled headline, end-to-end in the harness:** fish through midnight → bed at 00:30 → the next accepted turn's compose carries yesterday's line *including the crossing catch by name*; the burn raises the gate; the next compose is bare. Verified in both themes. - **Determinism:** same state → same yields, byte-identical across processes; hash inputs are resolved values, never raw save strings (hostile saves clamp, never fork the stream). - **Save contract:** hostile rows round-trip verbatim and are refused only at live mutators; the frozen wire literal is byte-pinned; max-shape measured at town 31747/35449, city 32248/39731 vs the 262,144 row cap. - **Rebuild guards:** `client.js` byte-identical to the sorted git-LF-blob concatenation (the exact check the 0.11 defect evaded); a deliberately-appended CR byte makes `validate-catalog` throw at the integrity tripwire (negative control, then restored and sha-verified); atlas delta proven to be the new bridge slot alone. **Manually verify in the browser (nothing headless can prove these):** - Topbar layout with both new chips (📖 👤) beside a long location name; no wrapping at phone widths; the location toast still clears the bar. - Journal and sheet panel scrolling on a phone-width surface; the journal keeps its place across a replay. - Portrait fidelity: the sprite at 6× with `image-rendering: pixelated`, and the Tier-0 → Tier-1 upgrade moment when authored art loads. - Focus/tab order into the chips; a real host modal (setup wizard) over the game — `C` should be inert and Escape should reach the host. - Touch ergonomics of glyph-width chips beside the existing spans. - The bridge tile's actual look (planks over water; the sci-fi theme serves Tier-0 art by design). - **M5 (Fish button/census UX) and M11 (journal panel shape) — provisionally ruled, conclusive at this playtest.** ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Panels/chips/bridge are package UI; screenshots to come from the maintainer's playtest pass (the browser items above) — the harness drives the same surfaces over the DOM shim. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added fishing, rod purchasing, sleeping, journal, and character-sheet interfaces. * Added themed fishing content, catches, bait, rod tiers, and economy interactions. * Added passable bridge tiles for road crossings over water. * Added persistent notices, ledger updates, skills, equipment, and improved player-state handling. * Improved world generation with named features, safer placement, and water-crossing support. * Updated the package to version 0.12.0. * **Documentation** * Expanded gameplay, world-generation, schema, roadmap, and release documentation for version 0.12. <!-- 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-20 17:33:21 +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#1028
No description provided.