From 85b9d1dc4ecec17bfd599140ca2ffe509119890f Mon Sep 17 00:00:00 2001 From: shinchan-zhai Date: Mon, 23 Mar 2026 12:45:03 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20update=20nofxi-tasks.md=20=E2=80=94=20r?= =?UTF-8?q?ecord=2012:37=20batch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nofxi-tasks.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nofxi-tasks.md b/nofxi-tasks.md index be4f6fb7..96a91d8e 100644 --- a/nofxi-tasks.md +++ b/nofxi-tasks.md @@ -101,6 +101,17 @@ - [DONE] Zero unsafe type assertions remaining in `trader/` package - [DONE] Fix frontend `config.ts`: rejected promise cached forever on network error (never retried) +### 2026-03-23 12:37 — Agent Intelligence + Resource Leak Fixes +- [DONE] Expand gatherContext crypto detection: 10 hardcoded → 38+ known symbols + dynamic XXXUSDT pattern extraction + — Users asking about PEPE, SUI, TRUMP, etc. now get real-time data enrichment + — Caps at 5 symbols per message to prevent slow context gathering +- [DONE] Add `get_trade_history` tool to agent LLM toolset + — Returns recent closed trades with PnL per trade, win rate, total PnL summary + — Users can now ask "how have my trades been doing?" and get structured data +- [DONE] Fix ticker leak in ALL 9 exchange order_sync goroutines (missing `defer ticker.Stop()`) + — OKX, Hyperliquid, Aster, Bybit, KuCoin, Gate, Bitget, Lighter, Binance + — Each stopped trader was leaking a goroutine + ticker forever + ### Features - [PENDING] Agent chat has fake streaming (word-by-word setTimeout) — implement real SSE streaming - [PENDING] Add WebSocket support for real-time position/balance updates instead of polling