Rehost selected-year gap scalar owner state

This commit is contained in:
Jan Petykiewicz 2026-04-18 06:38:21 -07:00
commit 534c827dca
8 changed files with 180 additions and 10 deletions

View file

@ -166,6 +166,9 @@ The highest-value next passes are now:
- shellless calendar advance now also drives that annual seam directly: `StepCount` and `AdvanceTo`
invoke periodic-boundary service automatically on year rollover instead of requiring a second
manual service pass to make the annual finance stack run
- that stepped world-time path now also refreshes the derived selected-year gap scalar owner lane
`[world+0x4ca2]`, so later selected-year and periodic-boundary world work can build on runtime
state instead of a frozen load-time scalar
- the project rule on the remaining closure work is now explicit too: when one runtime-facing field
is still ambiguous, prefer rehosting the owning source state or real reader/setter family first
instead of guessing another derived leaf field from neighboring raw offsets

View file

@ -9,15 +9,13 @@ Working rule:
## Next
- Rehost world time owner-state progression from `CalendarPoint` into `world_restore`:
sync `packed_year_word_raw_u16`, `partial_year_progress_raw_u8`, packed calendar tuple words,
and absolute counter so shellless stepping advances the same finance/economy reader inputs used
by periodic service.
- Make automatic year-rollover periodic service run against a consistent end-of-year world-time
snapshot, then refresh into the new-year snapshot after service commits.
- Rehost the next shellless periodic-boundary world work under
`simulation_service_periodic_boundary_work`, starting with any bounded non-dialog queue/state
family that can execute without shell ownership.
- Rehost the next selected-year periodic-boundary world seam under
`simulation_service_periodic_boundary_work`, starting with the save-world economic tuning mirror
`[world+0x0bde]` and any directly adjacent selected-year companion bands that can be refreshed
from stepped world time without shell ownership.
- Expand the selected-year world-owner surface beyond the new stepped calendar and gap-scalar
lanes when the owning reader/rebuild family is grounded strongly enough to avoid one-off leaf
guesses.
## In Progress
@ -43,6 +41,8 @@ Working rule:
## Recently Done
- Stepped calendar progression now also refreshes save-world owner time fields, including packed
year, packed tuple words, absolute counter, and the derived selected-year gap scalar.
- Automatic year-rollover calendar stepping now invokes periodic-boundary service.
- Company cash, confiscation, and major governance effects now write through owner state instead of
drifting from market/cache readers.

View file

@ -215,7 +215,9 @@ flows through save-slice/runtime restore state, so later credit / prime / manage
build on owned issue state instead of another narrow probe; that same owner surface now also carries
the saved world absolute counter as first-class runtime restore state instead of shell-context
metadata, plus the packed year word and partial-year progress lane that feed the annual-finance
recent-history weighting path. The same owned company annual-finance state
recent-history weighting path. Stepped world time now also refreshes the derived selected-year gap
scalar owner lane `[world+0x4ca2]`, so later selected-year periodic-boundary world work can build
on runtime state instead of a frozen load-time scalar. The same owned company annual-finance state
now also drives a shared company market reader seam for stock-capital, salary, bonus, and the full
two-word current/prior issue-calendar tuples, which is a better base for shellless finance
simulation than summary-only helpers. That same owned annual-finance state now also derives elapsed