agentproof-cli 0.3.0__py3-none-any.whl
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.
- agentproof/__init__.py +2 -0
- agentproof/__main__.py +3 -0
- agentproof/cli.py +513 -0
- agentproof_cli-0.3.0.dist-info/METADATA +158 -0
- agentproof_cli-0.3.0.dist-info/RECORD +9 -0
- agentproof_cli-0.3.0.dist-info/WHEEL +5 -0
- agentproof_cli-0.3.0.dist-info/entry_points.txt +2 -0
- agentproof_cli-0.3.0.dist-info/licenses/LICENSE +21 -0
- agentproof_cli-0.3.0.dist-info/top_level.txt +1 -0
agentproof/__init__.py
ADDED
agentproof/__main__.py
ADDED
agentproof/cli.py
ADDED
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
"""Dependency-free local task evidence. Never interprets model claims as proof."""
|
|
2
|
+
import argparse
|
|
3
|
+
import hashlib
|
|
4
|
+
import json
|
|
5
|
+
import os
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
import re
|
|
8
|
+
import subprocess
|
|
9
|
+
import sys
|
|
10
|
+
import time
|
|
11
|
+
import uuid
|
|
12
|
+
|
|
13
|
+
from . import __version__
|
|
14
|
+
|
|
15
|
+
STORE = ".agentproof"
|
|
16
|
+
MAX_FILE = 10 * 1024 * 1024
|
|
17
|
+
MAX_TOTAL = 100 * 1024 * 1024
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def terminate_process_group(proc):
|
|
21
|
+
"""Terminate a timed-out command on POSIX and Windows."""
|
|
22
|
+
if os.name == "nt":
|
|
23
|
+
proc.kill()
|
|
24
|
+
else:
|
|
25
|
+
import signal
|
|
26
|
+
os.killpg(proc.pid, signal.SIGKILL)
|
|
27
|
+
proc.wait()
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def now():
|
|
31
|
+
return time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def save(path, data):
|
|
35
|
+
path.parent.mkdir(parents=True, exist_ok=True)
|
|
36
|
+
tmp = path.with_suffix(".tmp")
|
|
37
|
+
tmp.write_text(json.dumps(data, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
|
38
|
+
tmp.replace(path)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def load(path):
|
|
42
|
+
return json.loads(path.read_text(encoding="utf-8"))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def git(root, *args):
|
|
46
|
+
result = subprocess.run(["git", "-C", str(root), *args], capture_output=True)
|
|
47
|
+
if result.returncode:
|
|
48
|
+
raise ValueError(result.stderr.decode(errors="replace").strip())
|
|
49
|
+
return result.stdout
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def safe_path(root, name):
|
|
53
|
+
p = Path(name)
|
|
54
|
+
if p.is_absolute() or ".." in p.parts or not p.parts or p.parts[0] in (".git", STORE):
|
|
55
|
+
raise ValueError(f"Unsafe snapshot path: {name}")
|
|
56
|
+
target = root / p
|
|
57
|
+
# Reject symlinks in every component, including the file itself.
|
|
58
|
+
if any(x.is_symlink() for x in [target, *target.parents] if x != root.parent):
|
|
59
|
+
raise ValueError(f"Symlink path is not supported: {name}")
|
|
60
|
+
if not target.resolve().is_relative_to(root.resolve()):
|
|
61
|
+
raise ValueError(f"Path escapes repository: {name}")
|
|
62
|
+
return target
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def sensitive(name):
|
|
66
|
+
p = Path(name)
|
|
67
|
+
return (p.name == ".env" or p.name.startswith(".env.") or
|
|
68
|
+
p.suffix.lower() in (".pem", ".key", ".p12", ".pfx") or
|
|
69
|
+
p.name in ("id_rsa", "id_ed25519", "credentials.json"))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def inventory(root):
|
|
73
|
+
names = git(root, "ls-files", "-z", "--cached", "--others", "--exclude-standard")
|
|
74
|
+
files, omitted, total = {}, [], 0
|
|
75
|
+
for name in sorted(set(os.fsdecode(x) for x in names.split(b"\0") if x)):
|
|
76
|
+
if Path(name).parts[0] == STORE:
|
|
77
|
+
continue
|
|
78
|
+
if sensitive(name):
|
|
79
|
+
omitted.append({"path": name, "reason": "sensitive filename"})
|
|
80
|
+
continue
|
|
81
|
+
try:
|
|
82
|
+
path = safe_path(root, name)
|
|
83
|
+
except ValueError:
|
|
84
|
+
omitted.append({"path": name, "reason": "symlink or unsafe path"})
|
|
85
|
+
continue
|
|
86
|
+
if not path.exists():
|
|
87
|
+
continue
|
|
88
|
+
if not path.is_file():
|
|
89
|
+
omitted.append({"path": name, "reason": "not a regular file (possibly submodule)"})
|
|
90
|
+
continue
|
|
91
|
+
if path.stat().st_size > MAX_FILE:
|
|
92
|
+
raise ValueError(f"File exceeds 10 MiB snapshot limit: {name}")
|
|
93
|
+
data = path.read_bytes()
|
|
94
|
+
total += len(data)
|
|
95
|
+
if total > MAX_TOTAL:
|
|
96
|
+
raise ValueError("Workspace exceeds 100 MiB snapshot limit")
|
|
97
|
+
files[name] = {"sha256": hashlib.sha256(data).hexdigest(),
|
|
98
|
+
"mode": path.stat().st_mode & 0o777}
|
|
99
|
+
return files, omitted
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def fingerprint(files, omitted):
|
|
103
|
+
return hashlib.sha256(json.dumps([files, omitted], sort_keys=True).encode()).hexdigest()
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def checkpoint(root, state, label):
|
|
107
|
+
files, omitted = inventory(root)
|
|
108
|
+
ident = uuid.uuid4().hex[:12]
|
|
109
|
+
directory = root / STORE / "snapshots" / ident
|
|
110
|
+
directory.mkdir(parents=True)
|
|
111
|
+
for name, info in files.items():
|
|
112
|
+
data = safe_path(root, name).read_bytes()
|
|
113
|
+
if hashlib.sha256(data).hexdigest() != info["sha256"]:
|
|
114
|
+
raise ValueError("Workspace changed during snapshot; retry when edits stop")
|
|
115
|
+
dest = directory / "files" / name
|
|
116
|
+
dest.parent.mkdir(parents=True, exist_ok=True)
|
|
117
|
+
dest.write_bytes(data)
|
|
118
|
+
snap = {"id": ident, "label": label, "time": now(), "files": files,
|
|
119
|
+
"omitted": omitted, "fingerprint": fingerprint(files, omitted)}
|
|
120
|
+
save(directory / "manifest.json", snap)
|
|
121
|
+
state["checkpoints"].append({k: snap[k] for k in ("id", "label", "time")})
|
|
122
|
+
save(root / STORE / "task.json", state)
|
|
123
|
+
return snap
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def get_snapshot(root, state, ident):
|
|
127
|
+
if ident not in {x["id"] for x in state["checkpoints"]}:
|
|
128
|
+
raise ValueError("Unknown checkpoint ID")
|
|
129
|
+
return load(root / STORE / "snapshots" / ident / "manifest.json")
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def import_session(path):
|
|
133
|
+
metrics = {"records": 0, "malformed_lines": 0, "tool_calls": 0,
|
|
134
|
+
"tool_errors": 0, "compactions": 0, "truncation_markers": 0}
|
|
135
|
+
with path.open(encoding="utf-8") as source:
|
|
136
|
+
for line in source:
|
|
137
|
+
if not line.strip():
|
|
138
|
+
continue
|
|
139
|
+
try:
|
|
140
|
+
record = json.loads(line)
|
|
141
|
+
except json.JSONDecodeError:
|
|
142
|
+
metrics["malformed_lines"] += 1
|
|
143
|
+
continue
|
|
144
|
+
if not isinstance(record, dict):
|
|
145
|
+
metrics["malformed_lines"] += 1
|
|
146
|
+
continue
|
|
147
|
+
metrics["records"] += 1
|
|
148
|
+
if record.get("type") == "system" and record.get("subtype") == "compact_boundary":
|
|
149
|
+
metrics["compactions"] += 1
|
|
150
|
+
# Codex rollout response items wrap API events in payload.
|
|
151
|
+
payload = record.get("payload")
|
|
152
|
+
if record.get("type") == "response_item" and isinstance(payload, dict):
|
|
153
|
+
if payload.get("type") in {"function_call", "custom_tool_call"}:
|
|
154
|
+
metrics["tool_calls"] += 1
|
|
155
|
+
elif payload.get("type") in {"function_call_output", "custom_tool_call_output"}:
|
|
156
|
+
output = payload.get("output", "")
|
|
157
|
+
# Do not infer errors from prose; rollout output is opaque.
|
|
158
|
+
metrics["tool_errors"] += bool(payload.get("is_error"))
|
|
159
|
+
if re.search(r"\btruncated\b", str(output), re.I):
|
|
160
|
+
metrics["truncation_markers"] += 1
|
|
161
|
+
if record.get("type") == "compacted":
|
|
162
|
+
metrics["compactions"] += 1
|
|
163
|
+
message = record.get("message")
|
|
164
|
+
content = message.get("content", []) if isinstance(message, dict) else []
|
|
165
|
+
if not isinstance(content, list):
|
|
166
|
+
content = []
|
|
167
|
+
# Codex, Cline and other clients often store tool events as top-level
|
|
168
|
+
# records instead of Claude's message.content blocks. Count only the
|
|
169
|
+
# event metadata; raw prompts and outputs are never persisted.
|
|
170
|
+
top_level_type = str(record.get("type", "")).lower()
|
|
171
|
+
if top_level_type in {"tool_use", "tool_call", "function_call"}:
|
|
172
|
+
metrics["tool_calls"] += 1
|
|
173
|
+
if top_level_type in {"tool_result", "tool_output", "function_result"}:
|
|
174
|
+
metrics["tool_errors"] += bool(record.get("is_error") or record.get("error"))
|
|
175
|
+
if re.search(r"\btruncated\b", json.dumps(record, ensure_ascii=False), re.I):
|
|
176
|
+
metrics["truncation_markers"] += 1
|
|
177
|
+
for block in content:
|
|
178
|
+
if not isinstance(block, dict):
|
|
179
|
+
continue
|
|
180
|
+
if block.get("type") == "tool_use":
|
|
181
|
+
metrics["tool_calls"] += 1
|
|
182
|
+
if block.get("type") == "tool_result":
|
|
183
|
+
metrics["tool_errors"] += bool(block.get("is_error"))
|
|
184
|
+
if re.search(r"\btruncated\b", json.dumps(block.get("content", "")), re.I):
|
|
185
|
+
metrics["truncation_markers"] += 1
|
|
186
|
+
return metrics
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
def report(root, state):
|
|
190
|
+
current, omitted = inventory(root)
|
|
191
|
+
baseline = get_snapshot(root, state, state["checkpoints"][0]["id"])["files"]
|
|
192
|
+
changed = [("added" if p not in baseline else "deleted" if p not in current else "modified", p)
|
|
193
|
+
for p in sorted(set(baseline) | set(current)) if baseline.get(p) != current.get(p)]
|
|
194
|
+
current_fp = fingerprint(current, omitted)
|
|
195
|
+
lines = ["# AgentProof task evidence", "", f"Goal: {state['goal']}", "",
|
|
196
|
+
f"Generated: {now()}", "", "This report records evidence; it does not certify correctness or task completion.",
|
|
197
|
+
"", "## Changes since task start", ""]
|
|
198
|
+
lines += [f"- {kind}: `{name}`" for kind, name in changed] or ["No captured file changes."]
|
|
199
|
+
lines += ["", "## Verification", ""]
|
|
200
|
+
if not state["checks"]:
|
|
201
|
+
lines += ["No verification commands recorded."]
|
|
202
|
+
for check in state["checks"]:
|
|
203
|
+
fresh = check["before"] == check["after"] == current_fp
|
|
204
|
+
status = "PASS" if check["exit_code"] == 0 else "FAIL"
|
|
205
|
+
command = check["command"]
|
|
206
|
+
preview = " ".join(command.split())
|
|
207
|
+
expanded = "\n" in command or len(preview) > 120
|
|
208
|
+
if len(preview) > 120:
|
|
209
|
+
preview = preview[:117] + "..."
|
|
210
|
+
ticks = "`" * (max((len(x) for x in re.findall(r"`+", preview)), default=0) + 1)
|
|
211
|
+
lines += [f"- **{status}** {ticks} {preview} {ticks} — exit {check['exit_code']}; "
|
|
212
|
+
f"{'matches current captured files' if fresh else 'STALE / files changed'}; "
|
|
213
|
+
f"log: `{check['log']}`"]
|
|
214
|
+
if check.get("timed_out"):
|
|
215
|
+
lines += [" Timed out; the process group was terminated."]
|
|
216
|
+
if expanded:
|
|
217
|
+
fence = "`" * max(3, max((len(x) for x in re.findall(r"`+", command)), default=0) + 1)
|
|
218
|
+
lines += ["", "<details>", "<summary>Full command</summary>", "",
|
|
219
|
+
fence + "sh", command, fence, "", "</details>", ""]
|
|
220
|
+
lines += ["", "## Imported session signals", ""]
|
|
221
|
+
for session in state["sessions"]:
|
|
222
|
+
lines += ["- " + "; ".join(f"{k}: {v}" for k, v in session["metrics"].items())]
|
|
223
|
+
if not state["sessions"]:
|
|
224
|
+
lines += ["No session imported."]
|
|
225
|
+
lines += ["", "Signals are heuristic observations, not proof of lost context or model errors.",
|
|
226
|
+
"Imported sessions are not automatically correlated with this task's file changes.",
|
|
227
|
+
"", "## Scope and limitations", "",
|
|
228
|
+
"- Snapshots cover Git-tracked and non-ignored untracked regular files, including initial local edits.",
|
|
229
|
+
"- Git index, ignored files, symlinks, submodules and external services are not restored or verified.",
|
|
230
|
+
"- Sensitive filenames are excluded; this is not a secret scanner.",
|
|
231
|
+
"- A passing command proves its exit status, not test coverage or requirements satisfaction.",
|
|
232
|
+
"- Work concurrently edited while checking may invalidate evidence; stop edits before verification."]
|
|
233
|
+
lines += [f"- Omitted `{x['path']}`: {x['reason']}" for x in omitted]
|
|
234
|
+
lines += ["", "## Checkpoints", ""]
|
|
235
|
+
lines += [f"- `{s['id']}` — {s['label']} ({s['time']})" for s in state["checkpoints"]]
|
|
236
|
+
if state.get("reviews"):
|
|
237
|
+
lines += ["", "## Claim review", ""]
|
|
238
|
+
for review in state["reviews"]:
|
|
239
|
+
lines += [f"Reviewed: `{review['source']}` ({review['time']})", ""]
|
|
240
|
+
latest = review_claims(root, state, [x["claim"] for x in review["items"]], review["source"])
|
|
241
|
+
for item in latest["items"]:
|
|
242
|
+
lines.append(f"- **{item['status']}** {item['claim']} — {item['reason']}")
|
|
243
|
+
if latest.get("questions"):
|
|
244
|
+
lines += ["", "### Human confirmation", ""]
|
|
245
|
+
lines += [f"- {question}" for question in latest["questions"]]
|
|
246
|
+
return "\n".join(lines) + "\n"
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
def review_claims(root, state, claims, source):
|
|
250
|
+
"""Match plain-language completion claims to observed local evidence.
|
|
251
|
+
|
|
252
|
+
This deliberately uses transparent rules instead of another model. A claim is
|
|
253
|
+
never upgraded to VERIFIED just because it sounds confident.
|
|
254
|
+
"""
|
|
255
|
+
current, omitted = inventory(root)
|
|
256
|
+
current_fp = fingerprint(current, omitted)
|
|
257
|
+
baseline = get_snapshot(root, state, state["checkpoints"][0]["id"])["files"]
|
|
258
|
+
changed = [p for p in sorted(set(baseline) | set(current)) if baseline.get(p) != current.get(p)]
|
|
259
|
+
checks = state.get("checks", [])
|
|
260
|
+
fresh_pass = [c for c in checks if c["exit_code"] == 0 and c["before"] == c["after"] == current_fp]
|
|
261
|
+
items, questions = [], []
|
|
262
|
+
for raw in claims:
|
|
263
|
+
claim = " ".join(raw.strip().split())
|
|
264
|
+
if not claim:
|
|
265
|
+
continue
|
|
266
|
+
lower = claim.lower()
|
|
267
|
+
kind = next((k for k, pattern in (
|
|
268
|
+
("test", r"\b(?:tests?|pytest|unittest)\b|测试"),
|
|
269
|
+
("lint", r"\blint\b|静态检查"),
|
|
270
|
+
("build", r"\bbuild\b|构建")) if re.search(pattern, lower)), None)
|
|
271
|
+
says_pass = bool(re.search(r"\b(?:pass|passed|passing|success|successful|green)\b|通过|成功", lower))
|
|
272
|
+
says_change = bool(re.search(r"\b(?:fix|fixed|change|changed|implement|implemented)\b|修复|修改|实现", lower))
|
|
273
|
+
negated = bool(re.search(r"\b(?:not|never|no|failed)\b|未|没有|失败|不", lower))
|
|
274
|
+
if negated:
|
|
275
|
+
items.append({"status": "UNVERIFIED", "claim": claim,
|
|
276
|
+
"reason": "Negative or qualified statement; inspect the original evidence."})
|
|
277
|
+
questions.append(f"Confirm the stated limitation: {claim}")
|
|
278
|
+
elif kind and says_pass:
|
|
279
|
+
matching = [c for c in fresh_pass if c.get("kind") == kind]
|
|
280
|
+
evidence = []
|
|
281
|
+
for c in matching:
|
|
282
|
+
log = root / c["log"]
|
|
283
|
+
if (c.get("log_sha256") and log.is_file() and
|
|
284
|
+
hashlib.sha256(log.read_bytes()).hexdigest() == c["log_sha256"]):
|
|
285
|
+
evidence.append(c)
|
|
286
|
+
if evidence:
|
|
287
|
+
items.append({"status": "OBSERVED", "claim": claim,
|
|
288
|
+
"reason": "Recorded exit 0 for: " + "; ".join(c["command"] + " [log: " + c["log"] + "]" for c in evidence)
|
|
289
|
+
+ ". This does not prove test count, coverage, or the full claim."})
|
|
290
|
+
else:
|
|
291
|
+
items.append({"status": "UNVERIFIED", "claim": claim,
|
|
292
|
+
"reason": "No fresh successful check of the declared type with intact log evidence."})
|
|
293
|
+
questions.append(f"Confirm scope and actual output for: {claim}")
|
|
294
|
+
elif says_change:
|
|
295
|
+
if changed:
|
|
296
|
+
items.append({"status": "OBSERVED", "claim": claim,
|
|
297
|
+
"reason": f"检测到 {len(changed)} 个文件相对任务起点发生变化"})
|
|
298
|
+
else:
|
|
299
|
+
items.append({"status": "CONFLICT", "claim": claim, "reason": "当前工作区没有相对任务起点的文件变化"})
|
|
300
|
+
questions.append("确认修改是否写入了另一个目录、分支或工作树。")
|
|
301
|
+
else:
|
|
302
|
+
items.append({"status": "UNVERIFIED", "claim": claim, "reason": "没有可匹配的本地证据规则"})
|
|
303
|
+
questions.append("为这条声明指定可复现的文件、命令或外部结果证据。")
|
|
304
|
+
return {"time": now(), "source": source, "items": items, "questions": list(dict.fromkeys(questions))}
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
def log_tail(path):
|
|
308
|
+
"""Bound memory and terminal output even when a check writes a huge log."""
|
|
309
|
+
with path.open("rb") as source:
|
|
310
|
+
size = source.seek(0, os.SEEK_END)
|
|
311
|
+
source.seek(max(0, size - 8192))
|
|
312
|
+
text = source.read(8192).decode("utf-8", errors="replace")
|
|
313
|
+
lines = text.splitlines()
|
|
314
|
+
tail = "\n".join(lines[-12:])
|
|
315
|
+
truncated = size > 8192 or len(lines) > 12 or len(tail) > 4000
|
|
316
|
+
tail = tail[-4000:]
|
|
317
|
+
# Do not emit terminal control sequences from command output.
|
|
318
|
+
tail = "".join(c for c in tail if c in "\n\t" or (ord(c) >= 32 and ord(c) != 127))
|
|
319
|
+
return ("[earlier output omitted]\n" if truncated else "") + (tail or "(no command output)")
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
def run(args, root):
|
|
323
|
+
store = root / STORE
|
|
324
|
+
if args.action == "init":
|
|
325
|
+
if (store / "task.json").exists():
|
|
326
|
+
raise ValueError("Task already exists; use a separate repository/worktree for another task")
|
|
327
|
+
# Keep local evidence out of commits without editing the shared .gitignore.
|
|
328
|
+
exclude_path = Path(os.fsdecode(git(root, "rev-parse", "--git-path", "info/exclude")).strip())
|
|
329
|
+
if not exclude_path.is_absolute():
|
|
330
|
+
exclude_path = root / exclude_path
|
|
331
|
+
exclude_path.parent.mkdir(parents=True, exist_ok=True)
|
|
332
|
+
with exclude_path.open("a", encoding="utf-8") as f:
|
|
333
|
+
f.write("\n/.agentproof/\n")
|
|
334
|
+
state = {"version": 1, "goal": args.goal, "created": now(),
|
|
335
|
+
"checkpoints": [], "checks": [], "sessions": []}
|
|
336
|
+
snap = checkpoint(root, state, "task start")
|
|
337
|
+
print(f"Task initialized. Baseline: {snap['id']} ({len(snap['files'])} files)")
|
|
338
|
+
return 0
|
|
339
|
+
if not (store / "task.json").exists():
|
|
340
|
+
raise ValueError("Run agentproof init --goal '...' first")
|
|
341
|
+
state = load(store / "task.json")
|
|
342
|
+
if args.action == "checkpoint":
|
|
343
|
+
snap = checkpoint(root, state, args.label)
|
|
344
|
+
print(f"Checkpoint: {snap['id']} ({len(snap['files'])} files)")
|
|
345
|
+
elif args.action == "import-session":
|
|
346
|
+
metrics = import_session(Path(args.path))
|
|
347
|
+
state["sessions"].append({"imported": now(), "metrics": metrics})
|
|
348
|
+
save(store / "task.json", state)
|
|
349
|
+
print(json.dumps(metrics, indent=2))
|
|
350
|
+
elif args.action == "review":
|
|
351
|
+
claims = list(args.claim or [])
|
|
352
|
+
if args.summary:
|
|
353
|
+
summary_path = Path(args.summary)
|
|
354
|
+
if not summary_path.is_file():
|
|
355
|
+
raise ValueError(f"Summary file not found: {args.summary}")
|
|
356
|
+
claims.extend(summary_path.read_text(encoding="utf-8", errors="replace").splitlines())
|
|
357
|
+
if not claims:
|
|
358
|
+
raise ValueError("Provide --summary FILE or at least one --claim")
|
|
359
|
+
review = review_claims(root, state, claims, args.summary or "command line claims")
|
|
360
|
+
state.setdefault("reviews", []).append(review)
|
|
361
|
+
save(store / "task.json", state)
|
|
362
|
+
for item in review["items"]:
|
|
363
|
+
print(f"{item['status']}: {item['claim']} — {item['reason']}")
|
|
364
|
+
if review["questions"]:
|
|
365
|
+
print("\nHuman confirmation:")
|
|
366
|
+
for question in review["questions"]:
|
|
367
|
+
print(f"- {question}")
|
|
368
|
+
elif args.action == "verify":
|
|
369
|
+
command = args.command
|
|
370
|
+
if command and command[0] == "--":
|
|
371
|
+
command = command[1:]
|
|
372
|
+
if not command:
|
|
373
|
+
raise ValueError("Provide a command after --")
|
|
374
|
+
before = fingerprint(*inventory(root))
|
|
375
|
+
log = Path(STORE) / "checks" / (uuid.uuid4().hex[:12] + ".log")
|
|
376
|
+
(root / log).parent.mkdir(parents=True, exist_ok=True)
|
|
377
|
+
timed_out = False
|
|
378
|
+
with (root / log).open("wb") as output:
|
|
379
|
+
try:
|
|
380
|
+
popen_kwargs = {"cwd": root, "stdout": output, "stderr": subprocess.STDOUT}
|
|
381
|
+
if os.name != "nt":
|
|
382
|
+
popen_kwargs["start_new_session"] = True
|
|
383
|
+
else:
|
|
384
|
+
popen_kwargs["creationflags"] = getattr(subprocess, "CREATE_NEW_PROCESS_GROUP", 0)
|
|
385
|
+
proc = subprocess.Popen(command, **popen_kwargs)
|
|
386
|
+
try:
|
|
387
|
+
code = proc.wait(timeout=args.timeout)
|
|
388
|
+
except subprocess.TimeoutExpired:
|
|
389
|
+
terminate_process_group(proc)
|
|
390
|
+
code, timed_out = 124, True
|
|
391
|
+
except KeyboardInterrupt:
|
|
392
|
+
terminate_process_group(proc)
|
|
393
|
+
code = 130
|
|
394
|
+
except OSError as exc:
|
|
395
|
+
output.write(f"{command[0]}: {exc}".encode())
|
|
396
|
+
code = 127
|
|
397
|
+
after = fingerprint(*inventory(root))
|
|
398
|
+
import shlex
|
|
399
|
+
state["checks"].append({"command": shlex.join(command), "exit_code": code,
|
|
400
|
+
"time": now(), "before": before, "after": after,
|
|
401
|
+
"log": str(log), "timed_out": timed_out, "kind": args.kind,
|
|
402
|
+
"argv": command,
|
|
403
|
+
"log_sha256": hashlib.sha256((root / log).read_bytes()).hexdigest()})
|
|
404
|
+
save(store / "task.json", state)
|
|
405
|
+
print(f"{'PASS' if code == 0 else 'FAIL'} (exit {code}). Log: {log}")
|
|
406
|
+
if code != 0:
|
|
407
|
+
if timed_out:
|
|
408
|
+
print(f"Timed out after {args.timeout:g}s; the process group was terminated.")
|
|
409
|
+
print("Last command output:")
|
|
410
|
+
print(log_tail(root / log))
|
|
411
|
+
return 0 if code == 0 else 1
|
|
412
|
+
elif args.action in ("report", "status"):
|
|
413
|
+
result = report(root, state)
|
|
414
|
+
if args.action == "report":
|
|
415
|
+
path = store / "report.md"
|
|
416
|
+
path.write_text(result, encoding="utf-8")
|
|
417
|
+
print(path)
|
|
418
|
+
else:
|
|
419
|
+
print(result)
|
|
420
|
+
elif args.action == "restore":
|
|
421
|
+
snap = get_snapshot(root, state, args.id)
|
|
422
|
+
pending = []
|
|
423
|
+
for name, info in snap["files"].items():
|
|
424
|
+
target = safe_path(root, name)
|
|
425
|
+
source = safe_path(store / "snapshots" / args.id / "files", name)
|
|
426
|
+
data = source.read_bytes()
|
|
427
|
+
if hashlib.sha256(data).hexdigest() != info["sha256"]:
|
|
428
|
+
raise ValueError(f"Corrupted snapshot file: {name}")
|
|
429
|
+
if target.exists() and not target.is_file():
|
|
430
|
+
raise ValueError(f"Restore conflicts with directory: {name}")
|
|
431
|
+
for parent in target.parents:
|
|
432
|
+
if parent == root:
|
|
433
|
+
break
|
|
434
|
+
if parent.exists() and not parent.is_dir():
|
|
435
|
+
raise ValueError(f"Restore path blocked by non-directory: {parent.relative_to(root)}")
|
|
436
|
+
if (not target.exists() or hashlib.sha256(target.read_bytes()).hexdigest() != info["sha256"]
|
|
437
|
+
or target.stat().st_mode & 0o777 != info["mode"]):
|
|
438
|
+
pending.append((name, data, info["mode"]))
|
|
439
|
+
print(f"Restore {len(pending)} files from {args.id}. Files created later remain; Git index stays unchanged.")
|
|
440
|
+
for name, _, _ in pending:
|
|
441
|
+
print(f" {name}")
|
|
442
|
+
if not args.apply:
|
|
443
|
+
print("Preview only. Use --apply to write files (automatic pre-restore backup).")
|
|
444
|
+
elif pending:
|
|
445
|
+
backup = checkpoint(root, state, "before restore " + args.id)
|
|
446
|
+
for name, _, _ in pending:
|
|
447
|
+
target = safe_path(root, name)
|
|
448
|
+
if target.exists() and (name not in backup["files"] or
|
|
449
|
+
hashlib.sha256(target.read_bytes()).hexdigest() != backup["files"][name]["sha256"]):
|
|
450
|
+
raise ValueError(f"Cannot safely back up {name}; restore aborted before writing")
|
|
451
|
+
for name, data, mode in pending:
|
|
452
|
+
target = safe_path(root, name)
|
|
453
|
+
target.parent.mkdir(parents=True, exist_ok=True)
|
|
454
|
+
target.write_bytes(data)
|
|
455
|
+
target.chmod(mode)
|
|
456
|
+
print(f"Restored. Backup checkpoint: {backup['id']}")
|
|
457
|
+
return 0
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
def main(argv=None):
|
|
461
|
+
# Windows consoles may default to a legacy code page that cannot render the
|
|
462
|
+
# bilingual review questions. Keep reports and diagnostics lossless.
|
|
463
|
+
for stream in (sys.stdout, sys.stderr):
|
|
464
|
+
reconfigure = getattr(stream, "reconfigure", None)
|
|
465
|
+
if reconfigure is not None:
|
|
466
|
+
reconfigure(encoding="utf-8", errors="replace")
|
|
467
|
+
parser = argparse.ArgumentParser(description=__doc__)
|
|
468
|
+
parser.add_argument("--version", action="version", version=f"AgentProof {__version__}")
|
|
469
|
+
sub = parser.add_subparsers(dest="action", required=True)
|
|
470
|
+
p = sub.add_parser("init", help="Start a task and capture its baseline")
|
|
471
|
+
p.add_argument("--goal", required=True)
|
|
472
|
+
p = sub.add_parser("checkpoint", help="Capture current files without changing Git history")
|
|
473
|
+
p.add_argument("--label", default="manual checkpoint")
|
|
474
|
+
p = sub.add_parser("import-session", help="Import Claude Code JSONL signal counts")
|
|
475
|
+
p.add_argument("path")
|
|
476
|
+
p = sub.add_parser("review", help="Match AI completion claims to recorded local evidence")
|
|
477
|
+
p.add_argument("--summary", help="Text file containing one completion claim per line")
|
|
478
|
+
p.add_argument("--claim", action="append", help="A completion claim; repeat for multiple claims")
|
|
479
|
+
p = sub.add_parser("verify", help="Run a command, capture output and record workspace fingerprints")
|
|
480
|
+
p.add_argument("--kind", choices=["test", "lint", "build", "other"], default="other",
|
|
481
|
+
help="Declared check type, not a correctness certification")
|
|
482
|
+
p.add_argument("--timeout", type=float, default=300)
|
|
483
|
+
p.add_argument("command", nargs=argparse.REMAINDER)
|
|
484
|
+
sub.add_parser("report", help="Write .agentproof/report.md")
|
|
485
|
+
sub.add_parser("status", help="Print current evidence report")
|
|
486
|
+
p = sub.add_parser("restore", help="Preview file restoration; new files are retained")
|
|
487
|
+
p.add_argument("id")
|
|
488
|
+
p.add_argument("--apply", action="store_true")
|
|
489
|
+
args = parser.parse_args(argv)
|
|
490
|
+
lock = None
|
|
491
|
+
try:
|
|
492
|
+
root = Path(os.fsdecode(git(Path.cwd(), "rev-parse", "--show-toplevel")).strip()).resolve()
|
|
493
|
+
store = root / STORE
|
|
494
|
+
if store.is_symlink():
|
|
495
|
+
raise ValueError("Evidence directory must not be a symlink")
|
|
496
|
+
store.mkdir(exist_ok=True, mode=0o700)
|
|
497
|
+
candidate = store / "lock"
|
|
498
|
+
try:
|
|
499
|
+
candidate.mkdir()
|
|
500
|
+
except FileExistsError:
|
|
501
|
+
raise ValueError("Another AgentProof command is running. If interrupted, remove .agentproof/lock manually.")
|
|
502
|
+
lock = candidate
|
|
503
|
+
return run(args, root)
|
|
504
|
+
except (ValueError, OSError, json.JSONDecodeError) as exc:
|
|
505
|
+
print(f"agentproof: {exc}", file=sys.stderr)
|
|
506
|
+
return 2
|
|
507
|
+
finally:
|
|
508
|
+
if lock is not None:
|
|
509
|
+
lock.rmdir()
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
if __name__ == "__main__":
|
|
513
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentproof-cli
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Local evidence, checkpoints, and verification for AI coding tasks
|
|
5
|
+
License: MIT
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Dynamic: license-file
|
|
10
|
+
|
|
11
|
+
# AgentProof
|
|
12
|
+
|
|
13
|
+
**Evidence for AI coding tasks. Local checkpoints, real command results, honest handoff reports.**
|
|
14
|
+
|
|
15
|
+
[中文说明](README.zh-CN.md) · [Five-minute start](docs/quickstart.md) · [Example report](examples/report.md) · [Changelog](CHANGELOG.md) · [Security](SECURITY.md) · MIT license
|
|
16
|
+
|
|
17
|
+
AI says “done.” What actually changed? Which checks ran, and do they still match the code?
|
|
18
|
+
AgentProof answers those questions without another model or an API key.
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
$ agentproof init --goal "Fix payment retries"
|
|
22
|
+
Task initialized. Baseline: ... (42 files)
|
|
23
|
+
$ agentproof verify --kind test -- python -m unittest discover -s tests
|
|
24
|
+
PASS (exit 0). Log: .agentproof/checks/....log
|
|
25
|
+
$ agentproof report
|
|
26
|
+
/path/to/project/.agentproof/report.md
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Install
|
|
30
|
+
|
|
31
|
+
Requires Python 3.10+, Git, and macOS, Linux, or Windows.
|
|
32
|
+
This project is not published to PyPI yet.
|
|
33
|
+
|
|
34
|
+
With [pipx installed and on PATH](https://pipx.pypa.io/stable/installation/), install directly from GitHub:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pipx install 'git+https://github.com/bzwei58/agentproof.git@main'
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Then run `agentproof --version` from any project. If the command is missing, run
|
|
41
|
+
`pipx ensurepath` and reopen your terminal. The package is named `agentproof-cli`, while
|
|
42
|
+
the command is `agentproof`; remove it with `pipx uninstall agentproof-cli`.
|
|
43
|
+
This installs the current main branch, not a versioned release.
|
|
44
|
+
|
|
45
|
+
If you do not use pipx, create a virtual environment and install the same Git URL with its
|
|
46
|
+
Python: `python3 -m venv /your/chosen/venv`, then
|
|
47
|
+
`/your/chosen/venv/bin/python -m pip install 'git+https://github.com/bzwei58/agentproof.git@main'`.
|
|
48
|
+
Use `/your/chosen/venv/bin/agentproof` or activate that environment.
|
|
49
|
+
|
|
50
|
+
Start with the [five-minute walkthrough](docs/quickstart.md): one failing test, a fix,
|
|
51
|
+
a stale check and a report, all in a disposable directory. For a real project, follow the workflow below.
|
|
52
|
+
|
|
53
|
+
## Workflow
|
|
54
|
+
|
|
55
|
+
Run from any directory inside the Git repository you want to inspect. Commands execute at
|
|
56
|
+
that repository's root. One active task is supported per checkout; use a worktree for another task.
|
|
57
|
+
|
|
58
|
+
1. **Start before AI edits.** `agentproof init --goal "Fix payment retries"` captures initial
|
|
59
|
+
local changes too, without creating commits or touching the Git index.
|
|
60
|
+
2. Let your existing coding agent work. AgentProof does not launch or intercept it.
|
|
61
|
+
3. **Save a milestone.** `agentproof checkpoint --label "first implementation"`.
|
|
62
|
+
4. **Run real checks.** `agentproof verify --kind test -- python -m unittest discover -s tests`.
|
|
63
|
+
Run each test, lint or build command separately. Shell operators are not interpreted;
|
|
64
|
+
explicitly use `sh -c '...'` if you need shell syntax. Only run commands you trust.
|
|
65
|
+
5. **Optionally import session signals.** `agentproof import-session /path/to/session.jsonl`.
|
|
66
|
+
6. **Review AI claims.** `agentproof review --summary ai-summary.txt` (one claim per line), or repeat
|
|
67
|
+
`--claim "All tests passed"`. It reports `OBSERVED`, `UNVERIFIED` and `CONFLICT`; natural-language claims are not certified.
|
|
68
|
+
7. **Review.** `agentproof status` prints evidence; `agentproof report` writes Markdown.
|
|
69
|
+
8. **Recover selected snapshot contents.** `agentproof restore CHECKPOINT_ID` previews changes;
|
|
70
|
+
add `--apply` to write them, after an automatic backup checkpoint.
|
|
71
|
+
|
|
72
|
+
`verify --timeout 60 -- COMMAND ...` sets a timeout in seconds (default 300).
|
|
73
|
+
A nonzero command result returns CLI exit code 1; usage/operational errors return 2.
|
|
74
|
+
Command stdout and stderr are retained in `.agentproof/checks/`. On failure, the terminal
|
|
75
|
+
also shows the last 12 lines, capped at 4,000 characters, plus an explicit timeout message
|
|
76
|
+
when applicable. Successful commands stay quiet. The full log is always retained locally.
|
|
77
|
+
|
|
78
|
+
## What is recorded
|
|
79
|
+
|
|
80
|
+
- SHA-256 fingerprints and modes of captured files, plus full file checkpoints.
|
|
81
|
+
- Added, modified and deleted files relative to the task's initial checkpoint.
|
|
82
|
+
- Actual verification command, exit status, output log and before/after fingerprints.
|
|
83
|
+
- Whether each check still matches the current captured files. Editing code after a check
|
|
84
|
+
or having a check modify files marks it **STALE**.
|
|
85
|
+
- Long or multiline commands have compact report summaries; expand **Full command** to
|
|
86
|
+
inspect the exact recorded invocation.
|
|
87
|
+
- Optional Claude Code JSONL counts: tool calls, error results, compaction boundaries,
|
|
88
|
+
truncation markers and malformed records. Raw imported messages are not copied.
|
|
89
|
+
- Claim review matches completion statements to local file changes and fresh checks using transparent rules.
|
|
90
|
+
|
|
91
|
+
## Boundaries
|
|
92
|
+
|
|
93
|
+
This is an **evidence recorder and claim-gap detector**, not an automatic correctness judge. A passing check does
|
|
94
|
+
not prove requirements satisfaction, coverage or absence of bugs. There is no model-based
|
|
95
|
+
risk scoring, live session watcher, automatic test discovery or cross-agent correlation yet.
|
|
96
|
+
Claim review never calls a model and cannot decide whether a requirement is substantively correct.
|
|
97
|
+
Session import is best-effort for Claude Code-style `message.content` blocks and
|
|
98
|
+
`system/compact_boundary` records. Other formats and future schema changes may not be counted.
|
|
99
|
+
Truncation text is a heuristic signal, not proof that important context was lost.
|
|
100
|
+
|
|
101
|
+
Snapshots include Git-tracked and non-ignored untracked regular files. Ignored files,
|
|
102
|
+
symlinks, submodule contents, Git index state, external services and environment variables
|
|
103
|
+
are outside the captured scope. Known secret filenames (`.env*`, private-key extensions,
|
|
104
|
+
`credentials.json`) are excluded and listed; **this is not secret detection**. Verification
|
|
105
|
+
logs can contain secrets printed by your own commands. Keep `.agentproof/` private.
|
|
106
|
+
Initialization adds a local Git exclusion, and evidence is stored with a private directory mode.
|
|
107
|
+
|
|
108
|
+
A file over 10 MiB or total captured content over 100 MiB aborts snapshotting. Avoid concurrent
|
|
109
|
+
edits while capturing or verifying. Only one AgentProof command can run per checkout.
|
|
110
|
+
After an interrupted process, inspect and remove a stale `.agentproof/lock` manually.
|
|
111
|
+
|
|
112
|
+
Restore rewrites files present in the target snapshot. **Files added later remain**; this is
|
|
113
|
+
file recovery, not an exact whole-workspace rollback. It leaves Git history and staging alone.
|
|
114
|
+
It rejects symlink paths, verifies snapshot content hashes and preflights file/directory
|
|
115
|
+
conflicts, including blocked parent paths, before changing files.
|
|
116
|
+
It is not a filesystem transaction; concurrent changes or I/O errors can still interrupt writes.
|
|
117
|
+
Restore does not recover excluded files or delete newly created ones. A pre-restore checkpoint lets you
|
|
118
|
+
recover overwritten captured content. Do not manually edit snapshot manifests or files.
|
|
119
|
+
|
|
120
|
+
## Development
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
git clone https://github.com/bzwei58/agentproof.git
|
|
124
|
+
cd agentproof
|
|
125
|
+
python3 -m venv .venv
|
|
126
|
+
.venv/bin/python -m pip install -e .
|
|
127
|
+
python3 -m unittest discover -s tests -v
|
|
128
|
+
python3 -m agentproof --help
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Want to try it on two real tasks? See the [pilot guide and feedback form](docs/pilot.md).
|
|
132
|
+
|
|
133
|
+
Tests use disposable Git repositories and cover stale evidence, nonzero exits, timeout,
|
|
134
|
+
initial uncommitted edits, restoration backups, symlink rejection, secret exclusions and
|
|
135
|
+
partial session logs. GitHub Actions runs them on macOS/Linux and Python 3.10/3.12/3.13.
|
|
136
|
+
|
|
137
|
+
Ideas for later: task history, more session adapters, configurable snapshot scope, optional
|
|
138
|
+
CI handoff artifacts. Contributions should preserve the distinction between observed facts
|
|
139
|
+
and model-generated claims. Please include a reproducible example and tests for behavior changes.
|
|
140
|
+
|
|
141
|
+
## Evidence matching in 0.3.0
|
|
142
|
+
|
|
143
|
+
Declare each check with `verify --kind test|lint|build|other -- COMMAND`. This is a
|
|
144
|
+
user-supplied category, not a certification. Old records remain usable as command
|
|
145
|
+
history but do not acquire a check category automatically.
|
|
146
|
+
|
|
147
|
+
Natural-language completion claims are never certified as `VERIFIED`. `OBSERVED`
|
|
148
|
+
means a corresponding category of command exited 0 with an intact log and matching
|
|
149
|
+
captured files; inspect the named command and output to confirm scope and test count.
|
|
150
|
+
A build cannot support a test claim. Missing, stale, failed, or modified evidence leaves
|
|
151
|
+
the claim `UNVERIFIED`. Reviews are recalculated on every `status` or `report` call.
|
|
152
|
+
Already exported Markdown is a static snapshot and must be regenerated after changes.
|
|
153
|
+
External services, ignored dependencies and environment changes remain outside the fingerprint.
|
|
154
|
+
|
|
155
|
+
Session import recognizes Claude message blocks and Codex rollout `response_item.payload`
|
|
156
|
+
tool events plus `compacted` records. Opaque outputs do not establish command success.
|
|
157
|
+
Cline and Cursor native formats are not yet validated; generic top-level event counting
|
|
158
|
+
must not be interpreted as full client support.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
agentproof/__init__.py,sha256=weCpZThFYepfPsU670_rKFrBIbL_s2sOBkW4wsXVbVQ,70
|
|
2
|
+
agentproof/__main__.py,sha256=k1ocEWawweo1qCJWNFAAvyxz3tcY13dzvCenHszij30,48
|
|
3
|
+
agentproof/cli.py,sha256=cnpiZrRT_mcCUCXbxurEtu0uFsBJnHgDXRXWGGDBtLA,25552
|
|
4
|
+
agentproof_cli-0.3.0.dist-info/licenses/LICENSE,sha256=OaQW2-AB2EVeDF-1u7pfHGI6037r7gF8ltZCoAqA9aM,1080
|
|
5
|
+
agentproof_cli-0.3.0.dist-info/METADATA,sha256=uuTKoOA05bAjLRIHk_ykRT-1QvDYQAVOaKGJXQbmMSM,8918
|
|
6
|
+
agentproof_cli-0.3.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
7
|
+
agentproof_cli-0.3.0.dist-info/entry_points.txt,sha256=zdOItEhd5Fg6-KtoyjJpE8UVGBcZI-0W-f1HzwoTRUg,51
|
|
8
|
+
agentproof_cli-0.3.0.dist-info/top_level.txt,sha256=y-s9bo8mLoN7E-rGjL5Ff3E65l6U0YGhkpqOXrYiwFk,11
|
|
9
|
+
agentproof_cli-0.3.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AgentProof contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
agentproof
|