prototypes/59/v1/index.html
通过新的可逆 migration 建立“生成配置、运行监控、用户与访问、系统管理”四个一级菜单,迁移现有 8 个 Chorus 业务入口,增加 5 个系统入口,并为 chorus_operator 建立最终所需菜单、API 和 Casbin 权限基线。
chorus_operator
/chorus/configuration
/chorus/monitoring
/chorus/access
/chorus/system
parent_id
paths
/chorus/users
chorus.system.*
已更新 Gitea Wiki 的 Architecture-and-Code-Map 与 Business-Rules-and-Glossary,并同步核心镜像。
开始实施 #66。
config/local-services.yml
admin/config/settings.yml
#66 已完成生产实现,现为待验收。
实现:
验证:
go test ./migrations -count=1
go test ./migrations -count=1 -v
go test ./...
go vet ./...
python dev_scripts/harness.py check --strict
python dev_scripts/harness.py sync --check
git diff --check
环境说明:
chorus_test
chorus
提交:3cc98f2,已推送到 origin/main。
3cc98f2
origin/main
归档闭环完成:
7f2b4b75a0377193e937a5f5c1fac28720e95762
main
工作区仅剩任务外的本机配置与截图,未纳入提交。
用户于 2026-08-26 明确确认 #66 验收通过。实现、测试、提交和 Wiki revision 证据沿用既有最终证据评论;没有新的长期事实变化,不重复同步 Wiki。既有任务快照作为历史兼容内容保留,不再更新或导出。
No dependencies set.
The note is not visible to the blocked user.
基本信息
prototypes/59/v1/index.html,v1,用户于 2026-08-26 确认通过原始需求
目标
通过新的可逆 migration 建立“生成配置、运行监控、用户与访问、系统管理”四个一级菜单,迁移现有 8 个 Chorus 业务入口,增加 5 个系统入口,并为
chorus_operator建立最终所需菜单、API 和 Casbin 权限基线。已确认方案
/chorus/configuration、/chorus/monitoring、/chorus/access、/chorus/system。parent_id、paths、排序、breadcrumb;/chorus/users显示名改为“终端用户”。chorus.system.*handle,down 只删除本 migration 所有的记录。非目标
验收标准
chorus_operator获得所需菜单和 API 权限,三个只读模块没有写权限。风险与回退
文档影响
已更新 Gitea Wiki 的 Architecture-and-Code-Map 与 Business-Rules-and-Glossary,并同步核心镜像。
开始实施 #66。
config/local-services.yml、admin/config/settings.yml和未跟踪截图继续隔离。#66 已完成生产实现,现为待验收。
实现:
chorus_operator的菜单、菜单 API 与 Casbin 权限基线;菜单结构、接口清单、登录日志保持只读。验证:
go test ./migrations -count=1:通过。go test ./migrations -count=1 -v:MySQL 8 隔离库空库 up/down/up 与版本 8→9→8→9 通过。go test ./...:通过。go vet ./...:通过。python dev_scripts/harness.py check --strict:通过。python dev_scripts/harness.py sync --check:通过。git diff --check:通过。环境说明:
chorus_test的 DSN。没有迁移或重置开发库chorus,没有记录任何凭据。提交:
3cc98f2,已推送到origin/main。归档闭环完成:
7f2b4b75a0377193e937a5f5c1fac28720e957623cc98f2,本地main与origin/main一致工作区仅剩任务外的本机配置与截图,未纳入提交。
用户于 2026-08-26 明确确认 #66 验收通过。实现、测试、提交和 Wiki revision 证据沿用既有最终证据评论;没有新的长期事实变化,不重复同步 Wiki。既有任务快照作为历史兼容内容保留,不再更新或导出。