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
Result: demo check passed and the demo proof task passed.
44
+
45
+
## AC1 - PASS
46
+
47
+
`make test` passes and covers initialization, invalid IDs, unverified failure, completed example pass, invalid JSON, non-empty `problems.md`, and wrappers from another repo.
48
+
49
+
## AC2 - PASS
50
+
51
+
`bin/proof-loop-init` and `bin/proof-loop-check` work from a temporary directory outside this repository.
52
+
53
+
## AC3 - PASS
54
+
55
+
`examples/demo-repo/` contains a real JSON fixture, a real checker script, and matching proof artifacts. The checker and task gate both pass.
56
+
57
+
## AC4 - PASS
58
+
59
+
`.github/workflows/test.yml` runs `make test`; README includes the workflow badge.
60
+
61
+
## AC5 - PASS
62
+
63
+
README includes `20-second demo` and `What This Is Not`; commands shown are backed by committed wrappers, Makefile, and examples.
Make Proof Loop ready for a Show HN audience by turning it from a useful protocol repo into a small, tryable, verified tool with tests, CI, executable wrappers, a realistic demo fixture, and a sharper README entry path.
6
+
7
+
## Acceptance Criteria
8
+
9
+
**AC1:** The repository has a real test suite and a single `make test` command that exercises the helper scripts.
10
+
- Verify: run `make test`; it must pass and cover task initialization, invalid task IDs, unverified FAIL, completed PASS, invalid JSON, and non-empty `problems.md`.
11
+
12
+
**AC2:** Proof Loop can be invoked from another repository through executable wrapper commands, not only by running `python3 scripts/...` inside the cloned repo.
13
+
- Verify: from a temporary directory outside this repo, run `bin/proof-loop-init` and `bin/proof-loop-check` using absolute paths; initialization must create `.agent/tasks/<TASK_ID>/` in that external directory and the check must fail until the task is verified.
14
+
15
+
**AC3:** The repo includes a realistic demo fixture whose proof artifacts correspond to an actual file and check command.
16
+
- Verify: run the demo check command documented in the demo evidence; it must pass against files in `examples/demo-repo/`, and the demo task must pass `scripts/check_task.py`.
17
+
18
+
**AC4:** GitHub Actions CI is present and the README exposes the test badge.
19
+
- Verify: `.github/workflows/test.yml` exists, runs `make test`, and README contains the workflow badge.
20
+
21
+
**AC5:** The README has an HN-ready top section: a 20-second demo and a clear `What This Is Not` section.
22
+
- Verify: README contains `20-second demo` and `What This Is Not`, and the commands shown in the demo are backed by actual files/scripts.
23
+
24
+
## Constraints
25
+
26
+
- Keep runtime dependencies to Python standard library.
27
+
- Do not introduce packaging complexity unless needed.
28
+
- Do not remove existing examples, role briefs, or references.
29
+
- Keep claims harness-agnostic and honest; do not imply native integrations.
30
+
31
+
## Non-Goals
32
+
33
+
- Publishing to PyPI.
34
+
- Building a full web demo.
35
+
- Creating an umbrella repo or platform brand.
36
+
- Adding Loopsmith eval packs in this task.
37
+
38
+
## Verification Approach
39
+
40
+
Run `make test`, run the wrappers from outside the repo, run the realistic demo check, run `scripts/check_task.py` against the demo proof task, and finally update `verdict.json` so every AC is PASS only after those checks succeed.
"note": "make test passes and covers init, invalid IDs, unverified FAIL, completed PASS, invalid JSON, non-empty problems.md, and wrapper usage."
12
+
},
13
+
{
14
+
"id": "AC2",
15
+
"status": "PASS",
16
+
"note": "Absolute bin/proof-loop-init and bin/proof-loop-check were run from /tmp/proof-loop-wrapper-smoke/other-repo; init created artifacts and check failed until verification as expected."
17
+
},
18
+
{
19
+
"id": "AC3",
20
+
"status": "PASS",
21
+
"note": "examples/demo-repo has a real JSON fixture and checker; checker passes and the demo proof task passes check_task.py."
22
+
},
23
+
{
24
+
"id": "AC4",
25
+
"status": "PASS",
26
+
"note": ".github/workflows/test.yml runs make test and README contains the test badge."
27
+
},
28
+
{
29
+
"id": "AC5",
30
+
"status": "PASS",
31
+
"note": "README contains 20-second demo and What This Is Not; demo commands reference committed wrappers, Makefile, and examples."
**Finish AI coding work with evidence, not vibes.**
4
6
5
7
Proof Loop is a lightweight protocol and toolkit for non-trivial coding tasks handled by AI agents. It freezes acceptance criteria before the build, separates builder and verifier roles, records durable proof artifacts in the repo, and refuses to call work done until every acceptance criterion has a fresh PASS verdict.
6
8
7
9
Use it when an agent, team, or multi-agent sprint needs a hard boundary against false completion claims. Because the protocol is just files plus role discipline, it works with OpenClaw, Hermes, Codex, OpenCode, Claude Code, or any other harness that can read and write a repository.
bin/proof-loop-init hn-demo --title "Prove this task before done" --root "$tmp"
21
+
bin/proof-loop-check "$tmp/.agent/tasks/hn-demo"
22
+
```
23
+
24
+
The last command fails on purpose because the generated task has not been verified yet. Proof Loop only returns success after a fresh verifier records `PASS` for every acceptance criterion and `problems.md` is empty.
0 commit comments