diff --git a/REFACTORING-AUDIT.md b/REFACTORING-AUDIT.md index d63f9a7..80d43e1 100644 --- a/REFACTORING-AUDIT.md +++ b/REFACTORING-AUDIT.md @@ -445,3 +445,7 @@ Migration order implied by the map: isolate shared infrastructure constructors ( - Alert level and source presentation labels now use `application/alert.LevelLabel` and `SourceLabel`; asynchronous email/SMS delivery, five-retry behavior, and error propagation remain at the alert adapter. Focused Wallet tests pass in `085cb25`. - Alert subject formatting now uses `application/alert.Subject`, preserving timestamp and localized level/source labels while delivery remains adapter-owned. Focused Wallet tests pass in `be29c11`. + +### `W010` — cron/stream bootstrap checkpoint + +- Cron retry behavior now uses `application/cron.Retry`; scheduler registration, skip/recover middleware, and job dependencies remain in `core/cronJobs`. Focused Wallet tests pass in `8e27342`. diff --git a/REFACTORING-TODO.md b/REFACTORING-TODO.md index a4f56ca..34e5f4c 100644 --- a/REFACTORING-TODO.md +++ b/REFACTORING-TODO.md @@ -127,7 +127,7 @@ This is the authoritative execution tracker for the refactor. Work is performed | W007 | `STARTED` | Extract market use cases and adapters. | Agreement amount tolerance now uses `application/market`; pricing, order lifecycle, settlement, and adapter boundaries remain. | | W008 | `STARTED` | Extract alert use cases and adapters. | Alert level/source presentation now uses `application/alert`; delivery, retry, persistence, and adapter boundaries remain. | | W009 | `TODO` | Extract internal-wallet use cases and adapters. | Internal RPC contracts remain compatible. | -| W010 | `TODO` | Separate cron and stream bootstrap from business operations. | Both modes start and stop correctly through explicit dependencies. | +| W010 | `STARTED` | Separate cron and stream bootstrap from business operations. | Cron retry policy now uses `application/cron`; bootstrap dependency narrowing and stream separation remain. | | W011 | `TODO` | Replace wallet bootstrap with explicit dependency composition. | All five sub-services work independently and together. | | W012 | `TODO` | Remove superseded `core/*Imp` packages and shims. | No duplicate business implementations remain. | | W013 | `DONE` | Remove redundant wallet federation creation/model. | Removed federation creation and lookup, wallet federation fields, federation persistence/repository adapters, transaction federation fields/filters, federation protobuf messages, and API documentation/routes. Wallet/Auth/API contracts regenerate and tests pass. | @@ -328,3 +328,4 @@ Append one row whenever a task changes status. Existing rows are never rewritten | 2026-08-30 | W006 | `TODO` | `STARTED` | Added `application/withdrawal`, `application/deposit`, `application/transfer`, and `application/transaction`; routed IRT reconciliation, IPG conversion/settlement/payer identity, transfer validation, transaction construction/completion, balance-change display policy, deterministic wallet-lock ordering, insufficient-balance failure policy, Stellar status updates, and transaction-event support through application boundaries; focused Wallet tests pass in `a43a758`. Business failure/refund orchestration remains. | | 2026-08-30 | W007 | `TODO` | `STARTED` | Added typed `application/market` policies for agreement tolerance, available amount, raw conversion, positive order inputs, ICO publisher validation, order status codes, and market pricing calculation; market ICO/order validation and calculation delegate through compatibility mapping. Focused market tests pass in `4ea1f5a`. Order lifecycle, settlement, contract generation, and adapter extraction remain. | | 2026-08-30 | W008 | `TODO` | `STARTED` | Added `application/alert` level/source label and subject policies with focused mapping tests; alert delivery keeps existing asynchronous email/SMS retry behavior. Focused Wallet tests pass in `be29c11`. Delivery, retry, persistence, and adapter extraction remain. | +| 2026-08-30 | W010 | `TODO` | `STARTED` | Added `application/cron.Retry` with success-stop/exhaustion tests; cron scheduler registration and recovery chain remain at the process boundary. Focused Wallet tests pass in `8e27342`. Bootstrap narrowing and stream separation remain. |