Skip to content

fix(sim-core): stabilize labor runtime clearing and phase orchestration#3

Merged
JoeHowarth merged 2 commits into
mainfrom
soa-fixes
Feb 23, 2026
Merged

fix(sim-core): stabilize labor runtime clearing and phase orchestration#3
JoeHowarth merged 2 commits into
mainfrom
soa-fixes

Conversation

@JoeHowarth

Copy link
Copy Markdown
Owner

Summary

  • refactor world tick orchestration to execute labor/production/market/mortality phase-wide across settlements, eliminating settlement-order coupling
  • fix labor runtime correctness by deriving labor skills from runtime state, using recipe-output-specific MVP pricing, and enforcing owner-level budget reservation before committing assignments
  • add regression coverage for all four runtime issues plus a multi-tick shared-merchant order-invariance test, and record the key learnings in sim-core/LEARNINGS.md

Validation

  • cargo fmt
  • cargo clippy --fix --all-targets --all-features --allow-dirty --allow-staged
  • cargo clippy -q --all-targets --all-features
  • cargo test -q

@JoeHowarth JoeHowarth merged commit b53548a into main Feb 23, 2026
1 of 2 checks passed
@JoeHowarth JoeHowarth deleted the soa-fixes branch February 23, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant