落地第十五条豁免额度校验;登记三处业务裁定
一、第十五条豁免规则(docs/25 第七节 #2,业务裁定:实现) 政策原文:C3→R4 签署风险揭示书后**可买**,但单只 R4 持仓不超过总资产 20%; C4→R5 同理,上限 10%。越级购买本身不是违规,超出额度才是 —— 原先扫描侧只看 "留痕是否齐全",于是"签了字但买超额度"这种明确违规没有预警;研判侧也把豁免的 前提条件(留痕齐全)当成了结论,直接判"疑似误报"。 - 扫描侧:新增 EXEMPTION_LIMITS 与 RiskRuleEngine._exemption_state,核算 "单只持仓 / 总资产"并写进证据快照;触发条件改为 gap > 0 and (missing_trace or 超出额度)。 - 研判侧:_assess_rw007 先判额度再判留痕。超限 → 证据支持风险;留痕齐全且在额度 内 → 疑似误报;留痕齐全但快照缺总资产/持仓 → 继续复核。 数据前提(tools/probe_exemption_data.py,证据见 docs/evidence/exemption-data-probe.json): 库内 fin_customer_profile 仅 1 行且 total_asset = 0.00、fin_holding 0 行、无任何申购 交易 —— 这条规则当前不会被触发,与 behavior_score 同源(画像与持仓由本项目之外的 流程写入)。因此刻意不把"算不出来"当成"超限":拿 0 去算会让每一笔 C3→R4 都变成违规, 豁免规则反倒成了误报源。上游把数据写入后无需再改代码即可生效。 二、三处业务裁定(此前挂在"待裁定") - 模型网关 chat + tools 入口:本轮不补,按基座能力缺口记录。它要贯穿 ModelGateway → … → BaseAgent 整条链路,属公共契约变更,演示联调期影响面大于收益。 - exclude(关闭误报)是否必须先"调查中":保持现状,不加门禁。 - 政策冲突:以第十四条 C ≥ R 为准;客服侧 check_suitability 复核后确认本来就按 C ≥ R 实现,无需改动。 三、其他 - 新增 tests/unit/service/test_risk_judgement_rw007.py(6 例)与扫描侧 4 例。 - 风控文档 03/05 同步 RW-007 的豁免额度条件与研判口径。
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"profile_total_asset": [
|
||||
{
|
||||
"rows_count": 1,
|
||||
"positive_assets": "0",
|
||||
"zero_assets": "1",
|
||||
"min_asset": "0.00",
|
||||
"max_asset": "0.00"
|
||||
}
|
||||
],
|
||||
"profile_investor_type": [
|
||||
{
|
||||
"investor_type": "C2",
|
||||
"rows_count": 1
|
||||
}
|
||||
],
|
||||
"holding_shape": [
|
||||
{
|
||||
"rows_count": 0,
|
||||
"null_market_value": null,
|
||||
"positive_current_value": null,
|
||||
"min_current_value": null,
|
||||
"max_current_value": null
|
||||
}
|
||||
],
|
||||
"subscription_pairs": [],
|
||||
"exemptible_pairs_detail": []
|
||||
}
|
||||
Reference in New Issue
Block a user