feat: audit local agent file writes

- 为本地 agent 写入补充审计事件,区分原生修改与 mnote tool 写入
- 只读 grant 写入尝试会记录拒绝事件,便于会话面板追踪 changed files
- 页面 AI smoke 脚本补充 changed files 展示链路验证
- 更新当前优先级 checklist 的完成状态与验证记录
This commit is contained in:
lix-2026
2026-05-19 08:49:02 +08:00
parent cdff672aa5
commit 8ed594f1c2
5 changed files with 421 additions and 41 deletions
+4
View File
@@ -73,6 +73,10 @@ impl WebError {
&self.message
}
pub fn code(&self) -> &'static str {
self.code
}
pub fn status(&self) -> StatusCode {
self.status
}