harden sm-flow protocol and archive v4.0 validation runs
- Rewrite hard constraint #1: apply must read Committed OpenSpec files as the execution source of truth - Promote sub-skill invocation to hard constraint #6; remove fallbacks.md and all degradation paths - Add file existence verification at commit and archive exit gates - Require grill question pool, evidence-driven conclusions, and user-interview confirmations to be written to decisions.md - Record v4.0 validation retrospective in workflow.md: propose overreach, sub-skill pseudo-calling, spec omitting user behavior - Archive knowledge-index-sort OpenSpec and devflow entries from prior run
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# knowledge-index-sort Tasks
|
||||
|
||||
## 需求追踪
|
||||
|
||||
| 需求 | 状态 | 备注 |
|
||||
|---|---|---|
|
||||
| 排序 UI 控件 | 已完成 | sort-select 下拉框 |
|
||||
| 排序逻辑实现 | 已完成 | applyFilters() 中排序段 |
|
||||
| 事件绑定 | 已完成 | bindSortSelect() |
|
||||
| 清空筛选重置 | 已完成 | clearFilters() 重置 sort-select |
|
||||
| 脚本同步 | 已完成 | update-knowledge-index.sh |
|
||||
| 浏览器验证 | 已完成 | 用户确认通过 |
|
||||
|
||||
## 实现任务
|
||||
|
||||
- [x] 在 filter-row 中添加 sort-select HTML(4 个 option)
|
||||
- [x] 在 applyFilters() 中添加排序逻辑(过滤后、渲染前)
|
||||
- [x] 实现 4 种排序模式(date-desc/date-asc/tags-desc/tags-asc)
|
||||
- [x] 添加 bindSortSelect() 函数绑定 change 事件
|
||||
- [x] 在 init 中调用 bindSortSelect()
|
||||
- [x] 在 clearFilters() 中重置 sort-select 为 date-desc
|
||||
- [x] 同步修改 scripts/update-knowledge-index.sh(HTML 模板 + JS 代码)
|
||||
- [x] 浏览器验证:测试 4 种排序模式
|
||||
- [x] 浏览器验证:测试排序与过滤组合
|
||||
- [x] 浏览器验证:测试清空筛选重置排序
|
||||
Reference in New Issue
Block a user