Commit graph

4,697 commits

Author SHA1 Message Date
soul
6d4e894990 docs: aetheria-release map: assembly, pose and priority-order rows on the model page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:33:29 +01:00
soul
3d8a0d1d34 Isoline render smoke: s quality on the map pose, gated against the finite-difference readings; camera field render cost
Ports Soul's chain measurement (BuildChains, EdgesOf, percentiles), E1 dash runs, flow-frame ratio and the two fine-resolution kinks; writes flow-after.png and e1-after.png. Cost reports Sample alone and the camera field render the extractor replaces.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 23:03:15 +01:00
soul
9cce273d9a Isoline extraction samples d, its gradient and Hessian in closed form: s = rho stops jittering per edge
IsolineExtract.compute's Sample kernel evaluates the lowered wells through the generated gravitySample and writes (gx, gy, d, rho); March reads it. Derive, Curve, the field texture and every stencil are deleted. GravityLowering.Lower returns the GravityTerms it lowered and Extract binds them explicitly; IsolineRenderer.Record takes terms and a grid size. Both smokes' texture fixtures become well sets over GravityLowering.TermRecord, with an analytic-sample check against the law.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 00:24:43 +01:00
soul
c551a27d64 GravityField.PullSlope and the generated gravitySample: closed-form gradient and Hessian of the lowered wells
PullSlope is dPull/dr over the same band polynomial; GravityShader emits gravityTermPull, gravityTermPullSlope and gravitySample beside gravityHeight; Gravity.cginc regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 00:17:33 +01:00
soul
094a436745 Isoline render smoke: crowded tile, per-family look and dash filter checks (kill M10, M19, M17)
Soul's X1 and X4 probes and a dash-edge check, ported against the shipped extractor.
Readings on ab17b688b: crowded tile worst |h-cpu| 1.1e-5 px against M10 9.5; ray raw D 1.0e-6 off truth against M19 0.21; dash spread 0.0047 against M17 0.455.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 00:14:44 +01:00
soul
ab17b688b4 Isoline renderer smoke: geometry, flow, guards, captures and per-kernel cost
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 22:39:14 +01:00
soul
eaa8f9e030 Isoline renderer: tile-binned compute rasterizer for the IsoSegment buffer (parked)
Six kernels (Args, Clear, Bin, Scan, Scatter, Shade) with exact-count tile lists,
union-distance prefiltered ink and glow, closed-form line density and depth-signed
flowing dashes. IsolineRenderer owns one view's extractor and tile buffers; nothing
in the frame calls it yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 22:39:13 +01:00
soul
cda612dca8 Isoline extraction fix batch: pin seam, endpoint attributes, ray depth gate; delete the dead edge swap
The smoke gains a shared-endpoint s-continuity check (every jump has a seam
side), per-endpoint depth and slope against the radial profiles, a cell box
check, a ray depth-window check, and s on the real zone with RhoMax sized
from the zone radius. The Crossing swap never ran (kEdge already runs low
index to high): deleted with gIdx, and the closure comment says why it holds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 21:50:21 +01:00
soul
788113a344 IsolineExtractSmoke: layout, level, closure, saddle, along-line, rays, overflow
Batchmode GPU check of the extraction against the real zone's own field
(Zone.GetHeight as ground truth) and synthetic fields with closed-form
answers; writes before.png and segments.png and reports extraction cost.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 21:50:20 +01:00
soul
a65628d873 Isoline extraction: a compute marching-squares pass over the gravity field
IsolineExtract.compute reads one field texture and writes world-space
contour and iso-angle ray segments into a GPU buffer with an along-line
parameter (curvature radius), per-endpoint slope and depth. IsolineExtractor
records the dispatches; IsolineSegment.hlsl is the published layout. Parked:
nothing in the frame calls it until the renderer cut.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 21:50:18 +01:00
soul
b46865bec8 docs: aetheria-release map section IG (inventory grid grammar decoded, SDF constants)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 21:29:59 +01:00
soul
8c692862eb ExtractionTests: each cycle pays the named ore only 2026-11-29 09:25:15 +01:00
soul
caab9f5ad2 ExtractionTests: a rig's call pays only the named ore, the player's both 2026-11-29 09:13:46 +01:00
soul
1ce71101ff Facility: the rig asks the deposit pick which ore to work, lands where Advance lands, and a mixed list splits
Soul s1 on cut-facility-extraction.
- shares-follow-first-belt, rig-hammers-first-rocks: on screen a rig works an ore at a time as Production.Pick names it from the cycles
  it has worked (the one owner of which ore next, Advance's too), at that recipe's own count and cycle, on a whole rock whose belt holds the
  ore, chosen by a stable hash of the cycle so rocks take turns. FireControl.Extract takes optional `only` (the one ore a rock pays) and
  `landing` (the bays); the player passes neither. Production.OreRate is deleted: nothing reads a mean rate now.
- rig-ignores-silo-share: the units land in StationWants.OutputBays, and nothing is worn unless StationWants.Room and a free cell say the
  ore lands, as Advance's put does.
- mixed-raw-list-picks-on-screen: on screen the ore entries of a design work the rocks and every other entry runs Advance alone.
- run-writer-comment-stale: ItemInstance.Run names its writer.
ExtractionTests: two belts of two ores agree on shares (0.71-1.41), rocks wear together (4 of 20 where a first-rock rig holds one), the
silo's share stops a rig and the station's other bay stays empty, a mixed list splits.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 08:56:53 +01:00
soul
fe1a06ad91 Unity .meta files for RegionClock.cs, EconomyBalance.cs and StationDeck.cs
Master carried the three sources without them; Unity writes them on every open, generated here by a batchmode compile.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 08:56:37 +01:00
soul
a4f4f299ed Region harness: rigs and skimmers are facilities with recipes, and the ground decides what stalls them
An extractor is a facility whose run list is all raw; it ran when it started a cycle (FacilityRun.Cycles), so the region line reads
extraction running. A raw recipe the ground under a rig holds none of reads Barren whatever else the rig reads (Room, once its bays
fill), and a recipe every facility of which ended Barren is the placement's (extraction-aware-placement), shown in the table and no
fault of the chain.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 07:48:17 +01:00
soul
6004fbc8d8 Facility: on screen an ore rig works the rocks, off screen its recipes run by span
A rig whose run list is all raw ore works the zone's first whole rock (belt Site, then index) through Zone.Wear and FireControl.Extract, the
player's own mining, at Production.OreRate (Facility.Work); the unit's FacilityRun is left alone and a cycle begun off screen resumes
when the zone is. RegionClock calls Facility.Span, always Production.Advance, so off screen the same rig starts its recipes by the
deposit pick. Any other list, a skimmer's included, runs Advance in both. Dice for the ore a rig's wear pays: SimulationDice.RigStream.
ExtractionTests pins the pick, the per-unit weight, the gate, Barren, Cycles in a pack, the zone's deposits, the on-screen wear, the
agreement of both rates, the full-bay stop, the skimmer's spans against steps, OreRate against what Advance averages, and the batch.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 07:48:17 +01:00
soul
b4e25c5821 Atmospheres batch and Aetheria.cc: atmosphere:gas-giant, the ground a skimmer skims
economy author Atmospheres apply wrote one record, Methane 3, Water 2, Ammonia 1 (first-draft knobs, ruling
economy-numbers-are-sim-tuned-knobs); the reprice that follows touched nothing. The batch writes only where the record differs by fields.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 07:48:08 +01:00
soul
dc75e9a801 Production: a raw recipe runs where the ground holds its good
Deletes the !Recipes.IsRaw clause of Production.Runs, the obsolete owner that decided extraction never runs (cut facility-extraction;
rulings auto-mining-is-off-screen-only, skimmers-run-their-recipe-on-screen-for-now).

- Deposits.Of is the one owner of what a zone's ground holds (belts by rock yield through FieldKinds.Yield, gas giants through the new
  AtmosphereData); IProductionHold.Deposit reads it, EntityHold keeps it per zone.
