Three drop-in ways to adopt the gate
v0.3.0 — three drop-in ways to adopt the gate
Distribution release. The proof-gate core was already stable; v0.3.0 makes it
trivial to add to any repo without copy-pasting files. Builds on the assert +
--json contract from v0.2.0.
What's new
install.shone-liner — bootstrap any repo in one command:Conservative, inspectable POSIXcurl -fsSL https://raw.githubusercontent.com/mohamedzhioua/agent-done-or-not/main/install.sh | shsh: dropsdone-gate.sh+stop-gate.sh
into the current repo, marks them executable, and adds.agent-proof/to
.gitignore(idempotent). Pin a ref withREF=v0.3.0; offline installs via
AGENT_DONE_LOCAL_SRC. Prefer to inspect first? The manual two-file method is
still documented.- GitHub Action — gate a CI job on proof-of-done:
A composite action that resolves its own
- uses: actions/checkout@v4 - uses: mohamedzhioua/agent-done-or-not@v0.3.0 with: mode: assert labels: "test build" ttl: "3600"
done-gate.shand asserts the
consumer's receipt ledger. Self-test workflow dogfoods both the pass and the
expected-failure path. - Pre-commit framework hook — block commits that lack a fresh passing receipt:
repos: - repo: https://github.com/mohamedzhioua/agent-done-or-not rev: v0.3.0 hooks: - id: agent-done-assert
Notes
- 38-test suite, green on Ubuntu + macOS (plus the action self-test).
- Every new surface is a thin wrapper — the canonical bash core is unchanged.
Full changelog: see CHANGELOG.md.