Commit graph

4,748 commits

Author SHA1 Message Date
soul
44100ca4a8 Inventory grid harness: -goldenOut writes the shader's own output as the golden
tests/fixtures/inventory-grid holds the grid renders of the atlas (4 regimes x 3 passes x 2 widths), the thermal pipes (S32, S16), the five alpha and clip cases, and the overlay capture's three crops, written by -goldenOut in runs that still passed every sprite bound: atlas worst 4, hull worst 4, thermal rms 0.0430 and hull 0.1007, alpha and clip worst 1, masked 0 (the readings of cda9474b1), overlay worst 3. The next commit judges against them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 10:58:31 +01:00
soul
3d715e8021 Play capture leaves no tracked asset modified
A run dirtied twelve tracked assets: eight render textures, the two gravity-lines materials, Stardust.mat (properties and descriptors set from code on assets loaded in play, saved by the exit) and the TMP fallback font asset. Finish now clears the dirty flag of every persistent loaded object before Exit, and logs which. The font asset is written by TMP's own EditorApplication.quitting callback (TMP_EditorResourceManager.cs:23), which clears the dynamic atlas of any dynamic font asset whose atlas is populated; the committed LiberationSans SDF - Fallback.asset still held a 536 KB populated atlas, so every Editor exit rewrote it. It is committed in the state that callback leaves (the same state, so the callback no longer writes).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 10:58:30 +01:00
soul
8ee198ef02 Inventory grid harness: Soul's probes, the un-highlight check and six more mutants
Interact gains what Soul's probes showed the harness did not reach (finding equip-flow-unpinned): a click on another cell after a double click counts 1, one hover handler per grid after repeated Display, the thermal right, top and bottom regions, and the bay-to-hull equip flow. The play capture clicks a second item and asserts the first is un-highlighted (kills unhighlight-dropped). tests/mutation_tests_inventory_grid.py --switch runs Soul's six mutants and a play kind that runs InventoryPanelsPlayCapture, so unhighlight-dropped and pulse-ignored are no longer run by hand. All 15 switch mutants exit 1 on the shipped code with the sheets still present.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 10:58:28 +01:00
soul
e78da0c815 ARPG.unity: reverse the editor's re-save churn of 2e8717f5d outside the inventory objects
Reverses hunks only (git apply -R of a filtered diff): the two Label lines, the ActionGameManager defaults and WormholeCamera, the m_text spelling and AfterStackBundles. Finding scene-resave-churn.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 10:58:27 +01:00
soul
ef31edc90c SpringRigVerify.VerifyGlbCases: pin the file path on edited Synth GLBs (unknown required extension, joint past bones, skin off by a known amount, vacuous mesh)
CheckGlb is the one FromGlb-then-compare path; VerifyGlb and the cases share it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:32:31 +01:00
soul
b48cdbf752 SpringRigVerify.VerifyGlb: run FromGlb and the glTFast skin comparison on any rig GLB (SPRINGRIG_GLB)
Handedness and VerifyGlb share ImportAndCompare; HandednessCompare drops its unused Synth parameter.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:32:30 +01:00
soul
5c4306f482 docs: aetheria-release map: inventory grid deletes section IG-D
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 07:22:57 +01:00
soul
cda9474b18 Inventory grid harness: the rect bound sits at sqrt(2.4e-4 x 8.0) = 0.044 from the measured shipped worst and temperature-anchor-0's least reading
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:11 +01:00
soul
b172c35470 Inventory panels play capture: the Duel arena through MainMenu.Launch, each panel state asserted and written as a PNG of the overlay canvases
InventoryPanelsPlayCapture.Run (-pngOut <dir>): enters play mode from Main Menu.unity, launches the Duel test arena (the player's Longinus carries a Store-All Plus bay, a hostile Longinus is in the zone) and asserts and captures hud, enemy, pulse, menu, cargo, highlight, drag, hover and thermal at 1920x1080 through a camera RenderTexture (overlay canvases switched to ScreenSpaceCamera for the frame, then restored). 300 s real-time budget, exit 0 or 1. Also: the mutation script's named-mutant filter takes effect.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:09 +01:00
soul
799b4c4c9f Inventory grid harness: the cargo state follows a thermal view on the same panel (kills cargo-thermal-kept); the mutation script can run named switch mutants
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:08 +01:00
soul
99d4a817b4 Inventory grid mutants: the switch's seven (six by exit 1 on the parity harness, pulse-ignored by the play capture); the cargo state follows a thermal view on the same panel
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:07 +01:00
soul
68311ae734 Inventory grid: the layout comment no longer names the retired group
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:06 +01:00
soul
e8a34004bd Delete the inventory grid migration: one shot, kept in history at the previous commit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:04 +01:00
soul
2e8717f5d9 Inventory grid migration (one shot) and its output: Inventory.prefab and the HUD and enemy panels of ARPG.unity
InventoryGridMigration.Run, exit 0, four scene panels logged (HUD, enemy, the two prefab instances) beside the prefab: a last child `Cells` holding an InventoryGrid (cell size, padding, orientation, IconTexel, BgTexel, raycastTarget from the prototype), GridLayoutGroup removed (a VerticalLayoutGroup beside the menu Content's ContentSizeFitter), panel.Grid and Interactive set, CargoBackgroundColor from the prototype, prototypes deactivated, an inactive Drag Ghost on the prefab. Deleted in the next commit; it stays in history.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:03 +01:00
soul
c2070e9fe3 Inventory panel: cells draw and hit-test through the panel's InventoryGrid, RefreshCells the only record writer; harness switch half and Interact
InventoryPanel composes each cell's record only in RefreshCells(cells, highlight) (match predicates and GetColor unchanged), reads pointer input from the grid (Interactive authored), hover from HoveredCellChanged, draws the drag ghost as a second grid from RecordAt copies and the pulse as a per-cell background override. Flip derives from Grid.Orientation, TemperatureDisplay follows CellRect(-1,-1), InventoryMenu's selection goes through SetHighlight. CargoBackgroundColor carries the cargo cells' own background (the prototype's colour, .85, which the sprite cells never overwrote), so the golden's cargo records stay exact.

The harness compares the live panels' records exactly and their cell and temperature rects by a bound against the golden (-recordsIn), judges the live grid against oracle sprite cells built from the same records, counts the RefreshCells branches each state reaches, and Interact() sends pointer events through the grids. This commit needs the next one (the migration's prefab and scene) to run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:01 +01:00
soul
7f9880f2e4 Inventory grid: hover events, serialized layout, Padding and RecordAt
The grid raises HoveredCellChanged(was, now) from pointer enter, move and exit (move reaches it during another object's drag), its cell size, padding and orientation are authored fields, and RecordAt is the exact inverse of SetCell for display copies (the drag ghost, the harness).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:15:00 +01:00
soul
afb6d69b76 Inventory grid parity: the hud and enemy states use the real ARPG.unity panels, -recordsOut writes the golden (records, cell rects, temperature rect)
Taken from the old sprite panels before any switch code. HUD and Enemy are copied from the scene as authored (no emulated multiplier, Flip, start corner or rect), the other five states keep the prefab. The golden is a run output kept outside git. FrameTime goes: it times the sprite writer the switch deletes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 07:14:58 +01:00
soul
b5022e971a fauna: cost bound from both paired readings (whale-rig-s1 fix batch 2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:29 +01:00
soul
75129c2467 fauna: bounds in a Burst job, tendrils ease to rest leaving Full, checks pin the VRM nudge, inertia, gravity mirror and the skin-outside collider (whale-rig-s1 fix batch 2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:28 +01:00
soul
e1563fe433 fauna: whale rig check bounds from the measured readings, per the margin ruling (whale-rig-s1 fix batch)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:27 +01:00
soul
fa11319e8a fauna: SpringRigVerify kills Soul's surviving mutants and adds the rate, handedness, bounds and hysteresis checks (whale-rig-s1 fix batch)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:26 +01:00
soul
348ed0798f fauna: interpolated drawn pose, bounds from the pose, LOD hysteresis, one x-mirror owner, two more refusals (whale-rig-s1 fix batch)
The solver draws the last two fixed steps blended by the leftover fraction, pushed out of colliders and
length-held from this frame's head, so a frame that owes no substep still moves and keeps segment length.
Renderer bounds follow every bone each frame. A level is left only past a hysteresis margin. SpringRigData
mirrors x as glTFast does (one owner). Colliders on spring joints and zero-length segments are refused.
The promise below 30 fps is the clamp, stated. Stiffness is documented as a dimensionless rate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:25 +01:00
soul
7a982d2a0d fauna: SpringRigVerify, batchmode checks and capture for the whale rig (whale-rig-s1)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:24 +01:00
soul
70abd3ce99 fauna: SpringRig, Burst spring-bone solver, closed-form swim, direct skin matrices (whale-rig-s1)
Presentation only: SpringRig.Present(drawnTime, pose) runs PoseJob, SpringSolveJob and SkinJob
and uploads one GraphicsBuffer of skin matrices; SpringSkin.cginc and FaunaSkinned.shader read it.
Fixed 1/120 s substeps from absolute drawn time, at most 4 a frame; LOD freeze and reset.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:23 +01:00
soul
793470c330 fauna: SpringRigData, the VRMC_springBone rig parsed from a GLB skin (whale-rig-s1)
Skin joints no spring names are body bones; unknown collider shapes, spring joints whose
parent is not their predecessor or a body bone, cycles, and non-unit scales are refused by name.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 05:53:22 +01:00
soul
a515899b14 docs: aetheria-release map: isoline wiring body facts IW1-IW7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 05:16:41 +01:00
soul
08b1a13cde IsolineExtractSmoke: first-found linking is claimed by the junction fixtures; joint bound at the geometric mean
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:53 +01:00
soul
04b46d7406 Isoline smokes: chain junction fixtures and frame-reuse check through the real kernels; flow p5 gate dropped, flow p25 and p50 from real-shader readings; capacity guard matches ChainClear's group limit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:52 +01:00
soul
4660996a28 IsolineExtractSmoke: chain bounds at the geometric mean of the shipped reading and the least claimed mutant (J = 8); first-found linking unclaimed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:52 +01:00
soul
37a0355687 IsolineRenderSmoke: comment names the curvature-radius mutant without the deleted symbol
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:51 +01:00
soul
70ed09d0ab Isoline smokes: dash look gate against a reference with the extractor's tail origin; bounds and readings by the margin rule
The reference's s origin is the chain's tail, as the extractor's: a head origin puts a different dash phase at the chain
ends (map pose run length p5 6 px against 36 px, same segments), which the percentiles read as a look difference.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:50 +01:00
soul
57810444ca Isoline chains: a closed ray loop is counted unterminated (rank above 0 at its own end); smoke gates against the first readings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:49 +01:00
soul
fca9c9bb50 Isoline chains: GPU hash linking and pointer jumping make a ray's s the arclength from its chain's tail; junction rule; ChainStats
ChainClear, ChainInsert, ChainLink, ChainJump (J = clamp(ceil(log2(4 (w + h))), 8, 20) passes) and ChainEmit run after Finish
through indirect args Finish writes; the extractor owns the table, ping-pong, args and ChainStats buffers. Segments link only
through a point exactly two ray endpoints share, one an end and one a start. Smokes: 'chains are arclength' (CPU BuildChains
reference, first-found and J = 8 mutants emulated), 'orientation' on every case, ray s on the log wells, 'dashes match true
arclength', chain cost. Bounds are set from the first readings in the next commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:48 +01:00
soul
8fc0982e5f Isoline Emit orients each segment so the high corner of its first edge lies to its left (both families); smoke check 'orientation'
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:47 +01:00
soul
3cb2b756c3 Isoline curvature path deleted: rho, kappa, the Hessian, PullSlope, the seam and clamp key bits, RhoMax
Once s is chain arclength nothing reads curvature (campaign aetheria-release, cut isoline-chain-arclength).
GravityField.ProfileSlope and PullSlope, the gravityTermPullSlope template and gravitySample's Hessian go (Gravity.cginc
regenerated); Sample writes (gx, gy, d, |g|); March and Crossing lose rho, seam and clamp; IsoKey is (level, family) with
bits 9..31 reserved 0; IsolineLevels loses RhoMax. Rays' and contours' s are 0 until the chain kernels land. The smokes lose
every curvature bound and the s-quality gates; PullSlope stays recoverable at c551a27d6.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:46 +01:00
soul
721a69ff39 docs: aetheria-release map: inventory grid switch sections IG-S, IG-SA, IG-SR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 04:07:30 +01:00
soul
52e52541f9 Inventory grid: pipes get a round fillet, an edge ramp in canvas units and a refit (S16 worst rms .0855 to .0187, S32 .0431); look changes are compared without allocating
Thermal: a quarter-circle fillet between perpendicular bars replaces the polynomial smooth union that chamfered T and + junctions at S16. NoticeLook compares
fourteen floats in place, no array and no enumerator per Flush. Harness: LateLook changes every look field on a live grid under a Mask with no Resize
and compares it with a grid built with the change. The Overlay capture's bound is 16, it adds a half-alpha regime and the mutation driver runs it
(control, concave-bracket-dropped, alpha-multiply-dropped). Thermal atlas bound .075 and hull cell bound .132 by the margin rule; driver mutants
look-notice-deleted and look-trimmed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:55 +01:00
soul
69671be609 Inventory grid parity: the atlas bound sits at sqrt(4 x 66) = 16 after the alpha mutant; the overlay capture exits 1 on any exception
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:53 +01:00
soul
d1c3a7a2e8 Inventory grid parity: the masked check keeps the masked grid enabled and compares a fresh grid in the same render
Disabling and re-enabling the masked grid between steps rebuilt its stencil clone and hid a stale one; the modified-material-unpushed mutant now dies (231 against 0).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:52 +01:00
soul
38f12838e2 Inventory grid parity: masked and late-configured use, vertex alpha and RectMask2D, Overlay canvas, thermal gated, fair frame time
Masked: a grid reconfigured under a Mask (resize, orientation, late Thermal, late look) equals a fresh unmasked grid. AlphaAndClip: quarter and half alpha and a
RectMask2D against the same on the sprite cells. InventoryGridOverlayCapture enters play mode and compares a ScreenSpaceOverlay canvas. The thermal hull state is
gated by cell rms (0.120 from the margin rule). The frame-time new side includes RefreshCells. Mutation driver gains alpha-multiply-dropped,
clip-multiply-dropped and modified-material-unpushed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:51 +01:00
soul
7060803ed9 Inventory grid: uniforms reach the masked material; Thermal and the look dirty it; pipes fitted with a fillet only between perpendicular bars
Under a stencil Mask Unity draws a clone of the material and may return one it cached without recopying properties, so GetModifiedMaterial now writes every
per-grid uniform to the material that is drawn. Thermal is a property that marks the material dirty, and Flush marks it dirty when a look field changed.
The thermal pipes are a plain union of blob and bars with a smooth fillet only between each perpendicular pair (no bump on straight bars),
refitted to the 16 sprites: worst per-mask rms 0.058 to 0.035 at S32.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:50 +01:00
soul
88b3f7afda Inventory grid parity: the shader's keyword variants report no error and draw what the plain variant draws
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:48 +01:00
soul
ca71616674 Inventory grid parity: real hull in seven panel states, hit-testing, frame time, mutation driver and margin-ruled bounds
The hull is Nakovalnya from the composed catalog (7 hardpoint types, the only Loadout's hull). The harness reads every CellInstances record back
from the sprite cells and feeds an InventoryGrid over the same rect. A pixel centre exactly on a cell boundary is drawn by both neighbours of the
oracle and is not judged; Nodes8_392 and Nodes8BG_136 carry a wrong pad on their top and bottom edge and are judged outside it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:47 +01:00
soul
872b4bd3c4 Inventory grid, parked: UI/Inventory Grid shader, InventoryGrid graphic, atlas and thermal parity harness against the Nodes8 sheets
The shader draws a panel's cells from one RGBA32 record texture as texel-box shapes through the nine-slice remap (map IG-B3, IG-G).
The harness renders every mask 0..511 through the sprite cells and through the grid at 1920 and 2560 and compares them.
The background sheet is 100 pixels per unit, not 66 (IG-B1 states 66 for both): BgTexel is 1 canvas unit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:47:46 +01:00
soul
a166721c08 Assembly fix batch: members judged by their own joints, arc judged as a range, gates pinned
A member's reach stops below its assembly's root joint (a member's motion composes on
the assembly's pose, it does not borrow it). The root joint is judged against the
assembly's Min..Max range, not only its span; a down-pointing axis mirrors. Tests pin
Soul s1's P1, P1b, P2 and the surviving mutants M3, M6, M7, M10, M11, with a GLB
fixture for BindRig's root-anchor rule.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:02:28 +01:00
soul
3f936f8e9d Catalog resave: the five hull records carry the schema id with Assemblies
Adding Assemblies (key 34) changed the hulldata schema id; catalog resave apply
restamps all 5 records so the shipped catalog is current (CatalogResaveTests,
ElementIdUpgradeTests). Run on Yggdrasil from the base catalog; a second dry run
lists 0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:02:27 +01:00
soul
c537c480d3 Joint-rider refusal names the assembly root among the roles that may ride a joint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:02:25 +01:00
soul
4ffb274d9c Keep the joint-rider refusal's leading words; name the assembly root after them
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:02:24 +01:00
soul
f376a58d18 Actuated assemblies in the hull record: AssemblyData, root anchor, judge
HullData key 34 Assemblies holds each assembly's region, pivot, yaw limits and
slew (rulings actuated-assemblies-are-their-own-kind, assembly-slew-hull-authored).
Membership is derived (Assemblies.Of), never stored. The judge refuses bad ids,
regions outside the hull or overlapping, straddling hardpoints, bad pivot, limits
or slew, and a missing or short assembly-root anchor. RigChains gains the
assembly-root actuator: a member's chain may pass its own root joint and no other
driven joint (ruling one-joint-one-driver). HullLike drops assemblies.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 03:02:23 +01:00
soul
e58042149e Thruster torque derives its lever on read; Orient cites the actuated-assemblies ruling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 02:36:32 +01:00