feat(feature-pruning): 撤销零数据/死代码功能(留撤盘点批次 1) #46

Open
lanrtop wants to merge 1 commits from feat/feature-pruning into master
Owner

摘要

按「管家准入与退出」撤销实测无使用的功能(留撤盘点批次 1)。台账:docs/tasks/2026-10-04-feature-pruning.md。

撤销项 证据 处理
项目级工具 project_tools 0 行 删项目级 command;全局快启保留,改名 global_tools.rs / GlobalToolsModal
部署命令 deploy_commands 0 行 删 4 个 command、DeployModal、「部署配置」按钮、死文件 deploy_info.rs / DeployInfoPanel
宿主机应用 server_host_apps 0 行 删 command、面板、删服务器时的级联清理
个人备忘 1 条 删入口;表与数据保留
活动日志 / relations 0 行,无写入方 删 command、项目卡「动态」按钮;get_project 去掉 recent_activities
GitHub 残留 git_accounts 无引用 删建表/索引/github_client_* 种子;publish.rs 改名 local_git.rs
NetworkPage 空壳 删除

数据原则:不 DROP 表、不删已有行。核查后撤回 server_network_config(镜像选择在用)。

agent 自验

  • cargo test:408 passed,0 failed
  • pnpm typecheck:exit 0(lefthook pre-commit 亦通过)
  • 被撤 command 全仓 grep 零残留;常驻文档 / project-context 无相关描述需同步

没验什么

  • 旧库副本迁移实测未做(复制真实库的命令被拒)。推理依据:迁移只删除了语句,旧库残留表不再被任何代码引用,且这些表无外键约束指向在用表——但这是推理,不是实测
  • 未启动应用做 UI 走查
  • 验收标准改动声明:B1 卡 acceptance 原含 get_server_network_config 残留检查,因核查发现在用而移出

human_verify

项目卡「⋯」菜单不再有工具管理、个人备忘;项目卡无「动态」按钮;看板右栏无「部署配置」;服务器面板无宿主机应用。顶部全局快启的增删改启动正常;其余功能正常。

🤖 Generated with Claude Code

## 摘要 按「管家准入与退出」撤销实测无使用的功能(留撤盘点批次 1)。台账:`docs/tasks/2026-10-04-feature-pruning.md`。 | 撤销项 | 证据 | 处理 | |---|---|---| | 项目级工具 | project_tools 0 行 | 删项目级 command;全局快启保留,改名 global_tools.rs / GlobalToolsModal | | 部署命令 | deploy_commands 0 行 | 删 4 个 command、DeployModal、「部署配置」按钮、死文件 deploy_info.rs / DeployInfoPanel | | 宿主机应用 | server_host_apps 0 行 | 删 command、面板、删服务器时的级联清理 | | 个人备忘 | 1 条 | 删入口;表与数据保留 | | 活动日志 / relations | 0 行,无写入方 | 删 command、项目卡「动态」按钮;get_project 去掉 recent_activities | | GitHub 残留 | git_accounts 无引用 | 删建表/索引/github_client_* 种子;publish.rs 改名 local_git.rs | | NetworkPage | 空壳 | 删除 | 数据原则:不 DROP 表、不删已有行。核查后撤回 server_network_config(镜像选择在用)。 ## agent 自验 - [x] `cargo test`:408 passed,0 failed - [x] `pnpm typecheck`:exit 0(lefthook pre-commit 亦通过) - [x] 被撤 command 全仓 grep 零残留;常驻文档 / project-context 无相关描述需同步 ## 没验什么 - **旧库副本迁移实测未做**(复制真实库的命令被拒)。推理依据:迁移只删除了语句,旧库残留表不再被任何代码引用,且这些表无外键约束指向在用表——但这是推理,不是实测 - 未启动应用做 UI 走查 - 验收标准改动声明:B1 卡 acceptance 原含 `get_server_network_config` 残留检查,因核查发现在用而移出 ## human_verify 项目卡「⋯」菜单不再有工具管理、个人备忘;项目卡无「动态」按钮;看板右栏无「部署配置」;服务器面板无宿主机应用。顶部全局快启的增删改启动正常;其余功能正常。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lanrtop added 1 commit 2026-10-04 19:40:14 +08:00
feat(feature-pruning): 撤销零数据/死代码功能(留撤盘点批次 1)
All checks were successful
Push & PR Check / check (push) Successful in 1m23s
Push & PR Check / check (pull_request) Successful in 58s
412ab8491f
按「管家准入与退出」撤销实测无使用的功能,台账见 docs/tasks/2026-10-04-feature-pruning.md:
- 项目级工具(project_tools 0 行):删除项目级 command;保留全局快启,
  project_tools.rs/ProjectToolsModal 改名 global_tools.rs/GlobalToolsModal
- 部署命令(deploy_commands 0 行):删除 4 个 command、DeployModal 与「部署配置」按钮;
  删除未编译的 deploy_info.rs 与空壳 DeployInfoPanel
- 宿主机应用(0 行)、项目个人备忘(1 条,表与数据保留)、活动日志与 relations(0 行)
- GitHub 残留:git_accounts 建表与 github_client_* 设置种子;publish.rs 改名 local_git.rs
- 空壳 NetworkPage

数据原则:不 DROP 表、不删已有行,只移除建表语句、两段 FK 迁移与读写代码。
核查后撤回 server_network_config:镜像选择功能在用(ServerSoftwareBlock 调用)。

Rules-Applied: R01,R05
Feature-Confirmed: true

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
Push & PR Check / check (push) Successful in 1m23s
Push & PR Check / check (pull_request) Successful in 58s
This pull request has changes conflicting with the target branch.
  • .blueprint/manifest.yaml

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/feature-pruning:feat/feature-pruning
git checkout feat/feature-pruning
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lanrtop/dev-manager-tauri#46
No description provided.