Commit graph

2,995 commits

Author SHA1 Message Date
Meta Vens
1521c68a79 AetheriaStores.Open: a missing catalog throws FileNotFoundException
The test assembly registers a catalog [CultGlobal], so the global check already threw on a missing
file there and AStoreRefusesAMissingCatalog passed against the old Open (run at fe9da2e: 12 passed).
The refusal is now a FileNotFoundException naming the path, and the test pins that type, which the
global check never throws. Builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:28:04 +02:00
Meta Vens
387404c6ea AetheriaStoresTests: MissingCatalogGlobalIsLoud opens an existing empty catalog
The test relied on a read-only open of a nonexistent file yielding an empty catalog, which
AetheriaStores.Open now refuses; the fixture writes the empty catalog first. Builds; the suite is green with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:27:31 +02:00
Meta Vens
fb030ca9c3 smoke_package: a folder holding only a ModTools tool is not a game folder
Pass 4 gains the case that kills the mutant dropping the Aetheria.cc check on the Game folder preference. Builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:27:04 +02:00
Meta Vens
c98ad8f56a Add-on: _aetherdb joins its output lines with a newline escape, not a raw newline
The previous commit's _aetherdb did not parse (unterminated string literal), so 63d16e81 and 6971ff70 cannot import the add-on; this one can.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:25:05 +02:00
Meta Vens
0b721d691f Tests: the VerseGrammar global replaces TestCatalogGlobal as the catalog global fixtures author
TestCatalogGlobal existed only to give the test host one [CultGlobal] routed to the catalog. VerseGrammar is the
game's first, so the test-only type is deleted and every fixture authors a VerseGrammar instead (63 call sites; the
missing-global tests assert on aetheria.verse_grammar). Stale comments about the test type are rewritten.
Builds (not yet run when committed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:18:00 +02:00
Meta Vens
e5a57dab9f AetheriaBuild: qualify UnityEditor.PlayerSettings (the game has a global PlayerSettings); Unity .meta files
The previous commit did not compile in Unity (CS0117 on PlayerSettings.bundleVersion); this one does,
and a batchmode run of AetheriaBuild.Build succeeded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:17:13 +02:00
Meta Vens
6971ff70a7 ShipValidationTests: every Windows device name, alone and before a dot
Builds; the id-refusal cases pin prn and aux, which the first set left unchecked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:11:55 +02:00
Meta Vens
b997b80f81 AetheriaBuild.Build: one player entry point; AetheriaStores.Open refuses a missing catalog
AetheriaBuild (Assets/Editor) sets the version, builds Addressables, builds the
Win64 player, stages GameData through PlayerStaging, publishes AetherDb to
ModTools and removes the Burst debug folder; any failure exits 1 naming the step.
PlayerStaging is Unity-free and linked into Aetheria.Shared.Tests. A read-only
AetheriaStores.Open of a nonexistent catalog throws.

Builds on the headless side; the Unity .meta files and the batchmode run follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:55:32 +02:00
Meta Vens
63d16e81f3 AetherDb for ship authors: rooted at a game folder, found in ModTools; ship-ID rule in create
FindRoot keys on GameData/Aetheria.cc. ShipAuthoringStore.RequireShipId is the one ID rule
(Validate and create), refusing Windows device names and a trailing dot, naming no value.
The add-on's one preference is Game folder; _aetheria_repo, the repo preference and the
dotnet-run invocation are deleted. Smokes take SMOKE_GAME_FOLDER. Not yet built or tested
at this commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:53:03 +02:00
Meta Vens
fe9da2e0af Test AStoreRefusesAMissingCatalog (red: AetheriaStores.Open does not yet refuse)
Builds; the new test fails against the current Open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:52:06 +02:00
Meta Vens
d6100b18ca Route every real-catalog test reader through TestCatalog
Deletes the direct GameData/Aetheria.cc opens (FireControlCut124Tests x3, FireControlCut7Tests, MiningCut3Tests x2,
RestoredHullsTests x11) in favour of TestCatalog.Repo, and the eight copies of the shipped-assembly registry in favour of
TestCatalog.Registry() (real-catalog-readers-bypass). Pirates and Roles command tests keep copying the shipped catalog (they
rewrite a copy through AetherDb) and take only the registry.

Builds; not yet run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:50:26 +02:00
Meta Vens
da4d8c6c96 Fixture boots the game's catalog under one scoped registry; missing ship.cc is an exclusion; GLB extension is lowercase only
AetheriaStores.Open, ShipModCatalog.Compose and ResolveCatalog take an optional registry (the game passes none and keeps the
process-wide one). TestCatalog.Registry() is the shipped assembly's registry, so the test assembly's TestCatalogGlobal is no
longer a catalog global the real catalog must hold (fixture-fails-on-real-package). TestCatalog.ForRepo(root) is the one
binding Repo uses, pinned by a test over a real catalog plus a package (repo-wiring-unpinned). A package directory without
ship.cc is excluded with a reason, in Compose and so in ResolveCatalog's pre-check (missing-ship-cc-skipped). The loader takes
only a lowercase .glb, matching the case-sensitive LFS rule (lfs-glb-case).

All commits build; not yet run (verification job follows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:50:18 +02:00
Meta Vens
7f64e0d733 Merge origin/master into ships-addon-frame-r4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:50:14 +02:00
Meta Vens
30d027195b Research: prior art on thrust allocation with vectored thrusters
Serves follow-ups vectored-thruster-rows and gimballed-thrusters: virtual
actuators, nonlinear and cascaded allocation, rate and gimbal limits as
per-tick bounds, the zero-thrust singularity, games, shared-angle rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:50:05 +02:00
Meta Vens
ff1f5e9ebd Merge remote-tracking branch 'origin/master' into eureka/aetheria-release-mods-in-tree 2026-10-10 06:46:41 +02:00
Meta Vens
02145a105c VerseGrammarTests: fixed record keys go through a batch (previous commit did not build)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:43:22 +02:00
Meta Vens
d577c64d8f ConsumablesFirstSetTests: fit the first radiator pairing that the hull takes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:37:38 +02:00
Meta Vens
93b03bb0f5 verse-grammar: drop the TaskType guard the one-verb-per-TaskType test already covers
Builds (deletion of a guard statement only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:37:21 +02:00
Meta Vens
2efd882965 GameData/Aetheria.cc: verse-grammar apply (grammar revision 1 and the seven starter verbs)
Output of 'dotnet run --project tools/AetherDb -- verse-grammar' (the dry run, before this apply), CultLib git-45c2f40:

    Grammar: new, revision 1.
      Verbs a Ghostlight-simulated Aetheria world may use: ship actions the game films in-engine, and speech rendered as Aetheria conversation.

    Starter verbs (7):
      mine(site: Place, ore: Cargo)  [ShipAction]  new
        The actor works an ore body at a place and takes the ore into its hold.
      haul(cargo: Cargo, destination: Place)  [ShipAction]  new
        The actor carries cargo to a destination place.
      tow(target: Faction)  [ShipAction]  new
        The actor tows a station or hull belonging to the target faction.
      defend(protected: Faction, at: Place)  [ShipAction]  new
        The actor guards a protected faction's ships and holdings at a place.
      attack(target: Faction)  [ShipAction]  new
        The actor attacks the target faction's ships and holdings.
      explore(region: Place)  [ShipAction]  new
        The actor surveys a region and charts what is there.
      speak()  [Conversation]  new
        The actor says something to whoever is in earshot. Shown as Aetheria dialogue: face to face when docked, by radio with the speaker's portrait over their ship when undocked.

    Dry run. Pass "apply" to land the grammar global and 7 verb(s).

Then 'verse-grammar apply' on that catalog (sha256 193a4d25... -> b5b3db48...), and a second run printed no changes.
Run on Yggdrasil; the catalog copied back and committed here. Builds: this commit changes data only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:36:01 +02:00
Meta Vens
b45c6cab35 ConsumablesFirstSetTests: the Djinni has four radiator hardpoints; fit the first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:35:44 +02:00
Meta Vens
d382d4e062 VerseGrammarTests: the fixture writer is deterministic in content, not bytes
CultCache mints a random record key and a wall-clock storedAt per write, so two writes never match byte for byte.
The writer now fixes every record key and the test compares what a reader consumes (schema, key, content) across two
writes. Builds; the shipped-catalog test still fails at this commit because the catalog lands in the next one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:35:44 +02:00
Meta Vens
c321e84702 ConsumablesFirstSetTests: call the validator by its real owner (CultRecordRefs.Validate)
The previous commit, 51b8ecf7, does not build (AetheriaStores.Validate does not exist); this one does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:27:36 +02:00
Meta Vens
30c008d7a8 Merge origin/master into eureka/aetheria-release-modifier-stacking 2026-10-10 06:26:08 +02:00
Meta Vens
987849edd0 VerseGrammar: escape the regex end anchor (previous commit did not build)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:25:47 +02:00
Meta Vens
7a882b626b GameData/Aetheria.cc: apply AetherDb consumables-first-set (replay the command at merge, do not merge the blob)
Output of `dotnet run --project tools/AetherDb -- consumables-first-set apply` on the catalog at e71540be (sha256 of the
result 7e56a2ba4f9a8146ca785c326fd42228d011ffb5ac3e7e6a999e0e4e3f5cd0e2). The dry run printed:

-rw-r--r--  1 root          root          12718840 Oct 10 04:22 Aetheria.cc
-rw-r--r--  1 root          root              1603 Oct 10 04:22 apply.txt
-rw-r--r--  1 root          root              1612 Oct 10 04:22 dryrun.txt
Vent radius Min 33.03 (Djinni 14x17 cells at 2 units: half diagonal 22.02, x1.5), Max 49.55
New designs:
  Thruster Overdrive   1x1  mass 10  price 18000  stackable False  duration 6  roles [propellant, regulator]
      ThrottleLockData
      Multiplier ThrusterData.Thrust 3-4.5 (propellant)
      Multiplier VelocityLimitData.TopSpeed 2-3 (propellant)
      Multiplier ThrusterData.Heat 5-3 (regulator)
      Multiplier ThrusterData.Visibility 5-3 (regulator)
      "Opens every drive wide and holds it there. The ship is thrown forward on a bright, hot plume while the pilot keeps the wheel."
  Coolant Vent         1x1  mass 15  price 12000  stackable False  duration 15  roles [nozzle, coolant]
      VapourDump radius 33.03-49.55 (nozzle), opacity 0.9-0.98 (nozzle), lifetime 14-20 (coolant)
      Multiplier RadiatorData.Emissivity 0.3-0.5 (coolant)
      "Dumps the coolant loop into space as a spreading bank of vapour. Sensors lose whoever is inside it, and the radiators pay for the loss."

New products:
  Thruster Overdrive -> "send it" by DME, every role mean 0.55 dev 0.2: no brakes/ no regrets/ one good burn
  Thruster Overdrive -> "Updraft" by Finch, every role mean 0.65 dev 0.2: Light as a feather and, for six seconds, about as fast as one in a gale.
  Coolant Vent -> "Smoke Machine" by NiteLife, every role mean 0.55 dev 0.12: Fills the room. Nobody can say who came in with you.
  Coolant Vent -> "Morning Fog" by Lightsail, every role mean 0.55 dev 0.1: Rolls in thick, lifts slowly, and leaves the bills with the other fellow.

Dry run. Pass "apply" to author 2 designs and 4 products.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:24:01 +02:00
Meta Vens
51b8ecf7fa ConsumablesFirstSetTests: the catalog's two consumables, the overdrive's lock and boost, the vent's cloud
Run against the shipped catalog once the next commit lands; this commit alone fails them (it builds).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:23:57 +02:00
Meta Vens
623072c711 Verse grammar: VerseGrammar and VerseVerb catalog documents, validation, the verse-grammar AetherDb command, tests
Adds the aetheria.verse_grammar global and aetheria.verse_verb documents (one render path per verb, typed
participant roles), VerseGrammarValidation run by AetheriaStores.Open over every verb, the AetherDb
'verse-grammar [apply]' command (starter set: one ship-action verb per TaskType plus speak; question
verse-social-verbs default speak-only), and VerseGrammarTests with a deterministic fixture writer.

The shipped catalog does not carry the grammar yet: it lands in the next commit, so
The_shipped_catalog_holds_revision_one_and_the_seven_starter_verbs fails at this commit. Not yet built when committed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:23:01 +02:00
Meta Vens
815526eeb8 AetherDb consumables-first-set: Thruster Overdrive and Coolant Vent with two products each
Dry-run by default, validated and committed in one batch like pd-gear. Overdrive (1x1, mass 10, price 18000, duration 6,
ThrottleLock then Thrust 3-4.5 and TopSpeed 2-3 on propellant, Heat and Visibility 5-3 on regulator); Coolant Vent
(1x1, mass 15, price 12000, duration 15, VapourDump radius from the Djinni diagonal x1.5, opacity .90-.98, lifetime
14-20, then Emissivity .3-.5). Builds; the catalog is not yet applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:15:53 +02:00
Meta Vens
e8d42df258 ConsumableSupplyTests: ship hull with two interior cells (cargo bay and capacitor)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:56:45 +02:00
Meta Vens
e71540be5b Merge origin/master into eureka/aetheria-release-vapour-cloud
Behaviors.cs union list: keep Union(41, ThrottleLockData) from master and
Union(42, VapourDumpData) from this cut; no key renumbered. All commits build
as a merge result only after the verify job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 05:51:04 +02:00
Meta Vens
87528dbda4 ConsumableSupplyTests: a station roll can also stock a single unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:47:37 +02:00
Meta Vens
a5aac29055 ConsumableSupplyTests: roomy holds (gear stock draws 16 with replacement), drop the probe, pin the station maximum
Commit 54d200ec before this is a diagnostic probe (builds, test deliberately red).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:47:11 +02:00
Meta Vens
54d200ec60 probe
x
2026-10-10 05:37:21 +02:00
Meta Vens
562de34c4e ShipRigTests: the Max-180 boundary joint needs one degree of reach for its 1 degree arc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:36:32 +02:00
Meta Vens
c2e46a4637 ConsumableSupplyTests: count consumables in docking-bay holds too (a station's first bay is its dock)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:34:47 +02:00
Meta Vens
7b73e51346 Consumable supply: scarce stock at stations and on ships through the one availability rule
LoadoutGenerator.AvailableProducts and RandomProducts now range over CraftedItemData; only
equippable gear needs a hull home. StockConsumables is the last step of GenerateShipLoadout and
GenerateStationLoadout: it draws nothing when no consumable is on offer. Unbuilt/untested at
this commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:32:50 +02:00
Meta Vens
77e441df31 StatResolver tests: keep the boost gear online with the entity's override so the modifiers execute
The first commit's gear modifiers never executed (test gear has no heat response, so it read offline). Builds; the first commit's new tests fail without this.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:32:45 +02:00
Meta Vens
11a7843c61 StatResolver tests: boosts on one stat multiply, constants add, gear and consumable share the rule
Pins ruling boost-stacking-multiply through the production path (gear and consumable StatModifierData on a ship, read via EquippedItem.Evaluate): TwoScalesOnOneStatMultiply, AConsumableBoostMultipliesWithGear, TwoConstantsOnOneStatAdd. Tests only; no production change. Not yet run; the commit is unverified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:30:38 +02:00
Meta Vens
b623d519f7 ThrottleLock tests: pin the exact tick the lock ends, as a function of Duration
Replaces TheLockHoldsThroughMostOfItsDurationAndEndsAfter with a theory over Duration 1 and 2 at 0.25 s ticks. Builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:26:51 +02:00
Meta Vens
1be1023558 Merge origin/master into throttle-lock 2026-10-10 05:26:11 +02:00
Meta Vens
9e516d06d9 Rig in the visual record: ShipAuthoring.Joints, ShipAnchor.Joint, reach check, Bind and ShipModPlan.Rigs
Deletes the articulation anchor role. Adds ShipJoint (key 5 Joints), ShipAnchor.Joint (key 5),
the judge's joint-shape, mount-on-joint and yaw-reach checks over RigChains, Bind's GLB checks
(ReadNodeIds returns the nearest tagged ancestor), and ShipModPlan.Rigs. Presentation only:
arc stays HardpointData.FiringArc and traverse WeaponData.Tracking (ruling mount-arc-gun-traverse).
Not yet built or run when committed; the verification commit follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:23:02 +02:00
Meta Vens
d4a27def37 Merge origin/master into eureka/aetheria-release-consumable-host
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:12:57 +02:00
Meta Vens
8755da5ecb Release map: articulated mounts re-mapped to the hardpoint-arc ruling
Imagination r2 re-map (session self-2026-10-10-ag): the sim already carries
per-hardpoint arc and weapon traverse; links are rig only. Target doc moves
articulated weapon mounts into scope under ruling mount-arc-gun-traverse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 05:12:27 +02:00
Meta Vens
c22456b52c Merge origin/master into eureka/aetheria-release-consumable-host
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 04:59:19 +02:00
Meta Vens
1fc98bdcde ThrustAllocator: write the error coefficients every call; no Array.Clear on A
Every entry of A is now assigned each call or never written, so the clear was a second
owner of the same state (hand mutants a-never-cleared and a-cleared-by-division survived
it as equivalent).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 03:31:49 +02:00
Meta Vens
c770e11bfa ThrustAllocator: tests for a one-thruster first call and for stale rows; drop the b clear
Stryker survivors 12390 (initial _columns +1 skips the first resize at n = 1) and
12399/12400 (A not cleared between same-count calls) get tests. Array.Clear on b was an
equivalent mutant: rows 0-6 are assigned every call and the ridge rows are never written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 03:23:50 +02:00
Meta Vens
acea1aa73e Merge remote-tracking branch 'origin/master' into eureka/aetheria-release-ballistic-flight 2026-10-10 02:00:50 +02:00
Meta Vens
ce0023f1f8 Research: prior art on hull decals, panel lines and wear layering
Eyes pass before the hull shader fork: DECALmachine 2.17 export paths,
forward-renderer decal practice, parallax for panel lines, layered wear
on the built-in pipeline, and this project's rendering constraints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:50:14 +02:00
Meta Vens
1d031bd273 ThrustAllocator tests: a bad column zeroes the caller's buffer after a good call
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:31:58 +02:00
Meta Vens
f78fc421ef ThrustAllocator tests: the drive's pre-onset throttle bound is 3e-4, measured 1.6e-4 at most
Removes the scratch probe. The spec pinned 1e-4; the optimum leaks 1.2e-4 (Duel) and
1.6e-4 (halved Talaria) from the first touch of Turn. Builds; ran 18 tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:31:14 +02:00