feat(queries): 完成 M04 查询定义与版本激活

交付不可变查询版本、保存即生效与激活(D26),并带控制台列表筛选排序与试跑预览;补 RLS 下 current_version_no 回填迁移。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
unknownandCursor committed 2026-11-18 18:32:24 +08:00
1 parent 8c0335040f
commit 21cc721fcc
97 files changed
+13354 -153

No files matched your search

@@ -0,0 +1,10 @@
# Implementation Plan
| Slice | Content | gateClass | risk_score |
|-------|---------|-----------|------------|
| S1 | migration + save-as-version / activate service | boundary-sensitive | 4 |
| S2 | API reshape | standard | 3 |
| S3 | console UI | standard | 3 |
| S4 | tests + docs | standard | 2 |
gatePolicy.selected=balanced(用户批准整份 plan 后连续执行)。