Commit graph

2286 commits

Author SHA1 Message Date
autocommit
0658101581 feat(simulator-specific): Implement city simulation rules and generation logic in mc-city crate
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-28 15:46:47 -07:00
autocommit
453189ec02 test(mc-turn): Add and update tests for courier resolver logic and improvement mechanics in the simulator
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-28 15:46:47 -07:00
autocommit
adfecb0e96 feat(simulator-simulator): Implement biome capacity calculations for trade and turn mechanics
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-28 15:46:47 -07:00
autocommit
501927dc33 feat(simulator-specific): Introduce configurable soft carrying-capacity cap for biome yields and integrate with improvement mechanics
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-28 15:46:47 -07:00
autocommit
afa600849b feat(mc-ai): Introduce diplomacy evaluation logic with evaluate_open_border and handle_shared_map_offer functions, integrate trade mechanics, and update dependencies for MC-trade compatibility
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-28 15:29:00 -07:00
autocommit
b882a6844c deps-upgrade(mc-ai): ⬆️ Update dependencies in mc-ai to resolve vulnerabilities and improve compatibility
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-28 15:28:59 -07:00
autocommit
2c7109887b revert(turn-processor): ️ Revert culture-port logic to restore pre-Rust port GDScript behavior and document floating-point divergence
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 22:02:04 -07:00
autocommit
ff87a5f2e1 revert(turn-processor): ️ Revert GDScript multiplication logic for culture calculation to pre-port state for R9 parity testing
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 21:37:58 -07:00
autocommit
f71699ff06 refactor(api-gdext): ♻️ Update culture accumulation logic to align GDScript deterministic behavior for border expansion timing
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 21:08:13 -07:00
autocommit
8206606790 perf(simulator-specific): Implement Rust-side percentage bonus calculations to replace GDScript logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 20:36:09 -07:00
autocommit
fbb2021fa1 perf(management): Implement Rust-based bonus composition for faster turn processing in turn_processor.gd
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 20:36:09 -07:00
autocommit
d670b094c4 perf(mapgen): Optimize terrain generation and biome placement for faster map generation
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 06:05:58 -07:00
autocommit
96fb91a23f feat(grid): Add edge-aware methods to the Edge type for grid operations with edge detection and edge-based logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 06:05:58 -07:00
autocommit
d8a417e224 feat(tactical): Introduce Production and State modules for tactical AI decision-making logic in the simulator
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 06:05:57 -07:00
autocommit
9ec70781a9 feat(api-gdext): Introduce Ecology API integration with Rust client, GDNative bindings, and config for real-time data fetching
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 06:05:57 -07:00
autocommit
e9f968a2f8 deps-upgrade(api-gdext): ⬆️ Update API extensions submodule dependencies to latest compatible versions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 06:05:57 -07:00
autocommit
31955b1ada perf(management-specific): Migrate research processing logic from GDScript to Rust (Rail-1) while delegating spell/tech checks and preserving GDScript wrapper for signals
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 05:47:10 -07:00
autocommit
f59bbc041f docs(turn-processor): 📝 Add comments to clarify Rail-1 port and future web integration in the turn processor module
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 04:44:15 -07:00
autocommit
23ac563723 feat(gdeconomy): Implement rail-1 compliant yield multiplier logic in Rust-side economic simulations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 03:08:07 -07:00
autocommit
5e6b3d7170 perf(empire): Optimize gold income scaling performance by migrating empire logic from GDScript to Rust
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 03:08:07 -07:00
autocommit
91d7516049 feat(simulator): Add fauna product simulation module with fauna_product.rs logic and lib.rs module declaration
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:56:12 -07:00
autocommit
a62ab721de test(mc-turn): Add/modify serde roundtrip test cases for mc-turn data structures
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:50:25 -07:00
autocommit
b008299849 test(mc-trade): Add test coverage for new DiplomaticAgreement variants in trade lifecycle simulation
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:50:24 -07:00
autocommit
f407a321f9 deps-upgrade(simulator): ⬆️ Update simulator dependencies to latest compatible versions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:50:24 -07:00
autocommit
dbdd3ab6ca test(mc-trade): Add test cases in courier_lifecycle.rs to verify trade agreement lifecycle (creation/validation/termination) behavior
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:42:52 -07:00
autocommit
2a555a12cd refactor(simulator): ♻️ Replace deterministic trade agreement logic with random number generation for simulation realism and update documentation
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:42:52 -07:00
autocommit
348c368f43 deps-upgrade(simulator): ⬆️ Update simulator and mc-trade dependencies to latest stable versions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:42:52 -07:00
autocommit
fc61f8e913 refactor(mc-city): ♻️ Refactor biome yield calculations and city behavior logic in the mc-city crate
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:35:49 -07:00
autocommit
dfc9fdcc03 feat(empire): Introduce yield multiplier for gold income to balance progression/difficulty scaling
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 02:35:49 -07:00
Natalie
59dea7f358 feat(@projects): add homogeneous ai snowball test framework
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 01:57:10 -07:00
Natalie
d6f041c171 feat(@projects): implement per-yield scaling and symmetric difficulty system
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 01:46:36 -07:00
Natalie
b1febc5884 feat(audio): add procedural audio preview synth
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 01:36:01 -07:00
Natalie
b54f320703 feat(@projects/@magic-civilization): update objectives and data structures
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 01:25:24 -07:00
Natalie
b4c27b5667 feat(@projects): add audio system integration
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 01:14:50 -07:00
Natalie
2a5649c6d4 feat(@projects): add combat calculator & unit objectives system
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 01:04:12 -07:00
Natalie
6211a4ccd9 feat(@projects/@magic-civilization): add age-of-dwarves unit and building assets
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-27 00:53:37 -07:00
Natalie
91ee619f25 feat(@projects/@magic-civilization): add hex terrain palette system
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 21:08:49 -07:00
Natalie
3fcc9d2c30 feat(victory): increase grace turns to 100 for war council
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 20:28:17 -07:00
Natalie
80c8504f7e feat(@projects/@magic-civilization): update tier-10 research findings and round-2 plan
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 20:23:07 -07:00
Natalie
938f4b3aa7 feat(@projects/@magic-civilization): add castle defensive upgrade objective
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 20:12:50 -07:00
Natalie
ee5b16c834 feat(@projects/@magic-civilization): update hex terrain visuals and edge labels
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 20:07:37 -07:00
Natalie
f02d3efecb Merge remote-tracking branch 'origin/main' 2026-04-26 20:05:54 -07:00
Natalie
a908554b8b feat(@projects/@magic-civilization): add edge terrain blending logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 19:52:21 -07:00
Natalie
3bcd58f024 feat(@projects/@magic-civilization): add tier 10 units
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 19:47:08 -07:00
Natalie
0bfc993545 feat(@projects/@magic-civilization): add age-of-dwarves units & audio system
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 19:42:00 -07:00
Natalie
e8697d4bc8 fix(merge): remove duplicate commit_improvement function
The git auto-merger created a spurious second copy of commit_improvement
when reconciling the conflict in world_map_city_actions.gd. The first
copy had a stray '_pending_unit = null' injection that neither HEAD nor
origin/main had in their commit_improvement bodies.

