cocheck 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -3
- package/dist/agent-transcripts.js +15 -12
- package/dist/attribution/evidence.js +2 -1
- package/dist/attribution/reconstruct.js +19 -0
- package/dist/attribution/tag.js +3 -3
- package/dist/build-info.json +1 -1
- package/dist/cli.js +31 -11
- package/dist/connector/export-view.js +1 -1
- package/dist/coverage.js +5 -3
- package/dist/credit-guard.js +59 -54
- package/dist/harness-cmd/create.js +76 -0
- package/dist/harness-cmd/index.js +19 -0
- package/dist/harness-cmd/record.js +327 -0
- package/dist/harness-cmd/scrub.js +25 -0
- package/dist/harness-cmd/test.js +318 -0
- package/dist/harnesses/README.md +5 -0
- package/dist/harnesses/claude/cocheck-harness.json +344 -0
- package/dist/harnesses/codex/cocheck-harness.json +212 -0
- package/dist/harnesses/copilot/cocheck-harness.json +296 -0
- package/dist/{copilot-helpers.js → helper-linker.js} +43 -32
- package/dist/hook-adapter.js +287 -63
- package/dist/hook-cli.js +73 -36
- package/dist/hook-journal.js +40 -12
- package/dist/hosts/claude.js +23 -159
- package/dist/hosts/codex.js +41 -81
- package/dist/hosts/compile.js +275 -0
- package/dist/hosts/copilot.js +7 -162
- package/dist/hosts/extras.js +55 -0
- package/dist/hosts/harnesses.js +66 -0
- package/dist/hosts/index.js +176 -8
- package/dist/hosts/install-block.js +332 -0
- package/dist/hosts/manifest.js +372 -0
- package/dist/hosts/shared.js +21 -0
- package/dist/hosts/tool-classes.js +6 -0
- package/dist/hosts/types.js +1 -0
- package/dist/install.js +69 -22
- package/dist/ledger.js +11 -0
- package/dist/normalize.js +33 -9
- package/dist/open-pick.js +5 -3
- package/dist/patch-secrets.js +11 -11
- package/dist/review-server.js +2 -2
- package/dist/timeline/attribution.js +2 -2
- package/dist/timeline/describe.js +20 -17
- package/dist/timeline/load.js +2 -2
- package/dist/timeline/rail/assets/review.js +1 -1
- package/dist/timeline/rail/model.js +8 -8
- package/dist/timeline/read-signal.js +4 -4
- package/dist/timeline/render/view-v1.js +2 -13
- package/dist/timeline/runs.js +9 -9
- package/dist/timeline/timeline.js +8 -8
- package/dist/timeline/write-signal.js +4 -3
- package/package.json +2 -2
- package/public-kit/harness/GUIDE.md +81 -0
- package/public-kit/harness/README.md +10 -0
- package/public-kit/harness/cases/claude/shell-writes-file.json +120 -0
- package/public-kit/harness/cases/codex/apply-patch-writes-files.json +177 -0
- package/public-kit/harness/cases/codex/helper-writes-file.json +160 -0
- package/public-kit/harness/cases/codex/shell-writes-and-fails.json +110 -0
- package/public-kit/harness/cases/copilot/camel-case-patch-and-failure.json +126 -0
- package/public-kit/harness/cases/copilot/helper-writes-file.json +209 -0
- package/public-kit/harness/cases/copilot/vscode-helper-writes-file.json +236 -0
- package/public-kit/harness/examples/toyagent/cases/write-notes.json +142 -0
- package/public-kit/harness/examples/toyagent/cocheck-harness.json +47 -0
- package/public-kit/harness/examples/toyagent/recordings/payloads.jsonl +8 -0
- package/public-kit/harness/harnesses/antigravity/README.md +32 -0
- package/public-kit/harness/harnesses/antigravity/cases/failed-edit.json +99 -0
- package/public-kit/harness/harnesses/antigravity/cases/helper-writes-file.json +270 -0
- package/public-kit/harness/harnesses/antigravity/cases/shell-ok-fail-and-denied.json +211 -0
- package/public-kit/harness/harnesses/antigravity/cases/write-then-edit.json +191 -0
- package/public-kit/harness/harnesses/antigravity/cocheck-harness.json +62 -0
- package/public-kit/harness/harnesses/antigravity/recordings/payloads.jsonl +63 -0
- package/public-kit/harness/harnesses/cursor/README.md +40 -0
- package/public-kit/harness/harnesses/cursor/cases/editor-write-edit-shell-helper.json +359 -0
- package/public-kit/harness/harnesses/cursor/cases/read-then-write-one-call-id.json +159 -0
- package/public-kit/harness/harnesses/cursor/cocheck-harness.json +67 -0
- package/public-kit/harness/harnesses/cursor/recordings/payloads.jsonl +28 -0
- package/public-kit/harness/scaffold/README.md +42 -0
- package/public-kit/harness/scaffold/cocheck-harness.json +72 -0
- package/public-kit/harness/scaffold/recordings/.gitkeep +0 -0
- package/public-kit/harness/spec/v1.md +286 -0
- package/scripts/hook-launch.sh +1 -1
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "cocheck-harness-case/1",
|
|
3
|
+
"harness": "antigravity",
|
|
4
|
+
"description": "Antigravity CLI 1.5.14: two shell calls the headless permission check denied (a PreToolUse with no PostToolUse and no Stop after it), then `echo shell-ok` (exit 0) and `cat missing.txt` (exit 1). The failed command's PostToolUse has an empty `error` and no result or exit code, so it reads as a call that worked. No credit: no call wrote a file.",
|
|
5
|
+
"level": "L1",
|
|
6
|
+
"recording": [
|
|
7
|
+
{
|
|
8
|
+
"event": "PreInvocation",
|
|
9
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":11,\"invocationNum\":0,\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok > out.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
10
|
+
"argv": []
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"event": "PreToolUse",
|
|
14
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreToolUse\",\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok > out.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":13,\"toolCall\":{\"args\":{\"CommandLine\":\"echo shell-ok > out.txt\",\"WaitMsBeforeAsync\":5000,\"toolSummary\":\"Write shell-ok to out.txt\"},\"id\":\"call_3625523412236189924\",\"name\":\"run_command\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
15
|
+
"argv": []
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"event": "PreInvocation",
|
|
19
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":15,\"invocationNum\":0,\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok > out.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
20
|
+
"argv": []
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"event": "PreToolUse",
|
|
24
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreToolUse\",\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok > out.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":17,\"toolCall\":{\"args\":{\"CommandLine\":\"echo shell-ok > out.txt\",\"WaitMsBeforeAsync\":5000,\"toolSummary\":\"Write shell-ok to out.txt\"},\"id\":\"call_7504157474929434860\",\"name\":\"run_command\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
25
|
+
"argv": []
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"event": "PreInvocation",
|
|
29
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":19,\"invocationNum\":0,\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
30
|
+
"argv": []
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"event": "PreToolUse",
|
|
34
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreToolUse\",\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":22,\"toolCall\":{\"args\":{\"CommandLine\":\"echo shell-ok\",\"WaitMsBeforeAsync\":5000,\"toolSummary\":\"Echo shell-ok\"},\"id\":\"call_11179024411799172756\",\"name\":\"run_command\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
35
|
+
"argv": []
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"event": "PostToolUse",
|
|
39
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"hookEventName\":\"PostToolUse\",\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":22,\"toolCall\":{\"args\":{\"CommandLine\":\"echo shell-ok\",\"WaitMsBeforeAsync\":5000,\"toolSummary\":\"Echo shell-ok\"},\"id\":\"call_11179024411799172756\",\"name\":\"run_command\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
40
|
+
"argv": []
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"event": "PostInvocation",
|
|
44
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":19,\"invocationNum\":0,\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
45
|
+
"argv": []
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"event": "PreInvocation",
|
|
49
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":23,\"invocationNum\":1,\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
50
|
+
"argv": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"event": "PostInvocation",
|
|
54
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":23,\"invocationNum\":1,\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
55
|
+
"argv": []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"event": "Stop",
|
|
59
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"continuationActive\":false,\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"executionNum\":0,\"fullyIdle\":true,\"hookEventName\":\"Stop\",\"lastUserInput\":\"Run exactly this one shell command and nothing else: echo shell-ok\",\"modelName\":\"gemini-3.8-flash-medium\",\"terminationReason\":\"NO_TOOL_CALL\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
60
|
+
"argv": []
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"event": "PreInvocation",
|
|
64
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":25,\"invocationNum\":0,\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
65
|
+
"argv": []
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"event": "PreToolUse",
|
|
69
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreToolUse\",\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":27,\"toolCall\":{\"args\":{\"CommandLine\":\"cat missing.txt\",\"WaitMsBeforeAsync\":5000,\"toolSummary\":\"Cat missing.txt\"},\"id\":\"call_10750150322497914145\",\"name\":\"run_command\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
70
|
+
"argv": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"event": "PostToolUse",
|
|
74
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"hookEventName\":\"PostToolUse\",\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":27,\"toolCall\":{\"args\":{\"CommandLine\":\"cat missing.txt\",\"WaitMsBeforeAsync\":5000,\"toolSummary\":\"Cat missing.txt\"},\"id\":\"call_10750150322497914145\",\"name\":\"run_command\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
75
|
+
"argv": []
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"event": "PostInvocation",
|
|
79
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":25,\"invocationNum\":0,\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
80
|
+
"argv": []
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"event": "PreInvocation",
|
|
84
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":28,\"invocationNum\":1,\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
85
|
+
"argv": []
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"event": "PostInvocation",
|
|
89
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":28,\"invocationNum\":1,\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
90
|
+
"argv": []
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"event": "Stop",
|
|
94
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"continuationActive\":false,\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"executionNum\":0,\"fullyIdle\":true,\"hookEventName\":\"Stop\",\"lastUserInput\":\"Run exactly this one shell command and nothing else, even if it fails: cat missing.txt\",\"modelName\":\"gemini-3.8-flash-medium\",\"terminationReason\":\"NO_TOOL_CALL\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
95
|
+
"argv": []
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"files": {
|
|
99
|
+
"before": {
|
|
100
|
+
"notes.txt": "goodbye from agy\n"
|
|
101
|
+
},
|
|
102
|
+
"writes": []
|
|
103
|
+
},
|
|
104
|
+
"expect": {
|
|
105
|
+
"normalized": [
|
|
106
|
+
{
|
|
107
|
+
"kind": "other",
|
|
108
|
+
"eventName": "PreInvocation",
|
|
109
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "tool-pre",
|
|
113
|
+
"eventName": "PreToolUse",
|
|
114
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
115
|
+
"toolName": "run_command",
|
|
116
|
+
"callId": "call_3625523412236189924"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "other",
|
|
120
|
+
"eventName": "PreInvocation",
|
|
121
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "tool-pre",
|
|
125
|
+
"eventName": "PreToolUse",
|
|
126
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
127
|
+
"toolName": "run_command",
|
|
128
|
+
"callId": "call_7504157474929434860"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "other",
|
|
132
|
+
"eventName": "PreInvocation",
|
|
133
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"kind": "tool-pre",
|
|
137
|
+
"eventName": "PreToolUse",
|
|
138
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
139
|
+
"toolName": "run_command",
|
|
140
|
+
"callId": "call_11179024411799172756"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "tool-post",
|
|
144
|
+
"eventName": "PostToolUse",
|
|
145
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
146
|
+
"toolName": "run_command",
|
|
147
|
+
"callId": "call_11179024411799172756"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"kind": "other",
|
|
151
|
+
"eventName": "PostInvocation",
|
|
152
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "other",
|
|
156
|
+
"eventName": "PreInvocation",
|
|
157
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"kind": "other",
|
|
161
|
+
"eventName": "PostInvocation",
|
|
162
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "stop",
|
|
166
|
+
"eventName": "Stop",
|
|
167
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"kind": "other",
|
|
171
|
+
"eventName": "PreInvocation",
|
|
172
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "tool-pre",
|
|
176
|
+
"eventName": "PreToolUse",
|
|
177
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
178
|
+
"toolName": "run_command",
|
|
179
|
+
"callId": "call_10750150322497914145"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"kind": "tool-post",
|
|
183
|
+
"eventName": "PostToolUse",
|
|
184
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
185
|
+
"toolName": "run_command",
|
|
186
|
+
"callId": "call_10750150322497914145"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "other",
|
|
190
|
+
"eventName": "PostInvocation",
|
|
191
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"kind": "other",
|
|
195
|
+
"eventName": "PreInvocation",
|
|
196
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"kind": "other",
|
|
200
|
+
"eventName": "PostInvocation",
|
|
201
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "stop",
|
|
205
|
+
"eventName": "Stop",
|
|
206
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"credit": {}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "cocheck-harness-case/1",
|
|
3
|
+
"harness": "antigravity",
|
|
4
|
+
"description": "Antigravity CLI 1.5.14 in print mode: one conversation, two turns. Turn 1 creates notes.txt with write_file; turn 2 changes it with edit_file. Pre and Post carry the same toolCall.id, so each change is credited to the call that made it.",
|
|
5
|
+
"level": "L2",
|
|
6
|
+
"recording": [
|
|
7
|
+
{
|
|
8
|
+
"event": "SessionStart",
|
|
9
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"SessionStart\",\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
10
|
+
"argv": []
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"event": "PreInvocation",
|
|
14
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":1,\"invocationNum\":0,\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
15
|
+
"argv": []
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"event": "PreToolUse",
|
|
19
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreToolUse\",\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":2,\"toolCall\":{\"args\":{\"Content\":\"hello from agy\\n\",\"Path\":\"<folder>/notes.txt\"},\"id\":\"call_4434537565764973465\",\"name\":\"write_file\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
20
|
+
"argv": []
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"event": "PostToolUse",
|
|
24
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"hookEventName\":\"PostToolUse\",\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":2,\"toolCall\":{\"args\":{\"Content\":\"hello from agy\\n\",\"Path\":\"<folder>/notes.txt\"},\"id\":\"call_4434537565764973465\",\"name\":\"write_file\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
25
|
+
"argv": []
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"event": "PostInvocation",
|
|
29
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":1,\"invocationNum\":0,\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
30
|
+
"argv": []
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"event": "PreInvocation",
|
|
34
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":3,\"invocationNum\":1,\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
35
|
+
"argv": []
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"event": "PostInvocation",
|
|
39
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":3,\"invocationNum\":1,\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
40
|
+
"argv": []
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"event": "Stop",
|
|
44
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"continuationActive\":false,\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"executionNum\":0,\"fullyIdle\":true,\"hookEventName\":\"Stop\",\"lastUserInput\":\"Create a file named notes.txt in the current folder containing the single line: hello from agy. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"terminationReason\":\"NO_TOOL_CALL\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
45
|
+
"argv": []
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"event": "PreInvocation",
|
|
49
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":6,\"invocationNum\":0,\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
50
|
+
"argv": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"event": "PreToolUse",
|
|
54
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreToolUse\",\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":8,\"toolCall\":{\"args\":{\"Path\":\"<folder>/notes.txt\",\"Replacement\":\"goodbye\",\"Target\":\"hello\"},\"id\":\"call_14687691418455473523\",\"name\":\"edit_file\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
55
|
+
"argv": []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"event": "PostToolUse",
|
|
59
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"hookEventName\":\"PostToolUse\",\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"stepIdx\":8,\"toolCall\":{\"args\":{\"Path\":\"<folder>/notes.txt\",\"Replacement\":\"goodbye\",\"Target\":\"hello\"},\"id\":\"call_14687691418455473523\",\"name\":\"edit_file\"},\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
60
|
+
"argv": []
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"event": "PostInvocation",
|
|
64
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":6,\"invocationNum\":0,\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
65
|
+
"argv": []
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"event": "PreInvocation",
|
|
69
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PreInvocation\",\"initialNumSteps\":9,\"invocationNum\":1,\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
70
|
+
"argv": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"event": "PostInvocation",
|
|
74
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"hookEventName\":\"PostInvocation\",\"initialNumSteps\":9,\"invocationNum\":1,\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
75
|
+
"argv": []
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"event": "Stop",
|
|
79
|
+
"stdin": "{\"artifactDirectoryPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"continuationActive\":false,\"conversationId\":\"9ad8b8c6-e007-414f-89ed-c58731436fc2\",\"cwd\":\"<folder>\",\"error\":\"\",\"executionNum\":0,\"fullyIdle\":true,\"hookEventName\":\"Stop\",\"lastUserInput\":\"In notes.txt, replace the word hello with goodbye using your file edit tool. Do nothing else.\",\"modelName\":\"gemini-3.8-flash-medium\",\"terminationReason\":\"NO_TOOL_CALL\",\"transcriptPath\":\"<root>/antigravity-cli/brain/9ad8b8c6-e007-414f-89ed-c58731436fc2/.system_generated/logs/transcript_full.jsonl\",\"workspacePaths\":[\"<folder>\"]}",
|
|
80
|
+
"argv": []
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"files": {
|
|
84
|
+
"before": {},
|
|
85
|
+
"writes": [
|
|
86
|
+
{
|
|
87
|
+
"afterEvent": 3,
|
|
88
|
+
"path": "notes.txt",
|
|
89
|
+
"content": "hello from agy\n"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"afterEvent": 10,
|
|
93
|
+
"path": "notes.txt",
|
|
94
|
+
"content": "goodbye from agy\n"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"expect": {
|
|
99
|
+
"normalized": [
|
|
100
|
+
{
|
|
101
|
+
"kind": "session-start",
|
|
102
|
+
"eventName": "SessionStart",
|
|
103
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"kind": "other",
|
|
107
|
+
"eventName": "PreInvocation",
|
|
108
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "tool-pre",
|
|
112
|
+
"eventName": "PreToolUse",
|
|
113
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
114
|
+
"toolName": "write_file",
|
|
115
|
+
"callId": "call_4434537565764973465"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "tool-post",
|
|
119
|
+
"eventName": "PostToolUse",
|
|
120
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
121
|
+
"toolName": "write_file",
|
|
122
|
+
"callId": "call_4434537565764973465"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "other",
|
|
126
|
+
"eventName": "PostInvocation",
|
|
127
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"kind": "other",
|
|
131
|
+
"eventName": "PreInvocation",
|
|
132
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "other",
|
|
136
|
+
"eventName": "PostInvocation",
|
|
137
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"kind": "stop",
|
|
141
|
+
"eventName": "Stop",
|
|
142
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "other",
|
|
146
|
+
"eventName": "PreInvocation",
|
|
147
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"kind": "tool-pre",
|
|
151
|
+
"eventName": "PreToolUse",
|
|
152
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
153
|
+
"toolName": "edit_file",
|
|
154
|
+
"callId": "call_14687691418455473523"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"kind": "tool-post",
|
|
158
|
+
"eventName": "PostToolUse",
|
|
159
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2",
|
|
160
|
+
"toolName": "edit_file",
|
|
161
|
+
"callId": "call_14687691418455473523"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"kind": "other",
|
|
165
|
+
"eventName": "PostInvocation",
|
|
166
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "other",
|
|
170
|
+
"eventName": "PreInvocation",
|
|
171
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "other",
|
|
175
|
+
"eventName": "PostInvocation",
|
|
176
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "stop",
|
|
180
|
+
"eventName": "Stop",
|
|
181
|
+
"session": "9ad8b8c6-e007-414f-89ed-c58731436fc2"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"credit": {
|
|
185
|
+
"notes.txt": {
|
|
186
|
+
"creditedTo": "call:call_14687691418455473523",
|
|
187
|
+
"basis": "inferred"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "cocheck-harness/1",
|
|
3
|
+
"key": "antigravity",
|
|
4
|
+
"displayName": "Antigravity",
|
|
5
|
+
"fullName": "Antigravity CLI",
|
|
6
|
+
"chip": "A",
|
|
7
|
+
"testedVersions": ["1.5.14"],
|
|
8
|
+
"events": {
|
|
9
|
+
"SessionStart": "session-start",
|
|
10
|
+
"PreInvocation": "other",
|
|
11
|
+
"PostInvocation": "other",
|
|
12
|
+
"PreToolUse": "tool-pre",
|
|
13
|
+
"PostToolUse": "tool-post",
|
|
14
|
+
"Stop": "stop"
|
|
15
|
+
},
|
|
16
|
+
"eventFrom": { "payload": "hookEventName" },
|
|
17
|
+
"fields": {
|
|
18
|
+
"session": "conversationId",
|
|
19
|
+
"cwd": "cwd",
|
|
20
|
+
"toolName": "toolCall.name",
|
|
21
|
+
"toolInput": "toolCall.args",
|
|
22
|
+
"transcriptPath": "transcriptPath"
|
|
23
|
+
},
|
|
24
|
+
"callId": { "payload": "toolCall.id" },
|
|
25
|
+
"extraFields": { "model": "modelName" },
|
|
26
|
+
"failure": { "tool-post": { "text": ["error"], "nonEmpty": true } },
|
|
27
|
+
"toolClasses": {
|
|
28
|
+
"write_file": { "class": "write", "pathFields": ["Path"], "pathChecked": true },
|
|
29
|
+
"edit_file": { "class": "edit", "pathFields": ["Path"], "pathChecked": true },
|
|
30
|
+
"run_command": { "class": "shell", "dialect": "bash", "backgroundable": true },
|
|
31
|
+
"invoke_subagent": { "class": "launcher" },
|
|
32
|
+
"send_message": { "class": "never-credited" }
|
|
33
|
+
},
|
|
34
|
+
"install": {
|
|
35
|
+
"format": "json",
|
|
36
|
+
"path": "{home}/.gemini/config/hooks.json",
|
|
37
|
+
"mode": "merge",
|
|
38
|
+
"rootKey": "cocheck",
|
|
39
|
+
"events": ["PreToolUse", "PostToolUse", "Stop"],
|
|
40
|
+
"matcherEvents": { "PreToolUse": "*", "PostToolUse": "*" },
|
|
41
|
+
"entryTemplate": { "type": "command", "command": "{command}", "timeout": 30 },
|
|
42
|
+
"entryTemplates": {
|
|
43
|
+
"PreToolUse": { "hooks": [{ "type": "command", "command": "{command}", "timeout": 30 }] },
|
|
44
|
+
"PostToolUse": { "hooks": [{ "type": "command", "command": "{command}", "timeout": 30 }] }
|
|
45
|
+
},
|
|
46
|
+
"failOpenEvents": ["PreToolUse"],
|
|
47
|
+
"skillRoot": ".gemini/config/skills",
|
|
48
|
+
"hostFlag": "antigravity",
|
|
49
|
+
"folderFromPayloadCwd": true,
|
|
50
|
+
"promptContext": false,
|
|
51
|
+
"notes": "Unverified: the global hooks file ({home}/.gemini/config/hooks.json) is read from Antigravity's documentation; the recordings used a workspace file, <folder>/.agents/hooks.json, which takes the same entries.",
|
|
52
|
+
"checkPayload": {
|
|
53
|
+
"payload": { "conversationId": "install-check", "cwd": "{folder}", "hookEventName": "PreToolUse", "toolCall": { "id": "install-check-1", "name": "run_command", "args": { "CommandLine": "true" } } },
|
|
54
|
+
"event": "PreToolUse"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"shape": {
|
|
58
|
+
"PreToolUse": ["conversationId", "cwd", "workspacePaths", "transcriptPath", "hookEventName", "toolCall", "stepIdx"],
|
|
59
|
+
"PostToolUse": ["conversationId", "cwd", "workspacePaths", "transcriptPath", "hookEventName", "toolCall", "stepIdx", "error"],
|
|
60
|
+
"Stop": ["conversationId", "cwd", "hookEventName", "terminationReason", "fullyIdle", "error"]
|
|
61
|
+
}
|
|
62
|
+
}
|