mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
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#994
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/487
Author: @kolacheee
Created: 8/21/2026
Status: ✅ Merged
Merged: 8/21/2026
Merged by: @kolacheee
Base:
staging← Head:feat/pixelforge-cast-bindings📝 Commits (10+)
c04d713feat(pixelforge): a brief can say where somebody works1caca57fix(pixelforge): a named worker holds their post through the day832b683fix(pixelforge): nobody loses their bed to somebody who is also leaving4c02453feat(pixelforge): living in a building the brief named is keeping itb088a21fix(pixelforge): one head per building, not everyone under its roof6b9f41cfix(pixelforge): a household number is an id space, not an occupancy bound2242db9feat(pixelforge): a city scale, and settlements keep the features they were given21822fbchore(pixelforge): open 0.9.0, and an unknown room purpose throwse717875Merge remote-tracking branch 'origin/staging' into feat/pixelforge-cast-bindings03c94d7fix(pixelforge): a named workplace no longer switches off the night watch📊 Changes
10 files changed (+1334 additions, -157 deletions)
View changed files
➕
artifacts/pixelforge-0.9.0.zip(+0 -0)📝
packages/pixelforge/client.js(+312 -72)📝
packages/pixelforge/docs/brief-schema.md(+25 -8)📝
packages/pixelforge/manifest.json(+3 -3)📝
packages/pixelforge/src/18-brief.js(+53 -22)📝
packages/pixelforge/src/20-world.js(+185 -20)📝
packages/pixelforge/src/25-schedule.js(+26 -2)📝
packages/pixelforge/src/30-sim.js(+47 -27)📝
packages/pixelforge/test-brief.mjs(+682 -2)📝
scripts/build-pixelforge-package.mjs(+1 -1)📄 Description
Linked issue
Closes #486
Why this change
0.8.0 gave the world somewhere for people to be — interiors, beds, rooms, floors. This release is about who is actually in them.
Only one relation could put a person inside a building: ownership. Ownership is structurally one building per person and one person per building —
seenSpecialdedupes the special,b.owneris a single reference. So every named building had room for exactly one working adult and no staff. A sanctuary with two acolytes, a market with several sellers, a shop with an assistant: none of it was expressible at any price, and everyone past the owner stood in the plaza. Walk into a church at noon and it was empty by construction.What changed
A brief can say where somebody works.
workplaceresolves exactly likehome— exact, then Unicode-folded, never substring, because a guessed binding is forever. It differs in one deliberate way: unresolved falls to none rather than to the settlement root, since "works at the settlement" is not a box anyone can stand in, and the drop is recorded in_repairsinstead of vanishing. Emitted only when it resolves, so a brief that never names one compiles byte-identically.And they stay there. Six of the twelve cast kinds have no schedule row at all and fall to
*:resident, whose day entry is the plaza — so a named worker held their post at dawn and dusk and left it for the eleven hours of daylight. Aworkertier fixes that, keyed on having been named rather than on a kind, the same way the keeper tier is keyed on holding a building. It sits below the per-kind rows: the review caught that placing it above silently switched off a guard's night watch.Keeping a building is not sleeping in it.
PLACE_BOUND_SPECIALSwas{sanctuary}, so exactly one keeper was possible in an entire world; everyone else the brief housed in a named building walked out at dawn. Widened to any building-kind zone, then narrowed to one head per building — first resident in cast order — because the first version held ten lodgers indoors around the clock, two of them standing on their own bunks.A household number is an id space, not an occupancy bound. One constant was answering two unrelated questions — which group you are in, and how many may share it — which made a convent, a barracks and a boarding house inexpressible.
A
cityscale, 96×72: the first scale where the ground outruns the cast, soscale.buildingscan finally bind.Bugs fixed on the way — three of four were not what this release set out to do
schema()itself publishes — 263 members across 400 seeds — and mutated a Map while iterating it. Deleting the pass retired both.market-stallspaints three tables on one row;landmark-stonepaints a single tile). Now 3/4, 4/4, 3/4, 4/4, 4/4.Package and security impact
pixelforgeonly. Engine compatibility unchanged (2.4.3 ≤ v < 4.0.0), no new permissions or entrypoints._schedis runtime-only and re-baked every compile; the save snapshot is untouched. A 0.8 save reopens and rebuilds, and the existing solid-tile rescue already covers a stored position landing inside a newly-placed feature.pixelforgeis marked incomplete (#410), so its rebuild writes no catalog entry.Validation
node packages/pixelforge/test-brief.mjspasses —brief validator + compiler: all cases passedpackages/pixelforge/src/*.jsclient.jssha256 and byte count matchmanifest.json(all 11 entries)CONTRIBUTING.mdManual verification notes
Live-playtested in a running Engine. The maintainer walked the first compiled city and confirmed on screen: the map's larger footprint and building count, four named features at the corners, a three-person household sharing one house, and floors, cellars and the bell tower all working.
Every change ships with a regression verified failing before the fix, and where a case could have passed on a technicality it was re-run with its schema or flag assertions stripped so the behavioural assertion had to fail on its own.
This branch also went through a dedicated pre-PR review gate, which measured rather than read: ~2,600 builds and 430+ schedule resolutions across scales, prosperities, seeds and themes. It found no correctness bugs and no regressions, and confirmed the bedding invariant (every resident gets a distinct sleeping place) holds at the widened household cap. It found one reachable behaviour nobody had decided — a guard given a workplace stopped keeping the night watch — which is fixed in the final commit, and seven comments left false by this branch's own changes, also fixed there.
Known gap: no harness case runs the full
checkWorldinvariant sweep on a city world. City invariants were covered by review probes rather than by the tracked suite.Documentation impact
packages/pixelforge/docs/brief-schema.md— theworkplacefield, thecityscale and its numeric bucket tier, the household range, the guest-berth range, and the lot enumeration.UI evidence (if applicable)
Screenshots of the first compiled city are in #486.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.