Commit graph

4,445 commits

Author SHA1 Message Date
soul
6ccf5b4e09 Release workflow: fix backslash normalisation in bash preflight
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:47:32 +01:00
soul
f2481059ae Release workflow: quote Git Bash shell pin, put Git bin first on PATH, preflight bash resolution
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:46:58 +01:00
soul
8ce5482765 Checklist: fix tar.exe path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:41:27 +01:00
soul
fc9d8702fe Release workflow: preflight host prerequisites, atomic push, pinned Git Bash; checklist recovery and exec bits; define player-visible
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:41:04 +01:00
soul
fca2fd725e Docs: change-file rule in CLAUDE.md; forge release is the live release home
Windows and Linux players are in scope; the site and feed ends remain targets.
2026-11-25 20:34:28 +01:00
soul
fddb37aa04 Release workflow: dispatch builds win64 and linux64 on Starfire and publishes a forge release
Nothing is pushed until both builds succeed. Inert until the runner exists.
2026-11-25 20:34:27 +01:00
soul
90c412bc3e Release prep: VERSION, knope.toml, CHANGELOG and the pipeline's own change file
Change files decide the bump and changelog; knope only prepares the release and
never reads commit subjects. VERSION is the one owner of the current version.
2026-11-25 20:34:23 +01:00
soul
8f3d23d386 Demo pressure tests: pin InGrace's depth term directly
Where depth <= 0.25 the curve's own ramp already draws no raider, so only the
antagonist's stations and turrets (moved away by grace) carried the depth term,
and no generated zone near the antagonist's home reaches it. Assert InGrace for
those zones so dropping the term fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:58:22 +01:00
soul
186cb5ebac Demo pressure curve tests: gate antagonist scope, depth span, grace literal
Ported from cut/demo-pressure-curve and reworked for Galaxy.Antagonist:
depth and the curve's expectation come from DemoPressure.Depth/Of; new
DemoGalaxy_grace_depth_by_literal, depth_spans_entrance_to_gate,
antagonist_is_the_gate_faction, MainGalaxy_patrol_ignores_boss_zones,
SavedGame_without_antagonist_continues_unraided; the ring test is renamed for
what it asserts and the pursuit measure is split out, env-gated, asserting only
that an engagement happened. DemoTerminus_standing_survives_continue pins the
restored Antagonist.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:58:13 +01:00
soul
0cac368bc2 Demo pressure curve: Galaxy.Antagonist scopes and sources the raids
Galaxy.Antagonist (set by PlaceGate, saved as SavedGame key 18) is the faction
whose gate the galaxy has. ZoneGenerator raids a galaxy that has one by
DemoPressure's curve, one depth formula e / (e + x) with no clamp, and keeps the
nearest faction's patrol for a galaxy that has none. Inside grace the
antagonist's stations and turrets pass to the nearest other faction, and the
antagonist is no wanderer. LoadoutGenerator.OfferedShipHulls feeds the price
ceiling. Cut demo-pressure-curve.r2.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:58:05 +01:00
soul
9cfae281ef DelaunayTests: pin OrientationBound with the wrong-signed double orientation set
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 23:00:05 +01:00
soul
c28003d295 DelaunayTests: pin the orientation predicate, the collinear detector, the super-triangle and whole triangulation of cocircular input
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 21:47:30 +01:00
Nibu
fc97c8be25 Delaunay: drop the fewer-than-two guard the collinear branch already covers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 21:32:56 +01:00
Nibu
f428ab1d88 Delaunay: exact orientation and in-circle predicates, loud degenerate input, Galaxy zone-linked guard
Double-precision filter with BigInteger fallback replaces the circumcentre test; the super-triangle is far enough out
that no float input reaches it. Collinear points link along the line, duplicate or non-finite points throw, and
Galaxy refuses a zone no link reaches. The exact oracle replaces ScenarioTests' double brute force.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 21:32:55 +01:00
soul
faf44f857a aetherlight: record the fix batch and the accepted counter-blind-sizes finding
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:58 +01:00
soul
693fa444af aetherlight: a seeded property test over random patch sequences
Ten seeds of thirty random patches through the kernel: the resolver and
apply_operations never disagree (no Invariant error), a refusal writes nothing
and repeats, and every accepted commit leaves indexes equal to scans, no
overlap standing and the grain total unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:56 +01:00
soul
7ef60a7d21 aetherlight: touched_holders no longer reads retirement flips
A retirement only removes lent authority, so it cannot add an overlap; the
clause changed no answer over 20000 forged lists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:55 +01:00
soul
022db116e5 aetherlight: pin the patch behaviours three triaged mutants showed unpinned
One holder with a same-kind levy over two subjects, a pressure advanced then
resolved or reduced inside one patch, and a declared subject's own affordance
granted or revoked-then-granted: each fails under its mutant
(candidate.rs targets_overlap ==, patch.rs pressure next == 0, patch.rs
!granted.is_empty()).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:53 +01:00
soul
1541cb6c4f aetherlight: apply_operations judges a holder restored to its start value
The conservation sum covers the union of the holders written at entry and the
holders the log reports, so a holder written before the operations and
returned to its transaction-start value (absent from changes()) still counts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:52 +01:00
soul
aac972260f aetherlight: gate the patch lane's read work, and record the cut
patch_read_work_is_equal_at_100_and_1600 submits ten patch shapes through
AdmitPatch and holds their rows read equal at 100, 400 and 1600 persons. The
DischargeCommitment case that called apply_operation directly moves into it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:41 +01:00
soul
f18c6d5e18 aetherlight: the resolver's candidate graph is an overlay, not a copy of the world
resolve_patch no longer seeds fifteen maps by copying every partition. Each
candidate map is an Overlay over its committed partition (patch/candidate.rs):
reads fall through by point get, the patch's writes sit in a local map. The
scale-sensitive reads are named methods of Candidate: occupants_under,
offices_of, offices_held_by, kind_taken, import_key_held, custody, and a
running overlap set re-judged at every write to authority, offices or
retirement, which is graph_overlaps' answer because the committed world is
disjoint. The seeding block and the old scans live on only as test references
(Materialized), and the new tests hold every named read to them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:28 +01:00
soul
b41cae3b87 aetherlight: apply_operations checks conservation and disjointness from the log
Conservation sums only the holders the transaction wrote, with before taken from
each holder's value when the operations began; disjointness judges only the
holders whose grants, offices or institutions the transaction touched, through
holder_overlaps, which overlapping_holder now also calls for the open-time
whole-world check. resource_total becomes the test-only resource_total_by_scan.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:26 +01:00
soul
396bc6a63f aetherlight: import keys and affordance kinds are read through indexes
Subjects gain a ByImportKey index and the affordance catalog a ByKind index.
held_import_keys and the per-patch kind_names set are deleted: import_key_fault
takes a held predicate, and admit_resolved, resolve_patch and
verify_state_shape's open-time check ask the index (or nothing, at open).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 16:04:24 +01:00
soul
b63284349a aetherlight: a seeded differential test holds the views to their rebuild and the scans
Random bind, release, route, holding, relocate, retire, tick, speech and refused
commands over the clockwork world, reopened every 50 commits; after each, views ==
rebuild and derive_motion == scan at +1, +30 and +5000. PROVENANCE records the Soul
pass 1 fixes and the failing-dependency cost the gate does not defend.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:48 +01:00
soul
8fa2545675 aetherlight: the timing harness reports medians of 200 interleaved commits, and an open cost harness
clockwork_commit_cost takes the median of 200 samples with ticks and speeches
interleaved instead of a 30-sample mean per kind, whose speech ratio swung 2 to 4
over runs with flat rows. open_cost (ignored, like it) reports median open times
at 200 to 3200 persons, the bulk path the per-commit gate does not reach.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:47 +01:00
soul
e76ba61ee6 aetherlight: the clean-log contract of a view read holds in release builds
derive_motion asserts, not debug_asserts, that the six partitions the views join
have no open log, so a stale view cannot be read silently in a shipped build; the
refusal test runs in every profile.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:45 +01:00
soul
ba6c2dcd05 aetherlight: a retired dependent's route closing leaves no failing row, pinned
The view scenario retires a subject bound to a route and then closes the route;
dropping the retired-dependent guard in the fold's moved-targets arm now fails
views_are_derived.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:45 +01:00
soul
aa9e91247d aetherlight: fold the views of a bulk commit in rows proportional to the change
The moved-targets arm called Docs::indexed once per changed placement or route,
and indexed walks every touched key while a log is open, so genesis and every
replayed commit paid touched dependencies x changed targets. Docs::indexed_unchanged
names the committed index entries of keys the log did not change, with no log walk;
a changed dependencies key is already re-judged whole, so the fold loses nothing.
folding_a_bulk_commit_reads_rows_in_proportion_to_the_change pins it by rows read.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:44 +01:00
soul
19d514dc93 aetherlight: releasing a dependency removes the pressure it raised
Release deleted the dependency row only, so a pressed dependency's pressure row
outlived it and verify_state_shape refused the world at open (export then open
failed CorruptJournal). The Release arm now clears the dependency's pressure
through set_pressure, the one pressure writer. Pre-existing at 609b3ba5e.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:43 +01:00
soul
8112234597 aetherlight: the gate world grows dependencies, retirements, forums and checks to world scale
A dependency per person (to the previous live person), two failing on the last
place's grain, a forum per place, a Holds check on every routine, every tenth
person from the 35th retired, and the clock moved one period so every routine
is past due. The fixed-count pins on dependencies and redress go; the gate
asserts the population at scale, so a walk of dependencies, retired pledges,
holdings or forums fails it. PROVENANCE records the cut.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:42 +01:00
soul
08cda21b1a aetherlight: cross-partition views (live due, failing dependencies) derived at finish
views.rs owns Views { live_due, failing }, folded only by WorldState::finish
from the open change lists of commitments, subjects, dependencies, edges,
holdings and positions, before the logs close. Derived like a Docs index: not
digested, not encoded, ignored by equality, rebuilt by replay on open, never
touched by rollback. derive_motion reads it with clean logs (asserted) and no
longer walks every dependency row or visits retired subjects' dead pledges.

