Skip to content

fix: recover invalid file scopes (0.40.1) - #13

Merged
godv61 merged 2 commits into
mainfrom
codex/release-0.40.1
Nov 5, 2026
Merged

godv61 merged 2 commits into
mainfrom
codex/release-0.40.1

Conversation

@godv61

@godv61 godv61 commented Nov 5, 2026

Copy link
Copy Markdown
Owner

修复文件范围中登记目录后任务从台账消失、验证与状态操作报错的问题。

  • create、scope、plan、plan_execution 和 plan_verification 统一校验具体文件;允许提前登记新文件,拒绝目录、链接父路径、越界路径及通配符。
  • 无效证据保留可读任务和具体诊断,多组错误可以逐个恢复;旧回执保留但不会用于放行。
  • 验证和委派启动前核对输入;客户端传输、台账和 Markdown 导出显示证据问题,工作区授权保持原边界。
  • 发布 0.40.1,继续支持 DSH 0.2.1-rc.3、rc.4、rc.5。

验证:构建、类型检查和完整 npm test 通过(439 通过、7 跳过、0 失败);包含 14 项新增文件范围回归。

@godv61
godv61 merged commit 775a748 into main Nov 5, 2026
24 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant