📝 docs(progress): finish args parser plan

This commit is contained in:
csh
2026-07-11 22:01:54 +08:00
parent 98c05323cb
commit 80fca5d11c
+14 -1
View File
@@ -2,6 +2,8 @@
## Current Focus
- 已完成参数解析与启动错误处理重构;CLI 参数严格校验,日志默认固定到
stderr,启动失败使用受控退出码
- 已完成 Conan 依赖升级;`lsp-server` 当前使用 ConanCenter 可见的最新
`glaze``taskflow``spdlog``fmt``tree-sitter` recipe
@@ -17,6 +19,9 @@
- `glaze` 已升级到 `7.4.0``taskflow` 已升级到 `4.0.0`
- 已适配 CMake 4.3 `import std` gate、Taskflow 4.0 头文件依赖、
completion `LSPAny data` 反序列化和 scheduler completion callback 顺序
- `ArgsParser` 已替换为无状态 `ParseArgs`,并补充参数单元测试与 CLI
启动回归测试
- LSP 测试脚本、VSCode 和 Vim 已移除废弃的日志输出选择参数
## Next Steps
@@ -25,6 +30,9 @@
3. Playbook 升级保持 subtree + sync 的固定顺序
4. 另行处理既有脚本类测试失败:
`test_ast_script``test_symbol_script``test_semantic_script`
5. 后续任务处理 `--interpreter=~/...` 的主目录展开
6. 另行处理 `test_lsp_json` 的 rename 响应缺少 `result`;旧服务器二进制
同样可复现
## Open Risks
@@ -32,11 +40,15 @@
影响 subtree、status 和 stash 类命令
- `lsp-server/test/test_tree_sitter/test` 下部分 TSF fixture 仍存在解析失败,
会导致脚本类 AST / symbol / semantic CTest 失败
- 系统 CMake 4.4 的 `import std` 实验门值尚未适配;本次使用 CMake 4.3.4
完成构建验证
- `vscode/bin/tsl-server` 当前是未拉取的 Git LFS 指针,根目录 LSP 冒烟脚本
只能完成语法与参数静态验证
## Workflow State
<!-- workflow-state:start -->
phase: planning
phase: done
spec: docs/superpowers/specs/2026-07-11-args-parser-startup-errors-design.md
plan: docs/superpowers/plans/2026-07-11-args-parser-startup-errors.md
executor: executing-plans
@@ -48,4 +60,5 @@ constraints: karpathy-guidelines,.agents,AGENT_RULES
<!-- plan-status:start -->
- [x] `2026-05-24-playbook-strong-alignment.md` done
- [x] `2026-05-24-conan-dependency-upgrade.md` done: known-failures:test_ast_script,test_symbol_script,test_semantic_script
- [x] `2026-07-11-args-parser-startup-errors.md` done
<!-- plan-status:end -->