---
name: 意图路由流程
scope:
  - '*'
products:
  - '*'
id: ka-procedure-意图路由流程
asset_kind: procedure
lifecycle_status: active
authority: supporting
owner_mechanism_id: mc-intent-router
routes:
  - code_change
primary_triggers:
  - 意图路由流程
secondary_triggers: []
negative_triggers: []
priority: P1
specificity: 5
consumes:
  - mc-classifier
emits:
  - execution_result
  - evidence
required_evidence:
  - route_decision
  - execution_shape
version: 1.0.0
last_reviewed: '2026-05-22'
migration_note: 知识资产标准化迁移
type: pipeline_procedure
when: 意图路由流程
status: active
---
# 意图路由流程

## 步骤

1. 接收用户意图 (intent)
2. 调用 routeIntent(intent) 获取 route_decision
3. 检查 route_decision.route 是否为有效路由
4. 检查 route_decision.execution_shape 是否匹配路由
5. 将 route_decision 传递给 classifier 和 intent_expander
6. 如果 degraded=true，记录降级日志

## 注意事项

- classifier 只提供兼容字段，不能修改 route_decision
- intent_expander 必须基于 route_decision 生成 prompt
