no-receipts 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +18 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  > *No receipts, no done.*
6
6
 
7
+ **Done is better than perfect — as long as done is provable.**
8
+
9
+ That distinction is the whole package. Most tools in this space are quality tools: they help
10
+ you do better work. This one is an honesty tool: it does not care whether the work was good,
11
+ only whether the claim matches what actually ran. A beautiful refactor that passed no tests and
12
+ a one-line fix that passed them are judged identically here.
13
+
7
14
  Zero dependencies. No model in the loop. ~1,000 lines, one job.
8
15
 
9
16
  The name is the rule. In the culture this comes from, you don't get to make a claim without
@@ -183,25 +190,23 @@ One abort = one line, same shape every time:
183
190
 
184
191
  Quote, backslash, and newline are escaped inside the values, so a claim text containing a newline cannot forge a second line. `grep '\[no-receipts\] abort'` gives you a complete history with no parsing.
185
192
 
186
- ## Contributing
193
+ ## Start here
187
194
 
188
- Two verifiers are declared in the status table above but not implemented: `http` and `github`. If you want one of them, that is the highest-leverage contribution available, and it is deliberately scoped small — a verifier is one class with a single `verify()` method, and `CliVerifier` is the reference at ~80 lines.
195
+ Three issues are open, all labelled `good first issue`, all scoped to a single file:
189
196
 
190
- Newcomer-friendly entry points:
197
+ - [#1 Implement HttpVerifier](https://github.com/os1249399459/no-receipts/issues/1) — status code and JSON-path assertions
198
+ - [#2 Implement GitHubVerifier](https://github.com/os1249399459/no-receipts/issues/2) — PR merged, commit on branch, checks passed
199
+ - [#3 Make the CLI tests portable to Windows](https://github.com/os1249399459/no-receipts/issues/3) — the CI matrix includes Windows and the tests are Unix-shaped
191
200
 
192
- - **Implement `HttpVerifier`** — status code and JSON-path assertions against a live endpoint.
193
- - **Implement `GitHubVerifier`** — PR/commit checks via the GitHub API. Needs a token, so it must be opt-in by construction.
194
- - **Windows path handling in the CLI tests** — `chmod` and path separators are Unix-shaped today.
195
- - **A third claim rule you think is missing** — explain the failure mode you have seen, not the rule you want.
201
+ Questions that do not need a diff yet belong in [Discussions](https://github.com/os1249399459/no-receipts/discussions).
202
+
203
+ ## Contributing
196
204
 
197
- Rules for a PR, in order of how much they matter:
205
+ The two unimplemented verifiers (`http`, `github`) are the highest-leverage way in — a verifier is one class with a single `verify()` method, and `CliVerifier` is the reference at ~80 lines.
198
206
 
199
- 1. `npm test` stays green, and new behaviour arrives with a test that fails without it.
200
- 2. A verifier that cannot check something returns `unknown`. Never `pass`.
201
- 3. No new runtime dependency. That property is the whole reason this exists as a separate package.
202
- 4. If you change a string the README quotes (an abort line, a command, an exit code), change both in the same commit. The README is a contract here, not marketing.
207
+ House rules, in order: tests stay green and new behaviour arrives with a test that fails without it; a verifier that cannot check something returns `unknown`, never `pass`; no new runtime dependency; and if you change a string this README quotes, change both in the same commit — the README is a contract here, not marketing.
203
208
 
204
- Open a discussion or an issue if you are unsure whether something fits — an idea that gets rejected in an issue costs nothing; a rejected PR costs a weekend.
209
+ Full guide, including newcomer-friendly entry points: [CONTRIBUTING.md](./CONTRIBUTING.md).
205
210
 
206
211
  ## Where this came from
207
212
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "no-receipts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "No receipts, no \"done\". Blocks a coding agent from ending a turn on a claim that is not backed by a tool call that actually succeeded.",
5
5
  "license": "MIT",
6
6
  "type": "module",