---
name: mechanism-self-governance
scope:
  - '*'
products:
  - '*'
id: ka-hard-rule-机制自治理规则
type: governance_rule
asset_kind: governance_rule
lifecycle_status: active
authority: canonical
owner_mechanism_id: mc-mechanism-health
routes: ['*']
primary_triggers:
  - 机制健康
  - 主链路消费
  - 死代码
secondary_triggers:
  - lazy import
  - mechanism id
negative_triggers:
  - 普通业务编码
priority: P1
specificity: 4
consumes:
  - mechanism_health_check
hard_blocks:
  - lazy_dead_import
  - unconsumed_mechanism
fallback: manual_required
required_evidence:
  - mechanism_health_report
version: 1.1.0
last_reviewed: '2026-06-01'
stages: ["*"]
---

# 机制自治理规则

所有新增机制必须有真实生产消费路径，不能只停留在注册表、测试或文档。

## 硬规则

- 引擎模块导出的核心函数必须被 CLI、MCP handler 或 release gate 消费。
- `lazy*` 声明必须在 handler 或治理入口中实际调用。
- `mechanism_id` 必须在双层注册、机制合同和资产清单中保持一致。
- 行为测试必须包含 must-fail 和 must-pass，不得只验证文件存在。
