shinchan-zhai
ca8bed4a58
fix(agent): add TargetRef nil guards and ensureHistory for robustness
...
- Add nil checks for session.TargetRef in all four execute*Action
handlers (Trader/Exchange/Model/Strategy) to prevent panic on
corrupted sessions; bulk-delete and query actions are excluded
- Add ensureHistory() helper and call it in runPlannedAgentWithContextMode
to prevent nil panic when history is not initialized
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 16:43:36 +08:00
shinchan-zhai
94844b7139
fix(agent): guard async maintenance goroutine and add timeout to diagnosis ctx
...
- Add stopCh check in runPostResponseMaintenanceAsync to respect agent
shutdown, preventing goroutine leak on Agent.Stop()
- Replace bare context.Background() in handleTraderDiagnosisSkill with
a 30s timeout context for proper deadline propagation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 16:37:30 +08:00
lky-spec
e67a927a4f
Refine strategy creation flow and diagnostics
2026-05-09 14:48:24 +08:00
lky-spec
0f11be77f8
Improve NOFXi agent strategy creation flow
2026-05-06 17:00:05 +08:00
lky-spec
159f27dfdd
Improve NOFXi agent product handling
2026-05-02 22:55:10 +08:00
lky-spec
25d0b30ea9
Split strategy config by strategy type
2026-04-28 20:19:24 +08:00
lky-spec
2d45e7ab15
Refine agent strategy routing and config handling
2026-04-28 19:37:44 +08:00
lky-spec
fc6c42ac11
Revert "Revert "Clean up reverted strategy prompt remnants""
...
This reverts commit 03a307939e .
2026-04-28 15:54:37 +08:00
lky-spec
5ff7212cb3
Revert "Revert "Trim agent planning tools and validate strategy patches""
...
This reverts commit 3619f82796 .
2026-04-28 15:54:36 +08:00
lky-spec
3619f82796
Revert "Trim agent planning tools and validate strategy patches"
...
This reverts commit fe0dbce367 .
2026-04-28 15:53:53 +08:00
lky-spec
03a307939e
Revert "Clean up reverted strategy prompt remnants"
...
This reverts commit 8d8a0cc72b .
2026-04-28 15:53:53 +08:00
lky-spec
8d8a0cc72b
Clean up reverted strategy prompt remnants
2026-04-28 15:50:45 +08:00
lky-spec
fe0dbce367
Trim agent planning tools and validate strategy patches
2026-04-28 15:45:47 +08:00
lky-spec
30a703a827
Unify agent routing and tighten exchange config
2026-04-28 11:58:58 +08:00
lky-spec
e8eafce1e0
Require explicit agent mutation targets
2026-04-26 22:38:16 +08:00
lky-spec
ce3a8582af
Simplify agent skill routing and config updates
2026-04-26 22:22:12 +08:00
lky-spec
cfd91069d3
Centralize active skill field extraction
2026-04-26 20:44:09 +08:00
lky-spec
903eb591eb
Improve active skill schema handling
2026-04-26 11:58:29 +08:00
lky-spec
9ee931ee30
v2
2026-04-25 20:24:46 +08:00
lky-spec
c244e4cdf1
change v1
2026-04-25 16:18:45 +08:00
lky-spec
737f9bca95
Enhance NOFXi agent workflow and diagnostics
2026-04-19 16:06:28 +08:00
lky-spec
5c4e7502d7
feat: integrate NOFXi agent into dev
2026-04-18 16:06:42 +08:00