You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d728cb6
Browse filesBrowse the repository at this point in the historyBrowse files
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
Copy file name to clipboardExpand all lines: .codex-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "codeguard",
3
-
"version": "0.14.1+codex.20260923",
3
+
"version": "0.14.2+codex.20260923",
4
4
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
Copy file name to clipboardExpand all lines: .zcode-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
"en": "CodeGuard",
6
6
"zh-CN": "代码规范检查"
7
7
},
8
-
"version": "0.14.1",
8
+
"version": "0.14.2",
9
9
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
10
10
"description_i18n": {
11
11
"en": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
Copy file name to clipboardExpand all lines: kimi.plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "codeguard",
3
-
"version": "0.14.1",
3
+
"version": "0.14.2",
4
4
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
Copy file name to clipboardExpand all lines: openspec/changes/refactor-codeguard-architecture/specs/execution-kernel/spec.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@
62
62
63
63
统计、绕过明细、冷却与审计的读改写 MUST 在进程锁内完成并原子替换文件。宿主提供 session_id 时,统计 MUST 绑定会话与当前 worktree;Stop MUST 只消费该作用域的记录,并与并发写入互斥。无 session_id 时保留旧共享状态兼容,MUST 明示不能证明跨会话隔离。去重 MUST NOT 把未完成或 UNVERIFIED 的检查当成已完成检查。
64
64
Stop MUST 在宿主输出成功刷新后才确认消费;输出失败时记录必须保留供重试。若确认前有并发新写入,允许后续 Stop 重复展示旧统计,但不得删除未展示的新记录。
65
+
UserPromptSubmit 与 PostToolUse 的已完成事件、文件去重和会话统计 MUST 在相应 stdout 成功刷新后才登记;写入或刷新失败时不得把未交付反馈标记为已交付。PreToolUse 已得到拦截结论时,即使宿主输出失败也 MUST 保留拦截退出码,并且不得缓存该次未交付结果。
65
66
66
67
#### Scenario: Concurrent writers preserve all increments
67
68
-**WHEN** 多个 Hook 进程同时更新同一统计、绕过记录或审计日志
@@ -75,6 +76,14 @@ Stop MUST 在宿主输出成功刷新后才确认消费;输出失败时记录
0 commit comments