# RMDC 模块依赖关系

## 依赖矩阵

| 模块 | 依赖模块 | 被依赖模块 |
|:---|:---|:---|
| rmdc-core | user-auth, jenkins-dac, exchange-hub, watchdog, project-mgmt, work-procedure, audit-log | - |
| rmdc-user-auth | work-procedure, jenkins-dac, common | core |
| rmdc-jenkins-branch-dac | audit-log, common | core, user-auth |
| rmdc-exchange-hub | audit-log, common | core |
| rmdc-watchdog | project-mgmt, common | core |
| rmdc-project-management | audit-log, common | core, watchdog |
| rmdc-work-procedure | audit-log, common | core, user-auth |
| rmdc-audit-log | common | jenkins-dac, exchange-hub, project-mgmt, work-procedure |
| rmdc-common | - | 所有模块 |

## 变更影响传播

```
修改 rmdc-common → 需要重新测试所有模块
修改 rmdc-user-auth JWT → 需要更新 rmdc-core 中间件
修改 rmdc-audit-log 字段 → 需要更新所有写审计的模块
```

## 发布顺序

1. rmdc-common (基础)
2. rmdc-audit-log (审计基础)
3. rmdc-work-procedure (工单基础)
4. rmdc-jenkins-branch-dac / rmdc-project-management (并行)
5. rmdc-user-auth / rmdc-exchange-hub / rmdc-watchdog (并行)
6. rmdc-core (网关，最后)
