dev-manager-tauri/.blueprint/manifest.yaml
lanrtop bc9f8c4b2a
All checks were successful
Push & PR Check / check (push) Successful in 1m2s
docs(blueprint): P4a 合并后 [MCP 全局] 实测通过标 ✅,派 P8d
probe_client_parity(enterprise) 3.3 秒三端 18 格 ready;dev-manager-tauri 控制面 Claude/DSH
not_applicable、Codex ready;输出无凭据。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:59:28 +09:00

870 lines
24 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: 1
name: 炼境
description: >
Agent 开发子项目的管家:agent(Claude、Codex、DSH 等)反复摩擦之处,
沉淀为跨 agent 可调用的结构化能力(项目身份、环境就绪、验证资源、任务上下文、证据采集);
项目自身保留业务规则、测试、部署声明与交付决策。炼境本身亦被纳入其中,
形成可自我进化的开发智能闭环。
iteration: 1
updated: 2026-10-03
agent_button_carrier: tauri
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: abandoned
progress: 100
position: [250, 350]
- id: github-publish
name: GitHub 发布
area: backend
status: abandoned
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
updated: 2026-09-22
note: "Gitea workflow 已具备 Agent 安全投影:先只读预览,再以摘要锁定和显式确认写入;不接收凭证值,不触发 CI 或部署。"
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: done
progress: 100
position: [2000, 0]
- id: blueprint-buff
name: 蓝图 Buff
area: backend
status: in_progress
progress: 86
position: [2250, 0]
- id: claude-autonomy-config
name: Claude 自主性配置
area: backend
status: done
progress: 100
position: [2500, 0]
- id: user-project-todos
name: 项目个人备忘
area: frontend
status: done
progress: 100
position: [2000, 150]
- id: server-registry
name: 服务器注册表
area: frontend
status: done
progress: 100
position: [2000, 300]
- id: ssh-config-sync
name: SSH Config 自动同步
area: backend
status: done
progress: 100
position: [2250, 300]
- id: vscode-remote
name: VS Code Remote SSH
area: frontend
status: done
progress: 100
position: [2500, 300]
- id: server-software
name: 服务器软件管理
area: frontend
status: done
progress: 100
position: [2250, 450]
- id: flywheel-intelligence
name: 飞轮智能成长
area: backend
status: done
progress: 100
updated: 2026-07-04
note: "阶段三 P3-A~F 全部完成并消费者终验(2026-07-04):trailer 死链修复、commit_files 采集、predict_task_risk、梦核高风险 scope 段、返工热区 UI、ingest_git_history agent 按钮;实测 rules_applied 6→27、commit_files 15688,规则置信度闭环有真数据"
position: [1750, 650]
- id: cloud-products
name: 云产品管理
area: frontend
status: done
progress: 100
position: [2750, 0]
- id: api-keys
name: API密钥管理
area: frontend
status: done
progress: 100
position: [3000, 0]
- id: deploy-info
name: 项目部署信息
area: frontend
status: done
progress: 100
position: [3000, 150]
- id: host-apps
name: 宿主机应用管理
area: frontend
status: done
progress: 100
position: [2750, 600]
- id: service-config
name: 服务配置管理
area: frontend
status: done
progress: 100
position: [3000, 450]
- id: source-library
name: 源码库
area: frontend
status: done
progress: 100
position: [3250, 0]
- id: cloud-docker-apps
name: 云产品Docker应用
area: frontend
status: done
progress: 100
position: [3000, -150]
- id: cloud-db-instances
name: 云数据库实例
area: frontend
status: done
progress: 100
position: [3250, -150]
# ── 统一 Gitea 接入包(2026-06-19 战略转向)──────
- id: onboarding-pack
name: 接入包
area: backend
status: done
progress: 100
note: "体系分发主线全卡完成:…/V1/U3/B4/U1 ✅(2026-07-15 择升环三断点修复收官:U3 规则校验 / B4 沉默项目信号 / U1 全托管升级+批量重分发)。U1 批量模式 MCP 实调待重建安装后终验,通过后模块收官 done"
position: [3500, 0]
updated: 2026-10-03
- id: gitea-integration
name: Gitea 集成
area: backend
status: done
progress: 100
note: "/ship MCP 化完成(2026-07-03):create_pull_request 409 处理 + ship.md 全量重写(无 token 提取/无硬编码 URL,project_id 动态读取),gitea-integration 闭环"
position: [3500, 150]
updated: 2026-07-03
- id: agent-infrastructure
name: Agent 友好基础设施生成
area: backend
status: done
progress: 100
updated: 2026-07-01
position: [3750, 0]
- id: github-decommission
name: GitHub 退役清理
area: backend
status: done
progress: 100
updated: 2026-07-02
position: [3750, 150]
- id: ui-restructure
name: 功能区 UI 重构
area: frontend
status: done
progress: 100
note: "N1-N5 全部完成(2026-07-02):六组导航 + 卡片分层 + 洞察页 + Gitea/仓库归位"
position: [3750, 300]
- id: manage-multi-view
name: 管理页多维表视图
area: frontend
status: planned
progress: 0
note: "项目(默认A+可选B)& 产品组(默认F+可选G)四视图,多对一关系,用户可新建"
position: [4000, 0]
- id: governance-feedback-loop
name: 治理反馈闭环
area: backend
status: in_progress
progress: 60
note: "2026-10-03 缺口①使者回传闭环完成(PR #28 + enterprise #181):report/resolve/list 三件套 + 回执表,三端探针通过,59 条历史回传补录清零;代理终验收口,主动回传转运行期观察(B4 沉默信号兜底)。剩余:杂项挂车批(等模板批车)、缺口②③(concept)"
updated: 2026-10-03
position: [1250, 650]
- id: dsh-takeover-readiness
name: DSH 接管准备
area: backend
status: in_progress
progress: 30
updated: 2026-09-11
note: "T1 记忆审计(24 条全定态,3 条回流 AGENTS/cicd-workflow,3 条过期删除)+ T2 CI commit 校验(探针实测红→绿)当日收官;T3-T7 挂触发器(信任期开启/接管时点/V4.1 Pro)。协作模式=指挥 DSH 干活 + Claude 调教(调教落文件)"
position: [2500, 150]
- id: mcp-single-server
name: MCP 单一服务器化
area: backend
status: done
progress: 100
updated: 2026-10-03
note: "T1-T6 全部完成并端到端终验(2026-07-06):单一 lian-jing 服务器上线,~/.claude.json 12 条旧注册清零,3 项目抽查新格式通过,旧路由 404。T4 暴露并修复 git-bash 硬编码存量 bug(0d1427f)。遗留的同路径重复登记已于 2026-10-03 由 U1-U3 清理完毕:删除登记只清本项目托管条目、沉默项目统计去并集、2c5b54ef 并入 dev-manager-tauri 后删除登记(beast-mode 同类重复未处理,见统筹文档后续队列)"
position: [1750, 500]
- id: codex-model-switch
name: Codex 模型切换
area: frontend
status: planned
progress: 0
position: [750, 800]
- id: project-capability-control-plane
name: 项目能力与交付控制面
area: infra
status: in_progress
progress: 14
note: "P1、P3-A、P3-S1/S2、P3-B/C/D/D1、P3-F 已完成;Enterprise production 已通过 Gitea deploy context 与只读 HTTP 探针的同 SHA 双证据验收,P3-B 另在本地隔离 Docker 验证旧镜像切回后报告旧 SHA。P3-F(使者回传 #203)让 get_delivery_status 可按 pr_number/branch 经 Gitea 解析 head SHA,独立 worktree 分支交付不再读错主工作区。P3-E 自 2026-09-23 起进行 2~4 周收益观察;首轮不开放炼境 SSH/部署/回滚写操作。"
position: [2000, 800]
- id: agent-client-capability-packs
name: Agent 客户端能力包
area: infra
status: done
progress: 100
note: "P2 完成:工具无关 canonical context、版本化能力包自检、Codex Skill-only 投影与项目自定义 lefthook 等价能力识别已闭环;不复制 MCP、凭证或部署能力。"
updated: 2026-09-21
position: [2250, 800]
- id: toolchain-capability-pack
name: 项目工具链能力包
area: infra
status: done
progress: 100
updated: 2026-09-23
note: "T1-T9 全部闭环;通用 CI 模板优先消费项目 `.nvmrc` / `packageManager`,声明缺失时兼容旧项目回退。T9 经 PR #16 合并进入 master。"
position: [2500, 950]
- id: agent-access-reliability
name: Agent 访问可靠性
area: infra
status: done
progress: 100
updated: 2026-09-23
note: "A1-A9 已完成:双项目原生 scoped MCP、开发态托盘常驻、设置页真实 readiness 与正式安装版 0.1.19 自启动启停均已验收;最终自启动关闭。Windows 注销后的自动拉起尚未实测。"
position: [2750, 950]
- id: project-resource-broker
name: 项目资源与凭证代办
area: infra
status: done
progress: 100
updated: 2026-10-02
note: "R1–R11 的合成路径和真实 Codex CLI 客户端试点已验证;真实用户凭证迁移、正式版 UI 与生产链路未验证,未启动第二个日常 Tauri 实例。"
position: [3000, 950]
- id: project-dev-variables
name: 项目开发变量补给
area: infra
status: in_progress
progress: 100
updated: 2026-09-30
note: "V1–V11 agent_verify 全部通过;V7 于 2026-09-30 以真实 Codex CLI 三会话完成登记→填写→跨会话读取→撤销后读取失败(单次 --approve-for-me,仅登记写调用)。待人终验真实桌面 UI 与日常便利;仅非生产开发用途。运行时落地增量见 docs/tasks/2026-09-30-dev-variables-materialize.md。"
position: [3250, 950]
- id: agent-client-parity
name: 三端客户端对等
area: infra
status: in_progress
progress: 57
updated: 2026-10-03
note: "P1/P2/P3/P3b/P7/P9/P10 完成:三端(Claude Code、Codex 含 Desktop、DSH 含桌面 GUI)在 Enterprise 经 %USERPROFILE%\\.lian-jing 稳定入口连项目专用地址,人终验通过。Claude 条目经 claude CLI 写入、以 claude mcp get 为准;DSH 由托管块全局行(headless)+ 会话级插件(GUI/web/acp 按会话工作目录)路由;接入写入幂等;接入包改写块外带未提交改动的托管块文件时给出混合文件预警;P7 实测 MCP 服务器说明仅 Claude/DSH 带入模型上下文、Codex 不带,引导提示保留在 skill。2026-10-03 P8 一键接入设计定稿(docs/tasks/2026-10-03-p8-onboarding-oneclick-design.md):A1 不前置;P4 分 L0 静态 / L1 零模型 / L3 无头会话,P8 只依赖 L1(P4a);拆为 P8-0、P8a–P8g 与 P4-0、P4a–P4e(P8-0、P8a、P4-0 已完成,P8b 适配器注册表与三端结构化注入结果(PR #33,enterprise 实测两次注入三端 converged、零写入)、P8c 写入汇与写入前计划(PR #36)、P4a L1 零模型三端检查(PR #38,enterprise 三端 18 格 ready)已完成,P8f 已合并待链路实测;P8a 把「已接入」统一为有项目 token;P4-0 实测六项假设,Codex 只在目录受信任时加载项目配置、Claude 用无效模型名可零额度取 init 并入 L1),P8 进行中;进度按拆分后卡数重算。待做 P5、P6(基于 P8c 的 WriteSink)。"
position: [3500, 950]
- id: architecture-evolution
name: 炼境架构演进
area: infra
status: planned
progress: 0
updated: 2026-10-03
note: "技术栈评估:Tauri v2 + Rust + React/TS 适合管家方针,不换栈。按收益排序的结构改进:A1 本体与投影分离(2026-10-03 改写为三段——A1a 随 agent-client-parity P8b 落地的投影无关适应度测试、A1b 按需 CLI 薄客户端、A1c 触发式拆 core crate;P4/P8 不再依赖拆 crate)、A2 前后端类型契约生成、A3 配置文本模板化、A4 MCP 改用官方 rmcp SDK(P4b 轨迹环排在其后)。"
position: [3750, 950]
edges:
- from: project-resource-broker
to: project-dev-variables
type: dependency
# 前端依赖
- 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
# 蓝图 Buff
- from: blueprint-governance
to: blueprint-buff
type: dependency
- from: git-ops
to: blueprint-buff
type: dependency
- from: blueprint-buff
to: blueprint-view
type: related
- from: blueprint-flywheel
to: project-mentor
type: dependency
- from: blueprint-feedback
to: project-mentor
type: dependency
- from: mcp-server
to: project-mentor
type: dependency
# 服务器注册表
- from: project-dashboard
to: server-registry
type: dependency
- from: sqlite-db
to: server-registry
type: dependency
# SSH Config 自动同步
- from: server-registry
to: ssh-config-sync
type: dependency
# VS Code Remote SSH
- from: ssh-config-sync
to: vscode-remote
type: dependency
- from: shell-launch
to: vscode-remote
type: related
# 服务器软件管理
- from: server-registry
to: server-software
type: dependency
- from: ssh-config-sync
to: server-software
type: related
# 飞轮智能成长
- from: blueprint-feedback
to: flywheel-intelligence
type: dependency
- from: blueprint-flywheel
to: flywheel-intelligence
type: dependency
# API密钥管理
- from: sqlite-db
to: api-keys
type: dependency
# 项目部署信息
- from: project-dashboard
to: deploy-info
type: dependency
- from: sqlite-db
to: deploy-info
type: dependency
# 宿主机应用管理
- from: server-registry
to: host-apps
type: dependency
# 服务配置管理
- from: server-registry
to: service-config
type: dependency
# 源码库
- from: sqlite-db
to: source-library
type: dependency
# 管理页多维表视图
- from: project-mgmt
to: manage-multi-view
type: dependency
- from: tags-groups
to: manage-multi-view
type: dependency
# 云产品扩展
- from: cloud-products
to: cloud-docker-apps
type: dependency
- from: cloud-products
to: cloud-db-instances
type: dependency
# 接入包(统一 Gitea 双层架构)
- from: blueprint-buff
to: onboarding-pack
type: dependency
- from: mcp-config-inject
to: onboarding-pack
type: dependency
- from: blueprint-onboarding
to: onboarding-pack
type: dependency
- from: onboarding-pack
to: gitea-integration
type: dependency
- from: onboarding-pack
to: agent-infrastructure
type: dependency
- from: devtools-scan
to: agent-infrastructure
type: dependency
- from: project-env-scan
to: agent-infrastructure
type: dependency
- from: gitea-integration
to: flywheel-intelligence
type: related
- from: gitea-integration
to: github-decommission
type: related
# MCP 单一服务器化
- from: mcp-server
to: mcp-single-server
type: dependency
- from: mcp-config-inject
to: mcp-single-server
type: dependency
# DSH 接管准备
- from: claude-autonomy-config
to: dsh-takeover-readiness
type: dependency
- from: mcp-server
to: dsh-takeover-readiness
type: dependency
- from: onboarding-pack
to: dsh-takeover-readiness
type: related
# 治理反馈闭环
- from: blueprint-feedback
to: governance-feedback-loop
type: dependency
- from: blueprint-governance
to: governance-feedback-loop
type: dependency
- from: onboarding-pack
to: governance-feedback-loop
type: dependency
- from: codex-model-switch
to: devtools-scan
type: related
- from: codex-model-switch
to: ui-restructure
type: related
- from: onboarding-pack
to: project-capability-control-plane
type: dependency
- from: gitea-integration
to: project-capability-control-plane
type: dependency
- from: project-capability-control-plane
to: runtime-diagnostics
type: dependency
- from: onboarding-pack
to: agent-client-capability-packs
type: dependency
- from: project-capability-control-plane
to: agent-client-capability-packs
type: related
# 项目工具链能力包:复用现有扫描,补齐声明、解析、执行和验证闭环
- from: project-env-scan
to: toolchain-capability-pack
type: dependency
- from: devtools-scan
to: toolchain-capability-pack
type: dependency
- from: onboarding-pack
to: toolchain-capability-pack
type: dependency
- from: agent-client-capability-packs
to: toolchain-capability-pack
type: related
# Agent 访问可靠性:复用单一 MCP、接入包和客户端能力包,补齐运行生命周期与项目作用域
- from: mcp-server
to: agent-access-reliability
type: dependency
- from: mcp-config-inject
to: agent-access-reliability
type: dependency
- from: agent-client-capability-packs
to: agent-access-reliability
type: dependency
# 项目资源代办复用现有 Gitea 绑定与单机 scoped Agent 入口;scoped URL 不是认证。
- from: gitea-integration
to: project-resource-broker
type: dependency
- from: agent-access-reliability
to: project-resource-broker
type: dependency
# 三端对等建立在已完成的客户端能力包与开发变量本体之上。
- from: agent-client-capability-packs
to: agent-client-parity
type: dependency
- from: project-dev-variables
to: agent-client-parity
type: dependency
# A1a(onboard/ 模块投影无关约束)随 P8b 落地;P4b 轨迹环挂在 A4(rmcp)合并后的边界上。
- from: architecture-evolution
to: agent-client-parity
type: dependency