Repository navigation
Conversation
- write-policy:安全候选文件(.mcp-safe-*)固定按明文读取,避免Linux复用刚删除暂存文件的inode时把候选误判为受保护密文,致安全中转回退循环整体报SAFE_WRITE_FAILED - resilience N3:目录枚举按名称排序,断言不再依赖readdir顺序(Linux哈希序 / NTFS名字序) Co-Authored-By: Claude Code <noreply@anthropic.com>
Windows CI 的 TEMP 返回 8.3 短名(C:\Users\RUNNER~1\...),生产代码内部用 realpath 得到长名,按路径字符串比较的故障注入与断言全部失效,导致 FS1/FS2/FS4/N1/N2/N3/R2 及 write-policy 等 19 项失败。fixture 现在先对 MCP_TEST_ROOT/os.tmpdir() 做 realpath 再创建用例目录。 Co-Authored-By: Claude Code <noreply@anthropic.com>
- 增加 audit-fixes.test.js 包含27个测试用例覆盖8个分组 - 添加 audit-fixes-plan.md 审查修复验收计划文档 - 添加 audit-fixes-results.md 审查修复与验收报告文档 - 实现策略失败时正确报告 changed 和 createdDirectories - 实现主错误与清理错误分别保留的诊断机制 - 实现 worker 内正则结果大小限制和 UTF8 边界处理 - 实现 glob 空分支和嵌套分支的语义一致性验证 - 实现任务隔离和队列管理的取消超时机制 - 实现 MCP 错误中保留 reasons、matched 等诊断字段 - 更新依赖版本解决安全审计告警问题
- 实现可配置的单进程超时预算,默认5秒,范围1-600毫秒 - 添加请求截止时间和取消信号的优先级处理 - 改进错误诊断,保留底层异常和无效指纹验证 - 新增5项确定性回归测试覆盖慢启动和错误场景 - 更新真实适配器测试使用30秒单进程和60秒总预算 - 修复日志记录显示实际超时预算而非固定5秒 - 验证完整Windows测试套件从4失败/1通过提升到10/10通过
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.