From 24b1c96cabd3abd92d6d7cb648263ee922424b5b Mon Sep 17 00:00:00 2001 From: nfel Date: Sun, 30 Aug 2026 20:32:09 +0330 Subject: [PATCH] docs: record market agreement shim cleanup --- REFACTORING-AUDIT.md | 1 + REFACTORING-TODO.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/REFACTORING-AUDIT.md b/REFACTORING-AUDIT.md index 14fa8ba..ac53a41 100644 --- a/REFACTORING-AUDIT.md +++ b/REFACTORING-AUDIT.md @@ -471,3 +471,4 @@ Migration order implied by the map: isolate shared infrastructure constructors ( ### `W012` — superseded implementation cleanup checkpoint - Removed the now-redundant `core/marketImp/amount.go` shim and routed market settlement directly to `application/market.RawAmount`; focused market tests pass in `085140c`. +- Removed the redundant `agreementAmountMatches` wrapper and routed ICO agreement checks/tests directly to `application/market.AgreementAmountMatches`; focused market tests pass in `261c6a1`. diff --git a/REFACTORING-TODO.md b/REFACTORING-TODO.md index 9ffceca..e5b16be 100644 --- a/REFACTORING-TODO.md +++ b/REFACTORING-TODO.md @@ -331,4 +331,4 @@ Append one row whenever a task changes status. Existing rows are never rewritten | 2026-08-30 | W010 | `TODO` | `STARTED` | Added `application/cron.Retry`, `application/stream.IsNew`, stream external-deposit transaction policy, and dedicated `SetupCronRepository`/`SetupStreamRepository` paths. Focused Wallet tests pass in `db52f89`. Remaining process composition work remains. | | 2026-08-30 | W009 | `TODO` | `STARTED` | Added `application/walletlock` lock/release mutation policies with frozen/available balance tests; internal RPC retains transaction scope, ledger journaling, persistence, and error mapping. Focused Wallet tests pass in `382fd79`. Remaining internal-wallet operations stay at the service boundary. | | 2026-08-30 | W011 | `TODO` | `STARTED` | Added dedicated alert, market, internal-wallet, stream, cron, and wallet repository setup entry points; each mode now declares its bootstrap profile. Command/core tests pass in `cf13a58`. Dependency internals and superseded bootstrap cleanup remain. | -| 2026-08-30 | W012 | `TODO` | `STARTED` | Removed `core/marketImp/amount.go` delegation shim and routed settlement callers/tests directly to `application/market.RawAmount`. Focused market tests pass in `085140c`. Remaining core implementation cleanup is pending. | +| 2026-08-30 | W012 | `TODO` | `STARTED` | Removed redundant market amount and agreement-tolerance delegation shims; market callers/tests now use `application/market` policies directly. Focused market tests pass in `261c6a1`. Remaining core implementation cleanup is pending. |