[PR #645] [MERGED] Pixelforge 0.13.0: the quest board, the world's own content pack, and the quest-log tab #1067

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

📋 Pull Request Information

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

Base: staging ← Head: feat/pixelforge-013-quests


📝 Commits (10+)

  • 3323846 feat(pixelforge): the content pack gets a schema, a default, and one match test
  • 3b9fb37 feat(pixelforge): the loading gate learns to wait for a second artifact
  • 20799c0 fix(pixelforge): two rows for one job, and nothing below the board to notice
  • 66fa3e1 feat(pixelforge): what this world can actually offer, folded once and never saved
  • 48981bb fix(pixelforge): the retry after a pack failure was a lift with a button on it
  • 56f837e docs(pixelforge): the persistence header names the second call it now runs
  • 77bb3a0 fix(pixelforge): the board kept the fallback's work after its own pack sealed
  • 7264154 fix(pixelforge): the pack's read door was letting through what its seal refuses
  • dc609d2 fix(pixelforge): a throw at the pack stage fronted the screen that promised safety
  • 23f9293 test(pixelforge): six lanes that were asserting less than they said they were

📊 Changes

20 files changed (+15236 additions, -1078 deletions)

View changed files

➕ artifacts/pixelforge-0.13.0.zip (+0 -0)
📝 packages/pixelforge/README.md (+42 -1)
📝 packages/pixelforge/client.js (+3816 -209)
📝 packages/pixelforge/docs/ROADMAP.md (+93 -9)
📝 packages/pixelforge/docs/player-state.md (+517 -22)
📝 packages/pixelforge/manifest.json (+3 -3)
📝 packages/pixelforge/src/10-art.js (+38 -0)
📝 packages/pixelforge/src/18-brief.js (+12 -0)
📝 packages/pixelforge/src/20-world.js (+228 -4)
📝 packages/pixelforge/src/30-sim.js (+61 -3)
📝 packages/pixelforge/src/50-spatial.js (+14 -0)
📝 packages/pixelforge/src/58-player.js (+66 -21)
📝 packages/pixelforge/src/59-economy.js (+27 -3)
📝 packages/pixelforge/src/60-save.js (+552 -82)
➕ packages/pixelforge/src/61-pack.js (+1947 -0)
📝 packages/pixelforge/src/70-hud.js (+735 -25)
📝 packages/pixelforge/src/80-setup.js (+14 -1)
📝 packages/pixelforge/src/90-element.js (+57 -7)
📝 packages/pixelforge/test-brief.mjs (+7013 -687)
📝 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 #644

Why this change

  • 0.12 gave a Pixelforge day something to do; nothing yet gave it something to earn. 0.13 is the committed income layer from the roadmap's own bullet — P4 quests + the E1 offline pack + the board + the log tab: settlements now post work, the world's own generation call writes the job flavor and the dialogue pool, and completing work pays money and standing with the giver. This is also what unlocks the priced-out economy rung the 0.12 keeper ladder left visible-but-unaffordable.
  • Every design fork was maintainer-ruled during planning: quests never grant skill experience (the task may raise skills — catching levels fishing through the catching — but rewards are money + rapport only, with future classes each gated on its own system); no selling of anything in 0.13; combat verbs excluded by the sealed enum; packless pre-0.13 worlds stay packless under the rolling-compat posture; the tab strip ships last and thin so the still-owed 0.12 playtest can reshape placement without surgery.

What changed

  • Affected package ID: pixelforge (catalog-excluded; the uncatalogued-manifest sweep validates it).
  • packages/pixelforge/src/*: the pack substrate (61-pack.js, new — schema, seal validator, the shared grain/verb authority reused by the read door, the default pack, daily selection, board menu logic, rewards TUNING with xp=0 structural); the two-call state machine in 60-save.js (seal-side packExpected marker, gate disjunction, consume-free rehydration with the deferred arms re-run at the pack-success lift, the honest thin failure kind, stage-aware retry copy); the board fixture + buildLegacy twin + anchor ladder in 20-world.js and the nearBoard proximity read in 30-sim.js; the three verb-site hooks (fish's granted region in 59-economy.js, the zone-entry pair for visit, the sim-identity-gated deliver in 90-element.js); the no-verb completion amendment + ghost-ladder fence in 58-player.js plus template-grain dedupe; the journal tab strip + quest tab + abandon confirm in 70-hud.js; one-completion-per-template-per-day via a sim-resident day receipt.
  • packages/pixelforge/docs/: player-state.md extended with the full quest surface (quest lifecycle, mode-qualified rewind honesty twins, the pack as a second sealed artifact, measured sizes on one consistent ruler, and §12 — the single deferred-verification list naming who owes what); ROADMAP.md progress pass (0.13 release record, P7 gap enumeration now nine verbs, the ruled entries: P4a quest revisit, P4b tutorial quests, P12 character-level XP, P13 reputation, the six-class reward gating table).
  • Generated outputs rebuilt and committed: client.js (0.13.0 banner, byte-verified against the sorted LF-blob concatenation), manifest.json, artifacts/pixelforge-0.13.0.zip beside the prior versions, per convention. No atlas change this release — the board tile is a Tier-0 painter by design (the atlas key order is the shipped PNG's index map).
  • README.md: the 0.13.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 same experience-state routes as 0.12; two additive chat-metadata keys (pixelforgePack, pixelforgePackWanted) ride the existing per-key shallow-merge PATCH; older clients carry them untouched
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: additive only. The pack is a second sealed blob beside the brief; quest state lives in the S5 player block's three keys declared since 0.11 (no new envelope or block keys — verified, 60-save.js has zero diff across the arc). Pre-0.13 worlds open packless with an honest empty board (rolling-compat posture, documented).

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 three adversarial rounds to convergence (blockers 6 → 8 → 1 → 0), all nine maintainer calls ruled before implementation; every slice was independently adversarially verified in an isolated worktree (fail-first reds replayed from scratch, wrong-implementation kills, byte-stability re-derivations, independent re-measurement of every published number). Slices 1 and 2 were each caught at DO-NOT-SHIP and fixed before this PR — headline catches: a stale pack-fold memo that would have pinned every generated world's board permanently empty; a read door that admitted templates the seal refuses; a retry screen whose reassurance was false on the arm it fronted; floor arithmetic claiming a worst-case guarantee its own harness disproves.
  • The reward ruling, attacked: all five award() call sites classified; hostile reward rows (arrays, string xp, 1e9, prototype-key verbs) and hostile saves mint nothing; a pre-existing foreign ghost ladder still renders; the visit money loop is proven shut end-to-end (accept → walk → complete → walk back → same-day re-offer refuses as filled).
  • Determinism and the wire: daily offers byte-identical across processes and independent folds; zero serialized movement across the feature slices except declared surfaces (the board fixture's three world rows, two guidance strings); the fills-once receipt and zone handles are derived-only, absent from every wire surface.
  • Rebuild guards: client.js byte-verified against the sorted git-LF-blob concatenation (the 0.11-defect check); validate-catalog shows the uncatalogued-pixelforge line; atlas and sprite sheets untouched by diff.

Manually verify in the browser (nothing headless can prove these) — §12 of docs/player-state.md is the canonical list:

  • The live two-call generation ladder against a real engine: one hold spanning brief + pack calls, the retry re-entering at the pack call, the purse paid once at the lift, and whether a real model honors templates-first emission (every generation lane in the harness is a mock through the shipped path).
  • The board menu at phone width; the two-section ordering flip when a job is completable; the retry-screen title and body strings at real width.
  • The journal tab strip at mobile width; scrollTop actually resetting on tab switch; the abandon one-press confirm's feel and the receipt line's visibility; a long list (10 active + 40 tallies) scrolling with the strip pinned; tab focus order and Escape.
  • The still-owed 0.12 playtest items (M5 proximity-trigger UX, M11 panel shape) remain provisional and 0.13 knowingly built on both — the containment is real (trigger-only board exposure; thin strip mechanism) but the conclusive answer is the playtest's.

Documentation impact

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

(In-branch: README.md, docs/player-state.md, docs/ROADMAP.md all updated — the second box is the accurate one to tick after review.)

UI evidence (if applicable)

  • The board menu, tab strip, quest tab, and retry screens 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 a settlement notice board for discovering, accepting, tracking, completing, and abandoning jobs.
    • Added Journal and Jobs tabs with progress updates and completion totals.
    • Introduced themed board visuals for village and sci-fi settings.
    • Added sealed content-pack generation with deterministic offers and legacy-world support.
  • Bug Fixes
    • Improved quest progress, delivery handling, state synchronization, and recovery after generation failures.
  • Documentation
    • Updated roadmap and player-state documentation for version 0.13.0.

🔄 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/645 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 8/28/2026 **Status:** ✅ Merged **Merged:** 8/28/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `feat/pixelforge-013-quests` --- ### 📝 Commits (10+) - [`3323846`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3323846723e3438147f5b2bae5694acea59ce878) feat(pixelforge): the content pack gets a schema, a default, and one match test - [`3b9fb37`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3b9fb37b641f66337da185020635c8fa1f35fe0e) feat(pixelforge): the loading gate learns to wait for a second artifact - [`20799c0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/20799c09cdc5a3cb45ad51da8fa0ec3ad0e85cb2) fix(pixelforge): two rows for one job, and nothing below the board to notice - [`66fa3e1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/66fa3e13457248320c64b2af857e3b58d46fb37a) feat(pixelforge): what this world can actually offer, folded once and never saved - [`48981bb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/48981bb751c5b7822c36f229334587c9691774fe) fix(pixelforge): the retry after a pack failure was a lift with a button on it - [`56f837e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/56f837eecc4e899b478c4f2c6841c4fed9babcfc) docs(pixelforge): the persistence header names the second call it now runs - [`77bb3a0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/77bb3a058edec7d7a6e7c08ee65e72be9e64e2a4) fix(pixelforge): the board kept the fallback's work after its own pack sealed - [`7264154`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7264154a0710f0b7bcd732cf21390d785f54e493) fix(pixelforge): the pack's read door was letting through what its seal refuses - [`dc609d2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dc609d2e4b5b32b645e921563d73e053b1bc7c11) fix(pixelforge): a throw at the pack stage fronted the screen that promised safety - [`23f9293`](https://github.com/Pasta-Devs/Marinara-Agents/commit/23f92931023f9c59b58b086a13c2a5069254c9e0) test(pixelforge): six lanes that were asserting less than they said they were ### 📊 Changes **20 files changed** (+15236 additions, -1078 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/pixelforge-0.13.0.zip` (+0 -0) 📝 `packages/pixelforge/README.md` (+42 -1) 📝 `packages/pixelforge/client.js` (+3816 -209) 📝 `packages/pixelforge/docs/ROADMAP.md` (+93 -9) 📝 `packages/pixelforge/docs/player-state.md` (+517 -22) 📝 `packages/pixelforge/manifest.json` (+3 -3) 📝 `packages/pixelforge/src/10-art.js` (+38 -0) 📝 `packages/pixelforge/src/18-brief.js` (+12 -0) 📝 `packages/pixelforge/src/20-world.js` (+228 -4) 📝 `packages/pixelforge/src/30-sim.js` (+61 -3) 📝 `packages/pixelforge/src/50-spatial.js` (+14 -0) 📝 `packages/pixelforge/src/58-player.js` (+66 -21) 📝 `packages/pixelforge/src/59-economy.js` (+27 -3) 📝 `packages/pixelforge/src/60-save.js` (+552 -82) ➕ `packages/pixelforge/src/61-pack.js` (+1947 -0) 📝 `packages/pixelforge/src/70-hud.js` (+735 -25) 📝 `packages/pixelforge/src/80-setup.js` (+14 -1) 📝 `packages/pixelforge/src/90-element.js` (+57 -7) 📝 `packages/pixelforge/test-brief.mjs` (+7013 -687) 📝 `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 #644 ## Why this change - 0.12 gave a Pixelforge day something to do; nothing yet gave it something to *earn*. 0.13 is the committed income layer from the roadmap's own bullet — P4 quests + the E1 offline pack + the board + the log tab: settlements now post work, the world's own generation call writes the job flavor and the dialogue pool, and completing work pays money and standing with the giver. This is also what unlocks the priced-out economy rung the 0.12 keeper ladder left visible-but-unaffordable. - Every design fork was maintainer-ruled during planning: **quests never grant skill experience** (the task may raise skills — catching levels fishing through the catching — but rewards are money + rapport only, with future classes each gated on its own system); no selling of anything in 0.13; combat verbs excluded by the sealed enum; packless pre-0.13 worlds stay packless under the rolling-compat posture; the tab strip ships last and thin so the still-owed 0.12 playtest can reshape placement without surgery. ## What changed - **Affected package ID: `pixelforge`** (catalog-excluded; the uncatalogued-manifest sweep validates it). - `packages/pixelforge/src/*`: the pack substrate (`61-pack.js`, new — schema, seal validator, the shared grain/verb authority reused by the read door, the default pack, daily selection, board menu logic, rewards TUNING with xp=0 structural); the two-call state machine in `60-save.js` (seal-side `packExpected` marker, gate disjunction, consume-free rehydration with the deferred arms re-run at the pack-success lift, the honest `thin` failure kind, stage-aware retry copy); the board fixture + `buildLegacy` twin + anchor ladder in `20-world.js` and the `nearBoard` proximity read in `30-sim.js`; the three verb-site hooks (fish's granted region in `59-economy.js`, the zone-entry pair for visit, the sim-identity-gated deliver in `90-element.js`); the no-verb completion amendment + ghost-ladder fence in `58-player.js` plus template-grain dedupe; the journal tab strip + quest tab + abandon confirm in `70-hud.js`; one-completion-per-template-per-day via a sim-resident day receipt. - `packages/pixelforge/docs/`: `player-state.md` extended with the full quest surface (quest lifecycle, mode-qualified rewind honesty twins, the pack as a second sealed artifact, measured sizes on one consistent ruler, and §12 — the single deferred-verification list naming who owes what); `ROADMAP.md` progress pass (0.13 release record, P7 gap enumeration now nine verbs, the ruled entries: P4a quest revisit, P4b tutorial quests, P12 character-level XP, P13 reputation, the six-class reward gating table). - Generated outputs rebuilt and committed: `client.js` (0.13.0 banner, byte-verified against the sorted LF-blob concatenation), `manifest.json`, `artifacts/pixelforge-0.13.0.zip` beside the prior versions, per convention. No atlas change this release — the board tile is a Tier-0 painter by design (the atlas key order is the shipped PNG's index map). - `README.md`: the 0.13.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 same experience-state routes as 0.12; two additive chat-metadata keys (`pixelforgePack`, `pixelforgePackWanted`) ride the existing per-key shallow-merge PATCH; older clients carry them untouched - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: additive only. The pack is a second sealed blob beside the brief; quest state lives in the S5 player block's three keys declared since 0.11 (no new envelope or block keys — verified, `60-save.js` has zero diff across the arc). Pre-0.13 worlds open packless with an honest empty board (rolling-compat posture, documented). ## 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:** the plan survived three adversarial rounds to convergence (blockers 6 → 8 → 1 → 0), all nine maintainer calls ruled before implementation; every slice was independently adversarially verified in an isolated worktree (fail-first reds replayed from scratch, wrong-implementation kills, byte-stability re-derivations, independent re-measurement of every published number). Slices 1 and 2 were each caught at DO-NOT-SHIP and fixed before this PR — headline catches: a stale pack-fold memo that would have pinned every generated world's board permanently empty; a read door that admitted templates the seal refuses; a retry screen whose reassurance was false on the arm it fronted; floor arithmetic claiming a worst-case guarantee its own harness disproves. - **The reward ruling, attacked:** all five `award()` call sites classified; hostile reward rows (arrays, string xp, 1e9, prototype-key verbs) and hostile saves mint nothing; a pre-existing foreign ghost ladder still renders; the visit money loop is proven shut end-to-end (accept → walk → complete → walk back → same-day re-offer refuses as filled). - **Determinism and the wire:** daily offers byte-identical across processes and independent folds; zero serialized movement across the feature slices except declared surfaces (the board fixture's three world rows, two guidance strings); the fills-once receipt and zone handles are derived-only, absent from every wire surface. - **Rebuild guards:** `client.js` byte-verified against the sorted git-LF-blob concatenation (the 0.11-defect check); `validate-catalog` shows the uncatalogued-pixelforge line; atlas and sprite sheets untouched by diff. **Manually verify in the browser (nothing headless can prove these) — §12 of `docs/player-state.md` is the canonical list:** - The live two-call generation ladder against a real engine: one hold spanning brief + pack calls, the retry re-entering at the pack call, the purse paid once at the lift, and whether a real model honors templates-first emission (every generation lane in the harness is a mock through the shipped path). - The board menu at phone width; the two-section ordering flip when a job is completable; the retry-screen title and body strings at real width. - The journal tab strip at mobile width; scrollTop actually resetting on tab switch; the abandon one-press confirm's feel and the receipt line's visibility; a long list (10 active + 40 tallies) scrolling with the strip pinned; tab focus order and Escape. - **The still-owed 0.12 playtest items (M5 proximity-trigger UX, M11 panel shape) remain provisional and 0.13 knowingly built on both** — the containment is real (trigger-only board exposure; thin strip mechanism) but the conclusive answer is the playtest's. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation (In-branch: `README.md`, `docs/player-state.md`, `docs/ROADMAP.md` all updated — the second box is the accurate one to tick after review.) ## UI evidence (if applicable) - The board menu, tab strip, quest tab, and retry screens 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 a settlement notice board for discovering, accepting, tracking, completing, and abandoning jobs. * Added Journal and Jobs tabs with progress updates and completion totals. * Introduced themed board visuals for village and sci-fi settings. * Added sealed content-pack generation with deterministic offers and legacy-world support. * **Bug Fixes** * Improved quest progress, delivery handling, state synchronization, and recovery after generation failures. * **Documentation** * Updated roadmap and player-state documentation for version 0.13.0. <!-- 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:01:56 +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#1067
No description provided.