Docs · Engineering reference
Agent box
docs/features/agent-box.mdEdit on GitHub
LF_AgentHarness — Feature/AgentHarness/
- ✅ (2026-11-11, placement tool)
tools\cli place on|against|ground|arrangeplaces world props without typed coordinates: mesh bounds from the.xob, the surface top, wall face and ground from probe rays on the test server (LF_PlacementAudit.RayLine, answered in the same boot as the audit), offline refusals (does not fit, overlap, carriageway, door swing and walk-up, scale, tall simulated body), the layer entry written by the tool, then the audit on what it wrote with a rollback when flagged.place bounds|probe|verifyinspect. Probed tops are cached intools/place/surface-cache.json. Tests:place-tool-selftest(validate),agent-harness/placement-probe. Docs:docs/placement-tool.md. - ⚠️ (2026-11-14, look on the pool)
tools\cli lookandlook itemrun on the machine with the most Workbench room (this PC, lf-testbox, lf-cloud; theciWorkbench ranking intools/lib/wb-gate.mjs) and copy the pictures back totmp/look/<area>/; with no room anywhere they queue instead of failing, and a machine that turns out short (RAM, build lock, a starved Workbench) hands the look to the next.--local,--machine <name>,--forcepin it. A localtestunder the 5 GB disk floor goes to the pool machines instead of being refused. Tests:look-route-selftest. Docs:docs/visual-testing.md"Where it runs",docs/worktrees.md"Disk hygiene". - ⚠️ (2026-11-14, measure)
toolscli measure <prefab|{GUID}path|name|.xob> [--surfaces] [--all] [--json]prints a model's bounds and every upward face of its colliders (box, convex, trimesh, cylinder) in prefab space, from the.xobalone (tools/lib/xob.mjs), no game or Workbench: about 2 s cold, under 1 s cached per game build. A bare game path or file name resolves to its{GUID}path(tools/lib/game-prefab.mjs). Proof:measure-selftest(a synthetic model, plus the supermarket fixtures #1143 traced in game: ShelfShop_01 and CounterShop_01 within 1 mm, CoolingBoxShop_01 within 14 mm). Docs:docs/placement-tool.md. - ✅ (2026-11-11, placement audit)
tools\cli audit placementranks every badly placed entity in the playtest town: floating, sunk, hanging off a surface edge, clipping walls, interpenetrating other props, in a door's swing, on a carriageway, odd scale, tilt, reach.LF_PlacementAudit(traces, oriented boxes, doors) measures on the dedicated test server throughLF_Test_PlacementAuditTown, so it needs no session (about 10 s);agent-box/place-audit.mjspairs, exempts (agent-box/place-audit-allow.json) and ranks. The harnessprobe entverb uses the same class. Red-proofagent-harness/placement-audit(WORLD: grounded, stacked, floating, scaled and half-off-the-table crates).shots area --eye-onlyshoots an area's eye-level and close-up shots without the wide (about 75 s).docs/placement-audit.md; a pre-filming step indocs/marketing/trailer/quality-gate.md. - ✅ (2026-11-10, M2 QA) Harness verbs
pager(opens the carried pager's card, asLF_ReadPagerActiondoes) andreport(the/reportchat command's ask).use LF_PayphoneAction__3picks the fourth action of that class on the host (a payphone carries one per service preset; the plain name finds the first).agent-box/qa-m2.mjsdrives the comms loop (payphone, board, take, caller hears back, pager),/report, the square payphone, andnormalize(clock officers and medics out between proofs). - ✅ (2026-11-10, M2 QA)
LF_LockpickAction.CanBeShownScriptreadsLF_Lockpick.ShowsPickagain, so a locked car lists the pick action (a merge had put the door-only check back). Test:e2e/lockpick-vehicle. - ✅ (2026-11-10, #348) The
stateline also printsjail=(seconds left on a sentence),garage=(cars stored),parked=(plate of the car in the world) andstash=(items inRoadmap_Hideout_Stash, -1 with none placed). The verbsstash(moves an apple from the character into the stash: the member check inCanStoreItemdecides) andpark(sets the owner's car down besideRoadmap_Garage) stand in for an inventory drag and for driving; withapplesthey pass the harness gate of aLF_HARNESSbuild, so the playtest journey needs no debug menu.agent-box/journey.mjsruns the police and org-C steps and a wider restart check on 3 clients. - ✅ Dev-only. A rendering play session polls
$profile:agent-box/command.txt.press FcallsSCR_InteractionHandlerComponent.ActionPerform. Wheel scroll callsActionScroll.clickinvokes the same button invoker orOnClicka mouse click does.usestill checksCanBeShownScriptandCanBePerformedScriptbeforePerformAction. Menu keys are an allowlist (MenuUp,MenuDown,MenuLeft,MenuRight,MenuSelect,MenuBack,LF_OpenDebugMenu); movement actions are refused. - 🔵
use <class> <name>on a client falls back to the nearest unnamed host only (a replicated NPC has no layer name there); a host with another name answerserror wrong_target:<that name>(#2935,agent-harness/use-fallback-strict).carries <prefab text>answers whether the character carries a matching item (LF_HarnessCarries.c). - 🧪 (2026-11-23, #4306)
quickslot <tool id> [press|ground|pickup](LF_QuickSlotHarness.c) reads, on the client it lands on, where a hand tool is: carried, its 1-0 slot, its gadget mode, held.presspresses that slot through the vanilla quick bar (open, select, close, as a 1-0 key does), notLF_HandTool.Equip.groundreads the nearest such tool lying within 6 m and what its vanilla pick-up says here (shown, perform, the refusal, fits);pickupperforms it. Proofsession.mjs drill-quickslot-proof [--island](2026-11-23, a dedicated server with a remote client, the annex and the Saint-Philippe vault: the drill takes slot 5, the press holds it, the vault drills 30 s, the drill left by the vault picks back up). - 🔵 Judged flows (#2935,
agent-box/flow-asserts.mjs):step <id> <title> [pending #N]andexpect cash|bank|money +N|-N|=N|up|down|same,expect job <NAME>,expect duty police|medic|off,expect item <prefab text>. The flow ends with astep PASS|FAILtable and exits 1 on any failed step;flow island-first-houris the Friday gate. - ✅
standis the placement exception: the server moves the local character beside a named entity. The poll does not start on a dedicated server (RplMode.Dedicated). The server checks thestand,pose, anduseRPCs withLF_DevGate, the same gate as the debug menu. It refuses and logs ([LFDebug:AgentHarness] <request> refused: ...) unless the game mode setsm_bDevToolsEnabledor the sender is an administrator. On a production or listen-hosted server a client cannot teleport or reach past action range (2026-11-07). On a client it retries until a local controller exists, including while faction and spawn menus are up. - ✅
previews show <prefab,...>|hidedraws up to 24 prefabs throughItemPreviewWidget(LF_ItemPreviewSheet), the widget the inventory slots use, hiding the HUD and notification toasts;toolscli shots previewspages every mod item onto contact sheets (#612). - ✅ Screenshots go through
LF_ScreenshotCapture. UI shots leave the camera alone. A world shot teleports the character to the camera offset (default10 3 10, orox oy ozfor the row), faces the target, and screenshots the player view. That view faces -Z, so a picture stands on the +Z side of its target. The pose is applied again 700 ms later so gravity does not drop the body before the picture.SetCameradoes not move that view. (verified 2026-10-11) On a dedicated server the server also sends the pose to the owning client (RpcDo_LF_HarnessPose), which would otherwise overwrite it; session clients take world shots this way (verified 2026-11-08, M1-25). A filtered row's wide shot stands just north of that row when the street is further north. If the new PNG matches the previous PNG,report roadmaprecordscamera_stuckonce and stops.Roadmap_Jail_DoorandRoadmap_Jail_Cellare painted-light when look returns an action. Any other white mesh fails. Menu shots useshot ui; the report judgesclassifyand the widget list. Names afterroadmapwalk only that row.node agent-box/harness.mjs kitphotographs the UI kit sample in the current play session when play is already up, and enters play only when it is not.node agent-box/harness.mjs report roadmapwritesagent-box/reports/roadmap.htmlfrom a play session. The Node harness, MCP tools, layers, and named flows live inagent-box/. Seeagent-box/README.md. (verified 2026-10-11) - ✅ A world-shot pose turns off damage handling on the posed character for
8 s, so the fall from the camera height no longer kills it (a 4.5 m pose
ended on the death screen; verified 2026-11-08 with an 18 m row shot).
shot world <name> x y z ox oy oztakes a close camera offset. The poll restarts when a new game mode appears, so a second Play in the same Workbench no longer answersno_session. The command file is shared by every default-profile session on the machine; theagent-box-playlock ties it to one checkout's Workbench or game process. - (2026-11-08, #108) Screens:
clickaccepts every UI kit button by the name the screen gave it (LF_UIButtonRelay: ATM keys,IdClose, the sign card'sClose, the garage'sBuy).ui textreads a sheet askind:name=text(button labels, typed fields, printed lines,#keystranslated);wait-textpolls it;ui-shotisshot ui.standturns the character to face the entity.session.mjs up --mission playtestrunsLF_PlaytestTownwith-scrDefine LF_HARNESSon server and clients: harness RPCs passLF_DevGate.CheckHarnessRequestin that build only, the debug menu stays closed, a client without the define is refused by the script checksum, andhost startnever passes it.session.mjs restart(playtest) stops with the host stop file (SHUTDOWN save), loads, and rejoins the same profiles. - (2026-11-11, #571) The stand-in verbs
drill,keycard,charge,shelf,crate,keys,scanner,shoot,shootnpc,sirenanddiepassLF_DevGate.CheckHarnessRequesttoo, so a playtest-mission session can film the heists and the CPR; withoutLF_HARNESSthey still need an administrator or dev tools. The launch trailer is shot and cut withvideo/trailer-v1/shoot.mjsandvideo/trailer-v1/cut.mjs(takes and cuts in the git-ignoredtmp/trailer-v1/). - (2026-11-08, #108)
node agent-box/journey.mjsplays the M1 journey on a two-client session from the player's view (job, parcel run, ATM keypad, price list, car, give cash, till robbery and alert, org desk, garage, and on the playtest mission a restart), judgesstatebefore and after each step, and writesagent-box/reports/journey.htmlwith the client screenshots.tools/validation/agent-box-selftest.mjsruns the harness, session, and journey selftests invalidate. Every step ends with a picture from each client it touched. Clients default to 1280x720 (session.mjs up --res 1920x1080for evidence) on the hidden desktop.journey.mjs --filmrecords each step inside the game client (LF_FilmRecorder), one mp4 per step plus the joined run, linked from the report; it works on the hidden desktop.
LF_AgentHarness — Feature/AgentHarness/
- ✅ Dev-only. A rendering play session polls
$profile:agent-box/command.txt.press FcallsSCR_InteractionHandlerComponent.ActionPerform. Wheel scroll callsActionScroll.clickinvokes the same button invoker orOnClicka mouse click does.usestill checksCanBeShownScriptandCanBePerformedScriptbeforePerformAction. Menu keys are an allowlist (MenuUp,MenuDown,MenuLeft,MenuRight,MenuSelect,MenuBack,LF_OpenDebugMenu); movement actions are refused. - ✅
standis the placement exception: the server moves the local character beside a named entity. The poll does not start on a dedicated server (RplMode.Dedicated). The server checks thestand,pose, anduseRPCs withLF_DevGate, the same gate as the debug menu. It refuses and logs ([LFDebug:AgentHarness] <request> refused: ...) unless the game mode setsm_bDevToolsEnabledor the sender is an administrator. On a production or listen-hosted server a client cannot teleport or reach past action range (2026-11-07). On a client it retries until a local controller exists, including while faction and spawn menus are up. - ✅ Screenshots go through
LF_ScreenshotCapture. UI shots leave the camera alone. A world shot teleports the character to the camera offset (default10 3 10, orox oy ozfor the row), faces the target, and screenshots the player view. That view faces -Z, so a picture stands on the +Z side of its target. The pose is applied again 700 ms later so gravity does not drop the body before the picture.SetCameradoes not move that view. (verified 2026-10-11) A filtered row's wide shot stands just north of that row when the street is further north. If the new PNG matches the previous PNG,report roadmaprecordscamera_stuckonce and stops.Roadmap_Jail_DoorandRoadmap_Jail_Cellare painted-light when look returns an action. Any other white mesh fails. Menu shots useshot ui; the report judgesclassifyand the widget list. Names afterroadmapwalk only that row.node agent-box/harness.mjs kitphotographs the UI kit sample in the current play session when play is already up, and enters play only when it is not.node agent-box/harness.mjs report roadmapwritesagent-box/reports/roadmap.htmlfrom a play session. The Node harness, MCP tools, layers, and named flows live inagent-box/. Seeagent-box/README.md. (verified 2026-10-11) - ✅ Town manifest (
agent-box/town.mjs): every M1 site by entity name (or prefab, for the unnamed spawn points), the actions look must offer, its sign id, and its journey step. No positions: sites and signs resolve against the layers, so a site can move layers without a manifest edit.node agent-box/harness.mjs townandvalidate-town-manifest.mjscheck it offline;report town [site-id...]walks it in play mode and writesagent-box/reports/town.html. Sign problems (none placed, blank Read card) fail the row:requireSignsis true since M1-09 placed the signs. Distances are the maintainer's layout and only warn, on every branch: a sign farther than its radius, a site more than 30 m from the rest. A site whose entity was renamed resolves by the actions it carries, with a warning. The spawn site is the named civilian town spawnSpawn_Town; the clerk (QuestGiver_Start, prefab mode) is a site so the square meets the 30 m neighbour rule. Play-mode run not yet recorded.
Directed camera rig and storyboards — Feature/Film/LF_FilmCameraPath.c, tools/film/storyboard.mjs (dev tooling, #392, #395)
- ✅ Harness verb
camera orbit x y z radius seconds [azimuth arc height](an arc round a point, centred on any azimuth: 0 = +z, 90 = +x, 180 = -z, 270 = -x; the old +z sweep is the default),camera follow x y z distance seconds,camera static px py pz lx ly lz seconds [fov],camera drone p l q m seconds [fov](eased move between two poses),camera hud off|on(HUD and hint pop-ups hidden for a first-person shot;LF_FilmCleankeeps hints down every 400 ms),camera stop. An orbit or follow (many keys) eases in and out once for the whole pass and runs a Catmull-Rom curve through its keys at a steady speed; it used to ease every segment and so stopped at each key, a pulse once a second (fixed 2026-11-11, #571 trailer). Covered byfilm/camera-path(LOGIC). Proven 2026-11-11 on a 1920x1080 session: five 4 s shots of one scene (first person, follow, orbit, drone, static), no HUD (video/camera-test.json, internal). - ✅ Scene presets (#394): light-only scenes for the trailer locations (
scene start trailer-square,trailer-bank,trailer-quarry... : fixed clock, clear weather, day frozen, no actors;LF_FilmSceneEnv.EnvOnlyHour) besidestreet. Covered byfilm/scene-env. - ✅ Storyboard format
lf-storyboard/1(video/storyboard.schema.json, checks intools/film/storyboard.mjs): output size, fps and aspect (16:9 and 9:16), scenes, shots with camera, duration, captions and voice.toolscli film-make video/<name>.jsonvalidates (a bad file fails naming the field, e.g.shots[2].camera.radius), shoots each shot on the session through the engine recorder, deletes the frames after encoding, and hands the takes to post-production. Flags--shot ids,--group name,--preview(half size, 10 fps),--client n,--no-shoot,--shoot-only. The trailer storyboard isvideo/trailer-571.json; itsspawn-squaregroup (drone, orbit, static) shoots today, the rest are markedpendingand skipped.validate-storyboardschecks everyvideo/*.json. - ⚠️ A first-person shot films the client as it stands: the actor setup for each trailer beat (
shot.setup) is not written yet, and a title card between shots is not supported by post-production.
Asset pipeline — tools/assets/pipeline/ (dev tooling, #339, #341 spike)
- ✅
tools\cli asset new <slug> --kind weapon|gadget|deployable --prompt "..."andasset run <slug>take a roadmap item to an asset in five resumable stages cached intmp/assets/<slug>/:concept(spec checks),generate(Meshy text-to-3D with PBR maps, credits logged per call, a 300-credit cap per asset),clean(headless Blender: orientation, metres, LODs, one atlas packed to_BCR/_NMO, collider, and for a weapon the vanilla pistol skeleton, sockets and moving parts),import(.metafiles with fresh GUIDs,.emat, a hidden Workbench rebuild, then a read-back of the.xob),prefab(weapon, magazine, projectile, config).asset status | doctor | selftest. Playbook for the judgement steps and the review checklist:docs/asset-pipeline/. First asset: the taser.generatewrites the Meshy preview and refine task ids totools/assets/<slug>/meshy.json(the provenance record; credit indocs/credits.md, decision indocs/decisions.md). Offline checks:tools/validation/asset-pipeline-selftest.mjs(part ofvalidate). - ⚠️ Only the
weaponkind has run end to end.gadgetanddeployablehave profiles and no prefab scaffold. Verification (look, previews, the session proof) is a checklist, not a stage. Findings and the issue breakdown:docs/architecture/asset-pipeline-spike.md. - ✅ Source stage (2026-11-14):
toolscli asset source search "<words>"looks for the model before anything is generated: the Arma Reforger base game first, then Poly Haven (CC0) and Smithsonian / Sketchfab (CC0 or CC-BY only), then the concept and Meshy stages. A spec withsource: { provider: "polyhaven", id }downloads the glTF and maps, skipsconcept,generateandremesh, and runscleanandimport; avanillasource points the prefab at the base-game model. The vendored cement bag (tools/assets/cement-bag) is the first one.docs/asset-pipeline/sources.mdhas the API terms and the catalogue fit of the 26 stand-in props. - ✅ The cement bag is a 1989 sack (#997, 2026-11-14): the Poly Haven sack carried a modern red
print, a logo and a barcode;
tools/assets/cement-bag/make-label.ps1repaints the base colour map in one dark ink with Soviet stencil type (GOST 10178-85). SameCementBag.et, GUID and placement. A spec'sbase_color.pngreplaces a library model's colour map after the source stage. - ✅ LOD0 comes from a Meshy remesh (#664, 2026-11-14): the clean stage used to collapse the raw
17k to 30k triangle mesh to the LOD0 budget in one decimate step, smearing UVs and denting panels,
over budgets below vanilla (handcuffs 3,000 against the compass 7,046). The new
remeshstage asks Meshy for exactlybudget.lod0_trisand Blender only builds LOD1 to LOD3; per kind a floor and cap (weapon 12,000, gadget 8,000, deployable 14,000), withmeshy.remesh: falseandfit.bake: falseto opt out. Taser, handcuffs and spike strip rebuilt, GUIDs unchanged. - ✅ Five stand-in props (#1050, 2026-11-14): the police scanner, post parcel, moonshine still,
smelter furnace and dispatch console went through concept, Meshy and clean and are wired into
LF_Scanner.et,LF_Parcel.et,LF_ChainStill.et,Furnace.etandLF_DispatchConsole.et; GUIDs kept. The furnace is the clear win; the still is a drum with a copper coil and the console a cream desk set. - ✅ Sound stage (2026-11-13): `tools\cli asset sound ` gives an asset generated sound effects (
docs/asset-pipeline/sounds.md).sounds.jsonlists the events of the item kind (a weapon: shot, dry fire, magazine out and in) with a prompt each;generatecalls the ElevenLabs sound-effects API (a row per call, a cap of 20 generations, the key never logged);processnormalises, trims, fades, seams loops and can lay one take over another, and writes 48 kHz mono 16-bit WAVs plus a waveform and spectrogram picture per take for the agent's review;wireputs the picked takes and their.metafiles in the addon and writes the.acpsound projects on the vanilla M9 handling graph.asset-sound-selftest(invalidate, ten red-proofs) checks the format of every committed sample and each committed project against the generator. Harness verbsound [EVENT]reports and plays a held weapon's events on a client. - ⚠️ Proven with the taser only. The prefab's
Filenamesoverride and the script that plays a non-weapon sound are written by hand. Cost and quality:docs/architecture/asset-sound-spike.md. - ✅ (#664, 2026-11-13) The
gadgetkind runs end to end, proven with the handcuffs: theprefabstage dispatches every kind butweapontoprefab-<kind>.mjs, andprefab-gadget.mjswrites one held item on the vanillaItem_Base.et(inventory name and volume, the vanilla gauze hand attachment bound asGadget,SCR_GadgetComponent, preview camera, the spec's extra components). A gadget is scaled on its length, so the size check holds the length to 5 % and the other two to 40 %. The import judged each Workbench run onconsole.logalone; joiningscript.loganderror.logafter it counted the start-upmetafile without corresponding resourcelines and failed a clean import. Offline checks:tools/validation/asset-gadget-selftest.mjs. - ✅ (2026-11-14) Kits and reference concepts.
tools\cli asset kit <slug>builds several models that share materials with the kit's own headless Blender script and imports them all (.emat, oneMaterialAssignper material,UBX_colliders per model, bones checked); a concept round with areferencepicture goes through Meshy image-to-image so it matches a piece already chosen (docs/asset-pipeline/README.md"Kits",concepts.md). First kit: the 1989 bank vault (tools/assets/bank-vault/), the maintainer's door #1 generated and split from its frame on adoorhinge bone (pivot 1.271 1.35 0.162 in the front's space), a concrete wall block with a round steel tunnel and step, a 3 x 3 x 2.5 m brushed-steel room, two riveted deposit box walls and a flat cash trolley (Prefabs/Props/Roleplay/BankVault/, closed and open). Placed in the DebugWorld bank (see "Bank vault in the bank" below). - ✅ Bank vault in the bank (#925, 2026-11-14).
Roadmap_Bank_Vaultis the vault kit itself (LF_BankVault.et: front, round door, steel room, two deposit box walls, cash trolley, two ceiling lightsLF_BankVault_Light.et): a concrete strong room against the bank's east wall at 194.3 0.007 259.6, front facing the street, cash bag on its floor. The lock, rob and repair actions,LF_BreachTargetComponentandLF_BankVaultComponentsit on the kit root (it carries anRplComponent), so the robbery, fuse, jam, drill and evidence paths are unchanged.LF_BreachTargetComponent.m_sSwingChild/m_fSwingYawswing theVaultDoormesh 70 degrees when the breach state says open and back on repair, on the server and every client (m_bRplOpenhas anonRplNamecallback; a prefab's nested entities are not hierarchy children, so the door is found by its mesh within 4 m). The door's collider turns with it. The two annex display vaults are gone. Not done: a walk-through door from the bank's own floor. The swing on a second client and a late joiner is proven on a dedicated server bysession.mjs mp-robbery-proof(2026-11-14: every client and a joiner after the breach draw the door at the server's yaw, and shut again on repair). - ✅ A chosen addon (#971, 2026-11-14): every stage of
tools\cli asset(spec, source, concept, generate, remesh, clean, import, prefab, anim, states, andsound,dialogue,kit,ambience) writes into the addon the spec'saddonfield names, or--addon <name>on the command; the default isLifeFramework. A pack such asLF_Everon1989gets its models,.metafiles, prefabs, clips, sounds and strings in its own folder, and the hidden Workbench opens that project (the core is its dependency). Fresh GUIDs are drawn against every repo addon.asset plan <slug> [--addon]prints every destination and writes nothing. A core asset that names the pack (a GUID, a path, the addon name) is refused before any stage runs, and each writing stage ends with thevalidate-addon-boundarycheck. A pack asset may not sit at a core path (it would shadow it). A changed target rerunsimport,prefab,animandstatesand keeps the generator and clean results. Offline checks:tools/validation/asset-addon-selftest.mjs; playbookdocs/asset-pipeline/README.md"Target addon".
Building pipeline — tools/buildings/pipeline/ (dev tooling)
-
✅ (2026-11-14)
tools\cli building run <slug>turnstools/buildings/<slug>/spec.jsoninto a building in the addon by driving ArchBuilder (Arribas's Blender add-on, the user's own licensed copy) in headless Blender 5.3:spec,generate,review(four renders and triangle, storey, footprint and height stats against the spec's budget),export(ArchBuilder's Reforger export intotmp/buildings/<slug>/export/),import(refuses any file with the licence watermark, moves models toAssets/Buildings/<Name>/and prefabs toPrefabs/Buildings/<Name>/with GUIDs of ours that a re-export keeps, compiles in a hidden Workbench kept open until every collider surface is written) andprefab(every reference resolves; base-game ones by path and GUID in the game's own resource database). Stages that need ArchBuilder skip on a machine without it.docs/building-pipeline/README.md, spikedocs/architecture/building-pipeline-spike.md, selftesttools/validation/building-pipeline-selftest.mjs. -
✅ (2026-11-14) First building: the 1989 Everon supermarket (
Prefabs/Buildings/Supermarket/Supermarket.et, ArchBuilderSUPERMARKET, 18 x 14 m, one storey, plate-glass front with a vanilla glazed double door, stockroom, office and WCs behind vanilla interior doors). Placed in the DebugWorld test annex asAnnex_Supermarket(76 0.1 96.45), audited clean. -
✅ (2026-11-14) Blender parity: the supermarket is exported furnished, every piece a vanilla prop child of
Prefabs/Buildings/Supermarket/Furniture/Supermarket_furniture_01.et(68: 16ShelfShop_01gondola shelves, 4CoolingBoxShop_01, 3 counters withCashierShop_01tills, back-room shelving, lamps, WCs, theSignCommercial_01_GroceryStorefascia); the shop fixtures arrive empty. The export stage fails on any ArchBuilder warning or dropped furniture, and rewrites everyAB_*.ematColorfrom the material's Blender colour, calibrated on the base game's own plaster and divided by the texture's measured mean (tools/buildings/pipeline/materials.mjs): beige walls and a dark roof instead of white. -
✅ (2026-11-14, #323 batch 2) The supermarket moved to the pack: its prefabs, furniture and model now live in
addons/LF_Everon1989/at the same paths and GUIDs, and its placement left the coreAnnex.layerfor the pack layerVillage_BuildingsasVillage_Supermarket(same coordinates).spec.jsonsets"addon": "LF_Everon1989", so a rebuild writes into the pack. -
✅ (2026-11-14) Hand polish, per building (
docs/building-pipeline/polish.md): apolishstage renders a plan section, the four sides, the street corner and the hall from inside;tools\cli building adopt <slug>keeps a scene edited by hand astools/buildings/<slug>/polished.blend(watermark-checked), which the export then ships with ArchBuilder's scene export;spec.polish.entitiesnudges placed game entities on every export; three or more doors in a row on one wall print a warning. No rule gates. The doc holds the Everon reference sizes (vanilla shops and houses, from the game's.xobdata). Supermarket polished: 3.8 m storey (was 5.75 m; parapet top 4.9 m, the vanilla grocery is 5.8 m), office and staff WC opening off the stockroom behind one service door (an ArchBuilder change, listed in the README), GroceryStore sign moved over the shop window clear of the canopy, a tiled dado in the hall, interior materials calibrated on an in-game picture (half the albedo; still brighter than vanilla rooms). -
✅
building-proof(agent-box, full-quality session): the F key offers the vanilla door and the server opens and closes it. -
✅ (2026-11-14, #1143) The supermarket is a working store.
Prefabs/Buildings/Supermarket/Supermarket_Store.et(pack) inherits the generatedSupermarket.etand addsLF_ShopComponent(prices fromShopPrices.conf),LF_StoreComponent(keyeveron_supermarket, the whole building as the shoplifting boundary) and a "Pay for goods" context withLF_StoreTillActionat each of the threeCashierShop_01registers (the F key pays through it). The shop sells only the store's own lines (m_aShopItems). It is written by a newstorestage oftoolscli building(tools/buildings/pipeline/store-slots.mjs) from the spec'sstoreblock: each line names a vanilla fixture, which of them (pick, by the index the stage prints), which boards and how many per board; shelf points are the fixture's position plus a board point turned by its yaw, with the board heights measured once from the vanilla models (tools/buildings/pipeline/fixtures.json:ShelfShop_010.10/0.43/0.82/1.18,CoolingBoxShop_01deck 0.66,CounterShop_011.04). A rerun rewrites the prefab from the spec. First line, to prove the path: apples on both sides of a gondola, apple juice on both sides of another, water in a cooler. Proof on a full-quality session: shelf takes from both gondola sides and the cooler, paid at two tills ("paid 20 for 3 item(s)", "paid 14 for 2 item(s)"), walked out clean with no alarm, walked out with an unpaid water: "walked out with 1 unpaid item(s) worth 6; alarm, dispatch, wanted level and name". -
✅ (2026-11-14, #1143) Store goods land on the board under their shelf point:
LF_StoreComponent.SnapToSurfaceAttraces from 0.15 m above the point (under the next board up) against any static surface, looking past loose items and characters. It traced only the store entity: a building's fixtures come from its furniture prefab and are not runtime child entities, so goods hung at the written point. The till measures reach to the nearest of its own contexts, not the owner's origin (a building carries one per register). The harnessshelftakes the copy nearest the character. Teststore/snap-to-board. -
✅ (2026-11-15, #1143) Shelf points and stock layout come from measured data, not tuned numbers.
tools\cli fixturesregeneratestools/buildings/pipeline/fixtures.jsonfromtools\cli measure(the boards ofShelfShop_01,CoolingBoxShop_01andCounterShop_01with their extents and the clearance to the surface above, and the footprint of every item a spec's store sells;fixtures --checkcompares it to a fresh measure). The store stage fills each board from it: one or two rows by depth, as many copies per row as the width takes, evenly spread, at most 20 a board (per_boardandrowslower it), refusing goods too tall for the gap above;maxis one copy per shelf point andrestocka sixth of it unless the line gives them, so the supermarket spec lines are only item, fixture, pick and boards. The supermarket went from about 250 to about 580 shelf points.store-fixtures-selftestchecksLF_StoreComponent'sSNAP_ABOVEandSTRAY_HEIGHTagainst the smallest gap between boards and the heights inLF_Test_StoreSnapToBoardagainst the measured boards;measure-selftestcompares the file to the models where the game is installed. Saved stock is keyed by store and item prefab, not slot, so old saves load unchanged. Fixed the stale model path inRowanBerries.et(rowan_berries.xobforRowanBerries.xob). Proof pictures:session.mjs store-shots --name <prefix>. -
✅ (2026-11-14, #1143) Supermarket polish: a shop-front canopy along the whole glazed front (a slab on the wall, no posts, a red painted fascia, the GroceryStore sign above it; the sign nudge is gone), one staff WC (a toilet and a basin, was three cubicles), the stockroom furnished as a stockroom (four
ShelfUniversal_01_wideracks and two pallet boxes, were living-roomShelfDecorativedividers), all ArchBuilder changes listed in the README.spec.polish.propsplaces vanilla props by hand on every export (26: cartons on the racks and pallets, a crate, a bucket, the punch clock and an extinguisher by the service door, a filing cabinet and files in the office, a basket pile inside the entrance). The sharedAB_*materials moved to the pack with their GUIDs (only pack buildings use them). -
✅ (2026-11-14, #1143) The supermarket is fully stocked. Nine lines, 248 shelf copies on the eye-level boards (every line 36 points or fewer): apples and plums on the first gondola, rowan berries on the second, crackers and dried sausage on the third, field dressings and torches on the fourth (by the tills), water and apple juice in the four chilled counters; restock every 120 s, stock saved by the existing
storestockrows (no new persistence). New core food items over vanilla meshes, edible like the apple:Prefabs/Items/Food/LF_Crackers.et(ArmyCrackers_Soviet_01) andLF_DriedMeat.et(Meat_01_Dry), priced by the food rule (8); new price rules:FieldDressing_US_0115,Flashlight_Soviet_0140. -
✅ (2026-11-14, #1143) A shopkeeper and an entrance alarm.
Prefabs/Characters/Npcs/LF_Shopkeeper.et(core) is a dialogue NPC on the fuel attendant's pattern with the store clerk's clothes and the text-onlyshopkeeperdialogue (tools/assets/dialogue/shopkeeper/: greets, how to pay at the till, what the store sells, goodbye);Village_Supermarket_Shopkeeperstands at the end of the tills. When a shopper walks out unpaid,LF_Stores.Shopliftmakes every NPC with a dialogue inside the store's boundary say its line for#LF-Store_ClerkThiefto everyone near (LF_Stores.StaffFor/StaffReact, found by component;LF_Dialogue.Announce). The store prefab's newstore.alarmchild, a bell box on the shop front under the canopy, left of the door, withLF_AlarmMountComponent(reach 10 m), carries the walk-out's site alarm (beacon, light and siren fromLF_Dispatch), so it sounds at the entrance and stops when the alarm time runs out. Teststore/staff-react; session prooftoolscli building proof supermarket(itstools/buildings/supermarket/proof.json; wassession.mjs supermarket-proof); aftersession.mjs restartthe store came back withFlashlight_Soviet_01.et 22/30(8 taken before the save). -
✅ (2026-11-14, #1143 review) A shop refuses to buy an item the seller carries while a store still holds a copy of it apart (a shelf copy or one tagged unpaid), so stolen shelf goods cannot be sold back (
LF_Stores.CarriesHeldApart). Restart reconciliation matches a restored shelf copy to a slot within 0.15 m flat and 0.2 m in height, so the copies on two boards of one gondola no longer swap. -
⚠️ Cut for now (roadmap): cabbage (the LF cabbage is a whole crop plant at scale 0.5; on a gondola it overlaps its neighbours and floats on the bottom board), so the front of the second gondola is empty; more 1989 products need item prefabs.
-
✅ (2026-11-15, #1143) The harness takes goods the way a player does: verb
pickup [item](LF_HarnessPickup) checks and performs the vanillaSCR_PickUpItemActionof the nearest loose copy on the client, as the F key does, and replies once the item is in the inventory (or names the refusing check: animation, room, reason). The supermarket proof picks the torch, crackers, water and dressing with it;shelf(a server-side insert) stays for older proofs. -
✅ (2026-11-15, #1143)
toolscli building proof <slug>: one command per building. The placed prefab resolves to its model with colliders, its height against the Everon buildings within 150 m,audit placement --stricton its layer, then one full-profile session: every door set offered by the F key, opened, a doorway a character wide clear at 0.5/1.0/1.6 m (traces; shut, every lane stops at the leaf), closed, with pictures shut and open; the four sides, the street corner and the hall from inside; then the building's own scenariotools/buildings/<slug>/proof.json(shots, harness verbs,pickup, keptstatevalues, checks and server-log rules in building space;tools/buildings/pipeline/scenario.mjs). Pictures (PNG) intmp/buildings/<slug>/proof/. The supermarket's scenario is the formersupermarket-proof: talk to the shopkeeper, pick three items, pay, leave clean, walk out with a dressing: alarm on the shop-front box. Selftestbuilding-proof-plan-selftest. -
✅ (2026-11-15, #1143)
toolscli building plan <slug>prints what an agent brief needs, as markdown (andtmp/buildings/<slug>/plan.md): prefabs as{GUID}path, every furniture and fixture prefab with count,measuresize and stand-on heights, hand props, rooms inferred from their furniture with the doors near each, doors and windows by wall, store fixtures bypickindex with lines, tills and alarm, the parts that can run as parallel agents and the ones that cannot (polished.blend), and the proof list. -
tools\clihandstools/commands/*.mjsthe Workbench runner (main(args, { root, workbench })), andrunWorkbenchPlugintakesdoneWhento keep Workbench open until a build is really finished. -
✅ (2026-11-15) Fast polish iterations. One
building runstarts Blender once (archbuilder_job.py --serve) instead of once per stage, withPYTHONHASHSEED=0so the same scene exports a byte-identical.fbxapart from its time stamp. The import writes only changed files and compiles only a model whose.fbxor.xob.metachanged, judged againsttmp/buildings/<slug>/import-manifest.json; with nothing changed it skips Workbench and says so in one line, and--full(or--force) compiles every model. On a PC without the workbench cap the compile goes to a pool machine (building compile, in its desktop session) and the.xob,.xob.metaand.txocome back. Supermarket: an unchanged rerun frompolishtakes 14 s (was 32 to 67 s of Blender plus a 72 to 136 s Workbench import), one changed mesh 103 s. The Enfusion Blender Tools start-up errors stay in the log and out of the output. Selftesttools/validation/building-import-delta-selftest.mjs. -
✅ Blender bridge (2026-11-14,
docs/blender-bridge.md):tools\cli blender status|install|run|exec|shot|showdrives the user's open Blender through theLF Bridgeextension (tools/blender/lf_bridge: localhost only, token in~/.life-framework/blender-bridge-token, a sidebar and status-bar line with a Start/Stop toggle) and falls back to a headless Blender.show <slug|model file|addon .fbx>puts a model in anLF_Showcollection, selected and framed (compiled.xobcannot be opened; the source models are shown).asset run <slug> --only clean --liveruns the clean stage in the visible Blender;asset shot <slug>takes viewport pictures of the cleaned model. Finding Blender and running scripts live intools/lib/blender.mjs(blenderExe({ needs }),runHeadless,bridge), re-exported byasset.mjs. Offline checks:tools/validation/blender-bridge-selftest.mjs(locator, client framing, token required, loopback only, committed files).
film-make post-production — tools/film/post.mjs (dev tooling, #397)
- ✅
tools\cli film-make video/<name>.jsonjoins clips into one mp4: logo title and end cards, crossfades, burned-in captions from cue files plus an.srt, offline Piper voice-over, and a licensed music bed ducked under game sound and voice (about -14 LUFS). Covered bynode tools/film/film.mjs selftest; proven onvideo/tooling-test.json(not for posting).
LF_FilmCameraPath — Feature/Film/ (filming harness)
-
✅ Dev-only, like the agent harness.
LF_FilmCameraPathholds timed camera keys (position, look-at, FOV);Sample(t)eases between keys with smoothstep and clamps at both ends. Out-of-order keys are rejected and logged ([LFDebug:Film]). Covered byfilm/camera-path(LOGIC). -
✅
LF_FilmCameraRunner.Play(path)spawns a manual camera with input off, hides the HUD, moves the camera each frame, then restores the previous camera and HUD. Harness verbcameraplays it (directed camera rig, #392, next section). -
✅
tools/film/film.mjsrecords a window or region to mp4 (ddagrab + NVENC; gdigrab when ddagrab delivers no frame in 5 s), makes a GIF preview, films an agent-box flow, and publishes a clip to thefilm-evidenceprerelease for a PR comment. Proven in game 2026-11-08: a game client on DebugWorld, flowfilm-debugworld, 20.7 s at 1280x720, 2.8 MB (PR #111). Screen capture records a frozen frame when the window is unfocused and cannot see the hiddenLF-Agentsdesktop (#91). -
✅
LF_FilmRecorderrecords inside the game client: a per-frame callqueue tick callsSystem.MakeScreenshotat a fixed rate (default 15 fps) into$logs:el-film/<name>/, with HUD and menus, and writesindex.txtwith each shot's real time and frame-time stats ([LFDebug:Film]). Harness verbfilm start <name> <fps> [max s]/film stop; a dedicated server refuses (error no_renderer).tools/film/engine.mjsencodes the BMPs at true speed (concat with per-frame durations, NVENC) and deletes them. Wired asfilm.mjs engine|encode,film.mjs flow <flow> --engine,journey.mjs --film, andsession.mjs film/proof --film. Covered byfilm/recorder(LOGIC). Proven 2026-11-08 on the hidden desktop, 1280x720, client capped at 30 fps: a 64.5 s journey clip (arrive, job, earn, fund, atm, shop) and a 27.9 sworld-atmclip, capture 14.7-15.1 fps, game 29.5-30 fps, frame after a shot 33.3-33.5 ms vs 33.2-34.5 ms otherwise, one 243 ms stall in 64 s (shop menu, not a shot frame). -
✅ Game audio (#396): the engine cannot record sound, so
tools/film/lf-procaudio.cs(Windows process loopback,AUDCLNT_PROCESS_LOOPBACK) captures only the game client's process into a 48 kHz float WAV (other host sounds never enter it; the WAV is the separate audio track). Harness verbfilm slateplays a UI beep and logs# slate=<ms>inindex.txt;tools/film/audio.mjsfinds the beep in the WAV, lines audio up with the frames and muxes an mp4 (street-clip.mjs --audio, session started with--sound). A start and an end slate give the offset and the drift (the mux uses their mean; one unrecorded warm-up beep plays first because the first play is heard about 0.5 s late). The recorder refuses a silent capture (mean_volumeunder -60 dB, or no slate heard) and warns when the default output is muted (#482). Covered bynode tools/film/film.mjs selftest(pure parts). Proven on this PC 2026-11-10: three takes read start-to-end beep drift of -96, +119 and +52 ms; the laptop run waits on #482 and a free lane.
LF_FilmActor / LF_FilmDirector — Feature/Film/ (scripted actors, #393)
-
✅ Dev-only, harness verbs
scene start <name> [hour|-] [weather],scene stop|reset|status(server, through the character RPC andLF_DevGate) andcamera orbit|follow x y z size seconds(client). An actor is a spawnedCharacter_Roleplayon a timed step list:walk,run,enter,drive,exit,use <action class>,wait. Waypoints are authored (no navmesh). No progress for 6 s logs[LFDebug:FilmActor] ... stuckand stops that actor. Acamera followlow-passes the followed entity's position (time constant 0.25 s,LF_FilmCameraPath.SmoothAlpha), because a car driven in 100 ms velocity steps made the camera shake. Pure maths (steer, pedals, stuck detection, follow smoothing) is covered byfilm/actor-math(LOGIC). -
✅ Scene setup and reset (#394,
LF_FilmScene.c): a scene is a clock hour, a weather state, the day frozen, its actors and vehicles and its camera cues.scene start streetsnapshots the world's local clock hour, weather state, weather looping and day advance, sets the scene's defaults (street: 16:00, Clear, frozen), then spawns;scene start street 21.5 Overcastoverrides one take (-keeps a value; an hour outside 0..24 returnserror:bad_hour).scene stop(aliasreset) despawns every actor and vehicle the scene made and writes the snapshot back, so every take starts from the same light. Logs[LFDebug:FilmScene]. A world with no time and weather manager logs an error and runs the scene without a clock. Camera cues stay in the take script (tools/film/street-clip.mjs). Covered byfilm/scene-env(LOGIC: defaults, override, bad hours, clock conversion); the world write is proved in game (PR). Not done: scenes other thanstreet. -
✅ Walk, run and
useproven 2026-11-10 (the store till action ran for an actor,canPerform=1 uid='film-walker'). Actors read a stand-in player uid fromLF_FilmIdentityin aLF_HARNESSbuild only (LF_Utils.GetPlayerUID). -
⚠️ Driving: an actor gets into a base-game car (
MoveInVehicle+StartEngineworked). Throttle, steering and brake set onVehicleWheeledSimulationdid NOT move it (speed stayed 0 for 9 s, also with clutch 0, gear set andForceEnableSimulation). What works: setting the physics body's velocity and angular velocity each tick (Physics.SetVelocity) along authored waypoints at a steady 30 km/h, wheels turning, driver visible; a final taper and zero velocity stop it. No real throttle, braking or gear model, and a steering model that only turns the body. Clip 2026-11-10 (agent-box/reports/film/, PR for #393): walker uses the store till while a car drives down the main street. -
⚠️ Actors in DebugWorld are underwear characters (no loadout).
camera followtracks the vehicle nearest the given point, client side. -
✅ (2026-11-15, drug store) The 1989 Everon drug store is a working store on the main street.
Village_Drugstore(Everon1989TownVillage_Buildings.layer, 140 0 266.05,angleY 180, north row facing the street) placesPrefabs/Buildings/Drugstore/Drugstore_Store.et(pack), written by the building pipeline's vanilla-base store stage fromtools/buildings/drugstore/spec.json. It inherits ourShopHouse_E_2I01t_drugstore_lf.et(the vanillaShopHouse_E_2I01t_Base.etwith the vanilla drugstore variant's doors, windows andSignCommercial_01_Drugstore"DROGERIE" fascia) and its furniture copyFurniture/ShopHouse_E_2I01t_furniture_drugstore_lf_01.et(the vanilla drugstore set flattened one child per prop; newspaper stands, a pub A-board and the sales-room crate stack left out, aShelfUniversal_01_widewhere the crates stood). Self-serve shelves (store keyeveron_drugstore, restock 300 s, 20 points a line): aspirin 10, gauze (two kinds) 8, tourniquets US and USSR 25, paid at theCashierShop_01till; prices in the pack overlayConfigs/Shop/LF_ShopPrices_Drugstore.conf. Beside the till,Prefabs/Props/Commercial/LF_PharmacyCounter.et("Dispensary") sells the catalogue outletpharmacy_counter: morphine 80 (licensed to carry) and saline 60, each offer gated on the existingMEDIC_ACCESSlicence, so the slip names the "Ambulance service ID" when it is missing (data only,Configs/Catalogue/LF_Catalogue_Drugstore.conf; both overlays in the pack mission headers).Village_Drugstore_Pharmacist(Prefabs/Characters/Npcs/LF_Npc_Pharmacist.et:LF_Shopkeeper.etin the coreDoctorCoat) stands behind the dispensary and calls out a walk-out; a bell box on the shop front, left of the window, carries the walk-out alarm. Field dressings stay with the general store. Proof:tools\cli building proof drugstore(aspirin and gauze taken and paid at the till; morphine refused without the licence,/licence MEDIC_ACCESS, then bought);audit placement --strictclean. The building proof verb now finds a vanilla-based building throughbuildingFilesand skips the door walk for it (its doors are the vanilla sockets'). Not yet: a window display and theSignboard_03_Drugstoreblade sign, an exterior night picture, 1989 pharmacy packages for the bare wall shelves (supermarket card's package pipeline). -
✅ (2026-11-16, drug store polish) The drug store reads as a lived-in shop, day and night.
ShopHouse_E_2I01t_furniture_drugstore_lf_01.etgained about 240 hand-placed base-game children (decor only, no store-slot items): five ceiling fluorescents each with an inline spotLightEntity(cool white,LV 7.5to 9), two warm spots over a window display (two coffee tables with boxes, bottles, a plant, a tape recorder) so the window glows from the street at night, boxes, bottles, clocks, radios, tape recorders and cleaning buckets on every wall-shelf board and on the shelf tops, bottom boards of the gondolas, a ledger, phone, radio and photo frame on the till counter, a scale, prescription pad and plant on the dispensary counter, a medical cabinet, bin, stool and delivery boxes behind the counters, a first-aid box, clocks and three health posters on the walls, a waiting chair and a weighing scale, and outside theSignboard_03_Drugstoreblade sign with a wall lamp and spot, a bench and a crate display on the pavement. Sold shelves keep their slots; the only lights are eight spots. Not yet: 1989 pharmacy packages (pill boxes, plasters) for the shelves, a green pharmacy cross, a mop and bucket by the door. -
✅ The grid is guarded and pictured (#1814, 2026-11-17).
audit placement --grid --stricthas 0 failures after the annex move (#2133):wt gate/ci(tools/lib/placement-gate.mjs) run it when a GridWorld layer or a prefab changes, the main guard (grid placement auditstep) after every merge; any finding fails.look <area> --interior x,y,z [--radius m]shoots a room from inside (eye level on the room's floor;look selftestcovers the plan). One picture per claimed cell is kept inwebsite/public/docs-images/1802/and indexed bydocs/architecture/grid-cells.md(node tools/grid/cell-index.mjsregenerates it). Merged, in-dev. -
✅ (2026-11-16, drug store polish 2) The drug store night interior no longer has a black ceiling, and the shelves read as a chemist's. Second pass on
ShopHouse_E_2I01t_furniture_drugstore_lf_01.et(one-off scripttools/buildings/drugstore/polish2.mjs, kept as the record): two vanillaLightCeiling_01_onlight pairs (a soft ambient point and an upward spot, no chandelier mesh) light the ceiling and upper walls; the first pass's fluorescent spots only pointed down. About 134 generic shelf props (soda bottles, alarm clocks, tape recorders, radios) became amber bottles, scaled cardboard cartons, grey first-aid cases and white trays; the free gondola boards, both gondola tops and the gondola ends are dressed (sold slots untouched); a broom and bucket stand inside the front wall. The blade sign and facade lamp from the first pass were checked from the pavement (sign projects from the corner and reads "DROGERIE" at night). Twelve lights in all. Not yet: a green pharmacy cross, 1989 pharmacy packages, a real mop. -
✅ (2026-11-16, grid autosize)
grid place <slug> <prefab>sizes, claims and places a building in one command. Real bounds from the placement tool's reader (footprint, height, pivot offset, entity class from the prefab), spanceil((footprint + 4 m) / 12)per axis for the better of yaw 0 or 90, first free block against main, open PRs and sibling worktrees (spans included), the footprint centred with its front to the yard gap, ground-probed and audited; no fit names the largest free block;--dryprints it all;--span/--celloverride (docs/architecture/world-zones.md,tools/grid/autosize.mjs,grid-autosize-selftest). Merged, in-dev. -
✅ (2026-11-17) Building props stand on their surface:
tools\cli building check <slug>. First-pass fit-outs showed phones, lamps and small items hovering over desks and counters because the decor generators typed each height.tools/buildings/pipeline/surface.mjssnaps y at write time, offline: the top of the support under the prop (its collider surfaces frommeasure, an open crate by its rim) minus the prop bottom offset fromprefabInfo;{ on: id }names the support, otherwise a prop more than 2 cm off a top under it drops onto it; wall kinds are left alone;spec.jsoncheck_supportsadds a counter a layer places. The gun store, clothing store, general store and town hall generators use it (the town hall also drops vanilla props whose desk the cut removed).building check <slug>(about 1 s, no Workbench,tools/buildings/pipeline/floaters.mjs) lists every small prop more than 2 cm above or below the top under it, or with nothing under it off the floor;--fixmoves them onto it;spec.jsonfloaters_allowrecords a deliberate exception.wt shipruns it for a PR touchingtools/buildings/<slug>/or a packPrefabs/Buildings/<Dir>/and refuses while it fails (tools/lib/pr-quality.mjs). Selftestbuilding-surface-selftest. Open: the supermarket (pipeline output) still has 11 floating cartons. -
✅ (2026-11-17, drug store perf, #2329) The drug store meets the medium building budget and still reads the same by day and night.
tools/buildings/drugstore/budget.mjs(--checkgives the same bytes) is the only writer of the budget edits toShopHouse_E_2I01t_furniture_drugstore_lf_01.et: the attic, 17 light switches and 6 radiators go, shop dressing (bottles, notebooks, cartons, tool cases, buckets, pen) keeps 60 % of its 0.5 m cells so stacks stay whole, and the twelve lights become six withCastShadowwritten on each (one spot over the counter casts, no point light casts: four down-spots, a frontage spot, one ambient point for the ceiling).perf building Drugstore --size medium: 468 to 289 entities, 12 to 6 lights, 12 to 1 shadow caster, 2 to 0 casting points, 12 to 0 unset.building check drugstoreok. The sold lines, counters and store prefab are untouched. -
✅ (2026-11-18, #2955)
tools\cli look contact <area|place:...> [--stock <store>] [--items File@slot] [--entities A,B] [--worst]: a placement is looked at, not only measured. One row of five pictures per item (four low side views, one top-down) with the measured bottom face (red), the traced support (green) and the contact rays (yellow); each tile says the gap in cm and[OFF]past 1 cm. Store stock is named by slot and read from the store component in the same Workbench session, never by the test server's positions (those missed the first item of each sheet);place:areas run on the island.wt shiprefuses a PR that changes a layer underWorlds/(not the DebugWorld annex) without an embedded contact sheet or aNo contact sheet: <reason>line (tools/lib/pr-quality.mjs).docs/visual-testing.md; plan fixturetools/visual/fixtures/contact-plan.json, prooflook selftest. -
✅ (2026-11-18, #2953) The placement audit judges contact.
audit placementreadscgap(LF_PlaceSnap: mesh bottom vs the highest support under a 3x3 footprint, proxy boxes ignored) and flagscontactwhen a prop under 1.5 m hovers or sinks past 1 cm; the 15 cm floating/sunk bar stays for buildings and large props, vehicles, hung signs, laid sacks and logs are exempt. Existing town and grid props it measures off are inagent-box/place-audit-allow.json("maintainer town fix pending #2956"). Proof:audit selftestrunsagent-box/fixtures/place-audit-contact/. Docs:docs/placement-audit.md. -
✅ (2026-11-18, #2954)
place settleand the contact settle.tools\cli place settle <entity>... [--layer L] [--dry]rests props a layer already has in one test-server boot:LF_PlacementAudit.RunBatchanswers asettle <id> <name|@prefab:x,y,z>line (SettleLine:LF_PlaceSnap.Settle, then a re-measure) and the tool rewrites only the height on eachcoordsline, refusing a re-measured gap over 1 cm, nothing under the footprint, or a move over 25 cm.place on|against|ground|arrangetake their written height from the same settle line, run in the audit boot before the audit rows (so the audit judges the settled prop), instead of the probed top plus a bounds offset; hung, tilted, vegetation, vehicle and building props keep the probed height;--settle offopts out. Re-settled in GridWorld with the tool and their allow-list entries removed: the convoy markers, the community-hall radio, the confiscated rifle, the apple-chain apples, the Grid_npcs and Grid_whitelist_chat ID cards. Proof:place-tool-selftest(fixturetools/place/fixtures/settle.json: the spike's nugget, press apple and barrel as the server answered them),audit placement --gridclean. Docs:docs/placement-tool.md"Contact settle". -
🟡 (2026-11-19, #3603)
session restartworks on--mission islandas well as playtest: the island header inherits the flagship'sm_bLF_HostStopFile, so the stop file closes the server, the engine writes the SHUTDOWN save and-loadSessionSavebrings it back (tools/cli.mjscmdSessionRestart). Flowsisland-home-buy,island-home-ownerandisland-home-soldprove that a bought house survives the restart (owner, key, door, Sold sign, late joiner); the buy needs a test-only price override in the worktree. -
🧪 (2026-11-19, town-draft-saint-philippe-clothing-fix)
aimshows what the interact key would act on.looklists everyScriptedUserActionwithin 4 m (CanBeShownScripttrue), which is not what the F key offers: the engine's interaction handler works on one context, found by the aim ray and a sphere query, so an action on a mesh-less entity whose context sits metres from the entity was listed bylookand never offered. The verbaim(client, read-only;Feature/AgentHarness/LF_AimHarness.c, amodded class LF_AgentHarnessVerbs) repliesaim selected=<Class>@<entity> context=<name> (<entity>) offered=<Class>@<entity>:<1|0>,...(:1can be performed now) oraim none. A proof stands beside the thing, readsaim, scrolls withinteract nextand confirms withinteract confirm. First user:clothing-till-proof(session.mjs clothing-till-proofon--mission island). -
🧪 (2026-11-21, #3884, epic #3877) The placement audit judges props through walls, rows that are not where their layer says, and a shop's real floor.
LF_PlacementAudit.FindPlacedused to take any entity within 1 m when no name or prefab matched, so a furniture prefab that never spawned was reported as found (the building, thePlacemarker or a door leaf stood at its origin); a row with a prefab now resolves to that prefab or nothing. Amissingrow is a ranked finding (missing,not in the world at its layer position; the nearest <entity> of its prefab stands N m away, orno entity of its prefab within 40 m (it never spawned)), from the newnear=/nearname=tail of the batch row (NearestOfPrefab, 40 m).Flagsaddsthrough-wallwhen a clip names a building or wall (ClipsWall), and the audit reports it as its own kind (it was plainclips).place-lanes.mjs: the floor of a shop no longer comes from door leaves, windows or a till on a counter;crowdedis judged over the furnished floor (the box round the floor props, 0.5 m out) instead of the whole building footprint;room-clipsis one row per room that has props through a wall or overlapping. On the island the two shops the maintainer reported name differently: the bank hasFit_saint_philippe_bank_bank_furniture_01never spawned plus a prop through its wall, and the general store's furniture prefab row is not in the world either (so there is no furniture to measure). TestLF_Test_PlacementAudit(a table 0.3 m into a wall isthrough-wall, a row 2 m from its prefab ismissingwith the distance);toolscli audit selftestcovers the lane and room rows. -
🧪 (2026-11-21, #3891, epic #3877) The placement audit's
clipstest uses the prop's own box.LF_PlacementAudit.Clipscrossed rays through the world-axis bounds, so a thin plate on a wall turned off the axes (the b59 hardware shop's gable is 9 degrees round, the fascia is 5 cm thick) had a 0.7 m deep world box that always held the wall behind it and read asclips, at any distance from the wall: the stamp refused the sign both when it stood on the wall and when it stood off it. The rays now run along the oriented box's own three axes (the same boxOrientedBoxfills for overlaps), shrunk 0.15 m; an axis-aligned prop measures as before, and a plate thinner than 0.25 m is skipped as it always was on an aligned wall. TestLF_Test_PlacementAudit(a fascia turned 9 degrees on a brick wall clips nothing). The hardware shop is the second kit stamped this way (tools\cli town stamp hardware). -
🧪 (2026-11-21, #3895)
scan <x> <z> <r>input line of the placement audit.LF_PlacementAudit.ScanLinesanswers with onescan prefab=<resource path> name=<label> p=<x,y,z> top=<0|1>line per entity in the circle (LF_BaseWorldClear.PrefabOf, so an inline child of a furniture prefab names its real prop). It finds the base map's clutter in or around a building for a kit'sclearlist; the dossier lists no crates or pallets. Run it withmeasureTown(records, { island: true, extra: ["scan x z r"] })and readout.txt. -
🧪 (2026-11-21, #3961, epic #3877)
town stampseats yard rows on the island ground; the grid path stays out of the authoring bays. A stamp copied building-local heights from the flat grid, so a yard (farm supply and farm on b73, dock yard, scrapyard, lumber and mining sites) floated or sank on the island slope. Rows withmount: terrain/groundare now seated on the ground under them fromtools/town/terrain/<place>-<slot>.json, keeping their building-relative x, z and yaw, in the frame their prefab reads;town stamp <kit> --terrainprobes the points first (one boot per slot) and a stamp with a point unprobed is refused. Real dry run: the farm-supply yard on b73 (35 points probed) passed the island audit with no hard finding. The grid frame lays no gravel on or inside an authoring bay (bayRectsintools/grid/lattice.mjs; 140 path props gone fromGrid_frame.layer), which flagged a building copy standing centred in its bay as sunk. Selfteststools/town/stamp.selftest.mjs,tools/validation/grid-lattice-selftest.mjs. -
🧪 (2026-11-21, #3987, epic #3877)
town author --reopenandextractround-trip a kit unchanged; the bay hides the kit's clear list.kit-grid.mjs putnow writes each kit row with its component blocks (till shop component with items, action contexts, sign def) copied from the kit's source layer, at the bay building's height (--y=), so an extract no longer writes bare props over the archive (the pharmacy shelves rebuild lost its till and action blocks). Extract keeps what a hand edit set: a layer row matches its kit row by bay name (Kit_<kit>_<id>) or recorded name and prefab, keeps its id, name, role, verb, wall and attach unless the row moved more than 10 cm or 5 degrees, and the kit keeps its footprint, front, counter walls, lane widths, system and scope.--freshrecomputes all of it. The bay also gets aKitClear_<kit>carrier (LF_BaseWorldClearComponent, the onetown stampwrites) fromstamp.clear, solook grid:andaudit placement --gridsee the building without the clutter the stamp hides; a first build takestown author <kit> --from ... --clear <res,...>, and extract reads the list back from the carrier (--clear noneempties it). Selftesttools/town/author.selftest.mjs(red-proofed: round trip byte-stable at another bay place, turn and height). -
🧪 (2026-11-22, first-2h review B9)
pickupandcarriescount stacks. A stackable item (LF_QuantityComponent, everyItem_Baseitem such as iron nuggets) merges into the stack it joins and the picked entity is deleted, sopickupread every nugget after the first asnot_inserted alive=0.pickupnow also passes when the carried count rises (carried=<n> (merged into a stack)), andcarriesanswerscarried=<file> count=<n>with a stack counted by its quantity. The mining ore step was never broken by this: it counts quantity (LF_InventoryUtils.GetAmount). Testmining/ore-stack-count(WORLD).