Commit 6a9219d
fix: trust on-ramp + hygiene — Action snippet, install checksum, CI, verify
The first-contact and trust surfaces, where a "verifiable" tool was not
verifying:
- The headline Action snippet `logannye/rosalind-budget@v1` did not resolve
(no such repo/tag) — the single most important adoption action failed on
first copy-paste. Fixed to `logannye/rosalind@v0.1.0` (the root action.yml)
in README + CHANGELOG.
- install.sh advertised checksum verification but never ran it. It now fetches
the `.sha256` sidecar the release ships and verifies before unpacking,
aborting on a mismatch (verified end-to-end against the live v0.1.0 release;
a corrupt sidecar is correctly rejected).
- CI cli-e2e regenerated reference.fa at 1 Mbp without --length, overwriting
the committed 4 kbp fixture and checking freshly-generated files against
freshly-generated sums (a tautology that also tested a different reference
than ships). Now pins the committed reference to a known hash (a real
anti-corruption gate) and simulates reads FROM it via --reference.
- verify gains internal-consistency cross-checks (max_working_set <= peak_rss;
contract_verdict agrees with peak-vs-budget) — the first line against a
hand-edited receipt, since the manifest has no self-hash yet (a signed
tamper-evident receipt is its own Act-2 feature).
- Removed the dead IndexFreeIterator/MarkerScanner scaffolding: a public-API
next_item() that was unimplemented!() (a panic landmine) with zero callers.
- Track Cargo.lock (rosalind ships a binary → a pinned lockfile is part of the
reproducible-build story and stabilizes CI cache keys).
Full suite green; rustc 0 warnings.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6b1c663 commit 6a9219d
10 files changed
Lines changed: 2276 additions & 75 deletions
File tree
- .github/workflows
- src
- util
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
102 | 111 | | |
103 | 112 | | |
104 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments