feat(threshold): Implement customer loss threshold configuration and notification system

- Added `ThresholdRepository` for managing customer loss threshold configurations and notifications.
- Introduced `threshold_service` to handle loss threshold alerts based on customer portfolio performance.
- Enhanced `customer_prompts` to include new intent for querying product net values.
- Updated `customer_service` to integrate new threshold alert functionality into existing workflows.
- Implemented `sanitize_postprocess` for improved compliance handling in customer interactions.
- Enhanced course documentation to reflect updates in advisor training modules and interactive elements.

This update significantly improves the customer experience by providing proactive loss threshold notifications and enhancing the overall service framework.
This commit is contained in:
2026-09-10 10:57:40 +08:00
parent 6f222f1c56
commit 4b8e11c9bd
102 changed files with 4054 additions and 445 deletions
+15 -15
View File
@@ -129,7 +129,7 @@
<span class="card-accent" style="background:#2A7B9B"></span>
<h2>JinRong 项目现状</h2>
<p>四角色、JWT 双通道、数据从哪来、merger 分支做到哪——5 分钟建立仓库地图。</p>
<span class="tag">5 模块 · 入门首选</span>
<span class="tag">7 模块 · 入门首选</span>
</a>
</div>
@@ -138,44 +138,44 @@
<a class="card" href="jinrong-module-customer/index.html">
<span class="card-accent" style="background:#2D8B55"></span>
<h2>客户财富 Agent 深潜</h2>
<p>客户 SSE 对话、14 节点 LangGraph、Core 只读 Tool、游客试聊与铁律边界。</p>
<span class="tag">customer_service</span>
<p>客户 SSE 对话、14 节点 LangGraph、口吻护栏、两套 RAG、合规 vs 一期拒答。</p>
<span class="tag">customer_service · 5 模块</span>
</a>
<a class="card" href="jinrong-module-advisor/index.html">
<span class="card-accent" style="background:#8B6B4A"></span>
<h2>代理人助手 Agent 深潜</h2>
<p>理财师顾问线、名下客户查询、Neo4j/Cypher 与 chat 分流接缝。</p>
<span class="tag">advisor · agent_service</span>
<p>理财师顾问线、名下客户查询、G-01 归属;T-20 未做 · Neo4j 是同步脚本非 Tool。</p>
<span class="tag">advisor · agent_service · 4 模块</span>
</a>
<a class="card" href="jinrong-module-analyst/index.html">
<span class="card-accent" style="background:#6B5B95"></span>
<h2>数据分析 Agent 深潜</h2>
<p>问数 NL2SQL、dashboard 指标、平台鉴权下的 analyst 专属 REST。</p>
<span class="tag">analyst · /api/analyst</span>
<p>问数 NL2SQL、dashboard 指标、问数红线、口径种子排障。</p>
<span class="tag">analyst · /api/analyst · 4 模块</span>
</a>
<a class="card" href="jinrong-module-risk/index.html">
<span class="card-accent" style="background:#B84A4A"></span>
<h2>风控监测 Agent 深潜</h2>
<p>预警台账、AML 只读 Tool、模拟交易与 risk_demo 权限口径。</p>
<span class="tag">risk · X-Agent-Type: risk</span>
<p>预警台账、AML 只读 Tool、模拟交易、cron/空台账演示边界。</p>
<span class="tag">risk · X-Agent-Type: risk · 4 模块</span>
</a>
<a class="card" href="jinrong-module-platform/index.html">
<span class="card-accent" style="background:#E06B56"></span>
<h2>代销平台 API 深潜</h2>
<p>v0.1 路由 customers/products/advisors/compliance、canonical 重复能力、脱敏开关。</p>
<span class="tag">get_platform_auth_context</span>
<p>v0.1 路由、适当性 canonical、空壳 API、行情 Phase B 草案。</p>
<span class="tag">get_platform_auth_context · 4 模块</span>
</a>
<a class="card" href="jinrong-module-frontend/index.html">
<span class="card-accent" style="background:#132B3A"></span>
<h2>前端 web 深潜</h2>
<p>四角色 HashRouter、ChatPanel 鉴权差异、Vite proxy 8000 与 401 排障。</p>
<span class="tag">web/ · React</span>
<p>四角色 HashRouter、Chat 鉴权差异、未接线清单、会话 B 三端点。</p>
<span class="tag">web/ · React · 4 模块</span>
</a>
<a class="card" href="jinrong-module-shared/index.html">
<span class="card-accent" style="background:#5A9DB8"></span>
<h2>共用底座与鉴权 深潜</h2>
<p>JWT 双栈 deps/gateway、Redis 会话窗口、input_guard 与 audit_middleware。</p>
<span class="tag">deps · memory_service</span>
<p>JWT 双栈 deps/gateway、Redis 会话、审计只 INSERT、6380 fail-open。</p>
<span class="tag">deps · memory_service · 4 模块</span>
</a>
</div>