mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #761] [MERGED] fix(pixelforge): preserve selected lore and explain context limits #1122
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/761
Author: @SpicyMarinara
Created: 9/8/2026
Status: ✅ Merged
Merged: 9/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/pixelforge-lore-selection-5953📝 Commits (2)
519ecd4chore: claim Pixelforge selected-lore follow-upfa37a76fix(pixelforge): preserve complete lore selections and explain context limits📊 Changes
11 files changed (+98 additions, -620 deletions)
View changed files
➕
artifacts/pixelforge-0.16.3.zip(+0 -0)📝
packages/pixelforge/CHANGELOG.md(+4 -0)📝
packages/pixelforge/README.md(+9 -6)📝
packages/pixelforge/client.js(+18 -185)📝
packages/pixelforge/engine-boundary.json(+2 -2)📝
packages/pixelforge/manifest.json(+6 -6)📝
packages/pixelforge/src/18-brief.js(+5 -1)📝
packages/pixelforge/src/60-save.js(+6 -12)📝
packages/pixelforge/src/80-setup.js(+6 -171)📝
packages/pixelforge/test-brief.mjs(+40 -235)📝
scripts/build-pixelforge-package.mjs(+2 -2)📄 Description
Linked issue
Closes #760. Addresses Pasta-Devs/Marinara-Engine#5953 alongside Engine PR Pasta-Devs/Marinara-Engine#5977.
Why this change
The lore picker must accept the same selections as Engine and explain context-limit failures instead of blaming the player's setting text.
What changed
Remove the picker's mirrored token/count limits and the saved-config reader's 100-entry slice. Keep entry eligibility, selection order, deduplication, and the existing picker. Display an estimated selection size; report the host's
context_limitresponse with practical guidance and leave the world unsealed.Build Pixelforge 0.16.3 against the paired Engine 2.4.5 host change. Pixelforge remains in the existing incomplete-package tier, so the builder does not expose it in a published catalog. Merge after Engine PR Pasta-Devs/Marinara-Engine#5977 lands on staging.
Validation
Passed
npm run check(existing warnings, no errors), package locale validation, catalog lanes, archive/hash validation, and the release-note regression. Rebuilt withnode scripts/build-pixelforge-package.mjs.The full
node packages/pixelforge/test-brief.mjsharness passed, including existing save/restore cases and new cases for 200 selected entries with an 850,000-character entry, saved config preservation, and a context-limit refusal without retry or fallback sealing. The selection proof fails on the old picker with 6 accepted entries instead of 200.Exercised the real Engine installer in an isolated browser run using these built archives and a synthetic catalog response: install 0.16.2, accept the update prompt for 0.16.3, reload with the catalog offline, verify the executable custom element loads and the package stays active, then uninstall. All passed; no user data or paid provider was used.
Docs and release impact
Updated the package README/release notes, compatibility baseline, generated client/manifest, and ZIP. The changed executable path reads selected IDs and handles a host error; permission declarations and entrypoints are unchanged. Host body/context validation remains authoritative, and package save failure behavior remains covered by the full harness.
Summary by CodeRabbit
New Features
Bug Fixes
Compatibility
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.