Content release: unchanged files
Before a content release, compare changed HTML and unchanged file contents with the published reference. A path manifest alone cannot prove equality.
What changed. The pre-publication check identifies the HTML change set and proves that all files outside it match the published reference byte for byte.
Stack. Astro · Static HTML · File inventories · Content hashes
Context
A content batch for the studio’s website combined internal-link additions with an entry guide for an existing article. The intended change was editorial, but a static-site build can also change generated cards and other pages that reuse an article’s metadata. Reviewing only the edited Markdown would leave that generated scope unaccounted for.
Before shipping a content batch, the check compares its files with a saved copy of the published website artifact. This establishes the candidate’s content relative to that reference, independently of its later publication status.
Task
Establish the exact output difference before shipping. The reviewer needed to see every changed HTML file and evidence that everything outside that list still matched the published version. The combined candidate also had to preserve the previously accepted link edits while adding the article guide.
A matching manifest hash could not answer the content question. In this project, the manifest stores file paths rather than content digests, so different page contents can have the same manifest.
What we built
The local check compares the candidate against a saved copy of the published artifact. It records file membership and content hashes, then retains the complete output difference for review. This makes additions, removals and content changes visible within the compared package.
The candidate changes exactly 11 HTML files out of 123 files. The other 112 files match the published reference byte for byte. The manifest still lists 123 files and retains 77 HTTP-check definitions; retaining those definitions does not mean that new live requests were made during this local comparison.
The output review includes generated listing cards, rather than limiting acceptance to pages edited directly. The preserved evidence also checks that removing the guide insertion recovers the prior article source and HTML, and that the earlier link additions remain intact.
What changed
The handoff now describes the generated change set as well as the source patch. The reviewer can trace each changed output to the accepted editorial scope and inspect content equality outside it. An unchanged manifest remains useful for checking membership, while the separate inventory provides evidence about actual bytes.
This comparison is bounded to the saved reference and candidate. It does not establish current server state or prove that a future transfer will deliver the same content.
Result
The pre-publication check establishes a reviewable change set: changed HTML is enumerated, and the remaining files are identical to the published reference. For a similar content release, request both the generated difference and the unchanged-file comparison, then verify the delivered artifact separately after publication.
Related service: Websites