Docs · Engineering reference
World reset (debug and playtest, #937)
docs/features/world-reset.mdEdit on GitHub
- ✅ A service puts the playtest world back as a tester found it (
Core/LF_WorldReset.c). It owns no list: a feature writesFeature/<Area>/LF_<Area>WorldReset.cwith a step class and amodded class LF_WorldResetRegistrythat adds it, and Enforce Script stacks the layers. Steps today:crime(wanted levels of every account, till, hospital till and vault cooldowns and stock, search cooldowns),loot(loose money bags, drills, keycards, charges),police(wanted reports, dispatch log, poster board),spikes(deployed strips),evidence(scenes, casings, markers, loose bags, locker log),calls(service board, finished calls, call-back book; a live call stays),vehicles(every vehicle present at game start returns to its spot; the cash van keeps its route),farm(plots emptied),ore(rocks regrown),bins(every tagged bin emptied, #3323). - ✅ Triggers, all server side and only when
LF_SpawnHub.IsEnabled()(the debug game mode prefab, so never a real server) and the dev gate is open (LF_DevGate, or anLF_HARNESSbuild): a death-screen respawn resets the world when that player is alone on the server; the debug menu's and the travel globe's Reset world button resets it for everyone after a second press within 5 s. - ✅ The harness
resetcrimeruns the crime-state steps of the same service, so a proof's reset never moves a car or regrows a rock. - ✅ The harness
resetplayer [cash [keep]](#496) puts the calling player back to a free civilian off duty on the server: cuffs off, any sentence ended, duty and faction cleared, the inventory emptied (clothes included) and the civilian kit issued (LF_DutyLocker.ResetToCivilianKit; carried cash comes back unlesscashnames an amount; the wordkeepleaves the inventory alone), then the crime steps above;cashtrims carried cash. Dev gate only, so a production server refuses it.session.mjs resetand every proof verb call it first. - Not covered: items players hold or carry, containers' contents, persisted vehicles bought after start, dropped ore pieces, hospital cabinet stock. Vehicle damage and fuel are not restored, only position.
- Tests:
worldreset/gate(LOGIC),worldreset/service(WORLD). Logs[LFDebug:WorldReset]. - ✅ (2026-11-14, #919) The placement audit also measures the stock a physical store spawns on its shelves (
LF_PlacementAudit.StockRows) and holds two props standing on the same surface to a 0.02 m overlap limit (0.08 m elsewhere). The general store counter is re-placed: radio left, register right, goods in rows between. Red-proof:place-audit.mjs selftest(two cups on one counter).
LF_Roles — Feature/Npc/LF_Roles.c (2026-11-14)
- ✅ Town NPCs are dressed per role and can be talked to. A role (teller, clerk, store and fuel clerk, police, medic, farmer, quarry worker, lumberjack, market trader, mechanic, official, ranger, fence, townsfolk) picks vanilla 1989-era clothing: one outfit prefab per variant (
Prefabs/Characters/Npcs/Outfits/LF_Npc_<Role>_<n>.et, each carryingLF_NpcRoleComponent), 2 to 3 variants where a crowd gathers, chosen byhash(entity name) % variantsso an NPC always wears the same. Source:tools/assets/outfits/roles.json;tools\cli outfits generatewrites the prefabs,LF_RolesTable.generated.c, the strings and the layer references. - ✅ Talk on any role NPC (
LF_RolesActiononNpc_Base.et): the existing dialogue scene with a role tree built in script (LF_Roles.BuildDialogue): a greeting, then what I do, directions, a rumour, goodbye. Lines are bare caption keys (LF_DialogueFlow.IsRaw), no voice. An NPC with an authoredLF_DialogueComponent(the town and fuel station clerks) keeps it. Replies do not open the bank or a shop yet. Talk has its ownRoleTalkcontext (about 2.25 m) apart from the 1 m witness question; the police officer wears the police uniform (police-blue cotton shirt with a gold badge, navy trousers, navy peaked cap with a badge; #586), not a soldier uniform, and the doctor a white coat over civilian trousers (tools/assets/police-shirt,police-trousers,police-cap,doctor-coat: retextures of vanilla garments through the clothing pipeline, route a); a doctor, mechanic and store clerk stand at the hospital, car lot and general store counter. - Tests:
npc/roles(LOGIC),npc/roles-world(WORLD); session proofroles-proof. - ✅ Boots use the base's slot class (#976, 2026-11-14).
Character_Base.etdeclaresSCR_FeetLoadoutSlotInfo Bootssince 1.8, butNpc_Default_01.etand the 34 generated role outfits overrode it with the oldLoadoutSlotInfo.tools/outfits/generate.mjsnow writes the base class through aSLOT_CLASStable and the outfits are regenerated; the strayLoadoutBootsAreais dropped so the slot inherits the base's area. Newvalidate-loadout-slot-classreads the table fromCharacter_Base.etand fails a prefab that overrides a vanilla slot with another class. The boots look did not change; the risk was a second boots slot or a barefoot count.
LF_DownedPatient — Feature/Medic/LF_DownedPatient.c (2026-11-14)
- ✅ A practice patient lies downed on the grass in front of the hospital in the playtest town (
Roadmap_Hospital_Patient,Prefabs/Medic/LF_DownedPatient.et), so one tester can run the medic flow alone: clock in, Revive or bandage, Carry or Drag, Load into the ambulance, Put patient in bed. It is a real downed character throughLF_Downedand the existing medic actions, not a second system. Playtest missions only (LF_SpawnHub.IsEnabled; inert anywhere else). It never bleeds out. Treated, it is put back healed and downed again afterm_fPatientResetSeconds(45,LF_Medic.conf), or at once by the world reset steppatient. The hospital sign mentions it. Tests:medic/downed-patient(LOGIC),medic/downed-patient-world(WORLD); session proofdowned-patient-proof.
Robbery alarms by type — LF_Dispatch, LF_PoliceConfig (#740, 2026-11-14)
- ✅ Each robbery sounds its own alarm instead of the one police siren: the bank vault a loud bell (heard about 170 m), the fuel station till a shrill pulsing intruder alarm (70 m), the general store till and a shoplifter walking out of any walk-in shop (general store, drug store, supermarket) the retail two-tone alarm, the electronic "ee-aw" a shop has (90 m, 110 m when nobody is on duty), the cash van a honking horn (70 m); the police armory takes the bank bell, the hospital till has its own
hospitalkind and clip, a slow rising three-note chime that decays and rests (90 m, 130 m when nobody is on duty), and a robbery no kind lists keeps the plain siren. The chop shop sounds no alarm: it files its report with no site and no kind lists its offence. Which alarm is data:m_aAlarmKindsinLF_Police.conf(LF_AlarmKind: id, normal and loud prefab, offences that use it); the robbed thing names its kind (LF_RobAction.m_sAlarmKind, defaultstore,fuelon the fuel tills;LF_BankVaultComponent.m_sAlarmKind,bankonLF_BankVault.et;LF_StoreComponent.m_sAlarmKind, defaultstore, for the shoplift alarm), else the offence's kind decides (cash van, armory), else the plain siren (LF_PoliceConfig.AlarmPrefabFor, passed asalarmKindthroughLF_Dispatch.Report). Nobody on duty sounds the kind's loud twin (brighter, faster light; the 60 s duration). The sounds are ElevenLabs takes inSounds/Alarm/Robbery/, recorded intools/assets/robbery-alarms/sounds.json, except the retail alarm, whichtools/assets/retail-alarm/synth.mjssynthesises (two tones, 1400 and 1000 Hz, 350 ms each), and the hospital alarm, whichtools/assets/hospital-alarm/synth.mjssynthesises (G5, B5, D6 chime). The police and ambulance sirens are unchanged. A server can change or add kinds in its owner config (police.alarmKinds, keyed by kind id). Tests:police/robbery-alarms(LOGIC),police/robbery-alarms-shipped(WORLD),alarm/robbery-kind-map(LOGIC, the shipped kind map); session proofrobbery-alarm-proof(log lines; ears for the sound).
Emote radial and sitting — LF_Emote, LF_Sit, LF_SitAction (#982, 2026-11-14)
- ✅ Hold F1 (gamepad: hold right shoulder + view) for the base game emote radial: Gestures (salute, point, halt, come here) and Emotes (sit on the ground, lean left or right, smoke, idle, push-ups). They are the base game commands (
Configs/Emote/LF_EmoteMenu.conf,LF_EmoteCommands.conf), they run with no AI group, and a cuffed or stunned body cannot use them. The F key offers Sit on the town benches and chairs (Prefabs/Props/Seats/LF_Seat_*.et, one place per action, base game chair pose, no prop); Stand up (or jump, sprint, raise a weapon) gets up; a taken place says so. The base game loiter and gesture carry both to other players and to late joiners. Tests:emote/sit(LOGIC),emote/sit-world(WORLD); session proofsit-proof(two clients and a late joiner). - 🟡 Town NPCs sit and lean —
LF_NpcLoiter(#1928, 2026-11-18): an NPC of a loiter role (resident, farmer, quarry worker, lumberjack) settles 4 to 8 s after it spawns: it takes the nearest freeLF_SitActionplace within 5 m (the places a player sits on, so the chair pose and the taken state are the same), else leans or smokes where it stands (the base game loiters). It gives the seat up when it dies, is deleted or stops loitering. Server only; the base game replicates the loiter. Testnpc/loiter(WORLD). Needs a play-through: NPC on the bench, a player offered "Someone is sitting here", a late joiner sees it.
Parked cars on slopes — Feature/Vehicles/Feature.md (#979, 2026-11-14)
- ✅ A car we spawn (lot, garage, impound, police and ambulance prefabs) comes up with the vanilla persistent handbrake on and stays put on a slope; 1.9's driverless self-steer does not move it. Measured: on a 19 degree ramp, forced awake, a steady creep of 0.18 m per 30 s with the brake on (an asleep car does not move at all), and 30 m of roll with the brake input released. No LF code sets the brake; the test names the engine default so an update that flips it turns red. Tests:
vehicles/park-brake-world(WORLD); session proofpark-brake-proof(up --profile full).
LF_PlacementRules, LF_PlacementGhost — Feature/Placement/LF_Placement.c (#927, #928, 2026-11-14)
- ⚠️ The placement foundation's first piece (design:
docs/roadmap/building-foundation.md). A feature measures a spot into anLF_PlacementProbe;LF_PlacementRules.JudgegivesVALID,NO_GROUND,TOO_STEEP(more than the step along the footprint) orBLOCKED(something in the clearance box, or a dynamic or same-kind surface underneath), with a reason for the log.LF_PlacementGhostshows a prefab's mesh on this machine only, in Conflict's blueCanBuildor redCannotBuildmaterial. The spike strip is the only user so far. Tests:placement/validity(LOGIC); the clearance check inpolice/spike-strip(WORLD); session proofplacement-preview-proof.
LF_PlacementService, LF_PlaceableComponent — Feature/Placement/LF_PlacementService.c, LF_PlaceableComponent.c (#1026, 2026-11-14)
- ⚠️ One server-checked path for putting a carried item into the world.
LF_PlaceableComponenton the item names the placed prefab, the footprint box, the reach, the snap mode (GROUND,ACROSS_ROAD; floor and wall are #1028), who may place it (ANYONE,ON_DUTY_POLICE; the policy is #1030) and the lifetime. The player's machine proposes the spot its ghost shows in the placing action's own data (no RPC);LF_PlacementService.Confirmrefuses it unless the player may place it, the item is on the ground or in their own inventory,LF_RateLimitSPAWN allows it, it is a well-formed proposal (finite, in the world, horizontal unit forward) within the item's reach plus 1.5 m of where the player stands now and, across a road, within 15 degrees of straight across, and the probes there sayVALID; then it spawns the prefab at the probed spot and uses the item up. Refusals toast under#LF-Placement_Titleand log[LFDebug:Placement] refused: .... The spike strip is the first consumer. Testsplacement/confirm(WORLD),placement/validity(LOGIC); proofsession.mjs placement-confirm-proof(two clients on a dedicated server, the strip within 1 mm of the ghost on both).
LF_CatalogueStock — Feature/Catalogue/ (#1064, 2026-11-16)
- ⚠️ An outlet offer can carry a
stockand arestockSeconds(owner section, pack overlay or.conf; default 0 = no limit, restock 600 s, 0 = none until restart).LF_ShopComponent.Buyrefuses a sale beyond what is left withOUT_OF_STOCK, takes only what was delivered, and the first sale from a full shelf starts the restock clock; when it is due the shelf is full again. Server memory only: a restart refills every outlet. Tests:catalogue/stock(LOGIC).
LF_ItemCatalogue, LF_ItemCatalogueConfig — Feature/Catalogue/ (#988, 2026-11-14)
- ⚠️ Item catalogue by id and outlets with a gate per offer. A shop counter that names an outlet (
LF_ShopComponent.m_sOutletId) sells that outlet's offers at catalogue prices; an offer can ask for a licence, a job and rank (on-duty police rank, or a job level) and an organisation right, and the order slip names what is missing ("Not without a Firearm permit."). Items carry a category, a legality that maps to a crime catalog offence (#LF-Offence_UnlicensedItem,_RestrictedItem,_IllegalItem) and clothing conceal flags. Data:Configs/Catalogue/LF_ItemCatalogue.conf, pack overlays, the owner'scataloguesection (add, patch or remove by id), streamed to clients. New licenceFIREARM_PERMIT;/licence <NAME>grants one in dev worlds.LF_LicenseManagerComponentis now onCharacter_Roleplay.et(it was on no prefab, so no player could hold a licence). Annex fixture:Annex_GunCounter. Checks:validate-item-catalogue(prefab exists, no DLC-owned prefab, no sell above price). Not yet: stock, the armory and black market on outlets, search and the suspect look reading the flags. Tests:catalogue/outlets(LOGIC),catalogue/gun-counter(WORLD). - ✅ (2026-11-14, #1046)
validate-map-independencefails when core Scripts outsideTests/andFeature/AgentHarness/callFindEntityByName, hold a world-position literal (x and z both 100 or more), or nameRoadmap_*/Sign_SafeZone_*.tools/validation/map-independence-baseline.jsonholds the 8 findings left, each with its issue (#1045 cash van, money bag, dispatch; #1055 hideout id, film till, collision repair), and may only shrink. The hideout door, machine and stash attributes now default empty; the layer already setsRoadmap_Hideouton all three, so the saved keys are unchanged. The agent harness and placement audit are dev tooling and exempt by folder. No save change.
LF_Systems — Feature/Systems/LF_Systems.c (#960, 2026-11-14)
- ⚠️ Every system can be turned on or off from config.
Configs/Systems/LF_SystemCatalog.conflists eachFeature/<Area>and the partsRobbery(Crime) andPager(Comms), with how it switches (SWITCHABLE,NOT_YET,LOCKED), its parent, what it needs and its items. PackLF_SystemsConfigoverlays, then the owner'ssystems.switches.<id>.enabled; clients get the answer in the config stream. Switchable today: Farming (plot actions hidden, plant and harvest refused, crops stop growing), Robbery (till, weapon and vehicle robbery and the till hold hidden and refused; the bank vault, the heist targets (cash van box, armory store) and the rob kit stand hidden and refused too, and a drill or fuse that ends after the switch went off spills no loot and keeps the heist stock, #1073;systems/world-gatescovers the vault, cash van box, armory store and a heist drill), Pager (no paging, no read action, no pager in a loadout). A system that is off logs once and keeps its saved data.LF_Systems.SwitchOff(id, reason)is the run-time switch #1047 uses.validate-systems-listkeeps the catalog complete. Tests:systems/toggle(LOGIC),systems/world-gates(WORLD),systems/keep-data(PERSISTENCE, with awt e2erestart branch). - ⚠️ The world-resource and place systems switch (#1075): Gathering (gather action hidden and refused), Processing (machines), Mining (ore hits refused, rocks do not grow back, mining areas place no ore, the world reset leaves rocks alone), Resources (tools deal no damage to trees and rocks), Chains (station load, work and collect refused with
#LF-Systems_Off), Hideouts (lease, door, stash and hideout machine refused; leases kept), Houses (a house door is a plain door; saved lock state kept), Survival (no hunger or thirst decay, no health cost, no stamina penalty, food restores nothing; stats kept), Toys (the jump pad throws nobody), Atmosphere (every ambient voice stops, the radio switch hidden), Emote (emote radial refuses, seats hidden; standing up still works). Spawned ore stops spawning and respawning while Mining is off and the state of a spent rock is kept. Tests:systems/world-resources,systems/world-places(WORLD). - ⚠️ (#1076) The service systems are switchable: Comms (phone and payphone actions, dialling, service calls), Chat (the chat panels are left to the base game, no admin channel), Medic (nobody is downed, the carry, revive, bed and bill actions hide), Police (every police action, dispatch, cuffing, handcuffs and the police car key left out of the kit), Crime (every crime action, no crime counted), Investigation (evidence, witness and case board actions, no witness scene), Vehicles (buy, extra key, store, retrieve, impound collect, the lot and garage prompts and the test-car grant; parked vehicles and garage records stay), VehicleLock (no toggle, locked doors open; the saved lock state stays), LicensePlate (no new plate issued; plates on records stay), SirenLights (no siren request) and Quests (no quest progress; accepted quests stay active). Police needs Crime and Investigation needs Police; a config that cuts one under the other is refused at boot. Test
systems/services(WORLD). - ⚠️ A system with no place stays off (#1047, 2026-11-14; test
systems/places). A catalog entry may listm_aPlaces, theLF_Placeskinds it works at. At game start (server)LF_Systems.CheckPlaces()switches off each one with none placed, with one line[LFDebug:<Id>] no <Kind> placed on this map: off. Listed:Jail(part of Police;JailCell, the cell now registers there; arrest refused, the arrest action hidden, confinement and the spawn return skipped),BankHeistandHospitalRobbery(parts of Crime;BankVault,HospitalSite),Hideouts(HideoutDoor). The last three areNOT_YET: their entry points sit on the placed entities, so a map without them has none.Worlds/CoreOnEveron/CoreOnEveron.entis vanilla Everon with only the LF game mode, a spawn point and the test runner:tools\cli test --no-build --tier fast --world Worlds/CoreOnEveron/CoreOnEveron.entboots the core alone there (242 LOGIC tests pass; twelve tests that need DebugWorld's cell, hideout door or plaza zone moved to WORLD). Two base-game component errors remain on that boot (#1104).
Fuel kiosk: one register, alarm on the wall — Street_Fuel.layer (#740, 2026-11-14)
- 🔧 The kiosk showed two registers: its own baked counter and register 3 m inside, and our
Roadmap_Fuel_Tillon the service-window counter.LF_FuelTill_Attended.etis now meshless (mesh, rigid body and destruction off), so the baked register is the only one; the till entity stays onRoadmap_Fuel_Counter, so the hold radius, the attendant's till lookup andfuel-robbery-proofare unchanged. The fuel intruder alarm used to stand its beacon on the pavement under the robber;Roadmap_Fuel_AlarmBox(an electricity box withLF_AlarmMountComponent, 2.2 m up on the kiosk's south wall beside the window) now carries it, as the bank's bell box does.
LF_PackManifest — Feature/Packs/LF_PackManifest.c (#963, 2026-11-14)
- ⚠️ Pack manifest with a core version range. A pack's
.confof classLF_PackManifest(m_sCoreMininclusive,m_sCoreBelowexclusive) is named by the mission header (m_LF_PackManifest); when the running core (LF_PackManifest.CORE_VERSION, 0.1.0) is outside it, one[LFDebug:Packs]error line names the pack, the range and the core, andLF_MissionConfigPackSourcehands out no overlays. No manifest loads as before.docs/architecture/public-surface.mdlists what packs may rely on;validate-pack-manifestfails on a pack.confusing an unlisted core class, a range that excludes the core, or a removed public name with no deprecation entry. The flagship manifest isaddons/LF_Everon1989/Configs/LF_PackManifest.conf. Not yet: bus events, dialogue hooks, prefab slots, terms and systems on the surface list. Tests:packs/manifest(LOGIC). - ✅ (2026-11-14, #913) The placement audit adds world checks from the layer entries alone: an entity budget per 50 m cell (limit 150), duplicate props (same prefab, same spot), plus a measured list of the vanilla prefab bounds (
tools/place/prefab-bounds.json,tools\cli place measure) thatplacereads instead of re-measuring. Floating and buried stay the measuredfloating/sunkchecks.--strictandwt gatefail on all of them; fixture layer inaudit selftest.docs/placement-audit.md"World checks". - ✅ (2026-11-14, #914)
tools\cli api class|grep|stampanswers engine API questions from the installed game's.pakfiles (the MCP clone'sPakVirtualFS), not theapi_searchdocs dump. Each answer names the Steam build id and says STALE when the dump is older than the install.classkeeps the attribute lines, so[BaseContainerProps()]shows. Selftest:tools/validation/install-api-selftest.mjs. Tooling only.
Clerk voices, vault door swing, film audio pid (#740, 2026-11-14)
- 🔧 The fuel clerk and store clerk dialogue voices were silent in game: the dialogue pipeline copied the siren project's node layout by hand and the game played nothing.
tools/assets/pipeline/dialogue.mjsnow writes the.acpthrough the sound pipeline's writer (sound.mjs acpText, SFX bus,reload60range), and both NPCs' projects are regenerated. A bystander within the dialogue's 15 m hear range hears the clerk. - 🔧 The bank vault door (and any
LF_BreachTargetComponentswing child) turns over 3 s with an ease at both ends instead of snapping; a load or late join inside the first 2 s still snaps, so a saved open vault is simply open. Testcrime/vault-door-swing(LOGIC). - 🔧 Film tooling:
clientPidcaptured client 2's audio for a client 1 take (every client of a session carries the same-lfSession); it now matches the client's own-profile ...\client<n>, and a beep masked by game sound no longer shifts a take's audio (chooseOffset). Covered bynode tools/film/film.mjs selftest.
Economy switches — Banking, ATM, Shop, Catalogue, Trader, Jobs, Level, License, Whitelist, Organizations, bank robbery (#1073, #1074, 2026-11-14)
- ⚠️ Ten more systems are
SWITCHABLEinLF_SystemCatalog.conf, each with its actions hidden and its server paths refused throughLF_Systems: Banking (deposit, withdraw), ATM (machine, balance, deposit and withdraw requests; needs Banking), Shop (counters, till, back room, buy, sell), Catalogue (outlet stock and sale), Trader (stall storage), Jobs (workplace actions, job requests, fruit rounds, payouts, benefit), Level (no XP earned), License (no unlock or grant), Whitelist (nothing restricted, join gate open), Organizations (desk, ledger requests, invite and rank roles; needs Banking). Bank vault, heist and rob kit robbery now obeyRobbery, and a drill ending after the switch went off pays no loot. Banking cannot go off under ATM or Organizations. Saved data is never touched. Test:systems/economy-gates(WORLD).
World cleanup — Feature/World/LF_Cleanup.c (#690, 2026-11-14)
- ⚠️ The server sweeps abandoned dropped items, vehicles and bodies on a timer. Rules per kind in
Configs/World/LF_CleanupConfig.confand the owner'scleanupsection: age without a player near, distance to the nearest player, damage state, exempt prefabs. Owned vehicles, named mission entities andLF_Cleanup.Exemptentities are never swept; each removal logs[LFDebug:Cleanup]. System switchWorld. Tests:cleanup/sweep(WORLD),cleanup/rule,cleanup/persist. - ✅ (2026-11-14, #300) The config harness has a client stage: a fixture's sidecar lists values a player must see (a shop price, a renamed currency term, an action hidden by a switched-off system) and
session.mjs config-harness-proofserves each fixture to a joined client and reads them off its screen.config-checknow accepts thetermssection. Fixturesclient-shop-price,client-term-currency,client-system-off; proofconfig-harness-selftest.mjscovers the judging. Merged, in-dev. - ✅ (2026-11-14, #289 #381) The web config generator (
/config) starts from a preset (flagship-1989,small-server,hardcore-economy): real files intools/test/config-fixtures/presets/thattools\cli config-harnesschecks, read by the site build, never copied. It also buildsserver.jsonin the base game's dedicated-server shape with the core and pack addon ids (read from the.gprojfiles), checks ports, player count and the admin password, and offers the start line and mod id list. Proofwebsite/scripts/configgen-selftest.mjs. Merged, in-dev. - ✅ (2026-11-14, #295) Example server template
server/example/:server.json(flagship scenario, core then pack, engine-schema valid),config.json(the flagship preset),start.cmd/start.shand a README; a host copies the folder, pointsLF_REFORGER_SERVERat their Reforger server and starts it.tools\cli server-template check [--engine]andvalidate-server-templatekeep it valid with no game;session up --mission templateboots a dedicated server on it and joins a client. Fixed the example file's emptya2s.address, which the engine refuses. Prooftools/validation/server-template-selftest.mjs. Merged, in-dev.
Terms layer — Feature/Terms/LF_Terms.c (#958, 2026-11-14)
- ✅ A pack or the owner renames the framework's terms in every language: core text writes
{police},{Town},{medic:pl},{currency:sym}; one text path (LF_Terms.Text: toasts, dialogue captions, the wanted board, the service board, the ID request, the money format) expands them. Layers: coreConfigs/Terms/LF_Terms.conf, pack overlay (override model), ownertermssection (plain text, forms, or per language), the server's stream for clients. First terms: police, medic, town, currency. Checked byvalidate-termsandstrings/terms;tools\cli termslists them. How:docs/owner/rename-terms.md. - ✅ (2026-11-14, #1136) Terms layer follow-up: 76 older core keys moved onto placeholders (the baseline went from 130 to 44; 12 voiced lines and the
LF-Term_*words are exempt, the rest are engine-translated paths). New termsorg,fine,job({job:miner}names a job by its id) and an all-capitals placeholder ({POLICE}). Action prompts (SetCannotPerformReason), UI-kit titles, lines and buttons, ticket and ledger text, the wanted poster and the job hint now go throughLF_Terms. Still on the engine, so still hard-coded: prefabName/Description, quest title/description/turn-in keys, license and job config keys, mission details, spawn-menu names, layout labels.tools/validation/terms-render-diff.mjsproves the default text did not change. Merged, in-dev. - ⚠️ Only a first set of keys is migrated (44 older core keys still hard-code a term, in
terms-baseline.json, after #1136); prefab names, quest keys, license and job config keys and voiced lines are not on the path. Not played in-game with a renamed term yet: see the PR's manual steps. - ✅ (2026-11-14, #969)
tools\cli pack check <addon>checks a content pack offline and reports each finding with its file and id: manifest range and public surface, boundary, mission header and overlay resolution, overlay ids against the merged layers (add of an existing id, patch/replace/remove of a missing one, unknown verb, offer for a missing item),{GUID}pathmismatches and stale GUIDs, missing#Keystrings, and a second pack on one id (warning).tools\cli pack explain <section.list.id[.field]|section.key> [--pack] [--config]prints which layer (core, pack, owner) set each final value, the trail of verbs and any refused verb. Quiet by default (20 findings,--all). Not yet: dialogue, terms, map independence, profit loops over pack prices, the website explain view. The flagship header now names its manifest, so its range is read at boot. Prooftools/validation/pack-check-selftest.mjs;docs/architecture/core-vs-pack.md"Checking a pack". Merged, in-dev.
Generic workplace prefab (#1111, 2026-11-14)
- ✅
Prefabs/Jobs/LF_Workplace.etis the one core workplace: a desk, a punch clock with the clock-in action (LF_DutyAction), andLF_WorkplaceComponent(m_sJobjob id,m_sPlaceId, optional NPC slotm_NpcPrefab/m_vNpcOffset/m_fNpcYaw). It registers underLF_PlaceskindWorkplace;LF_Workplace.FindAll(job, into)lists a job's.LF_DutyAction.GetRole()reads the duty role from the job id (POLICE,MEDIC); a clock outside a workplace keeps its ownm_eRole, and a workplace whose job has no duty role offers no clock-in. The police and medic duty desks now inherit it (the medic desk sets onlym_sJob MEDIC); no player-visible change.tools\cli pack new <Name> --job <ID>writes a pack workplace prefab that inherits it. WORLDjobs/workplace;pack-new-selftest. Seedocs/owner/add-job.md. Not in scope: the delivery depot, drop, taxi and fuel sites stay hand-assembled (LF_JobSiteComponent).
Core-only suite (#326, 2026-11-14)
- ⚠️
tools\cli test --core-onlyboots DebugWorld with-addons LifeFrameworkonly and the pack folder off-addonsDir, and runs the suite;ci,wt gateandwt shiprun it after the normal suite when the pack is in the checkout. A test that needs pack content overridesLF_Test.NeedsPack()and is skipped with its reason (none today). Testcore/only-boot(LOGIC). Rule:docs/architecture/core-vs-pack.md.
Config initializers (#1077, 2026-11-14)
- ✅
.confzeros are read on every config class: an[Attribute]member initializer used to beat a.confor pack-overlay value of 0 (m_bDownedEnabled 0read as on). Medic, Phone, Survival, Organizations, Police, Shop limits, Incident, Ledger, Character, Jobs, Garage and Persistence configs (86 members) now carry no initializers; Medic, Phone and Survival build script defaults withCreateDefault(). Testconfig/conf-zero. enforce-lint L9 (attr-initializer) fails a new[Attribute]member with a non-zero initializer;LF_JumpPadComponent(2 prefab fields) andLF_SignDef.m_sImageNameare baselined.
Disconnect rules — Feature/Police/LF_DisconnectRules.c (#691, 2026-11-14)
- ⚠️ Logging out never escapes custody, a death or a sentence. Owner section
disconnect(docs/owner/disconnect-rules.md): cuffed (or escorted) is jailed by default (the sentence starts at logout,LF_Jail.ImprisonOnReturn, and the rejoin spawns in the cell), or fined from the bank, or released; leaving custody adds one wanted level; no cell falls back to the fine. Downed dies (downedDies, moved here fromLF_MedicConfig.m_bDisconnectWhileDownedKills); a stun never kills. The warrant and the jail time stay;jailClockOfflinelets a sentence run while away. Every flagged logout logs[LFDebug:Disconnect]and writes an incident row of kindlogout. No new payload: the jail payload, the account and the bank carry it. Tests:disconnect/rules(LOGIC),disconnect/jail(WORLD),disconnect/cuffed(PERSISTENCE).
Session fixtures and rejoin identity (2026-11-14)
- ✅ Harness sessions:
session up --roster 2,3and--seed <file>write the police roster or anyLifeFramework/file into the server profile just before the server boots, on the machine that runs it (a roster written on this PC never reached a pool machine);session rosteron a live session reloads it throughLF_HostStop($profile:lf-reload-roster). A harness client is keyed by a session slot (LF_PlayerIdentity.SlotOf, only for connected players), sosession rejoin <n>brings a client back as the same account under a new player id;session identityandsession.mjs rejoin-proof. Testsession/slots(LOGIC). No save change.
LF_CreditsSheet, LF_CreditsData — Feature/Credits/ (#481, 2026-11-14)
- 🟡 In-game credits:
/creditsin chat opens one UI kit sheet per credits section (title, section heading, a wrapping body, Previous, Next, Close) in the paper skin, so a pack's theme restyles it (#966). Every row is a string key (LF-Credits_*) generated fromdocs/credits.mdbytools\cli credits: the same file the website/creditspage and the README read, so the three cannot drift (validate-creditsfails when the.strows orLF_CreditsData.cdiffer from the source;LF_Debug.Error"string key missing" when a key is absent). Headings, table rows (name, author and licence or tool) and bullets all appear, including the Overthrow acknowledgement. A long section continues on a further page so Close stays inside the sheet at 720p, and an open kit sheet hides the world interaction prompt (LF_ActionPromptGate.c, #1738). Testcredits/screen(WORLD); proofsession.mjs credits-proof. Pack-specific credits (LF_Everon1989) arrive with the pack move (M3). - ✅ Police application gates (#803). Three owner-set gates on the application form,
LF_PoliceConfig(applyMinPlaytimeHours50,applyRejectCooldownHours72,trialHours168; 0 turns each off).LF_PoliceApplications.SubmitGatedrefuses under the playtime gate (LF_Playtime.Total) and the cooldown after a rejection, names the reason and the time left (LF-PoliceApp_Error_Playtime/_Cooldown,LF_PoliceApplicationRules.FormatDuration) and logs[LFDebug:Police]. An administrator rejects with!preject UID(admin chat). Approval starts a trial:ExpireTrialsremoves the officer from the roster when it runs out unless a promotion (LF_PoliceRanks) ended it; the duty desk checks on clock-in. The newrejectedAt|trialEndsAtfields live inpolice_applications.txt(profile file, not the save, no persistence bump; six-field rows still load). A playtest mission withm_bLF_InstantPoliceApprovalskips the gates. Testspolice/application-playtime-gate,police/application-cooldown-gate,police/trial-expiry. - ✅ Across-the-road check proven on real roads (#1129, 2026-11-14; test
placement/across-road).Worlds/CoreOnEveronnow has anSCR_AIWorld(SCR_AIWorld_Eden.et), so its AI road network is live.LF_Test_PlacementRoadruns there on four real Everon roads: a spike strip straight across (and 10 degrees off) is accepted, 30 degrees off and along the road are refused. Run:tools\cli test --no-build --only LF_Test_PlacementRoad --world Worlds/CoreOnEveron/CoreOnEveron.ent. - ✅ (2026-11-14, #299) The config harness has a boot stage: a fixture whose sidecar says
"boot": true(with abootLogofhas/absentserver-log text) gets its own fresh server-only session on whichever pool machine has room, instead of the shared server'sconfigreload, for values a reload cannot apply (the autosave timer, boot-time switches, pack overlays).tools\cli config-harness --stage boot [--only <name>]boots (session up --clients 0 --seed), reads the log withconfig-boot-proofwhere the server runs, and stops it. Fixturespresets/boot-autosave-interval(a 45 s autosave timer and ATM off, both read at boot) andbroken/boot-bad-interval(a bad field logs, the default 600 s runs). Not inwt gate: two boots cost about 85 s of pool time; run it when a boot-read setting changes. Proofconfig-harness-selftest.mjscovers the judging. Merged, in-dev.
Pack config sections (#553, 2026-11-14)
- ✅ A pack adds namespaced owner-config sections: it lists them in its manifest
.conf(m_aConfigSections: name, fields with type, default, min, max), the owner'sconfig.jsonsets them (everon1989), a wrong-typed or out-of-range field keeps the pack default, an unknown key warns, and a section named like a core section or outside the pack's namespace is ignored with an[LFDebug:Packs]error.config.schema.json,config-check, the website generator,pack checkandpack explainread the merged result. The flagship has a sample section; nothing reads it yet. Proof:config/pack-section,pack-check-selftest.mjs. Merged, in-dev. - ✅ (2026-11-15, #1005)
config-check --addons <dir>andpack explain --root <dir>read a pack kept outsideaddons/(a test pack intmp/), so a pack's section is checked and explained offline with no game boot. A wrong-typed value is an ERROR inconfig-check, with the pack default kept. Proofpack-check-selftest.mjs. Not yet: the server reading the section at boot in a test world. - 🧪 (2026-11-18, #2804)
pack checkandpack explaincover every core list section with a merge row: the 24 lists #2764 baselined (prefab and sound slots, safe types, dialogue index, events, jobs tracks/xpAwards/licenceGates, map areas and POIs, zone rule sets, organization rank defaults, police ranks, welcome gifts, race courses, residents, handbook pages, signs, drink impairment, systems, terms, town board cards, UI themes, vehicle colours) now have a row inSECTIONS;dialogue.nodes,dialogue.linesandlicences.rulesare inUNMODELLEDwith the reason they cannot be merged offline.KNOWN_GAPSis empty. A pack'sConfigs/Tests/fixtures are no longer reported as unlisted overlays. Prooftools/validation/pack-check-selftest.mjs(a core list with no row or reason fails; each row's core file, class and ids are read from the real core). - ✅ (2026-11-14, #297) The template boots with the pack swapped out:
server.jsonchanges onlygame.modsandgame.scenarioIdto run the core alone or the core with another pack (apack newscaffold).server-template checkno longer pins the flagship: it needs the core first, every mod an addon that exists, and the scenario a header inside a listed addon.tools/server-template/variants/core-only/server.jsonis the core-only swap;session up --mission template-core-onlyboots it (server and client load the file's addon list). The swap steps are inserver/example/README.md. Prooftools/validation/server-template-selftest.mjs(includes apack newscaffold swapped in) and the session boot. Merged, in-dev.
LF_Quiz — Feature/Rules/LF_Quiz.c (#915, 2026-11-14)
- ⚠️ A new account answers a short rules quiz (RDM, fear RP, new life, combat logging in the flagship) before the registration form, once per account; a wrong answer shows the rule and lets them retry, the last allowed failure removes them. Merged, in-dev: only the logic, the save round trip and the session proof ran; nobody has played it on a dedicated server. Tests:
rules/quiz(LOGIC),persist/quiz-pass(PERSISTENCE); session proofquiz-proof. - ⚠️ (2026-11-22, first-2h review A1-A3) After each answer a feedback page says right or wrong with the rule line and a Next button (server-judged through
LF_QuizFlow.ServerCheck, scores nothing); the shipped quiz no longer kicks (maxAttempts0, unlimited retries, staff still see every attempt in[LFDebug:Rules]); the quiz and registration form R-89 open centred (LF_UISkin.Arrival), the form has a welcome line and a hint that looks are chosen at a clothing store. Merged, in-dev. A blurred island backdrop is not done: it needs a new image asset.
LF_Handbook — Feature/Rules/LF_Handbook.c (#1772, refs #642, 2026-11-16)
- ✅ Handbook pages load from config:
Configs/Rules/LF_Handbook.conflists pages (id, title key, body keys, order), a pack overlay ofLF_HandbookConfigadds, replaces, patches or removes a page by id (the sharedLF_ConfigOverlaymodel), andLF_Handbook.GetPagesreturns them lowest order first. A page with no id, title or body paragraph logs one[LFDebug:Rules]error and is skipped; the rest still load. The core ships two neutral pages (how-to-read,find-the-rules, keysLF-Handbook_*); Everon flavour goes in the pack. The handbook screen reads it (#1773,docs/features/rules.md); no ownerhandbooksection yet. Testhandbook/pages(LOGIC). - ✅ (2026-11-16, #1775) The Everon 1989 header lists an empty handbook overlay (
LF_Everon1989/Configs/Rules/LF_Handbook_Everon1989.conf) and an empty prefab-slot overlay (LF_Everon1989/Configs/PrefabSlots/LF_PrefabSlots_Everon1989.conf), so the flagship cards (#1007) each own only their overlay file. Booting the flagship logschanged 0 page(s)andchanged 0 slotsand no error; the core pages and slots are unchanged. Testeveron/rules-overlays(pack leg). Merged, in-dev.
Aimed placement (#1028, 2026-11-14)
- ✅ An officer's folded spike strip has a "Place where I aim" action: the ghost then follows where the camera aims (at most 4 m from their feet), turns with
[and](15 degrees, 1 with Shift held; gamepad: left trigger, right shoulder, hold left stick), is blue when the spot is valid and red with the reason in a hint when not, places on Enter (right trigger) and cancels on Backspace (B). Across a road the heading snaps straight across with 10 degrees of turn either side. The server still checks every placement (LF_PlacementService.Confirm): the strip lies where the ghost was on both clients. Leaving (death, down, a vehicle, the item gone) hides the ghost. FLOOR and WALL still refuse (the buildings, #1033). Proof:placement/aim(LOGIC),placement-aim-proof(two clients). Merged, in-dev.
LF_ClipStamp — Feature/Moderation/LF_ClipStamp.c (#1173, 2026-11-14)
- ✅ A player can show a small on-screen clip stamp (F8, or a quick tap of RB + View on gamepad; off by default): server name, last six characters of their character id and the real server time in UTC, the clock
LF_IncidentLogstamps, so a clip can be matched to an incident row. The server answers one RPC with its clock; the client counts seconds itself (no per-frame replication). The owner can disable it (m_bClipStampAllowed) and set the name (m_sClipStampServerName) inLF_Incident.conf. Tests:moderation/clip-stamp(LOGIC). Merged, in-dev. - ✅ (2026-11-14, #301) The config harness runs where it should: the static part (parse + validate over every fixture,
validate-config-harness) in everyvalidate,wt gateandci; the game-session parts (client stage, boot stage once #299 lands) inci/wt gate/wt shiponly when the change touchestools/config/, a config fixture, the schema, a.confor config code inaddons/; and all of it, sessions included, as a gate oftools\cli release(config-gate --full). A planted broken preset failsvalidate. Proofconfig-gate-selftest.mjs. Merged, in-dev. - ✅ (2026-11-14) Website build fix and guard: the config generator reads the core scenario from
Missions/EL_DebugTest.conf(the file #323 batch 1 moved out of the core broke main's websitebuildcheck).validate-website-contentruns the site's content step offline (a few seconds) whenaddons/,docs/orwebsite/change, so a moved file fails intools\cli validate; it skips with annpm cihint whenwebsite/node_modulesis missing. Prooftools/validation/website-content-selftest.mjs. Merged, in-dev. - ✅ (2026-11-14) LOGIC runs boot a minimal world.
tools\cli test --tier fast, and--only/--redwhen every named test is LOGIC, bootWorlds/TestLogic/TestLogic.ent(core, test infrastructure: world entity, time manager,GameMode_Roleplay_Debug, destruction manager and anLF_TestRunnerwithm_bLogicWorld 1; no terrain, village, annex, zones or spawn points) instead of DebugWorld; everything else boots DebugWorld as before (tools/lib/test-world.mjs,docs/worktrees.md"Test world"). World load drops from about 2.4 s to 0.14 s on lf-cloud. In TestLogic a WORLD or PERSISTENCE test fails as(wrong world)and a failing LOGIC test gets a hint to retier it. The chosen world is in the pass cache key. Teststests/logic-world,validate test-world-selftest. - ✅ (2026-11-14, #286 #288, epic #225 check) Two config generator fixes the epic check found. A checkbox the game ships on (
persistence.enableAutosaveandkeep*,disconnect.downedDies,rulesQuiz.enabled, 20 in all) had no schema default becausetools/config/schema.mjsread onlytrue/falseand the code spells it[Attribute("1")]; the form showed it off and an owner could not exportfalse. All 41 checkboxes now carry their default (docs/config/regenerated). An imported file (or a preset) is exported in its own key order, so import then export of a valid file is byte-equal after formatting (website/scripts/configgen-selftest.mjschecks the flagship config, every preset and the example). All three presets are boot fixtures (#289): eachpresets/<name>.expect.jsonhas abootLogcopied from a real boot on lf-cloud (flagship:persistence,shops,vehiclesowner-config reads; small-server:persistence2,vehicles2,police1 andautosave scheduled every 300 seconds; hardcore-economy:persistence2,shops2,vehicles4,police1), soconfig-harness --stage bootboots every preset.
Pack licence note and example server download (#967, #296, 2026-11-14)
- ✅ (2026-11-14, #967)
docs/architecture/pack-licence.mdis the licence note for pack authors: the core is MIT on GitHub and APL on the Workshop, a pack picks its own licence, what a pack may copy from each copy, how to credit (docs/credits.mdpatterns), base-game assets (referenced, not copied; Bohemia's terms decide) and CC-BY assets. It says it is not legal advice. Linked fromcore-vs-pack.md, thepack newREADME and the Workshop kit README. Merged, in-dev. - ✅ (2026-11-14, #296)
tools\cli example-zip [--final] [--out <dir>]packsserver/example/intoLifeFramework-ExampleServer.zip(server.json, config.json, start.cmd, start.sh, README.md; start.sh keeps its executable bit) and reads the zip back: files present, core first, config.json clean under config-check. The Workshop ids and names come from one file,tools/release/example-zip.json; a placeholder id builds a-DRAFTzip, and--finalrefuses while one remains.validate-server-templatekeeps a real id equal to its addon's GUID..github/workflows/example-server-release.ymlattaches the final zip to av*release. Prooftools/validation/example-zip-selftest.mjs. The pack id stays a placeholder until the first Workshop upload (#370). Merged, in-dev.
Held ground save row (#751, 2026-11-14)
- 🧪 (2026-11-14, #1217) Each leased hideout saves its held ground (holder organization, hold seconds, banked points clamped to the owner cap
organizations.heldGroundMaxPoints, default 1000) in the newheldgroundpayload (save version 34,LF_HeldGroundRow); thehideoutrecord layout is unchanged and an older save loads every site unheld. The holder is always the leasing organization; a lapsed lease (LF_Hideout.Release) or a gone organization loses the points. No player-visible behaviour yet: the scoring tick, the org desk read-out and the site flag come with the #751 behaviour PR. Testspersist/held-ground,persist/held-ground-legacy,hideouts/held-ground-bad-row,e2e/pass2-verify-load.
Vehicle state save row (#752a, 2026-11-14)
- 🧪 (2026-11-14, #1216) Owned vehicles save a tow state (none, towed, police impound), towed-at and inspected-at stamps (real clock) and a hidden compartment size 0-3 in the new
vehiclestatepayload (save version 33,LF_VehicleStateRow); thevehiclesrecord layout is unchanged and an older save loads every car with the default. No player-visible behaviour yet: #774, #778, #779 and #859 write it. Testspersist/vehicle-state,persist/vehicle-state-legacy,vehicles/state-bad-row; restart proofe2e/pass2-verify-load. - ✅ (2026-11-14, #371)
tools\cli workshop boot-check <coreId> <packId> [--host lf-cloud] [--no-client] [--plan] [--force-boot] [--budget <s>]boots a CLEAN dedicated server on lf-cloud from Workshop ids only: a fresh run folder with an empty profile and-addonsDir,server.jsonbuilt fromserver/example/server.jsonwith the two ids,-configand no-addons, so the only way a mod loads is the server downloading it (it refuses a box whose install holds a LifeFramework addon). It judges the console.log in stages (ids, clean, mods, scripts, ready, join) and prints oneSUMMARY workshop-boot-checkline with the deciding log line; unless--no-clientit then starts a client with no local addons from the box's signed-in desktop and waits for the join. Proven on lf-cloud 2026-11-14 up to the server'sAddon B1E84D5687E11724 - Addon was not found on workshop.line (stagemods, the pack is unpublished); the passing run and the client join are unproven until the first upload (#370). Runbookdocs/release-first-upload.md. Prooftools/validation/workshop-boot-check-selftest.mjs. Merged, in-dev. - ✅ (2026-11-14, #1005)
toolscli session up --pack LF_<Name>boots a pack in a test session: the core plus thataddons/folder, the pack's own headerMissions/LF_<Name>.conf, harness build on.pack newwrites the header with the coreDebugWorldandSystemsConfig, so a fresh pack boots with no edits. The pack is recorded with the session (restart andjoinreload it) and rides the worktree snapshot to a remote pool machine. Docsdocs/owner/pack-session.md;pack-new-selftest,session.mjs selftest. Merged, in-dev. - ✅ Police application staff API (#1287, M4 slice S8).
LF_PoliceApplicationStaff(a subclass ofLF_PoliceApplications) is the one server entry for staff:ListOpen(copies, oldest first),ApproveByUid,RejectByUid. Each returns "" or a refusal key and wraps the existingApprove/Reject, so the roster write and the reject cooldown (#803) come with it. Staff is decided on the server: the caller's account uid is on$profile:LifeFramework/staff.txt(one uid per line,#comments, read on every call) or the engine says ADMINISTRATOR (the maintainer only at opening). A non-staff caller is refused and logged[LFDebug:Police]; the target uid is validated (1-64 of[A-Za-z0-9_-]). Not wired to an RPC or a screen yet. Testpolice/application-staff. - 🔧 Police applications panel (#1288, M4 slice S9).
/applications(in or out of Game Master) opens a UI kit sheet listing the open police applications; Read shows one (name, why, hours), Approve or Reject sends it. Client to server isRpcAsk_LF_PoliceAppGmList/RpcAsk_LF_PoliceAppGmDecide(verb, uid)on the player controller, answered byRpcDo_LF_PoliceAppGmto the owner only. The server takes the caller from the controller, re-checks staff (LF_PoliceApplicationStaff) on every call: any roster level may list and read, approve and reject need the roster leveladministratoror the engine administrator flag (a moderator is refused and logged, #1320), refuses an unknown verb or a malformed uid, and drops asks closer than 300 ms; free text loses the row separator and a leading#. A non-staff player gets an empty sheet with the refusal line. Logs[LFDebug:PoliceAppGM]. Testpolice/application-gm-rpc. - 🧪 (2026-11-15, #1345, M4 slice OS) Restart siren prefab.
Prefabs/Props/Ops/LF_RestartSiren.et(vanillaSirenMilitary_E_01mesh) carriesLF_RestartSirenComponent, which registers withLF_Placesunder the kindrestart-siren(id attribute, defaultmain) and does nothing else yet. The placer can put it anywhere; the warning logic (O7) finds it by kind. Core: the siren is a game capability, not a place. TestLF_Test_RestartSirenPrefab(ops/siren-prefab). - 🧪 (2026-11-15, #1005) One re-themed pack proves the four overlays together in a booted session.
tools/pack/retheme-fixture.mjsappliestools/test/pack-fixtures/retheme/to apack new Rethemescaffold: a recolouredpaperUI theme, drinks priced $31 and the M9 item and offer removed,evidence_markerswapped toLF_EvidenceCasing, police renamed Sheriff through a pack string key.session up --pack LF_Retheme --clients 1 --profile full, thensession.mjs retheme-proof: the client reads $31, an empty gun counter, "Application to the Sheriff", the casing as the dropped-item marker (newevidence=token on the harnessseenread) and a pixel share of the pack paper colour; the logs say each overlay loaded. Found on the way:LF_TermsConfigwas not on the public surface, andregen-localizationskipped a scaffolded pack's string table (its keys showed as "Missing string ID"); both fixed. Merged in-dev, not verified. - 🧪 (2026-11-15, #1343, M4 slice CF) Three owner config sections exist as shapes, with no behaviour yet:
restarts(times: dailyHH:MM, empty = no scheduled restarts;warningMinutes: leads 1 to 120, default 15, 5, 1),staff(webhookUrl, empty by default; a host-only secret that is never logged, streamed or committed) anddayCycle(modevanilla|accelerated|realtime,dayLengthMinutes,nightSpeed,startHour,clockOffsetMinutes; defaultvanilla). ClassesLF_RestartConfig,LF_StaffWebhookConfig,LF_DayCycleConfig; the restart scheduler, staff notifications and clock driver read them in later slices. A bad value is refused and logged and the shipped one stays. Testconfig/m4-sections.
Ops bus contract — Feature/Ops/LF_OpsEvents.c, LF_RestartWarner.c, Feature/Atmosphere/LF_DayCycleApply.c (#1344, 2026-11-15)
-
🧪 Restart warnings are server bus events:
LF_OnRestartWarning(m_iMinutesLeft,m_iSecondsToRestart) andLF_OnRestartDue, so the toast, the siren and the close subscribe instead of waiting for a ticker.LF_RestartWarner.StartIfConfigured()andLF_DayCycleApply.ApplyFromConfig()are stubs that log one[LFDebug:Ops]/[LFDebug:Atmosphere]Info line; the game mode calls both (server only) besideLF_HostStop.StartIfRequested(), so later M4 slices fill them without editingLF_GameModeRoleplay.c. Nothing changes in play yet. Testops/events. -
🧪 (2026-11-15, #1267, M4 slice O8)
LF_RestartClosesubscribes toLF_OnRestartDue(Register(), idempotent, server only): it writes$profile:lf-host-restart("scheduled restart"), then callsGetGame().RequestClose()likeLF_HostStop, so the engine writes its SHUTDOWN save and the host watchdog restarts the server. A second due event while closing is ignored; a marker that cannot be written logs[LFDebug:Ops]Error and the server stays up. Not live yet: the ticker (O6T) callsRegister()when it starts a schedule. Testops/restart-close(close seam, test marker path); the real SHUTDOWN save is O9. -
✅ Staff roster check (#1320, M4 slice R1). There is one staff roster, the file the game already reads:
$profile:LifeFramework/staff.txt. A line is<uid> [level] [# display name]with levelmoderator,operatororadministrator; a bare uid (the #1287 format) still works, andLF_PoliceApplicationStaff.ParseRosterLinereads the uid and level (a listed uid is staff whatever the level). The repo copy isserver/flagship/staff.txt, copied to the server profile; the maintainer is its only administrator, marked#pending administrator Jasperuntil the uid is filled in (a human step; the game reads that line as a comment).tools\cli staff roster checkfails on an unknown level, a malformed or duplicate uid and warns on#pending;tools\cli staff roster adminsprints the administrators' uids as thegame.adminsarray forserver.jsonand fails while an administrator is pending. Testpolice/application-staff(level column), selfteststaff-roster-selftest.mjs. -
✅ (2026-11-15, #1271)
tools\cli server-doctor <profile-folder|console.log>reads a downloaded dedicated-server log with no game installed: the mods from the "Loaded addons:" block (name, guid, version when printed), everySCRIPT (E)/VME:line with the fix fromdocs/debug-log-triage.mdwhen the table knows it, the first-boot success lines (ready, player joined,[LFDebug:*]loaded), and a final PASS or FAIL whose stage (mods,scripts,ready) comes from the samejudgeBootLogthe Workshop boot check uses. Proven bytools/validation/server-doctor-selftest.mjson good, missing-mod and VME fixture logs. -
🔧 (2026-11-15, #1346) The staff webhook has its interface:
LF_StaffWebhook.Send(string text), server only. Without a capture it logs one[LFDebug:Moderation]Info line and sends nothing; the real HTTP POST goes behind the same call later, andSetCaptureForTestrecords sent lines for relay tests. Tests:moderation/webhook-seam(LOGIC). Merged, in-dev. -
✅ Session announcement (#1273, M4 slice).
tools\cli host announce --at <iso> [--build v] [--wipe] [--send]fillsdocs/community/announce-template.md(Discord timestamps, build, address, rules link, wipe line), prints the post and writes the next session towebsite/content/sessions.jsonas{ next: { at, build, wipe } }(the site schema,website/content/sessions.schema.json). Without--sendnothing is posted and the row stays a draft with noannouncedkey (the servers page does not show it andhost wiperefuses it as not posted);--sendgoes throughtools/discord-mcp/say.mjs(maintainer only, needs--channelorLF_ANNOUNCE_CHANNEL) and, once the post succeeds, writesannouncedas the ISO time it was posted (#1537), the timehost wipecounts its 24 hours from.--wiperefuses an--atunder 24 hours away and adds the wipe line (24 h Discord notice, progress kept from the public launch). Selftesthost-announce-selftest.mjs. With no--channel,--sendposts to the announcements webhook (announceWebhookUrlin the hostsecrets.json, the same sender ashost post; the URL is never printed);--channelkeeps the bot path. The session post (template andDEFAULT_SESSION_JOIN) now carries the alpha warning ("expect bugs and wipes"), the weekly schedule (every Saturday 19:00 UK), the Server Browser name and direct join code, "the password is in Discord" and both Workshop links; the opening post keeps its own join text. First session: Saturday 2026-11-21 19:00 UTC, build 0.1.0. -
🧪 Restore drill (#1261, M4, #306).
tools\cli host drill [<backup>]copies the newest (or a named) host backup into a throwaway host dir undertmp/, takes a pool lane, boots it with-loadSessionSave(host startwithLF_HOST_DIRon the scratch dir; a pool machine gets the profile as a zip), stops it for the shutdown save and judges the console log. It passes only withsave loaded:, nothing damaged, no script error, a shutdown save and at least oneapplied N account record(s), so an empty load is a fail. It printsSUMMARY host-drill ok|fail backup= machine= accounts= log=; the live profile and its backups are never touched. After every run, local or on a pool machine, it writes<host dir>/drill-last.json({ ok, backup, machine, accounts, reason, at }; a pool machine'sSUMMARYline is parsed back here, and a run that returned none is recorded as a failure), whichhost readyreads. Judge, scratch copy and result file:tools/host/drill.mjs; checks:tools/validation/host-drill-selftest.mjs,tools/validation/host-drill-result-selftest.mjs. -
🔧 Host post (#1414, M4 slice).
toolscli host post session|wipe [--send]prints the posthost announcedrafted for the next session inwebsite/content/sessions.json(it never writes that file);wipeis the wipe notice and refuses unless the next session is a wipe. Only--sendPOSTs it, one message under 2000 characters with no mentions parsed, toannounceWebhookUrlin the host'ssecrets.json(an https Discord webhook URL, bounded by a 10 s timeout). No URL, a non-Discord URL or a failed send exits 1; the URL is never printed. Tests:tools/validation/host-post-selftest.mjs(a capture seam and a loopback fake server; global fetch is blocked so nothing reaches Discord). Merged, in-dev. -
🟡 Host backups rotate (#1260, M4):
tools\cli host prune [--keep N] [--dry-run]deletes the oldest plain backups (<stamp>-start,<stamp>-stop,<stamp>-restart) beyond N (default 20) throughsafeRemoveTree. A preflight, wipe, crash, replaced-by-restore or manual backup, and any unrecognised folder, is never deleted. Proof:tools/validation/host-rotate-selftest.mjs(30 mixed folders). Not run automatically yet. -
🧪 Day cycle function (#1300, M4 slice X1).
LF_DayCycle.Resolve(config, realClockHour)(Feature/Atmosphere/LF_DayCycle.c) turns thedayCyclesection into engine settings (LF_DayCycleSettings):vanillachanges nothing (m_bApplyfalse, the core default keeps the vanilla 24 h day);acceleratedgives the day length in real seconds (forSetDayDuration), the speed against the vanilla day (a 120-minute day is 12x, the flagship value set inserver/flagship/config.json), the night speed (daytime speed timesnightSpeed) and the start hour;realtimekeeps a 24 h day and starts at the server clock plusclockOffsetMinutes, wrapped into 0 to 24. A mode or length the reader should have refused logs[LFDebug:DayCycle]Error and degrades to vanilla. Pure function: nothing applies it yet (LF_DayCycleApply, X2). Testtime/config. -
🧪 Day cycle applied (#1301, M4 slice X2).
LF_DayCycleApply.ApplyFromConfig()(Feature/Atmosphere/LF_DayCycleApply.c, called by the game mode on the server at start) resolves thedayCyclesection withLF_DayCycle.Resolveand hands it to the vanillaTimeAndWeatherManagerEntity:SetDayDuration(seconds),SetIsDayAutoAdvanced(true)and, when the mode sets one,SetTimeOfTheDay(startHour). The engine replicates the clock to every client; no script loop drives it.acceleratedwith a 120-minute day runs 12x;realtimekeeps the 24 h day and starts at the server clock plus the offset;vanillatouches nothing. One[LFDebug:Atmosphere]line names the mode, the day length, the rate and the start hour; a world with no time manager logs an Error and keeps its clock.nightSpeedwas not applied here; #3149 (next row) now switches the duration at dusk and dawn. Twenty seconds after a start that applied a day, one[LFDebug:Atmosphere]"rate check" line reports how far the clock moved against what the config promises (a Warn when it is more than 15% off); it is one timer, not a loop. Testtime/apply. -
🧪 Day cycle across a restart (#1302, M4 slice X3). The time of day is not an LF payload: the vanilla persistence setup (
Setup.conf>TimeAndWeather.conf, inherited byConfigs/Systems/Persistence/LifeFramework.conf) already saves the clock (date, time, day length, auto-advance), so there is no save-version bump.LF_DayCycleSave(Feature/Atmosphere/LF_DayCycleSave.c) decides who wins on a boot that continues a save:acceleratedskipsstartHourso the clock resumes from the save (startHouris for a fresh world);realtimesets the real clock over the saved hour; in both the configured day length wins over the saved one. When the vanilla load lands after the game start, the settings are applied once more when persistence reaches ACTIVE. One[LFDebug:Atmosphere]line says the clock resumes from the save. Testtime/save(PERSISTENCE;wt e2eproves the clock comes back after a real restart). -
🧪 Night passes faster (#3149).
nightSpeedworks:LF_DayCycle.Resolvealso givesm_fNightDurationSeconds(the day duration overnightSpeed), andLF_DayCycleApply.SwitchPhasesets the manager's day duration to the night value between sunset and sunrise (GetSunriseHour/GetSunsetHour, else 5 h and 19 h) and back at dawn.Applyruns it once; a 10 s call-queue check runs it again only whennightSpeedis not 1 and logs once per flip ([LFDebug:Atmosphere] day cycle: night at ...). The 20 s rate check reads the duration of the phase it measured and skips when dusk or dawn fell inside it; a save load re-applies and so picks the right phase. The flagship config setsnightSpeed2. Testtime/night-rate(WORLD, with the pure logic). Sane sun hours (#3641): the test world's manager reports sunrise 1.55 h and sunset 13.36 h, which started the faster night at 13:22.LF_DayCycle.AreSunHoursSaneaccepts a world's sunrise only in 4 to 8 h and sunset in 17 to 21 h; otherwiseSwitchPhaseuses 5 h and 19 h and logs one[LFDebug:Atmosphere]warning naming the reported hours. Testtime/sun-bounds(LOGIC). ⚠️ What the flagship island's manager reports was not read; the bounds make either answer safe. -
🧪 Restart schedule (#1264, M4 slice O5).
LF_RestartSchedule(Feature/Ops/) is pure:Plan(config, nowSeconds, clockSeconds, minutesLeft)takes the clock as seconds since local midnight and returns the seconds to the nextrestarts.timesentry (0 when the clock is on one, wrapping past midnight; -1 and empty lists when none is scheduled, the default), with everyrestarts.warningMinutesstep still ahead soonest first and the restart itself last (lead 0). A warning already passed is left out, leads in any order or repeated give one step each, and a time that is notHH:MMis skipped.NowSeconds()reads the server's wall clock (System.GetHourMinuteSecond). With the flagship's 06:00 and 18:00 and leads 15, 5, 1, a clock of 17:40 gives 17:45, 17:55, 17:59 and 18:00. Nothing consumes it yet: the ticker (#1348) will. Testops/restart-warnings(LF_Test_RestartWarnings). -
🟡 Host watchdog (#1262, M4):
tools\cli host watch [--flagship] [--force] [--max-restarts N]starts the host (or adopts the running one) and supervises it. An exit with no stop is a crash: the run's console-log folder is copied intobackups/<time>-crash/crash-log/beside acrash-tagged save backup (rotation never deletes it), the plain start/stop backups are rotated, andhost startruns again (continues the newest save,-loadSessionSave). An exit afterhost stop(stop file seen, or the mod's[LFDebug:Host] stop requestedline) ends the watch. An exit with the restart marker$profile:lf-host-restart(Ops O8, #1267:LF_RestartClosewrites it, then closes) restarts the host without a crash record; a stop beats the marker. More than--max-restarts(default 10) crashes ends the watch with the host down (the crash-loop window is O4). Proof:tools/validation/host-watchdog-selftest.mjs. Manual: kill the host process; it returns and a client rejoins. -
🟡 Host crash-loop guard (#1263, M4 Ops O4):
tools\cli host watch [--crash-limit N] [--crash-window MIN](defaults 3 crashes in 10 minutes;0turns it off; envLF_CRASHLOOP_LIMIT,LF_CRASHLOOP_WINDOW_MIN) stops restarting at the limit, ends the watch with exit 1 and keeps the host down. It prints one[LFDebug:HostWatch] STAFF ALERTnaming the crash folders of the crashes in the window and posts the same text to the staff webhook when the host has one (staff.webhookUrlin the profileLifeFramework/config.json, elsestaffWebhookUrlin the host'ssecrets.json), else to the Discord channel inLF_STAFF_CHANNELthroughtools/discord-mcp/say.mjs, else only prints. The in-game staff sender cannot do this: the server is the thing that is down. The URL is never printed. Scheduled closes are not crashes. Logic intools/host/crashloop.mjs; prooftools/validation/host-crashloop-selftest.mjs. Manual:host watch --crash-limit 2, kill the host twice within the window; the watch stops, the alert prints and the host stays down. -
🟡 Host disk report (#1407, M4):
tools\cli host diskprints the save size, the backups' count and total, growth over the last five backups, the free space on the drive, and how many sessions (a start plus a stop backup, each the size of the newest) fit before free space drops under 5 GB; it exits 1 under 5 GB. Read only, never deletes. Proof:tools/validation/host-disk-selftest.mjs(sized fixture backups, injected free space, 4 GB exits 1). -
🟡 Host ready (#1408, M4):
toolscli host readyis the go / no-go before a session. It prints one line each for the build gate (host preflightneeded or not), the staff roster check, the newest backup's age (stale past 12 h), the last restore drill's result (<host dir>/drill-last.jsonfirst, so a drill that ran on a pool machine counts; the newesttmp/logs/host-drill-*.logjudged by the drill verdict is the fallback; stale past 7 days) the disk report and the live config (#1559: the profile'sserver.jsonmust hold a non-emptygame.password, the alpha gate, and the exact nameLife Framework | Everon 1989 (Alpha); a wrong name is NO-GO naming the expected one, and the password is never printed), thenGO(exit 0) orNO-GO <failed checks>(exit 1). Every red is listed, none short-circuits;--max-backup-hoursand--max-drill-daysmove the limits. Read only. Proof:tools/validation/host-ready-selftest.mjs(injected checks, a failed drill or a stale backup gives NO-GO naming it) andtools/validation/host-ready-config-selftest.mjs(empty password, wrong name, both right, no password in any output). -
🟡 Host perf (#1406, M4, parent #1006):
tools\cli host perf [--every 30] [--for 120] [--upload-mbit 20]samples the running server process (CPU as a percent of one core, working set, upload in Mbit/s) every N seconds for at most M seconds, writes<host>/perf/perf-<stamp>.csv(time,cpu_pct,ws_mb,up_mbit,players;playersis left empty for the A2S row of #1297) and prints one[LFDebug:HostPerf] verdictline against the 16-player budget: mean CPU under 80% and mean upload under--upload-mbit(envLF_HOST_UPLOAD_MBIT, default 20), with the peaks named. Windows only: one bounded PowerShell call reads the process and the adapter total (Windows has no per-process network counter, so run it with the server as the only busy network user). The sampler is injected;host-perf-selftest.mjsproves the CSV and the ok, over-upload and over-CPU verdicts on a fixture series. -
🟡 Host capacity (#1499, M4, parent #1006):
tools\cli host capacity [--csv <file|dir>] [--log <console.log>] [--players N] [--upload-mbit 20]reads<host>/perf/*.csv(host perf) and the server log's[LFDebug:Perf] players=N fps=F frameMs=M entities=Elines, takes the player count from--players, a filled CSVplayerscolumn, or the log's lines with players above 0, and prints CPU and upload per player (linear, idle baseline ignored, so read it from a run near a full session) and the estimated player count before the 80%-of-one-core CPU or--upload-mbitlimit is hit, as one[LFDebug:HostCapacity] estimate N players (...)line. Exit 0 when the 16-player budget fits, 1 when the estimate is under it, 2 with a clear "no data" (no CSV rows, or no perf line with players).host-capacity-selftest.mjsproves a 10-player fixture, the over-budget case, the no-data cases and the command's exit codes. -
🧪 Every flagship surface links run-your-own (#1424, 2026-11-15; offline check
tools/validation/validate-run-your-own.mjs). Lists the flagship surfaces (Workshop copy, the site join, servers and rules pages, the pack run-your-own sign string, the Discord rules block) and fails with the surface path when one exists without the link to the install guide (docs/owner/install.md; the sign carrieslife-framework.org/servers). A surface with no source file yet is pending, not failed. Surfaces that lack the link today (Workshop copy, Servers, Rules) are listed as known gaps that warn until their cards land; a known gap that gains the link fails until it is removed from the list. Fixtures intools/validation/fixtures/run-your-own/prove the rule every run;--surface <file>checks one file. -
🧪 Quiz questions test published rules (#1421, M4; proof
tools/validation/quiz-rules-selftest.mjs):tools/rules/quiz-map.jsonlinks each orientation-quiz question id to the opening words of the published rule it tests (website/content/rules.json), and the check fails one line per quiz id with no entry, a snippet that is not a published rule or matches two, and a map entry for a removed question. The quiz stays a separately written subset of the published rules andtools\cli rules exportnever reads quiz keys or the map. Thesafezoneid is a misnomer kept for save and string-key stability: its question and explanation are the "keep disputes out of the streets" rule, which is published, so no safe-zone rule was added. No save change. -
🟡 (2026-11-15, #1418, M4 slice X4) Day-cycle owner page
docs/owner/day-cycle.md: the threedayCyclemodes (vanilla,accelerated,realtime) each with a copy-pasteconfig.jsonblock, the field table, the flagship's 2-hour day (12x) as the worked example, and the restart behaviour marked (planned) until #1302. Linked fromdocs/owner/install.md. Docs only. -
🟡 (2026-11-15, #1446, M4 slice)
LF_OnPlayerSpawnedEvent(player id, account uid,firstThisSession) is published onLF_EventBuson every player spawn, from amodded class LF_GameModeRoleplayinFeature/Session/LF_SessionHooks.cthat chainssuper.OnPlayerSpawned;LF_Sessionkeeps the set of uids seen since the world started (cleared byLF_StaticReset). An empty uid (identity not resolved) always counts as first and logs a Warn. Server only, nothing replicates. Testsession/spawn-event(LF_Test_SessionSpawnEvent). -
🧪 (2026-11-15, #1453, M4 slice SAY)
host say: the operator speaks to the town without joining.toolscli host say "<text>"writes$profile:LifeFramework/host_say.txt(newlines folded to one line, an empty message refused).LF_HostSay(Feature/Ops/, started from amodded class LF_GameModeRoleplay, server only) polls it every 10 s, toasts every player once throughLF_NotificationManagerComponent.NotifyAll(stringsLF-HostSay_Title/LF-HostSay_Message), logs[LFDebug:Ops] host say: ...and deletes the file. An empty file sends nothing, warns and is deleted; text past 200 characters is cut; a file left from before the boot is dropped. Testops/host-say(LF_Test_HostSay); prooftools/validation/host-say-selftest.mjs. -
🟡 Server perf line (#1452, M4 Ops): a server logs
[LFDebug:Perf] players=N fps=F frameMs=M entities=Eonce every 60 s so a 40-player session can be judged from the log afterwards;tools\cli host perf(#1406) samples the process from outside, this line is the game's own view.LF_ServerPerfLog(Feature/Ops/) self-starts from amodded class LF_GameModeRoleplayon the server, polls every 5 s and logs whenLF_ServerPerfLogGatehas been fed 60 s (once after a long stall, never per frame). frameMs is one decimal; entities is the world entity count. Testops/server-perf-log(LF_Test_ServerPerfLog). -
🟡 Host logs archive (#1456, M4):
tools\cli host logs archive [--keep N] [--dry-run]moves each finished session's engine log folder from<host>/profile/logs/logs_<stamp>/to<host>/logs/<stamp>/and keeps the newest 30 archived sessions (the rest go throughsafeRemoveTree). The session still being written is never touched: the newest folder stays while the host runs or a file in it changed in the last 2 minutes. A folder that cannot be moved stays in the profile and the command exits 1.host logs list [--json]prints each archived session with its size and thehost triageline, group and new-group counts. Proof:tools/validation/host-logs-selftest.mjs(three log folders, one live; retention of 35 down to 30). Not run automatically yet. -
✅ (2026-11-15, #1450 prerequisites,
harness-staff-approve) Harness staff approve: a session can run the police application's staff path.session up --admin-client N[,N]makes those clients administrators (a-serverboot has noserver.json,-configis fatal with-addons, so there is nogame.admins, and the engine refuses a script grant ofADMINISTRATOR; the session seeds$profile:LifeFramework/harness-admins.txtwith their session identities,LF_HarnessStaff.GrantAdminIfListedgives themSESSION_ADMINISTRATORon connect and on spawn, andAdminChatChannel.IsAdminPlayercounts that role in aLF_HARNESSbuild only). Harness verbstaffapprove <uid>(harness.mjs staffapprove,session.mjs staff-approve <client|uid> [--client N]) approves that account's open application throughLF_PoliceApplicationStaff.ApproveByUid, with the sender's own account and engine admin role as the caller, so a non-administrator is refused (#LF-PoliceApp_NotAdmin).up --no-instant-approvalruns the gated form path on the playtest mission (which approves on submit),up --skip-playtime-gatemakes the form check no minimum playtime for a fresh account (seededharness-flags.txt); all three flags need--mission playtestand are read only in aLF_HARNESSbuild, som_bLF_InstantPoliceApprovalandapplyMinPlaytimeHourskeep their gameplay values everywhere else. Harness verbchat [admin|global|local|ooc] <text>(LF_HarnessChat) sends one chat line as a client through the real path, so!handled,!waddand!prejectreach the server's Admin channel with a real sender. A freshupremoves the harness seed files an earlier session left. The threeupflags need a harness build, so a proof that uses them runs on--mission playtest, not the bare DebugWorld. Testharness/staff-approve;session.mjs selftest,harness.mjs selftest; proofsession.mjs staff-approve-proof. Merged, in-dev. -
🟡 Config drift check (#1462):
tools\cli host drift [--flagship <dir>]diffs the host profile'sconfig.json(profile/profile/LifeFramework/) andserver.json(profile/) againstserver/flagship/, field by field, and prints each changed field with the repo and host values;game.password,game.passwordAdmin,game.adminsand thestaffsection are host-only and neither compared nor printed. A missing or non-JSON host file is drift. Exit 1 on drift. Read-only;host config apply(#1322) writes the files. Proof:tools/validation/host-drift-selftest.mjs. -
🟡 Host backups copy offsite (#1455, M4):
tools\cli host offsite <dir> [--keep N] [--dry-run]copies everybackups/<stamp>-<reason>folder the second folder (another drive or a NAS share) lacks, verifies each copy by file list, size and sha256, and replaces a damaged or partial copy. The target follows the host rotation (newest N plain start/stop backups, default 20; tagged backups always kept). The source is never written to. Proof:tools/validation/host-offsite-selftest.mjs(two fixture folders: 3 copied, 0 on the second run, a corrupted copy replaced). Not run automatically yet. -
✅ Staff roster edits (#1466, M4 slice).
tools\cli staff add <uid> <level> --name "<display>",staff remove <uid>andstaff promote <name-of-pending> <uid>editserver/flagship/staff.txtin place so the maintainer never hand-edits it: comments, blank lines, order and line endings stay;addappends,promoterewrites the#pending <level> <name>line where it stands,removedrops that uid's line. A duplicate uid (case-insensitive), a malformed uid or level, a multi-line name, an unknown or ambiguous pending name or a uid not on the roster is refused with the file untouched, andstaff roster checkruns after every write.--file <staff.txt>targets another roster. Proof:tools/validation/staff-roster-selftest.mjs. No roster entry in the repo changes. -
🟡 (2026-11-15, #1457, M4 slice CRASHPACK) Crash pack:
tools\cli host crashpack [--session <stamp>] [--out <dir>] [--lines N]zips the newest (or named)backups/<stamp>-crashfolder for a GitHub issue: the crash dump byte for byte, the console log tail, the build stamp, the mod list, and the host'sserver.jsonandconfig.jsonwith every password, secret, token and Discord webhook URL replaced by<redacted>and nothing else changed (the log tail and issue draft are scrubbed of the same values), plusissue-body.md. It prints thegh issue createline and never runs it; a dump is raw memory and is not redacted. Proof:tools/validation/host-crashpack-selftest.mjs(fails on any leaked fixture secret). -
🟡 Host box check (#1496, M4):
tools\cli host boxcheck [--ssh <pool machine>] [--server-path <dir>]reads cores, clock, RAM, free disk and the Arma Reforger Server install of this machine, or of a pool machine over ssh (read only, 45 s bound; a pool machine that is this PC is read directly), compares them with the 40-player spec indocs/ops/rented-box.mdstep 2 (4 or more cores, 16 GB RAM, 60 GB free, server installed), prints one line per item and a PASS or FAIL verdict, and exits 1 on a miss. The clock is reported and never judged: the page gives no figure. Proof:tools/validation/host-boxcheck-selftest.mjs(injected facts: pass, short RAM, missing install, unreadable machine, remote parse, spec numbers match the page). -
🟡 Host errors (#1500, M4, parent #1006):
tools\cli host errors [--for <min>]follows the newest server console.log (reads from its start, switches to a newer log after a host restart) and prints only[LFDebug:*]errors,SCRIPT (E)and VME lines, once each and only when the line is complete, markedKNOWN [verdict]orNEWagainstdocs/debug-log-triage.mdwith the matcherhost triageuses. Ends after--forminutes (default 60) with oneSUMMARY host-errorsline. Proof:tools/validation/host-errors-selftest.mjs. -
🟡 Host history (#1409, M4, parent #1006):
toolscli host history [--json]prints one row per past session (start, end, minutes, how it ended, crashes, the backups taken, the wipe if any, peak players) rebuilt from what the host already wrote: thebackups/<stamp>-<reason>folders (astartopens a session, astoporcrashcloses it, astartwhile one is open means a scheduled restart closed it),backups/wipes.log(a wipe belongs to the session that ended before it) andperf/perf-*.csv(peak of theplayerscolumn inside the session,-when none was recorded). It writes nothing. Proof:tools/validation/host-history-selftest.mjs(three sessions, one crash, one wipe). -
🧪 (2026-11-15, #1265) Restart warning toast (
Feature/Ops/LF_RestartToast.c): a server subscriber toLF_OnRestartWarningshows every player the toast "The server restarts in N minute(s)." (LF-Ops_RestartTitle,LF-Ops_RestartToast, minutes as%1) throughLF_NotificationManagerComponent.NotifyAll, and logs[LFDebug:Ops] restart toast: told every player .... A repeat of the same lead in the same clock minute sends nothing, so a re-fired ticker step does not stack toasts; the next lead, or the same lead a minute later, toasts again.LF_RestartToast.Subscribe()is the one start call; the restart warner calls it beside the ticker (O6T). Testops/restart-toast. -
🧪 (2026-11-15, #1348, M4 slice O6T) Restart ticker.
LF_RestartWarner.StartIfConfigured()(server, from the game mode) readsrestartsand, when times are set, subscribes the toast (LF_RestartToast.Subscribe()) and the close (LF_RestartClose.Register()), then ticks once a second on the call queue. Each tick readsLF_RestartScheduleand publishesLF_OnRestartWarningwhen the clock crosses a lead andLF_OnRestartDueat the restart time, each once per restart, logging[LFDebug:Ops]. A tick that skips the restart second still publishes the due event (up to 60 s late); a lead already past at boot is not announced late. No times: one line, no ticker. TestLF_Test_RestartWarnerFires(ops/restart-warner-fires, injected clock, the flagship 06:00/18:00 schedule with leads 15, 5, 1). -
🧪 Proof verb
quiz-rejoin-proof(#1490, M4, chapter #1006 beat B4;node agent-box/session.mjs quiz-rejoin-proofonup --pack LF_Everon1989 --mission playtest --clients 1, ornode agent-box/proofs/quiz-rejoin-proof.mjs --selftestfor the judge alone). Client 1 holds a receipt; client 2 joins late on a fresh profile, sees the quiz before the form, passes, registers, spawns and reads client 1 inpeers; it rejoins and the server log must showspawning player <new id>with noquiz sent to playerand no form. Passed on lf-cloud 2026-11-15. The quiz questions come from the flagship mission header, so a bare DebugWorld or playtest session has no quiz. Gap: no harness verb reads a peer's hand item, so the receipt is checked on client 1 only; a live run cannot clear the stored quiz pass, so the red run is the selftest on a log where the rejoin is sent the quiz again ("no second quiz"). -
✅ Past session on the site (#1514, M4 slice). The next-session panel on
/serversand/alpha(website/src/components/NextSession.tsx) drops a session whose time has passed: it says "No session announced yet: watch Discord" and shows no old time, also in a tab left open past the start and on a page built before it. A future session shows the time in the visitor's own zone with the server time (UTC) beneath it; the prerendered page shows UTC until the browser fills in the local zone.website/scripts/check-routes.mjschecks both pages against the builtcontent/sessions.json: a future session must show its<time>, a past or empty one must show the "No session announced yet" line and no<time>. -
🟡 Host autostart (#1504, M4):
toolscli host autostart install|remove|status [--dry-run]registers a Windows scheduled task ("LifeFramework Host Autostart", at logon of this user, 30 s delay, no elevation) that runshost watch --flagshiphidden on the LF-Agents desktop (tools/lib/quiet-launch), so the PC host returns after a reboot, not only after a crash. A second install is a no-op; installing from a moved checkout replaces the task;removedeletes it;statussays whether it is registered, as whom, and when it last ran (exit 1 when not registered). Refuses install/remove in the main checkout. Everyschtaskscall has a 30 s timeout. Logic intools/host/autostart.mjs; prooftools/validation/host-autostart-selftest.mjs(injected schtasks runner, never a real task). Manual: from a worktreehost autostart install, sign out and in;host statusshows the host up;host autostart removeafterwards. -
🔧 (2026-11-15, #1283, M4 slice SW2) The staff webhook now posts:
LF_StaffWebhook.Send(text)sends{"content":"<text>"}(quotes, backslashes, newlines escaped; cut at 1900 characters) with one fire-and-forget HTTP POST tostaff.webhookUrl(the host's own secrets/config, never committed or logged). Server only. No URL, a URL that is not http(s), a client call, or a failed request logs one[LFDebug:Moderation]Error and the game carries on; the URL is never in a log line. The capture seam still takes the line instead of posting. Test:moderation/webhook-payload(LOGIC). Manual: setstaff.webhookUrlin the host's config, trigger a staff relay, the line shows up in the channel; with it empty the console shows one Error and nothing else. Merged, in-dev. -
🟡 Host box mode (#1642, M4): a rented box is a plain
git clone, which is a main checkout, sohost start|watch|autostartrefused there.toolscli host box on|off|status|checkwrites or removes the git-ignored.lf-host-boxmarker (LF_HOST_BOX=1does the same for one shell); while on, the main-checkout refusal is lifted for the host commands only (tools/lib/host-box.mjs). The marker, not the env, is whathost autostartrelies on because a scheduled task carries no environment.host startchecks the clone first and prints oneFAIL host start:line naming each missing piece (addons/, the server atENFUSION_SERVER_PATH);tools/lib/addons.mjsno longer throws at import whenaddons/is absent.docs/ops/rented-box.mdstep 4 lists what the box clone needs. Proof:host-box-selftestruns the real CLI in a throwaway main checkout. Tools and docs only, not run on a rented box yet. -
🟡 Public flagship host (#1520 follow-up):
tools\cli host start --publicboots the backend-listed dedicated server from the host profile'sserver.json(-config <profile>\server.json -profile <profile> -addonsDir <host>\workshop; no-noBackend, no-addons, no-server), so it is in the Server Browser and checks the join password; the scenario and the two Workshop items come fromgame.scenarioIdandgame.mods. It refuses before launching whengame.modsholds a placeholder or IDs not confirmed withhost config apply --mods <core>,<pack>(recorded in<host>/workshop.json, must equalserver/flagship/server.json),game.passwordis empty,game.scenarioIdis notLF_Everon1989.conf,game.visibleis false, orhost driftfinds drift; an emptygame.adminswarns.host config apply --admins-pendingwrites the profile while the maintainer is still#pendinginstaff.txt(his real uid only shows on a backend boot);host attendanceprints each player's id.host watch --publicandhost autostart install --publickeep the mode.--flagshipalone stays the-noBackendlocal host. Logictools/host/public.mjs; prooftools/validation/host-public-selftest.mjs(no live run: the items are not published). Guide:docs/owner/host-the-flagship.md. -
🟡 Flagship on 0grind:
toolscli host remote 0grind status|start|stop|restart|config show|config push|logs pull|saves pull|rcon <cmd>drives the rented 0grind server (service 298627, 144.76.90.77) through 0grind's API (Authorization: Bearerwith the Account > API Access token, from an allowed IPv4). It keeps to 1 request per second, every call has a timeout, and the token and passwords are never printed.start,stop,restart,config pushand any RCON command but#playersneed--yes.config pushbuilds server.json with thehost config applylogic (secrets.json, roster admins) and maps it ontoserver_settingsand/ServerConfig.json, keeping 0grind's ports, addresses, RCON block and slot count. It also uploads the owner config.json and staff.txt to$profile:LifeFramework/, and is a masked diff unless--yes.logs pulllands the newest console.log wherehost triage|summary|attendanceread it;saves pullcopies/profile/.savetobackups/<stamp>-remote/with size checks;statuswarns about save-wiping or save-skipping System settings. Logictools/host/remote-0grind.mjs; prooftools/validation/host-0grind-selftest.mjs(a fake API). Not run live yet: the API returns 401 until the IP is allowed. Guide:docs/owner/host-the-flagship.md"0grind". -
🟡
toolscli host open --confirm <host dir name> [--dry-run](#1512, the opening step of #555): refuses unlesshost gateis open (it names the failing lines), then clearsgame.passwordin the host'ssecrets.jsonand nothing else, re-applies the config (host config apply:server.jsongets the empty password, the other secrets and the roster stay) and prints a draft opening announcement (the password is gone, progress is kept; nothing is posted). A wrong--confirm, a running host, a host dir inside the repo or a refused apply leavessecrets.jsonas it was;--dry-runprints the steps and writes nothing. The join password is enforced by Bohemia's backend (#1520), so a backend-registered server takes the change after a restart. Maintainer-only: agents run only--dry-runon a scratch host. Logictools/host/open.mjs; prooftools/validation/host-open-selftest.mjs. -
🟡 Scheduled 0grind saves pull (#1725):
toolscli host remote 0grind saves pull --schedule [--every H] [--keep N]registers a Windows scheduled task on this PC that runs the pull every H hours (default 6, 1 to 23) hidden, so the off-site copy no longer depends on someone remembering;--unscheduleremoves it,--schedule-statussays whether it is scheduled, the interval and when it last ran,--dry-runprints the schtask without running it, and it refuses in the main checkout. Each scheduled pull then prunes the plain-remotepulls beyond the newest N (default 20); a tagged pull (<stamp>-remote-<tag>), a.partialfolder and every local backup are never touched.saves pull --prune [--keep N]does the same prune by hand. Logictools/host/remote-schedule.mjs; prooftools/validation/host-remote-schedule-selftest.mjs(an injected schtasks runner and a stub pull, never the live API). -
🔧 (2026-11-15, #1289)
LF_PoliceApplicationRelay.Filefiles a police application throughLF_PoliceApplications.SubmitGatedand, when it is filed, sends one staff-channel line throughLF_StaffWebhook.Send: the last 4 characters of the account id, the playtime and the UTC time. Never the full uid, the name or the answers; a refused application sends nothing. The form's server handler (LF_PoliceApplicationForm, outside this slice's files) still callsSubmitGateddirectly; switching it toFileis the follow-up. Testpolice/application-relay(LOGIC). Merged, in-dev. -
🔧 (2026-11-15, #1575) The desk's application RPC (
RpcAsk_LF_PoliceApplicationinLF_PoliceApplicationForm.c) now files throughLF_PoliceApplicationRelay.Filein both branches (playtest mission: gates 0/0/0; otherwise the playtime and cooldown gates), so a real filing sends the #1289 staff line (a[LFDebug:Moderation]log line until theLF_StaffWebhookHTTP transport lands) and a refused one sends nothing.validate-police-form-relayfails if the form callsSubmit/SubmitGateddirectly again. Testpolice/application-desk-relay(LOGIC). Merged, in-dev. -
🧪 Proof verb
wipe-restore-proof(#1562, M4, chapter #1006;tools\cli session wipe-restore-proof [--drop-backup]onup --mission playtest --clients 1, ornode agent-box/proofs/wipe-restore-proof.mjs --selftestfor the judge alone). #556's wipe dry run with no person: client 1 registers one account, the session server stops through its host stop file (SHUTDOWN save) and the session closes; its saves are copied into a scratch host undertmp/(never a real host) where the realhost wiperuns with the wipe notice aged 25 h in a scratch sessions.json (the b9-wipe.mjs ageing, #1527/#1549), thenhost startboots clean (noapplied N account record(s)),host restoreof the wipe backup and one morehost startbrings the account back.--drop-backupdeletes the wipe backup before the restore and fails at "account back". Ends the session. Merged, in-dev. -
🧪 Restore round trip (#1561, M4, #306).
tools\cli session restore-roundtrip-proof(session proof,up --mission playtest, one client) is #306's restart acceptance run by an agent: the client registers and reads its bank and cash, a firstsession restartwrites the save, the backup is copied the wayhost backupcopies (into a scratch host folder undertmp/, never a real host), the client withdraws 100 at the bank teller, and the secondsession restarthas the backup put back (the replaced save is kept beside it, ashost restorekeeps it) between the old server's exit and the new boot. The rejoined client must read the backup's bank and cash.--skip-restoreleaves the restore out and the proof must fail at "old balance back". Proof: red run--skip-restorefailed (bank=999900, backup held1000000), green run read the old balance. Merged, in-dev: the restore runs on a session profile;host restoreitself still targets only a host folder's layout.
LF_QuizHarness — Feature/AgentHarness/LF_QuizHarness.c (#1567, M4)
- 🟡 Harness verb
quizclear(server, behind the harness gate) forgets the sending client's own account's rules-quiz pass in memory and in the progression store (LF_Quiz.Reset), so a session proof can make a rejoin see the quiz again (the gap #1542 named). It refuses witherror harness_onlyin any build without-scrDefine LF_HARNESS, so no real server runs it, an administrator included. Test:harness/quiz-clear(LOGIC). Merged, in-dev: the logic ran in the suite; the verb has not been driven on a live session yet. Manual: none for a player (harness only); from a worktreesession up --pack LF_Everon1989 --mission playtest --clients 1, pass the quiz,harness.mjs --client 1 quizclearrepliesquiz pass cleared for <uid> had=1,session rejoin 1is sent the quiz again. - 🟡 Join password rotation (#1415):
tools\cli host password rotate [<host dir>]writes a new readable password (three words and two digits) to the host'ssecrets.jsongame.password, keeps the other secrets, re-appliesserver.jsonthroughhost config applyand prints the invite line for the testers (wording:docs/community/alpha.md, #1291);host password showprints the current one. It refuses while the host runs, for a host dir inside the repo, and when apply refuses (thensecrets.jsonis restored); the password never goes into a repo file. The join password is only enforced by Bohemia's backend (#1520), so on a backend-registered server a change takes effect after a restart. Logic intools/host/password.mjs; prooftools/validation/host-password-selftest.mjs(fixture host dirs only). Manual: from a worktree stop the host,host password rotate, start it, join with the printed password. - 🟡 Host restart backup (#1560, refs #306, M4): when
host watchsees a scheduled close (the$profile:lf-host-restartmarker or the mod'srestart dueline, not a crash and not a stop),watchLoopcalls itsonRestartseam andrecordRestart(tools/host/watchdog.mjs) copies the closing save tobackups/<time>-restart/before the host starts again; no save yet is a no-op, a failed copy is logged and the start goes on. Ahost stopexit takes none; a crash keeps its-crashbackup and takes no restart one.host watchwires it (tools/host/commands/watch.mjs passesonRestart: () => recordRestart(dir)), so a scheduled close takes its-restartbackup beforehost startruns (which still takes its ownstartbackup). Therestarttag is plain like start and stop:host pruneand the crash rotation delete the oldest beyond N (default 20), so the 06:00 and 18:00 restarts do not grow without limit; crash, wipe, preflight, manual and replaced-by-restore backups are never pruned. Rotation still runs only on a crash and onhost prune, not on a restart. Proof:tools/validation/host-restart-backup-selftest.mjs(includinghost watchmain() on a scheduled close) andtools/validation/host-rotate-selftest.mjs. - 🔧 (2026-11-15, #1349) server-doctor library wiring:
diagnoseTarget(<profile-folder|console.log>)adds the effective-config section fromtools/lib/server-doctor-config.mjs(a bad or unreadable config field turns the verdict to FAIL at stageconfig; an unknown key is listed and ignored) and marks each script-error line[known]or[new]through the sharedtools/lib/log-triage.mjsmatcher, which replaced the doctor's own triage parser. Thetools\cli server-doctorcommand still callsdiagnosewithout a profile; the one-line switch todiagnoseTargetis a follow-up. Proven bytools/validation/server-doctor-wire-selftest.mjs. - 🟡 Alpha page wipe notice (#1616, M4, chapter #1006;
website/src/pages/Alpha.tsx). When the next row ofwebsite/content/sessions.jsonhaswipe: true, anannouncedtime and a start time still in the future,/alphashows "The world is wiped before the session on " above the next-session panel, with the 24-hour notice and a link to the wipe policy. No row, a row withoutwipe, a draft with noannounced, or a past time shows nothing. Built twice with a fixture row (notice present) and the committed file (absent),check-linksgreen. Merged, in-dev. - 🧪 Opening-day beat script B6
tools/playtest/opening/b6-day.mjs(#1602, M4, chapter #1006;node tools/playtest/opening/b6-day.mjs --host <scratch dir>, found by theopeningglob). The desk half of the 2-hour day:day-configPASSes when the flagship config'sdayCycleis accelerated with a 120-minute day;perf-samplesPASSes when the newest<host>/perf/perf-*.csvfromhost perfhas sample rows with CPU, memory and upload numbers (an empty or missing CSV FAILs);clock-rateandlate-joinprint BLOCKED by #1301 and #1303 until theday-rateproof verb is on main, then PASS naming it for the game session. Read only. Proof:tools/validation/opening-b6-selftest.mjs. Merged, in-dev. - 🧪 Opening gate check (#1410, M4, chapter #1006):
tools\cli host gate [--target N] [--sessions N] [--roster f] [--issues-file f] [--json]prints the #555 gate ofdocs/community/opening-gate.mdas four PASS/FAIL lines and oneSUMMARY host-gate open|closedline; exit 0 only when all pass. Sessions: the latest 3 finished sessions inhost historyeach peaked at 40+ players (a session still running is skipped, one with no player count breaks the run). Save: the lasthost drillresult passed and noreplaced-by-restorebackup is stamped after the first session starts. Regression:gh issue list --label regression --state openis empty (a failedghfails the line). Staff:server/flagship/staff.txthas an administrator with a uid and none still#pending(the roster stays closed until the maintainer fills it in). Read only; removing the alpha password stays the maintainer's step. Proof:tools/validation/host-gate-selftest.mjs. Merged, in-dev. - ✅ Link preview of the servers page (#1615, M4 slice). The
og:descriptionof/servers, the text Discord shows when the link is posted, starts with "Next session: ." fromwebsite/content/sessions.json, or "No session announced." when there is none, it is a draft (noannounced), or its time has passed at build time (the rule of #1514). Next session time only: no player count, no status (decision 2026-11-14).serversOgDescriptioninwebsite/src/pages/Servers.tsxbuilds it andentry-server.tsxwrites it; the plain<meta name="description">stays static. A built page is as old as the build, so a deploy afterhost announce --sendis what updates the preview.website/scripts/check-links.mjschecks the built page. The share imagepublic/og/servers.jpgis unchanged. - 🧪 Discord rules block committed (#1613, M4; proof
tools/validation/validate-run-your-own.mjs).tools\cli rules exportalso writesdocs/community/discord-rules.md, the block the maintainer pins (title, intro, numbered rules, closing note, then the run-your-own install-guide line; 729 characters, one message). It is written on a default run only, sovalidate-rules-sync's--mdrun never touches the tree.validate-run-your-ownnow reports 7 linked, 0 pending, closing #320 "every flagship surface" and #312's Discord half; the B3 beat reads the committed file first. No save change. - 🟡 Host next (#1416, M4, parent #1006):
tools\cli host nextprints the next scheduled restart (from the profile'sconfig.jsonrestartssection, elseserver/flagship/config.json) in local time with its warning times, each markedpassedorahead, and the next announced session fromwebsite/content/sessions.json(build, wipe flag, announced time). The restart rule mirrorsLF_RestartSchedule(#1264): HH:MM times, bad times skipped, a restart exactly on the clock is that restart, leads 1 to 120 defaulting to 15, 5, 1; norestartsprints "no scheduled restarts". Only a posted session counts (one withannounced); a draft, a past session or a nullnextprints "no announced session". Read only. Proof:tools/validation/host-next-selftest.mjs(05:50 gives 06:00 today, 19:00 gives 06:00 tomorrow, no restarts, draft vs posted). No save change. - 🧪 Day-rate proof (#1303, M4 slice X4).
session.mjs day-rate(agent-box/proofs/day-rate.mjs;--minutes Nexpected day length, default 120,--seconds Nwindow, default 60) reads one client's in-game clock about every 3 s through the newclock=<hour>/<day seconds>token on the harnessseenreply (LF_AgentHarness_Seen.c, read-only) and passes when the least-squares slope of game hours per real second is within 5% of the configured day length. A slope, not two reads: a client's replicated copy of the clock lags in steps, and two reads a minute apart came out 7% slow against a server that measured 11.98x. Seed the session withday-rate --write-config accelerated|vanilla <dir>thensession up --clients 1 --seed <dir>/config.json. Run 2026-11-15 on lf-cloud: the 120-minute day measured 12.01x (PASS); the same session seededvanillameasured 1.00x (FAIL, the red proof).day-rate --selftestjudges made-up series with no game. Merged, in-dev. - 🧪 Proof verb
clock-late-proof(#1564, M4 slice).tools\cli session clock-late-proof(session up --clients 1 --seed <dir>/config.json, the file fromclock-late-proof --write-config <dir>) boots the flagship's 120-minute day, lets client 1 play 3 real minutes alone, joins client 2 late and reads both clients' own clocks through theseenverb'sclock=token (#1303): they must agree within one in-game minute (client 1 interpolated to the instant client 2 was read), and client 2's clock must then run at the 12x rate over the next minute within 10%.--local-defaulttakes client 2's reading from the world's start hour instead of the replicated time and must fail at "same time". It needs theclock=token, so it waits on #1303. - 🟡 Flagship listing name check (#1679, M4 slice).
tools\cli validaterunstools/validation/validate-flagship-name.mjs: any string indocs/,website/src,website/content/*.jsonorserver/flagship/that ends "Alpha" or follows "server browser" and names the flagship's listing must equalgame.nameinserver/flagship/server.json, "Life Framework | Everon 1989 (Alpha)" (a colon for the bar, no "(Alpha)" or other spacing fails withpath:line; a name wrapped over two lines counts as one). The Workshop and pack title "Life Framework: Everon 1989" is a different name and is not matched. Fixturesfixtures/flagship-name/near-miss.md(fails) andexact.md(passes) run every time; the repo passes today (41 mentions). Merged, in-dev. - 🧪 Proof verb
day-realtime-proof(#1565, M4 slice).tools\cli session day-realtime-proof(session up --clients 1 --seed <dir>/config.json, the file fromday-realtime-proof --write-config realtime <dir>) boots the ownerdayCycle.mode = "realtime"and reads the client's own clock through theseenverb'sclock=token (#1303) every 3 s for--seconds(default 60). It must equal the host machine's local time of day within one in-game minute ("matches the host clock";--offset Nfor a seededclockOffsetMinutes) and the slope over the reads must be 1x within 10% ("advances at 1x"). Red:--write-config accelerated <dir>seeds a 120-minute day that starts 6 h from the host's time of day and the proof fails at "matches the host clock".--selftestruns both judges on made-up numbers. The flagship stays on the 2 h day; this proves the owner option only. - 🟡 Site shows the next session and nothing live (#1680, M4 slice).
tools\cli validaterunstools/validation/validate-site-next-session.mjsonwebsite/src/pages/Servers.tsx,Alpha.tsxandJoin.tsx(the 2026-11-14 decision): after comments and string contents are stripped, a page fails withpath:linefor a network call (fetch(,XMLHttpRequest,WebSocket,EventSource,sendBeacon,axios), a live-data hook (useServerStatus,useLive...), ana2sidentifier, a status or players URL, or a player count (.players,players:,{players},playerCount,playersOnline...). Prose such as "A2S" in JSX text or "no player count" in a comment is fine, andlib/serverbundle.tsis not read. Fixturesfixtures/site-next-session/fetch-status.tsxandlive-players.tsxfail,clean.tsxpasses, every run; the three real pages pass today. Merged, in-dev.
LF_TownBoard — Feature/TownBoard/LF_TownBoard.c (2026-11-15)
- 🟡 Town board (maintainer feedback, 2026-11-16). The spawn square's town board (
Sign_TownMap) is a cork board on two posts (LF_TownBoard.et) instead of the painted sign with a six-section wall of text. The cork shows the board's header and eight pinned cards (work, shops, bank, police recruitment, hospital, car lot, organizations, rules), each with a red category, a title, one line and where it is from the board ("Post office, 30 m north-east"), drawn on the client in the wanted board's render target. Each card has its ownRead: <title>prompt, which opens one UI kit sheet (title, category, WHERE, the detail, Set waypoint, Close). Set waypoint shows a screen marker over the place with its distance until the player is within 8 m; there is no teleport. Cards are pack data (LF_TownBoard_Everon1989.confoverlay,LF-TownCard_*pack strings); a card finds its place throughLF_Places(every sign claims kindSignby its id). Reading a card still counts as reading the board for the arrival quest. Tests:townboard/cards(LOGIC),townboard/board-world(WORLD); session prooftown-board-proof(up --profile full --mission playtest). The harnessusenow takesClass__Nfor local-effect actions on the client too. Draft PR, held for the maintainer's review. - 🧪 (2026-11-16, #1715) Clerk dialogue reply focus: a MenuUp or MenuDown held across ticks (the harness holds a key 300 ms) stepped the focus once per tick, so Down then Up could end on Goodbye.
LF_DialogueScene.ReadStepsteps once per press. Testdialogue/focus-step. Merged, in-dev. - 🧪 (2026-11-16, #1741) A vehicles override
{"op":"remove"}(keyed by the lot prefab or locked child GUID) now takes the car off the lot:LF_VehiclePricesConfigrecords the removed GUIDs,LF_VehicleOffer.IsOfferedInis false for them, andLF_VehicleLotComponent.GetOfferCount/GetOfferAt/FindOfferskip them, so the sheet lists and the server sells only what remains (before, the unpriced offer fell back to its own lot price). A client's price board still shows the lot's own price for a removed car (the removed set is not streamed). Testconfig/vehicle-remove-by-base-guid. - 🟡 Police roster notice (#1447, M4 slice).
LF_PoliceRosterNotice(Feature/Police/) listens toLF_OnPlayerSpawnedEventon the server. At a player's first spawn of the session, an application approved while they were away toasts#LF-PoliceRoster_Approved("You are on the {Police} roster: go on duty at the station locker."), and a trial that ran out unpromoted toasts#LF-PoliceRoster_Expired; a respawn, a civilian, an open or rejected application hear nothing. Each roster row is told once: told rows are kept in$profile:LifeFramework/police_roster_told.txt(STATUS|uid|applicationTime), so a restart or a promoted officer is not told again. Reads the rows throughLF_PoliceApplications.FindRosterRow(amodded classin the same file; the applications file format is unchanged). Testpolice/roster-notice; logs[LFDebug:Police]. Merged, in-dev. - 🧪 (2026-11-16, #1448) Join notice: the owner section
joinNotice(enabled,key; off by default in the core) shows one toast at each account uid's first spawn of the session, fromLF_OnPlayerSpawnedEvent.keyis a localization key with or without#; the pack shipsLF_Everon1989_AlphaNotice("Alpha: progress can be wiped, with 24 hours' notice on Discord"). Enabled with an empty key logs oneLF_Debug.Warnfor the session and shows nothing.server/flagship/config.jsondoes not turn it on yet (JNCFG). Testrules/join-notice. Merged, in-dev. - 🧪 (2026-11-16) Hold Tuner (World Editor plugin) and the cash sack hold.
Scripts/WorkbenchGame/LFTools/LF_HoldTunerPlugin.c(Workbench-only): Plugins > Life Framework > Hold Tuner (Ctrl+Shift+H) previews a carried item held by a character, placed where the hold pose puts the hand (measuredLeftHandPropper anim set). The LF Hold Tuner toolbar tool nudgesHandAdditiveTranslationandHandAdditiveRotationlive (buttons, number pad, or Read from gizmo), and Save to prefab writes both into the item prefab as one undo step (SaveEntityTemplate).LF_MoneyBagnow borrows the vanilla jerrycan set instead ofplayer_carry, which left the prop bone a metre from the hand: the sack hangs by its neck in the left hand at the side (0.03 0.12 0.05,0 90 0, measured withheldxfon lf-cloud). Its name is now "Cash sack" (it said "Cash case"), and its inventory preview is an angled view (-20 30 0, 0.8 m) instead of a top-down blob. Guide:docs/tooling/hold-tuner.md. Merged, in-dev.
Composition placement (#1940, 2026-11-16)
- 🧪 A set of props places as one (
Feature/Placement/LF_PlacementComposition.c, the police roadblock's cones and barriers come in #647):LF_PlacementCompositions.Planprobes every piece like a single placement (the verdict is the first piece not VALID, so one piece on a kerb makes the setTOO_STEEP),LF_PlacementCompositionGhostis one client-local ghost made of every piece,Confirm(server: who,LF_RateLimitSPAWN, malformed proposal, reach, then Plan again) spawns every piece on the ground or none, andPickUpremoves the whole set. A set is a piece list built in script or read from a composition prefab's child props.LF_PlacementServiceis untouched. No item uses it yet. Testplacement/composition(WORLD).Feature/Placement/Feature.md.
Town pipeline: town fit (#2205, 2026-11-16)
- 🧪
tools\cli town fit <place> <slot>(tools/town/fit.mjs) applies the slot's kit into the building the approved mapping names: the building's centre, floor and entrance come from the scout dossier, the kit (town kit apply) is turned so its front faces the entrance, andMainWorld_Layers/Place_<place>_<slot>.layer(pack addon) gets oneLF_PlaceComponentmarker per kind the template promises (id<place>.<slot>) plus one entity per kit row, with the row's own component overrides. A free-plot slot (D9) also writes the purpose-built building with its destruction off (--building-prefab). The claimtools/town/claims/<place>-<slot>.jsonis refused whenorigin/main, an open PR (the #2021 read) or a sibling worktree holds the slot or its building. No coordinate flag exists; only aws/town-draft-<place>-<slot>worktree writes (--dryanywhere). Open: a vanilla terrain building's indestructible override (D15) cannot live in a layer, so its claim saysdestruction.mode: needs-hook. Check:validate town-fit-selftest.
Town pipeline: reachability proof and town ready (#2207, 2026-11-17)
- 🧪 The harness verb
townreach <from> <to> [ratio](Feature/AgentHarness/LF_TownReachHarness.c) walks one vanilla civilian on the world's soldier navmesh (GM_Eden.nmnon the island). The navmesh streams in by tile, so the verb requests both tiles and polls for them (up to 12 s) before it snaps each end to the navmesh. It answersok reach path found: ...when the walker closes the distance within the ratio (default 3) of walked to closed metres inside 12 s, orerror noreach ...when an end is off the navmesh (outside the world bounds, a tile that never loads, or a loaded tile with no mesh under the point), the walker does not move, or it detours past the ratio. The AI does not hold a readable path after the first moments (GetCurrentPathcame back empty on a walker making steady progress), so the verdict comes from the walk. A point iskind:id(anLF_Placesentry) orx,y,z(a probe point; the verb takes the ground height itself). It runs on the server under the dev gate, so core holds no coordinates. Proof:tools\cli session town-reachin a--mission islandsession (a junction 52 m away passes; a point 20 km east, outside the map, is refused). A building's centre is no control: a walker paths to the centre of a warehouse or a church, and the soldier navmesh reaches into shallow water.town-reach --place <slug>walks from the arrival slot's entrance to every other mapped slot's entrance. First green run 2026-11-17 (#2207); a walk of a slot route longer than the 12 s window is judged on the part walked. - 🧪
tools\cli town ready <state>(tools/town/ready.mjs; places per state inSTATE_PLACES) runstown checkfor each place of the state, then the reach proof, then reads the boot log for any[LFDebug:Systems]"switches off" line.--session-upboots and takes down one island session;--no-sessionruns only the static half (and so never reports ready). Exit 0 only when every place passes every step. Check:node tools/validation/town-ready-selftest.mjs. - 🧪 Proof verb
clock-night-proof(#3185, 2026-11-19). Clients follow the faster night on a dedicated server, a late joiner too.session up --clients 1 --seed <dir>/config.json(the file fromclock-night-proof --write-config <dir>: a 120-minute day,nightSpeed2, start 12.5 h) thentools\cli session clock-night-proof: client 1 plays across dusk (its told day length drops from 7200 s to 3600 s), client 2 joins at night, then both are read for 90 s through theseenclock=token. Pass: each client's hour within 2 in-game minutes of the server's clock (rebuilt from the serverday cycle: night at <h> hlog line, since the server has no harness box) and each client's slope 2x the day rate within 10%, the day slope measured by client 1 too. First run: worst 0.13 in-game minutes, 23.94x and 23.97x against 24x, day 11.98x; no fix needed inLF_DayCycleApply.--selftestchecks the judges. ⚠️ On the test world's dedicated server the manager reports sunrise 1.55 h and sunset 13.36 h (not the 5 h and 19 h fallback), so night starts at 13:22 there; the seed starts at 12.5 h for that reason, and the proof fails with the server's sunset in the message when dusk was already past. Whether the flagship's Everon map reports the same is not checked here. - ✅ Bins (#3323,
Feature/Bins/): a prop tagged withLF_BinComponentopens as normal storage for anyone, takes items while the server runs, is never saved (no persistent storage, no section names it) and so is empty after every restart; thebinsstep above empties it in the playtest world through its storage manager, never by deleting the prop.Prefabs/Props/Bins/LF_StreetBin.et(over the vanilla street bin) is the first. Nothing places one yet. TestLF_Test_BinEmptiesOnRestart.