feat(ql3): observe package installations in console

This commit is contained in:
whyour
2026-08-20 14:42:54 +08:00
parent 344680d64a
commit ffa4b4e7cb
29 changed files with 1259 additions and 36 deletions
+18
View File
@@ -11,6 +11,24 @@
最新增量证据(2026-08-20):
- D-376/ADR-0469(已接受):在既有 operator-workstation、loopback-only Copilot Console 内增加可选 Plugin Package installation
观察,而不新增 workspace package、服务、端口或集群工作负载。Browser/BFF 只增加固定 `package_list|package_inspect`
`/api/v1/package-management/installations|installation`;上游复用 canonical `/api/v3/plugin-packages/management` client,独立
`--package-management-config|assertion` 必须成对提供,launcher 仅在
`QL3_COPILOT_CONSOLE_PACKAGE_MANAGEMENT=enabled` 时启用,默认报告 `packageManagementAuthority=disabled`。list 固定 16 项、只接受
nullable `afterPackageName` 并由用户点击翻页;inspect 只读取用户选中的 canonical Package。没有 propose、decide、install、reinstall、
upgrade、rollback、disable、uninstall、caller limit/filter、自动翻页、poller、retry、queue、cache、watcher、WebSocket/SSE 或后台 timer。
产品投影只保留 Package/version、install operation/state、target generation、availability、recovery/failure/quarantine code 与时间/version
丢弃 installation/lock/record digest 和 transport request identity;浏览器证据继续使用 bundle-local typed alias。实现只在现有
`@qinglong/cluster-admin``plugin-package/management``copilot-console` 内聚目录扩展,workspace 仍为 18 packages、没有新增依赖,
`singleSourcePackages=[]``shallowSourcePackages=[]`。专项回归 `56/56`Cluster Admin 全量
`438 total / 435 pass / 3 conditional skip / 0 fail`legacy backend 当前工作树全量与 18-package clean build/逐包测试均单次退出 0。
package boundary、Cluster dependency、Edge import、Cluster/Worker deployment、Console 与 Console distribution 七项审计全部
compatible/passedCluster Admin 为 `129 source / 128 nested`。14 档 Local artifact audit 全部 compatible,基础 Edge/Standalone 仍为
`2,598,669 / 2,598,747` bytes、57 loaded modulesApplication+AI 为 `4,501,822 / 4,501,954` bytesMCP 为
`7,324,601 / 7,324,709` bytes,证明 Package Console authority 未进入低配路由设备闭包。本切片不改变 schema、ACL、repository、role、
Pool、连接或 failover 语义,因此不重跑且不重新占有 PostgreSQL HA 证明;D-373/D-374 PostgreSQL 18.6 arm64 HA `146/146`、timeline
`1→2` 仅作为相邻既有基线,后续数据库语义变化必须重跑。
- D-375/ADR-0468(已接受):在既有 operator-workstation、loopback-only Copilot Console 内接入 D-374 通用 Worker
management 的两个只读产品操作,而不是新增包、服务或集群工作负载。Browser/BFF 只新增固定
`worker_list|worker_inspect``/api/v1/worker-management/workers|worker`,上游只走 canonical