dev-manager-tauri/.blueprint/manifest.yaml
lanrtop eb346ae1fd feat: add runtime diagnostics, health center, and project mentor
运行时可观测性:
- 新增 runtime_logs SQLite 表,提供全局 log_event 写入函数(保留最近 500 条)
- mcp_server/mcp_inject/groups 关键路径接入结构化日志
- MCP 新增 get_diagnostics 工具,返回注入摘要与近期错误
- add_group_member 注入失败时前端显示黄色 toast 警告

健康中心:
- 新增 run_health_check 命令(6 项并行检查:MCP/Git 路径/项目路径/GitHub Token/编辑器/DB 延迟)
- 新增质量指标聚合(休眠项目/孤立项目/注入异常组/无路径项目)
- 侧边栏新增健康中心页面,支持手动刷新和诊断报告复制
- 设置页 MCP 状态改为真实 HTTP ping 检测

项目导师:
- 新增 get_mentor_context 后端命令,聚合健康状态/蓝图摘要/近期错误
- MCP 新增 get_project_mentor_context 工具(含产品组归属校验)
- 项目卡片底部新增 🎓 导师按钮,面板支持复制结构化 Markdown 报告
- 修复 WSL 项目路径识别:wsl_path 存 UNC 格式时自动提取 distro 和 Linux 路径,改用 wsl 命令检查路径存在性(规避 Path::exists() 对 \wsl.localhost\... 不可靠的问题)

AI 工作流:
- 新增 AI-WORKFLOW.md、.claude/skills/ 技能体系配置
- 更新 CLAUDE.md 补充蓝图驱动开发规范
2026-04-04 19:58:49 +09:00

378 lines
7.6 KiB
YAML

