swactor/apps/myelin/src
Zachery Aaron Shores-Chmielewski 1853d3dac5 feat(provisioning): add level-triggered cluster reconciler
Introduce a pure, level-triggered reconciler in `crates/provisioning`
that drives a declared cluster shape toward convergence over the
existing node lifecycle, replacing the edge-triggered imperative node
orchestration in `apps/myelin`.

- `reconcile`/`reconcile_node`/`observe`: pure decider and observation
  folder with stable logical-node identity, per-attempt operation
  identity, and deterministic retry backoff; `ClusterDriver` is the sole
  writer of observed state, coalescing triggers, recording operations as
  pending before dispatch, and scheduling timed requeues.
- `IdempotentEffectExecutor`: deduplicates submissions by
  `(run_id, logical_node_id, attempt)` and runs provider work on the
  engine-hosted blocking substrate, never blocking a reconcile pass.
- Myelin integration: `MyelinEffectBackend` bridges `ProvisionPlugin` to
  the executor contract; `LocalProcessPlugin`/`LocalDockerPlugin`
  provider adapters; `ProvisionedClusterGuard` pumps triggers,
  observations, and due operations.
- Retire the imperative acquire/bootstrap/teardown sequencing across
  `apps/myelin` orchestration, staging, observability, and provider
  adapters in favor of the declarative driver.
- Move the reconciler specification to `docs/specs/archive`.

Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-08-12 11:49:18 +04:00
..
bin refactor: mvp-system is now a standalone app, myelin 2026-08-01 14:06:10 +04:00
chat feat(provisioning): add level-triggered cluster reconciler 2026-08-12 11:49:18 +04:00
node feat(provisioning): add level-triggered cluster reconciler 2026-08-12 11:49:18 +04:00
observability feat(provisioning): add level-triggered cluster reconciler 2026-08-12 11:49:18 +04:00
orchestration feat(provisioning): add level-triggered cluster reconciler 2026-08-12 11:49:18 +04:00
prompt refactor: mvp-system is now a standalone app, myelin 2026-08-01 14:06:10 +04:00
staging feat(provisioning): add level-triggered cluster reconciler 2026-08-12 11:49:18 +04:00
tests feat(provisioning): add level-triggered cluster reconciler 2026-08-12 11:49:18 +04:00
codecs.rs refactor: mvp-system is now a standalone app, myelin 2026-08-01 14:06:10 +04:00
lib.rs feat(engine): substrate-neutral execution engine abstraction 2026-08-11 00:23:03 +04:00