Changelog, part 4#
frostbuilds headless:cargo build -p frost_cli --no-default-featuresleaves out the machine's sound device and gamepads, and with them the only system librariesfrostneeded on Linux (ALSA's and udev's headers). It still tests, runs, exports and serves, andfrost run --wavandfrost test's loudness check still hear the game: they use the software mixer, which frost_remote's newtapefeature gives without a device. A default build is as it was.- Every not-a-number is one value to the world: the checksum, the test of whether a column is all one value, and every compare of kept data and of field values read any not-a-number as the quiet one with no sign (
frost_core::bits). Machines disagree on which one0/0makes (positive on Arm, negative on x86, either in WebAssembly),-(0/0)flips it anywhere, and a save writes every one asnan: a world that held one could come to another checksum on another machine, or after a save and a load. A recorded game whose world held a not-a-number with a sign comes to a new checksum:frost test --write. - A planning hand's refusal says what was tried:
E0447names the command's own parameters (game.seek with step 240 is refused: ...), and itsdatacarries them as{command, tried}. No game changes. - A model's pictures are held once: a cooked model read from its blob keeps each picture inside it in place, not copied out, and decodes one only when it is drawn (
Model::picture). Loading the Spin Top hull (three 4096² pictures) from a warm cache holds 483 MB where it held 751 MB. Nothing a game draws changed. - A picture the web draws smaller is said:
frost checkandfrost export webwarn (W0455) of each picture inside a model longer than 2048 on a side, with its size and the size the web cooks it to. The game's checksums are the same in a browser; its frames are not, andfrost testcompares shots natively only. Nothing a game draws changed. profile.frametells the last frame that drew a picture, and a step as it was played: a request that only reads (game.info) no longer becomes the frame told; the answer names thestepdrawn.profile.frame {step}gives that step's spans and counters asprofile.stepsdoes,recorded: truewhen they are as it was played; the 16 slowest steps of a run keep theirs past the minute, soprofile.steps'worsthas them too. No game changes.- What
--writewrote is named, with the hash of its bytes: eachfrost test --jsonrun giveswrote: [{path, sha256}], andfrost check --json --shots [--write-shots]givesshotsandwrote;--jsonnow goes with--shots. No game changes. - A model's pictures have their levels, and 2048 a side on the web:
frost cookmakes each picture inside a.glba texture with every level (VTEX 2), and for--profile web(andfrost export --web) halves one longer than 2048 on a side first. A 2D picture is cooked as before, one level, the same pixels for every profile. A model's triangle that has one vertex twice once its corners are welded has no area and is left out, and counted:frost cooksays how many for each part (VMSH 2 keeps the count). A model with a part that loses every triangle so is refused (E0527). Cached pictures and models cook again once. Nothing a game draws changed. frame.capture {fast: true}writes the picture quickly rather than small: the same pixels in a PNG a tenth to a fifth larger (twice as large at first: it now uses the Paeth filter), for a client that shows frames live, with or withoutviewortarget. Without it, every capture is the same bytes as before; saved pictures andfrost check --shotsnever use it. No game changes.- The editor can see more of the world than the camera:
frame.capture {view: {left, bottom, right, top}}draws that rectangle of a 2D world, the interface on the camera's rectangle at its scale;frame.at,frame.inandblame.pixeltake the sameview. A 3D game's view isE0449for now. Withoutview, nothing changes. No game changes. frost test --jsongainsdotnetin each run:{accepted, here}, the major version of .NET a game with C# was accepted on and the one it runs on here when they are two; null otherwise, and always for a game with no C#. No game changes.- Scripts run faster: the step budget's counter is the engine's own: Luau counts every loop turn and call for the step budget through a callback of the engine's instead of the binding's general one. Measured on an Apple M-series Mac, built like release, ns a turn: a trivial loop turn 12.3 to 10.0, an empty loop 6.5 to 4.3, a call to a small function 28.1 to 21.3, arithmetic 11.6 to 9.5 (327 to 274 machine instructions a loop turn). The count, where a script is stopped and that
pcallcannot hide it are as they were: no checksum and noscript_workmoves. And a correction: a loop turn never cost 83 ns; that figure divided each step's walk ofstateby the loop's turns (seestatein the reference: keep a big table that never changes in alocal). - Another run of the game is read beside the one played:
world.seriesandevents.sincetakerun(a project file of the game with areplay, asfrost testlists them), with or withoutagainst: "accepted", and echo it. No game changes. - A failing test that names no step says where, why, and whether to accept:
frost test --jsongives each runstretch(the checkpoints its run first differs between),reason(one plain sentence) andaccept_sound. No game changes. - A model's surfaces show its pictures: each part of a 3D model is drawn with its material's base colour picture, inside the model or beside it, as the file paints it (sampled smoothly and repeated past its edges). Nothing that names no picture changes: its parts draw white under their colours, as before.
script.statesays which kept numbers are a thing: its answer gainskinds, a script's name with{key: "thing"}for each key of its state whose number is a thing of the game (a C# script'sThingfield; -1 is no thing).statesis as it was, and a game of Luau scripts answerskinds: {}: a client that held the whole answer to its exact bytes meets one more field. No game changes.frost devsays which process it is: into a pipe it prints a second line,process PID, after the line that says where it listens, anddebug.stateanswers the same number asprocess: what a debugger of the machine attaches to. The first line is unchanged, token last; a program that reads every linefrost devprints meets one more. No game changes.- Atlases: frames by name: a
.atlas.tomlfile puts many pictures on one, packed from the PNG files itspicturespatterns match (*in one folder's file names) or cut from onesheetby agrid, andSprite.frame(new) names the frame a sprite shows:Sprite = { image = "art/hero.atlas.toml", frame = "run_0" }. Sprites of one atlas share one picture, so a layer of them is one draw call. A frame draws exactly its picture's pixels (filter = "nearest"; one step in a few pixels with"linear"). An unknown frame stops the game withE0531and the nearest names; frames that do not fit 4096 by 4096 areE0530; a pattern that matches nothing isE0532;frost checkprints what each pattern matched.frost exportships each atlas cooked (NAME.atlas.toml.vatl) and not the pictures packed in it. With aframe,src_*cut a part of the frame, stopped at its edge; a sprite with aframeand aRepeatis refused (E0533).Sprite.frameis markedSchema::added, so no recorded game's checksum moved.assets.cooked {path}(new, the protocol and MCP) says what the cook makes of a file: a picture's size, an atlas's frames, a model's parts. - Two fingers on a touch screen:
[input] fingers: up to 4 finger slots, each aregionof the frame (in the pointer's -1 to 1 units) and three actions, its place (x,y) and itspress. A finger takes the first free slot whose region it comes down in and keeps it until it lifts; a finger over the bars is at the frame's edge. Slots are actions, so recordings, tests andinput.setplay them. A new key: no checksum moves, and the first finger is still the pointer with"MouseLeft". An exported page's loader lets touches and clicks through to the game as it fades (it took them for 300 ms). - Each thing a material draws has four numbers of its own:
Mesh = { ..., p0, p1, p2, p3 }, which its material's functions read asthing(a heat, a flash, a hole's size), set by a script per thing. What it does to a game: a 3D game with a Mesh changes its run checksum (four more numbers a Mesh); no picture changes. - A save is on the disk when the player is quit: Cmd-Q on macOS ends the process without unwinding, so a save still being written could be lost; the player and
frost devnow finish it first. No game changes. - What
frost test --writeaccepts keeps the recording it was played on: a game whose recording is a file of its own (recording = "run.toml", a saved test'stests/NAME.run), and a model's buffers and pictures, are kept in.frost/accepted/NAMEbeside the rest, so a later failure names the first step that differs with no git. A copy an olderfrostkept without its recording says so and how to keep it again (frost test --writeonce), instead ofE0401from inside it. - A project lists the models only its scripts name:
models = ["kit/drum.glb"], besideimages, loads each as the scenes' meshes are. A Mesh naming a model that was not loaded isE0438(new) andfrost checksaysE0439(new) of a script whose text names one, in a tool and in an exported player alike. A changed picture in a game with models is redrawn again rather than restarting the game. - A 3D game's materials bend and paint what they draw:
[render.materials]names each material's WGSL functions (vertex, which moves a point already in the world;fragment, a surface's colour before it is lit), andMesh.materialdraws a mesh with one. Its eight numbers areMaterial = { of, p0..p7 }on one thing, written by a script: a shader has no clock.E0437(new): a thing names a material not declared, or two give one its numbers. What it does to a game: a 3D game's run checksum changes, asMeshholdsmaterialandMaterialis declared; no picture changes. - A hand carries its mode, and a planning hand changes nothing:
session.hello {mode}(frost mcp --join --mode plan|ask|trial|free) and the editor'ssession.mode {hand, mode}; inplanevery command that is not read-only is refused (E0447), and only the editor lifts it (E0448). No game changes. - A port has a read-only token:
frost serve --join-file PATH --read-join-file PLANSwrites PLANS with it (read_only: true). An agent that joins by it changes nothing (E0447) under any name or mode until the editor'ssession.modelets its hand, so an agent that opens its own connection is held too. The first token and its answer are as they were. No game changes. lifts it (E0448). It holds an agent that acts throughfrost mcp --join; one that opens its own connection to the port under a new name is not yet held. No game changes. - An exported web page opened with
?muteplays no sound at all: it opens no audio, keeps no samples, and nothing a script asks for turns it on; the game plays the same to the same checksum. Open the page again without it to hear it. Nothing else changed. - A restore can bring the changes made since into the moment it puts back:
game.restoreanswerschanges(each command that madeedits_after: step, what, hand, who, name), andgame.restore {id, again: true}makes them again there, all or none (a refusal keeps its own code and leaves the game as it was). No game changes. - An exported game draws its models:
frost export(desktop and web) ships each model a scene'sMeshnames as the model cooked from it,NAME.vmshbeside where the model was (art/crate.gltf.vmsh), and not the.glbor.gltf, which a player cannot read; the player, and any program given a game with no model file, draws that. A game with no Mesh exports as before. change.test {says, against?}isfrost test --saysover the protocol and as an MCP tool: the same answer (passes,said,differs,shots) with the line and the warnings, for an editor's landing line and an agent's report without a shell. A program that cannot run it (a browser's) says so (E0452). Nothing else changed.- The accepted run beside the one now: where a difference ends, and its events:
frost test --json'sdiffersgainsuntil, the last step of the recording at which the run still differs from the game it is told against (null when it differs to the end), andevents.since {against: "accepted", to?}reads the accepted game's events, played aside from its kept files. Nothing else changed. events.sincelists each event once: an event sent early in a step was in the log again for every stage after the one that sent it (four times for a script'ssend). A client that counted events counts fewer. Nothing in a world changed.- A 3D game's
Meshdraws the model it names:Mesh = { file }names a.glbor.gltf, cooked when the game loads and kept in the cache (E0436, new: one the cook cannot read). An exported game draws no model yet. No game that has no Mesh changes. frost cookcooks glTF models, andfrost cook FILEcooks one asset alone: a.glb, or a.gltfwith its buffers inside it or beside it (each one's hash is in the key), becomes a model (VMSH1,crates/frost_assets/src/mesh.rs, agreed with the 3D renderer): every mesh the default scene draws, placed by its nodes' transforms (a mirror keeps faces counter-clockwise), welded, with flat normals and Lengyel tangents made where the file has none,COLOR_0and an application's own_attributes kept as streams, the bounding box and sphere, the materials, and the pictures they name (one beside the model by its path; a PNG inside it cooked as a texture). One level, the whole mesh.frost cook FILE.png|FILE.glb|FILE.gltfsays what it became; a file its importer cannot read isE0526(new).frost_remote::cooked_modelgives a loader the model for a path. No game draws a model yet; nothing else changed.graph.usesandscript.completeanswer from the game's text: every place a part, field, thing, event, input action or tuning key is named (scripts, libraries, scenes, the project file), and the names that fit where a script is being written. Both read the text, say so (read: "text"), and count columns in UTF-16 code units (columns: "utf16"). Nothing else changed.- A 3D game draws its meshes, lit, as its Camera sees them: in a project with
space = "3d",Camerahasfov,nearandfarbesidezoom, andMeshandLightexist; the frame graph's implicit passes are the meshes, tested against a 32-bit reversed depth target, then every layer over them. A[render]pass may draw meshes (draw = "meshes",depth = "...", a target of format "depth"). Meshes are handed to the renderer by name (see the entry above for models). What it does to a game: a 3D game's run checksum changes, as its Camera holds three more numbers (its pictures do not:zoomstays, and the layers are seen through it as before);frost test --writewrites the new one. No 2D game changes. - An agent joins with arguments that never change:
frost serve GAME.toml --join-file PATHwrites where it listens and its token to PATH (mode 0600) and removes it on exit, andfrost mcp --join-file PATHreads it, so the agent's command line is the same at every start of the game. A file left by a session that is gone is refused (E0521). frost test --jsonprints one line for the whole test: each run'spassed,steps,against, the first difference (step,thing,part,field,now,was,more,written) and the line it prints. Nothing else changed.Repeatmakes a sprite's picture repeat past its edge: with it, a part (src_x,src_w, and down) that runs past the picture shows the picture again instead of stretching its last pixels: scroll a belt by movingsrc_x. A new component: no checksum moves. The whole picture repeats, not a frame of it.Shapedraws rings, discs and lines:Shape = { kind = "ring" | "disc" | "line", w, h, width, from, to, dash, color, layer }, in the rectanglewbyh(an ellipse when they differ), cut fromfromtotodegrees into an arc or a wedge, dashed, its edges smooth;Rotation,Scale,OpacityandBlendapply as to aRect, and it sorts with everything else by layer. A new component: no checksum moves.frame.atnames it"Shape"where it draws, and not in a ring's hole.- A scaled
Tilemapdraws all of itself: a map withScalewas cut to the part of the view its unscaled grid covered (an 8 by 8 map at 0.5 showed one row), andframe.atnamed the tile of the unscaled grid. Both now go by the scaled grid. No checksum moves; a picture of a scaled map shows the tiles that were missing. - The frame says how it was drawn:
render.passeslists the frame graph as it runs (passes kept and dropped, targets and the textures they share, pipelines);frame.capture { target }returns a target between passes;frame.at,frame.inandblame.pixelname each hit'spassandmaterial,blame.pixeladds thepassesthe pixel came through, andframe.viewthe passes' names. Nothing else changed. - A project may declare its frame graph in
[render]: targets between passes, passes that draw a range of layers, and the built-in effectscopy,bright,blurandadd(a glow, say: the engine'sballast/glow.tomlexample). A project without the table is drawn as before, by one pass of every layer into the frame: no checksum and no picture moved. A graph that cannot run is refused when the project is read, with the line of its pass. - A game's pictures are read through the cook's cache:
frost run,frost dev,frost test,frost serveand the rest keep each picture's texture the first time it loads and read it from the cache after, inFROST_CACHEor the system's folder for caches. The pixels, frames and checksums are the same;FROST_CACHE=offdecodes at every load as before. An exported game is not changed. Undercargo(tests,cargo run,scripts/verify) the cache istarget/ven-cache(.cargo/config.toml), never the system's folder.
Generated from Coldwave 0.0.1 r289, 2026-11-30 by the binary itself: do not edit by hand.