Verified: function definitions now match both sides (6 funcs, including
the canonical commit_improvement that's byte-identical to origin/main).
gdformat clean, gdlint clean.

The hand-merged _on_popup_selected body (origin's superset with the
AI_ARENA fallback path) is unchanged — only the duplicate function
definition outside it was removed.
2026-04-26 19:40:54 -07:00
Natalie
5edfa407d4 feat(@projects/@magic-civilization): add hex formation duality system
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 19:36:51 -07:00
Natalie
3280c93c5d Merge origin/main into main: ACS reconciliation 2026-04-26
Diverged 2026-04-16 → 2026-04-26: local 27 commits (designs gallery, combat
calculator React app, culture-tree UI, hex-grid formation pages, design
tokens, dashboard status updates, threshold tweak, mc-trade crate scaffold)
vs origin 37 commits (HUD panels, scenes, AI turn-bridge, fog-of-war tests,
diplomacy, culture refinements, tactical tuning, improvement-preview system,
paused-state save/load).

17 files were edited on both sides since merge-base c70b43326. Findings:

  • 15 of 17 files: byte-identical between local and origin — the same
    autonomous agent applied the same edits on both hosts, so the merge
    is a no-op for those.
  • src/game/engine/scenes/world_map/world_map.gd: auto-merged cleanly.
    Local _sync_cities() definition + call kept; origin's improvement-
    preview system (89 lines) layered alongside. Final file has 2 refs
    to _sync_cities and 10 refs to preview symbols (preview_yields,
    building_placement_pick_requested, _confirm_building_placement,
    improvement_preview_requested).
  • src/game/engine/scenes/world_map/world_map_city_actions.gd: hand-
    merged. Origin's _on_popup_selected is a strict superset of local's
    — same preview-emit path PLUS an AI_ARENA fallback that calls
    _improvement_manager.start_improvement directly when no preview
    listener is connected. Took origin's version; tagged the merged
    block with a 'merged from local 9fd0a2ab5 + origin 07ad84d6c' note.

No commits dropped. All 27 local commits preserved in history.
Pure-additive local work (.project/designs/*, scripts/run/dev.sh designs
subcommand, mc-trade crate, combat calculator React app) carried through
the merge unchanged. All 165 origin-only added files (HUD .uid files,
proof-test scenes, integration tests, rendering/.uid files) integrated.

JSON validity verified: vocabulary.json + 6 culture/*.json all parse
cleanly. No conflict markers remain. Validation pending: ./run verify on
EDIT host; cargo check + ./run test:headless on apricot.
2026-04-26 19:34:51 -07:00
Natalie
2f21485f81 feat(@projects/@magic-civilization): update courier diplomacy tiers to dwarven theme
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 19:31:41 -07:00
Natalie
17e69c6c41 feat(@projects/@magic-civilization): add dwarven courier tech audit blocker
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-26 18:56:09 -07:00