Commit Graph
3 Commits
Author SHA1 Message Date
CatoandClaude Fable 5.1 c637b0bd23 fix(origin-proof): two stamps in one second must not share a filename (#68)
Manifest names are second-resolution and the chain is ordered by name. On
CI's faster runner the shrink test's second stamp landed in the same second
as the one before it, overwrote it, and broke the chain link — the suite went
red on #67 after it had merged. The script now waits for a free name; the test
no longer sleeps before that run so the collision path is exercised.


Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 18:55:24 -07:00
CatoandClaude Fable 5.1 3a030d1ceb fix(origin-proof): read private repos via FLEET_PAT and refuse a shrinking manifest (#67)
FLEET_READ_TOKEN does not exist; FLEET_PAT is the org PAT the auto-merge sweep
already runs on, so the nightly run can see all 47 repos. And a manifest that
lists fewer repos than the last one is refused: a token that sees less is far
likelier than repos vanishing, and a wrong manifest sits in the chain forever.
ORIGIN_PROOF_ALLOW_SHRINK=1 confirms a real deletion.


Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 18:52:34 -07:00
CatoandClaude Fable 5.1 10229a1ec9 feat(fleet): nightly third-party proof of origin for every bitbaum repo (#66)
Git dates are fields the committer sets, so they cannot show that the fleet's
code existed before a fork of it. This stamps one manifest of every repo's
default-branch HEAD through OpenTimestamps (Bitcoin-anchored, verifiable
offline forever), asks Software Heritage to snapshot the public repos, and
commits the proofs to proofs/origin. Each manifest links to the previous one
by sha256, so the series is a chain.

The first manifest is included: 47 repos (the one fork skipped), 3 private
ones named only by sha256(org/name) because this repo is public.

Nightly, with no commit on a quiet day. Anonymous Software Heritage saves are
10/h, so the order rotates by day; an SWH_TOKEN secret would cover the org in
one run.


Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 18:50:27 -07:00