DueAt leaves commitments (the due question has one owner); dependencies gains
the DependsOn index the fold uses to re-judge a changed route's or placement's
dependents. The old walks live on as cfg(test) derive_motion_by_scan and
Views::rebuild; views_are_derived, view_reads_equal_reference_scans,
a_corrupted_view_is_detected and a debug refusal of an open-log read pin them.
golden.digests is byte-identical.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:54:41 +01:00
soul
ae0f6f3463 Stance follows the telemetry claim: pin it, and correct the Hated test's comment
StanceFollowsTheClaimNotTheLiveFaction changes ships' actual factions after they were tracked; reading other.Faction in the Hated
branch instead of the claim now fails it (verified by mutation). HatedIsKillOnSightInAnOwnerlessZone no longer claims that kill.

Note on the previous commit's catalog re-save: besides the 16 Faction schema ids, the records' Places arrays gained persisted element
ids, which the payload comparison (element ids not serialised in it) did not show. Accepted low resave-payload-claim-loose. The player
arm of GetFactionRelationship needs an entity to regard: follow-up regard-player-arm.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:14:24 +01:00
soul
4ce6e14d00 Catalog: re-saved through AetheriaStores after Faction.Relations changed its schema id
Every Faction record upserted as loaded and flushed through the game's own store composition; nothing authored. Relations stays
null in all 16. The other 396 records are untouched, and every one of the 412 serialises to the same payload as before.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:14:23 +01:00
soul
ea328b00e5 Faction.Relations at key 16 decides stance between NPC factions
Hated toward a claimed faction is kill on sight in any zone, owned or not; Hostile to Beloved govern presence by security
level through the existing PresencePermitted and trespass path. Entity.Regard is the one reader of the map: unset either side
is Neutral, a faction regards itself Beloved, absent is Neutral, and a faction the catalog does not hold is Neutral.
Relations are directed and stance reads the claimed faction from telemetry. The catalog authors none, so behaviour equals base
until the table lands; the schema id change is re-saved in the next commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:14:22 +01:00
soul
5bf507aba0 Summons write no stance: ZoneStage.Summon loses its player anchor, Neutral writes no override
ZoneStage.Place and AdmitPlaced write no IFF; authored stance is ScenarioStage's
run-start verb (Hostile written both ways once, in Admit). A summoned ship now
answers a provocation (Entity.Provoke), as the faction rule and grudges decide
(ruling summons-follow-faction-logic). Closes the summon anchor refusals, which
guarded an anchor that no longer exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 14:59:06 +01:00
soul
e700ead684 Follow camera: FrameFollow is the one writer of Follow, LookAt and distance; distance = FollowCameraDistancePerReach x Contacts.Radius
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 13:13:38 +01:00
soul
f25dcb54ce Follow camera: delete the dead transposer/composer comments; add GameSettings.FollowCameraDistancePerReach (1.5)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 13:10:34 +01:00
soul
609b3ba5e9 aetherlight: pin the gate world's dependency and redress counts, owned by cross-partition-views
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 07:37:37 +01:00
soul
128c00bdad aetherlight: a multivalue world, and the derived-index oracle checks the scans too
A pressure target fed by three sources and an institution with three
distinct incumbents (one in two offices) join the walked states, so a
projection that keeps only the first or last point of a document loses a
row the reference scans still see. indexes_are_derived now also compares
every read with its _by_scan twin, since a rebuild through P::points agrees
with a wrong projection.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 07:14:23 +01:00
soul
a4341a008e aetherlight: commit the random-walk differential of indexed against the projection of the map
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 07:12:17 +01:00
soul
08d0c26fd8 aetherlight: indexed counts the open-log walk, not only the entries it returns
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 07:11:33 +01:00
soul
c901d8b96a aetherlight: the gate world holds holdings, facts and knowledge at scale
One grain holding and one known fact per person, a fact and a resource per
place, and two dependencies (a fixed count: derive_motion still walks every
dependency row, follow-up aetherlight-cross-partition-views). read_work now
asserts the partitions are populated, so a scan of knowledge, holdings or
facts grows the count and fails it. golden.digests untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 07:11:31 +01:00
soul
f656cfdb1b aetherlight: drop Counted's size_hint override
Delegation to the inner iterator's hint; cargo-mutants found only equivalent
mutants of it. The default hint costs nothing here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:19:40 +01:00
soul
3aeea1749d aetherlight: the read-work gate, the gate world and the index oracles
The clockwork world now holds a route per consecutive place, a Reach::Place
channel per place, an institution with a warden office per place and two
past-due obligations, so no partition a read index serves is empty.
read_work_is_equal_at_100_and_1600 and operation_reads_are_equal_at_100_and_1600
gate the rows a commit and a set of otherwise unreached reads touch;
indexes_are_derived, index_reads_equal_reference_scans,
an_index_read_mid_transaction_sees_the_log and a_corrupted_index_is_detected
hold the index to its map and to the scans it replaced. The harness prints
rows read beside time and digests and asserts nothing. golden.digests
byte-identical.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:05:31 +01:00
soul
edeea42f5e aetherlight: partition read indexes owned by Docs; eight whole-partition scans become index reads
A Docs may carry a Projection: a pure function of one document's value.
Docs::finish folds each changed key (old points out, new points in) from
the list the digest folds; Docs::indexed returns (point, key) in order,
corrected by the open log so it is true mid-transaction; rollback never
touches the index. Seven projections: DueAt, StandsAt, ChildOf, BySource,
ByEndpoint, ByController, ByIncumbent. under_place, audience Colocated,
DischargeCommitment holders, scope_components routes and controls,
delegated_authority, derive_motion's commitments and reachable's outbound
edges now read the index; each old scan is kept as a cfg(test) *_by_scan
reference. golden.digests byte-identical.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 05:58:09 +01:00
soul
436c6d59ca aetherlight: Docs loses Deref; reads are inherent methods and every row an iterator yields is counted
No behaviour change. Reads of a partition go through get, contains_key,
len, is_empty, iter, keys, values, range, Index and IntoIterator, so no
reader can bypass the test-build row counter by coercing to BTreeMap.
Resolver and is_genesis parameters take &Docs. golden.digests untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 05:51:57 +01:00
soul
576605c7b0 aetherlight: pin that a non-routine commitment cannot carry a check
A live check from a Routine is put on an obligation or goal and
verify_state_shape must refuse it; the honest world is the control. Kills the
survivor of && to || on the routine-or-no-checks conjunction (shape-conjunction-survivor).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 05:16:01 +01:00
soul
28db7e2197 aetherlight: pin every partition's digest, undo and finish, and the failure after the digest
every_partition_is_digested_undone_and_finished iterates the declaration: for
each partition one written document must be in the folded digest and agree with
the full recompute, be put back by rollback (state, bytes, logs), and leave the
logs empty and the accumulator at the full recompute on finish; a partition no
fixture world populates fails loudly. a_failed_apply_rolls_back now runs a tick
that rolls routines, a tick that writes pressure rows (the old tick wrote none,
contrary to its doc), a speech and a forget, each under the revision overflow
and under an injected failure after the digest is folded and the commit sealed
(test-only thread-local seam in submit). Addresses table-rows-undefended.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:56:03 +01:00
soul
9c8ab5ec85 aetherlight: TickMinutes owns its bound at decode, replay's clock clause goes
TickMinutes was serde(transparent): a stored zero-minute tick (or a span above
MAX_ROUTE_COST, which submit cannot build) decoded, and replay's clock clause
alone judged it. The type now decodes through TryFrom<u32> (1..=MAX_ROUTE_COST),
so a command, a routine period or a stored tick outside the bound cannot be read.
With that the clock clause in verify_history is unreachable (only TimeAdvanced
writes the clock, and a tick's span is at least one minute), so it is deleted
rather than defended; so is the period clause in verify_state_shape. Tests:
bounds at decode, and an export whose tick span is rewritten to 0 or over the
bound does not open. Addresses clock-clause-not-redundant.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:49:28 +01:00
soul
415ac9208b aetherlight: a commit of another schema generation is refused by name
A v1 export is well-formed, so it is not corruption: open now returns
UnsupportedSchema{found, supported} from the one schema judge, asked of every
commit before its other fields are believed, instead of CorruptJournal at
genesis. The test asserts the version in the error for a v1 chain and a later
commit of another generation. Addresses v1-refusal-unnamed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:48:56 +01:00