Files
nessarandClaude Fable 5.2 f65f02dd5c refactor(planning): keep one calculation lifecycle
The calculation entry point had three paths: the worker path, one for a
window without a Worker, and an in-process one for no window with its own
cancellation, replacement and explanation flags. Date analysis had a
main-thread fallback too. Only the worker path remains, on the job the
caller passes or the default selection, so every rule of an incomplete
calculation is decided once.

- The lifecycle module no longer checks the window or imports the planner
  core at runtime; browsers load the core only in the worker bundle.
- One registry holds the live supersession callbacks, the latest
  calculation identity and the latest date analysis.
- A browser with a window but no Worker now reports worker-unavailable
  even for an invalid request, where it reported invalid input first.
- The build forces Angular's chunk optimization: with the lazy core chunk
  gone the build fell under Angular's three-lazy-chunk threshold and the
  initial bundle was split and grew.

Refs #339

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 21:39:56 +01:00
..
2026-10-13 19:43:08 +02:00
2026-10-13 19:43:08 +02:00
2026-10-13 19:43:08 +02:00