# Publication timestamp archive This directory is an append-only archive of the exact text of articles published on bukhalov.com, each with an OpenTimestamps proof. Its public copy is served under `https://bukhalov.com/provenance/archive/` with an index at `https://bukhalov.com/provenance/index.json`, and it does not depend on how the site looks or is built. A proof shows that the bytes of a file existed no later than the time of a Bitcoin block. It does not show who wrote them or when they first appeared on the site. ## What is recorded One publication is one authored work. It has a permanent `publicationId` that survives renames, URL changes and redesigns. Each change to its text creates a new numbered version. Earlier versions and proofs are never replaced. A version is a snapshot file `v.json` holding `title`, `description`, `body` (the article Markdown with LF line endings and NFC normalization) and, for each local image, PDF, CSV, archive or media file the body references, its path and SHA-256 (`null` when the file does not exist). Copies of files up to 4 MB are in `assets/`; larger files are only hashed. Pages, feeds and other generated site files are not part of a snapshot. Tags, dates, social-card fields, structured data, URLs and page design are not part of a snapshot. ``` archive//publication.json identity, URL history, lifecycle (append-only) archive//v.json the stamped snapshot (immutable) archive//v.json.ots its OpenTimestamps proof archive//v.meta.json record: hash, time recorded, claimed dates, link to v (immutable) archive//v.status.json proof state: unsubmitted, pending or confirmed, with the Bitcoin block assets/ content-addressed copies of referenced files ``` ## Dates - `claimedPublishedAt` and `claimedUpdatedAt` are what the article said. They are claims, not proof. - `recordedAt` is when the automation recorded the version. It is not proof. - `submittedAt` is when the proof was requested from the calendar servers. - `anchor.blockTime` is the time in the header of the Bitcoin block that commits to the version. The snapshot existed by about that time; block times are set by miners and can be off by up to roughly two hours. `anchor.header` holds the 80-byte block header so the commitment can be rechecked offline. - `claimPredatesProof` marks an article that, by its claimed date, was online before timestamping began. Its earlier history is not proven. - `createdAt` in `publication.json`, `since` in the locations and `at` in the lifecycle log are times written by the automation when it noticed the event. They are not proof and not publication dates. ## Verify without trusting the site 1. Take `v.json` and `v.json.ots` from `archive//` on this site. The owner also keeps the archive and can provide the files. Keep both file names. 2. Compute `shasum -a 256 v.json`. It must equal `contentSha256` in `v.meta.json` and the digest inside the proof. 3. Drop both files on https://opentimestamps.org/, or run `ots verify v.json.ots` with the OpenTimestamps client (https://github.com/opentimestamps/opentimestamps-client) against a Bitcoin node you control. 4. To check by hand: `ots info v.json.ots` prints the operations and the Bitcoin block height. Apply them to the digest, then compare the result with the Merkle root in that block's header on any block explorer. The explorer shows the root in reversed byte order. A confirmed proof is complete: it needs neither this site nor a calendar server. The tools above are the reference verifiers. The site's own dependency-free verifier (`cli.mjs verify`) lives in a private repository; the owner can share it on request, but nothing here depends on it. `index.json` lists every publication, version, hash and proof state in one machine-readable file. If a publication is withdrawn, the site stops serving its snapshots while keeping the proofs and records; the owner can reveal a snapshot later and it will still match its proof.