From f4ff3c9a797596d61e77aec35108de494a583c2e Mon Sep 17 00:00:00 2001 From: gravermistakes Date: Sat, 24 Oct 2026 11:38:57 -0700 Subject: [PATCH] docs: make M4 hard ceilings versioned and absolute --- core/docs/plans/M4-wallets.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/docs/plans/M4-wallets.md b/core/docs/plans/M4-wallets.md index c70a409..3ac2867 100644 --- a/core/docs/plans/M4-wallets.md +++ b/core/docs/plans/M4-wallets.md @@ -50,6 +50,11 @@ Implemented Tcl surface: - `spending_check(wallet_id, action)` — independent exposure brake. - `record_spend(wallet_id, notional)` — simulation accounting only. - `count()`. +- Target hard-limit record: + `WalletLimitVersion { wallet_id, trader_id, version, per_action_limit, cumulative_limit, + effective_at, supersedes?, provenance }`. + Every admitted action must name the exact active limit version. No API accepts a per-action + override. Future custody surface such as `sign`, `balance`, key generation/import, and transaction history is intentionally **not implemented** and must not be inferred from the component name. @@ -76,7 +81,9 @@ history is intentionally **not implemented** and must not be inferred from the c 1. **Done:** permanent 1:1 Trader↔wallet binding. 2. **Done:** per-action and cumulative session exposure brakes. 3. **Done:** Marketplace-only use of the implemented wallet scaffold. -4. **Open by design:** key generation/storage, signing, balances, chain adapters, rotation/backup. +4. **Next:** version hard limits and attach the active limit version to every admitted spend. +5. **Next:** persist capital-at-risk / spend history per Trader wallet for longitudinal analysis. +6. **Open by design:** key generation/storage, signing, balances, chain adapters, rotation/backup. ## 9. Tests Current tests verify walletless rejection, wrong-Trader binding rejection, independent per-action