diff --git a/REFACTORING-AUDIT.md b/REFACTORING-AUDIT.md index 80d43e1..4acfa31 100644 --- a/REFACTORING-AUDIT.md +++ b/REFACTORING-AUDIT.md @@ -449,3 +449,4 @@ Migration order implied by the map: isolate shared infrastructure constructors ( ### `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`. +- Stellar payment stream lookup classification now uses `application/stream.IsNew`, preserving not-found and invalid empty-result behavior while keeping Horizon/database access in infrastructure. Focused Wallet tests pass in `6c3243c`. diff --git a/REFACTORING-TODO.md b/REFACTORING-TODO.md index 34e5f4c..215d3b0 100644 --- a/REFACTORING-TODO.md +++ b/REFACTORING-TODO.md @@ -328,4 +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. | +| 2026-08-30 | W010 | `TODO` | `STARTED` | Added `application/cron.Retry` and `application/stream.IsNew` policies with focused tests; cron/stream scheduler and network wiring remain at process/infrastructure boundaries. Focused Wallet tests pass in `6c3243c`. Bootstrap narrowing and stream separation remain. |