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.
- package/README.md +18 -13
- 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
|
-
##
|
|
193
|
+
## Start here
|
|
187
194
|
|
|
188
|
-
|
|
195
|
+
Three issues are open, all labelled `good first issue`, all scoped to a single file:
|
|
189
196
|
|
|
190
|
-
|
|
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
|
-
|
|
193
|
-
|
|
194
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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