- 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
53 lines
1.3 KiB
Markdown
53 lines
1.3 KiB
Markdown
# knowledge-index-sort Acceptance
|
||
|
||
## 结果
|
||
|
||
已接受。
|
||
|
||
## 验证
|
||
|
||
### 静态验证
|
||
|
||
- 检查项:knowledge-index.html 和 scripts/update-knowledge-index.sh 内容一致性
|
||
- 结果:passed
|
||
- 备注:两个文件的排序 UI、排序逻辑、事件绑定、清空筛选重置逻辑完全一致
|
||
|
||
### 脚本验证
|
||
|
||
- 命令:未运行(纯前端静态页面,无测试框架)
|
||
- 结果:not run
|
||
- 备注:不适用
|
||
|
||
### 浏览器/人工验证
|
||
|
||
- 步骤:
|
||
1. 打开 knowledge-index.html
|
||
2. 切换排序下拉框的 4 种模式,验证条目顺序
|
||
3. 组合排序与标签筛选/搜索/年份筛选
|
||
4. 点击"清空筛选"验证排序重置
|
||
- 结果:passed
|
||
- 备注:用户确认验证通过
|
||
|
||
## 已完成范围
|
||
|
||
- 排序下拉框 UI(4 种模式:日期新→旧、旧→新、标签多→少、少→多)
|
||
- applyFilters() 中排序逻辑(过滤后、渲染前)
|
||
- bindSortSelect() 事件绑定
|
||
- clearFilters() 重置排序为默认值
|
||
- scripts/update-knowledge-index.sh 同步修改
|
||
- OpenSpec 产物(proposal/design/specs/tasks)
|
||
|
||
## 已知限制
|
||
|
||
- 排序状态不持久化,刷新页面后恢复默认(date-desc)
|
||
- 不做多列排序
|
||
|
||
## Bug 修复和诊断
|
||
|
||
- 无
|
||
|
||
## 交接
|
||
|
||
- 下一步:可选归档 OpenSpec change,功能已完整可用
|
||
- OpenSpec 归档确认:待询问
|