backend/
├── main.py # 应用入口 (无桥接层)
├── config.py # Pydantic Settings
├── routers/
│ ├── github_repos.py # 仓库相关 API
│ ├── github_actions.py # Actions API
│ ├── github_misc.py # 杂项 API
│ ├── github_proxy.py # Catch-all 代理
│ ├── mcp.py # MCP 协议
│ ├── webhooks.py # Webhook 接收
│ ├── sync.py # 数据同步
│ ├── system.py # 系统管理
│ └── deploy.py # HF 部署
├── core/
│ ├── events.py # 事件总线
│ ├── cache_v2.py # LRU 缓存
│ ├── audit.py # 审计日志
│ └── shared_state.py # 共享状态
├── mcp_tools/ # MCP 工具集
└── clients/ # GitHub HTTP 客户端