Schedule daily OpenTimestamps anchoring of the witnessed journal - #183
Open
MaxGhenis wants to merge 1 commit into
Open
Schedule daily OpenTimestamps anchoring of the witnessed journal#183MaxGhenis wants to merge 1 commit into
MaxGhenis wants to merge 1 commit into
Conversation
Scheduled workflows only run from the default branch, so the cron lives here and operates on a checkout of codex/thesis-ledger-facts, where the journal, release manifests, and scripts/ots_anchor.py live. The job stamps any manifest that lacks a proof, upgrades pending proofs once their Bitcoin attestations confirm, commits the result to the journal branch, and fails loudly if any proof stops matching its manifest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
MaxGhenis
force-pushed
the
feat/ots-anchor-cron
branch
from
August 20, 2026 00:29
07a4271 to
87f21f2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A daily GitHub Actions cron (plus
workflow_dispatch) that anchors the witnessed observation journal in Bitcoin via OpenTimestamps. Companion to #182, which adds the tool, the proofs for releases 0000–0014, and the docs oncodex/thesis-ledger-facts.Scheduled workflows only run from the default branch, so this definition lives on
mainand operates on a checkout of the journal branch:python3 scripts/ots_anchor.py run— stamp any release manifest lacking a proof, upgrade pending proofs whose calendar attestations have confirmed into Bitcoin. Idempotent; the tool is stdlib-only and theotsclient is pinned (opentimestamps-client==0.7.2).ots/back to the journal branch asgithub-actions[bot], with a rebase-and-retry push loop (proof commits touch neither the data surface nor the gate surface, so they cannot collide with resolver append PRs).python3 scripts/ots_anchor.py verify— fail the run if any proof stops binding to its manifest's exact bytes.Merge order
Safe to merge before or after #182: the job exits cleanly with a notice while
scripts/ots_anchor.pyis not yet on the journal branch. The first effective run needs #182 merged;workflow_dispatchcan trigger it immediately after.🤖 Generated with Claude Code