mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
FabroHooks held twenty-one flat fields. Three of them were "a set read from the store once, then kept current", in two shapes: a Mutex beside a OnceCell<()> that had to be initialised first, and, for the restore plan, a OnceCell<Mutex<_>> that could not be read uninitialised. The recorded checkpoints and the collected artifacts now use the second shape too. The checkpoint state (committed, recorded, last, branch), the artifact state (globs, collected) and the scope state (environments, inherited workspaces, per-workspace locks) are three structs with their own methods, so each invariant lives in one type instead of in every caller. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| components | ||
| foundation | ||
| packages/fabro-api-client | ||