version: 1
name: 炼境
description: >
Git 多空间开发管理器。以蓝图为神经系统,以 Claude 为智能层,
持续感知所管理项目的功能运转、质量状态与成长方向,
成为每个项目的贴身导师。炼境本身亦被纳入其中,
形成可自我进化的开发智能闭环。
iteration: 1
updated: 2026-04-04
areas:
- id: frontend
name: 前端
color: "#3B82F6"
- id: backend
name: 后端
color: "#10B981"
- id: infra
name: 基础设施
color: "#F59E0B"
modules:
# ── 前端 ────────────────────────────────────────
- id: workspace-mgmt
name: 空间管理
area: frontend
status: done
progress: 100
position: [0, 0]
- id: project-mgmt
name: 项目管理
area: frontend
status: done
progress: 100
position: [250, 0]
- id: project-dashboard
name: 项目看板
area: frontend
status: done
progress: 100
position: [500, 0]
- id: repo-registry
name: Git 仓库注册
area: frontend
status: done
progress: 100
position: [250, 150]
- id: project-tools
name: 项目工具链
area: frontend
status: done
progress: 100
position: [500, 150]
- id: project-templates
name: 项目模板
area: frontend
status: done
progress: 100
position: [0, 150]
- id: tags-groups
name: 标签 & 分组
area: frontend
status: done
progress: 100
position: [750, 0]
- id: settings-page
name: 设置页
area: frontend
status: done
progress: 100
position: [750, 150]
- id: blueprint-view
name: 蓝图可视化
area: frontend
status: done
progress: 100
position: [1000, 0]
- id: blueprint-onboarding
name: 蓝图接入引导
area: frontend
status: done
progress: 100
position: [1250, 0]
# ── 后端 ────────────────────────────────────────
- id: git-ops
name: Git 操作
area: backend
status: done
progress: 100
position: [0, 350]
- id: github-auth
name: GitHub OAuth
area: backend
status: done
progress: 100
position: [250, 350]
- id: github-publish
name: GitHub 发布
area: backend
status: done
progress: 100
position: [500, 350]
- id: devtools-scan
name: 开发工具扫描
area: backend
status: done
progress: 100
position: [750, 350]
- id: project-env-scan
name: 项目环境扫描
area: backend
status: done
progress: 100
position: [750, 500]
- id: shell-launch
name: 编辑器 & 终端启动
area: backend
status: done
progress: 100
position: [500, 500]
- id: blueprint-reader
name: 蓝图文件读取
area: backend
status: done
progress: 100
position: [1000, 350]
- id: blueprint-governance
name: 蓝图治理
area: backend
status: done
progress: 100
position: [1250, 350]
- id: blueprint-flywheel
name: 飞轮数据层
area: backend
status: done
progress: 100
position: [1000, 500]
- id: blueprint-feedback
name: 梦核 · 记忆巩固
area: backend
status: done
progress: 100
position: [1250, 500]
# ── 基础设施 ────────────────────────────────────
- id: cicd-workflow
name: CI/CD 工作流
area: infra
status: done
progress: 100
position: [0, 650]
- id: auto-update
name: 客户端自动更新
area: infra
status: done
progress: 100
position: [250, 650]
- id: wsl-proxy
name: WSL 代理同步
area: backend
status: done
progress: 100
position: [500, 650]
- id: v2rayn-import
name: v2rayN 节点读取
area: backend
status: done
progress: 100
position: [500, 800]
- id: sqlite-db
name: SQLite 数据层
area: infra
status: done
progress: 100
position: [750, 650]
- id: tray-service
name: 系统托盘常驻
area: infra
status: done
progress: 100
position: [1000, 650]
- id: mcp-server
name: 内嵌 MCP Server
area: backend
status: done
progress: 100
position: [1500, 350]
- id: mcp-config-inject
name: MCP 配置注入
area: backend
status: done
progress: 100
position: [1500, 500]
- id: product-group-mcp
name: 产品组 MCP 设置
area: frontend
status: done
progress: 100
position: [1500, 0]
- id: runtime-diagnostics
name: 运行时可观测性
area: infra
status: done
progress: 100
position: [1750, 350]
- id: health-center
name: 健康中心
area: frontend
status: done
progress: 100
position: [1750, 0]
- id: project-mentor
name: 项目导师
area: frontend
status: in_progress
progress: 75
position: [2000, 0]
edges:
# 前端依赖
- from: workspace-mgmt
to: project-mgmt
type: dependency
- from: project-mgmt
to: project-dashboard
type: dependency
- from: repo-registry
to: project-dashboard
type: related
- from: project-mgmt
to: tags-groups
type: related
- from: project-mgmt
to: blueprint-view
type: dependency
# 后端依赖
- from: github-auth
to: github-publish
type: dependency
- from: git-ops
to: github-publish
type: dependency
# 前后端关联
- from: git-ops
to: project-dashboard
type: related
- from: github-auth
to: project-dashboard
type: related
- from: devtools-scan
to: project-tools
type: related
- from: project-env-scan
to: project-tools
type: related
- from: blueprint-reader
to: blueprint-view
type: dependency
- from: blueprint-governance
to: blueprint-onboarding
type: dependency
- from: blueprint-reader
to: blueprint-governance
type: related
- from: blueprint-onboarding
to: blueprint-view
type: dependency
# 外环:飞轮数据层 → 梦核 → 治理分发
- from: blueprint-reader
to: blueprint-flywheel
type: dependency
- from: blueprint-flywheel
to: blueprint-feedback
type: dependency
- from: blueprint-feedback
to: blueprint-governance
type: dependency
- from: blueprint-view
to: blueprint-flywheel
type: related
# 基础设施关联
- from: cicd-workflow
to: auto-update
type: dependency
- from: v2rayn-import
to: wsl-proxy
type: dependency
- from: sqlite-db
to: project-mgmt
type: dependency
- from: auto-update
to: settings-page
type: related
# 产品组 MCP 飞轮
- from: tray-service
to: mcp-server
type: dependency
- from: mcp-server
to: mcp-config-inject
type: dependency
- from: mcp-config-inject
to: product-group-mcp
type: dependency
- from: product-group-mcp
to: settings-page
type: related
# 运行时可观测性
- from: mcp-server
to: runtime-diagnostics
type: dependency
- from: mcp-config-inject
to: runtime-diagnostics
type: dependency
- from: sqlite-db
to: runtime-diagnostics
type: dependency
# 健康中心
- from: runtime-diagnostics
to: health-center
type: dependency
- from: sqlite-db
to: health-center
type: dependency
# 项目导师(洞察与引导层,自指闭环)
- from: health-center
to: project-mentor
type: dependency
- from: blueprint-flywheel
to: project-mentor
type: dependency
- from: blueprint-feedback
to: project-mentor
type: dependency
- from: mcp-server
to: project-mentor
type: dependency