diff --git a/REFACTORING-AUDIT.md b/REFACTORING-AUDIT.md index b53e006..128ce1f 100644 --- a/REFACTORING-AUDIT.md +++ b/REFACTORING-AUDIT.md @@ -420,4 +420,5 @@ Migration order implied by the map: isolate shared infrastructure constructors ( - Pending internal and external transfer transaction-record construction is now application-owned and tested; repository insertion and transfer execution remain at the gRPC/service boundary. Full Wallet tests pass in `98753f7`. - The active IRT deposit creation path now also uses the shared `application/transaction.PendingDeposit` policy; repository insertion and IPG orchestration remain at the service boundary. Focused Wallet tests pass in `b009837`. - Successful commission and referral-commission transaction records now use the shared `application/transaction.SuccessfulTransfer` policy; Stellar execution and repository insertion remain at the service boundary. Full Wallet tests pass in `a4717d9`. +- IPG settlement success updates now use the shared `application/transaction.SettlementUpdate` policy for hash, status, and settled amount; repository update and external transfer remain at the service boundary. Focused Wallet tests pass in `f9b3c46`. - Deposit/payment idempotency, transaction persistence, queue publication, and failure orchestration remain for subsequent W006 increments. diff --git a/REFACTORING-TODO.md b/REFACTORING-TODO.md index df90a34..a68c119 100644 --- a/REFACTORING-TODO.md +++ b/REFACTORING-TODO.md @@ -325,4 +325,4 @@ Append one row whenever a task changes status. Existing rows are never rewritten | 2026-08-30 | A009 | `TODO` | `DONE` | Removed Auth's commented/dead wallet federation client; Auth tests pass with writable cache in `508a239`. | | 2026-08-30 | W013 | `TODO` | `STARTED` | Removed automatic federation creation and federation lookup from wallet initialization; new wallet records no longer receive a federation assignment; full Wallet tests pass in `97dd9d9`. Remaining schema/API/transaction-field cleanup is pending. | | 2026-08-30 | W013 | `STARTED` | `DONE` | Removed federation persistence/model code, wallet and transaction federation fields, federation protobuf messages, stale API route/docs, and remaining runtime references; regenerated Wallet contracts for Wallet/Auth/API; Wallet, Auth, and API tests pass. Wallet `a38501d`/`7ae90cc`, Auth `446e875`, API `c450264`/`c2c076c`. | -| 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, active pending and successful transaction construction, Stellar status updates, and transaction-event support policy through application boundaries; full Wallet tests pass in `a4717d9`. Idempotency, queue publication, and failure orchestration remain. | +| 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, active pending/successful transaction construction and settlement updates, Stellar status updates, and transaction-event support policy through application boundaries; focused Wallet tests pass in `f9b3c46`. Idempotency, queue publication, and failure orchestration remain. |