- Production.Advance starts a list of raw recipes at a pick weighted by deposit per unit made (FieldKinds.Pick on FacilityRun.Cycles, new
  Key 2), skips a raw candidate the ground lacks, and reads Stall.Barren, writing nothing, where the ground holds none.
- Production.OreRate is the rate that pick averages to, the one rate on screen and off.
- FieldKinds.Yield gains the list overload Deposits calls; OreGeographyTests names the default FieldKindData ref the overload made ambiguous.
- RunListIsTheRule drops the raw exclusion; a recipe made raw is no longer dropped from a running cycle, so its test case goes with the rule.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 07:48:07 +01:00
soul
0c5a46f776 Tests: the cramped and tiny stations carry the Facility row the quarters now need before their dock and heater faults
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 06:10:50 +01:00
soul
90253307a6 Re-pin TwoAiDigestIsPinned on both hosts on the merged tree
linux-x64 1d1f9901 -> 012efbf8 (Yggdrasil), windows-x64 5afdd8f9 -> 7ccb5487 (Starfire).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:49:48 +01:00
soul
8a8b854a4e Catalog: the Crew Quarters design and its product (economy author CrewQuarters apply) and Zenith's second Facility row (station-kinds facilities), on master's catalog
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:44:25 +01:00
soul
67afbdc65f The quarters seat with the facilities through InstalledDesigns, one call site; the drain asks by Habitants.Size and pins the short-span count
EquipCrewQuarters and its filters are deleted (seating last protected nothing: the digest re-measure covers the stream).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:43:48 +01:00
soul
bf8f6c679c Tests: restate the drain crew test's comment
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:39 +01:00
soul
4d1b63a5ab Tests: the drain's crew line reads what the quarters asked of the hold, by the shipped off-screen step
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:38 +01:00
soul
bc6116d2ac Tests: the census counts the quarters' row, and the reach exemption is pinned to station plant
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:37 +01:00
soul
c5178d9b0c Tests follow the quarters' row: the census counts it, the reach exemption is station plant only, the drawn gate and an unset row are pinned, fixtures carry a row
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:36 +01:00
soul
5a4698b2cd The drain reads the crew: the station block prints what the quarters asked of the hold per sim hour and the spans their step went short in
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:35 +01:00
soul
b8079a9f1b Every station hull gets one more 2x2 Facility row for the Crew Quarters: the Arsenal Depot and the Seized Refinery through their manifests and the packager
Packages regenerated with package_hull.py (PACKAGE_OK, hull.scad byte-equal); the new rows sit on hull cells no interior gear draws from. Zenith's row and the quarters design follow in the catalog commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:34 +01:00
soul
c81549139d Crew Quarters is station plant: Facility gear on a Facility row of every hull, seated last; an unset table row owes nothing
StationKinds.InstalledDesigns is the one list of what a station installs, read by FacilityRoomFaults and the generator. The quarters are seated after every other draw so the lot they make moves none. The conjure is named in the code and the batch (follow-up conjuring-site-deletions).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:25 +01:00
soul
48af7c7e17 Re-pin AvailabilityGatesTheDraw: the item stream moves two draws for the station's Crew Quarters lot
Old items-stream reading 0.55950844, 0.87309176, 0.7170387, 0.8490041; new 0.7170387, 0.8490041, 0.68440413, 0.59800005. The generator's own four values are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:24 +01:00
soul
a98a517a8a ConsumableSupply rigs carry a Crew Quarters design, and the Outpost is a cell wider to seat it (cut habitation-gear)
The Tight Outpost's four interior cells were exactly its dock, heater, crate and capacitor; the quarters take a fifth.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:23 +01:00
soul
65a74084cd Tests follow the Crew Quarters: installed plant is outside the reach rule, Zenith also buys its crew's goods, and the wants test unequips on a copy (cut habitation-gear)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:22 +01:00
soul
02651fa67b Every station carries Crew Quarters and buys what its crew eats (cut habitation-gear)
LoadoutGenerator seats the design after the heater, through the one choice of product for installed gear; StationWants.Drawn adds the table of every running habitation unit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:21 +01:00
soul
cf91042828 CrewQuarters batch: the Crew Quarters design (HabitationData, twenty occupants, Water, Oxygen and Algae) and its not-offered product (cut habitation-gear)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:13 +01:00
soul
40c335a200 SourceSink: a habitation module's table is a sink, and a consumer good is judged as every good is (cut habitation-gear)
The consumer-good skip of the sink half is deleted; the test that pinned the skip becomes ModuleTableIsASink.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:12 +01:00
soul
b4d4e94333 HabitationData: a population is installed gear; Upkeep.Advance consumes by the module's table, Habitants lives on the unit (cut habitation-gear)
Union arm 54, EquippableItem key 15. AdvanceInstalled runs Facility and Habitation behaviours.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:11 +01:00
soul
ce2fb80e7c Rename RegionClock.AdvanceFacilities to AdvanceInstalled: what the span runs is installed plant, not only facilities (cut habitation-gear)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:11 +01:00
soul
725d8235c3 Delete IPopulationAssignment, Entity.PopulationAssignments and AssignedPopulation: no implementer, no reader (cut habitation-gear)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 05:42:10 +01:00
soul
9e3f16ecb9 TrojanSwarmTests: the re-pin comment names both causes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 04:30:41 +01:00
soul
c27eeff3b8 StationDeckTests: a fixture that deals the entrance cards beside its orders
The demo entrance is dealt no card, so the entrance rules were vacuous. The holder of the entrance gets its home there and an influence of 3: every kind a faction fields still stands outside the entrance (dies under the first deck dealt to entrance slots first, seed 19), and an ordered entrance holds exactly its orders (dies under dealt extras seated after the orders).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 04:30:40 +01:00
soul
74bd92251a ZoneGenerator: the overflow seat's root spacing stays inside the zone's boundary circle; tests pin containment, isolation and the seat order
The boundary circle (Radius x ZoneBoundaryRadius) is a fixed function of the zone's radius, drawn before any content, so spacing must fit inside it: a root takes the station only while moving every root outward by its spacing keeps the outermost root within the boundary; where no root fits beyond its ring group the station orbits a root at its family extent, the least spacing that fits. Unbounded, spacing put a root outside the boundary in 47 of 6400 zones (up to 3.2x the pack radius; 0 at base). OverflowSeatTests sweep nine seeds that exercised the bound: no root beyond the boundary, isolation holds for every spaced root, and an overflow station orbits a root with no massive child wherever the zone has one (reverting to the old first-root-with-children rule fails it).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 04:30:39 +01:00
soul
ddf0b4ec5a StationPlacementTests: root-seated overflow stations are checked by their own turrets
Ruling root-stations-tested-by-own-turrets. The orphan-source test skips a station on a root's ring with no source orbit; the two flank tests give each turret to the station nearest it round the ring, so every station's turrets are still checked to flank it and clear each other. No bodyless orbit is added.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:39:31 +01:00
soul
9bca18b07c TrojanSwarmTests: re-pin seeds 2, 3 and 4 after the overflow seat moves the roots apart
linux-x64 (Yggdrasil), old -> new: 2 bd7c5a3e -> 79808bd6, 3 a4fc1f09 -> 515554c9, 4 a8028205 -> 814b146c.
windows-x64 (Starfire), old -> new: 2 c18990e5 -> 2072e67a, 3 8da34a1f -> 4beb6475, 4 2469eacc -> ff37d9ec.
Seeds 1, 5 and 6 are unchanged on both. Cause: a zone with two or more massive roots and an overflow station scales its roots outward, which moves every body of those zones.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:19 +01:00
soul
b57ad1d4db ZoneGenerator: a lone childless root keeps its refusal; the shortfall seat needs something to orbit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:18 +01:00
soul
c0229d4154 ZoneGenerator: an overflow station seats on the root that asks the least of the zone, and the roots move apart to give its floor room
Ruling overflow-station-clears-root-first. The seat is a root with no massive child, else a bodyless node, else a root with children (most massive first, least spacing within a kind); outside the entrance a root with massive children takes the station beyond its massive children's ring group. The station's own orbit raises the root's support to Beta x its distance and its reach floor to Beta squared x it, so in a zone of two or more massive roots all roots move outward from the zone centre by the factor that keeps that floor within Reach x the nearest massive root's distance (root-window-floor).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:18 +01:00
soul
493bd1053d TrojanSwarmTests: re-pin the swarmless zone digests of seeds 1-6 on both host classes
linux-x64 (Yggdrasil), old -> new:
1 1873400d -> dcebeb47, 2 5872680e -> bd7c5a3e, 3 e92cc320 -> a4fc1f09, 4 61db9bda -> a8028205, 5 69ca46eb -> 373cc2c5, 6 307dc4b3 -> 332b3a84.
windows-x64 (Starfire), old -> new:
1 8ab09122 -> 74ffae15, 2 c7471235 -> c18990e5, 3 1b9b7dcf -> 8da34a1f, 4 72aea7f0 -> 2469eacc, 5 679b83ac -> e7ff9fd5, 6 5da9181e -> 42298028.
Cause: the deal removed the zone-stream count draw and seats every dealt station, so each zone's stations and every later draw moved.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:17 +01:00
soul
2838bc54fe DeterminismLedgerTests: re-pin the two-AI digest, the zone's station draws moved
linux-x64 57303576 -> 1d1f9901 (measured on Yggdrasil), windows-x64 344fec28 -> 5afdd8f9 (Starfire). Cause: the deal replaced the zone-stream count draw, so every later draw in the zone Zenith stands in moved.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:16 +01:00
soul
f19082264c HaulRunTests: TheLegIsTheHold stages the demo entrance of seed 2
Old reading at seed 1: loaded hauler dot toward the refinery 0.9879 (emptied 0.9810). New reading at seed 1: 0.0042, since the Lagrange sides moved when the count draw left the stream and the stations now sit 415 from a 139217-mass body whose pull beats 3 s of steering. Seed 2 reads 0.9999 loaded and 0.9952 emptied against the unchanged bound of 0.5.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:15 +01:00
soul
3d76ae42a8 DemoLoopTests: re-pin the buy anchor, V/buy 0.11286 -> 0.035269
Old reading: cheapest authored price at Zenith 2500, so V/buy 282.149/2500 = 0.11286. New reading: 8000, V/buy 0.035269. The deal removed the zone's count draw, which moved Zenith's stock draw. The band stays 1/sqrt(10) to sqrt(10) around the new anchor; repair reads 45703 on both sides, unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:36:14 +01:00