Repository navigation
feat(site): the security watch at /security/, and sillybos as a product - #89
Merged
Merged
Conversation
A section built at build time from sillybos's advisory record: one page per advisory (/security/cve-2026-112403/), one per library, an index with the watchlist and every row, an RSS feed and a JSON export, plus a hand-written guide, Protecting yourself. The record is fetched from the sillybos repository through a content adapter rather than copied, so the site cannot drift from it; the fetch is the one URL the build may read (security.http.urls), and a failed fetch fails the build. A weekly workflow asks Cloudflare to rebuild after sillybos's Monday advisory run, once CLOUDFLARE_DEPLOY_HOOK is set. sillybos gets a product page and a card, and a Security entry joins the masthead. baseof now guards the edit link for pages that have no file. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018UhHdevgBGz837t9dcHohQ
…the watch The content adapter set the advisory date under a top-level `date` key, which Hugo does not read, so every page it made sat at year 1: the table was not newest first, the feed went out undated and the sitemap had no lastmod. The date now goes in the `dates` map, a library page takes the date of its newest advisory, and the guide page has a date of its own, so nothing in the section's feed is undated. Hugo keeps a fetched remote resource for ever by default, so a machine that had built the site once would never see a changed record and the weekly rebuild could publish a stale watch. The remote-resource cache now expires at once; the record is the only remote fetch the build makes. The browser tests learn that sillybos makes four products, give the whole-site image walk the time a hundred pages need, and gain a check that the watch renders the record everywhere it is promised: rows that link to dated advisory pages, newest first, a JSON export and a feed that carry the same rows, and a verdict on the page behind each row. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying tetrak with
|
| Latest commit: |
d145ccd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d4e5ca9a.tetrak.pages.dev |
| Branch Preview URL: | https://feat-security-watch.tetrak.pages.dev |
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.
Summary
/security/, built at build time from sillybos's advisory record (feat(advisories): the triage record, one file per advisory, with the test that proves each refusal sillybos#6, merged): one page per advisory, one per library, an index with the watchlist and every row, an RSS feed and a JSON export, plus a hand-written guide, Protecting yourself. The record is fetched from the sillybos repository through a content adapter rather than copied, so the site cannot drift from it; a failed fetch fails the build.baseofguards the edit link for pages that have no file.CLOUDFLARE_DEPLOY_HOOKis set.datesmap (a top-leveldatekey is ignored, leaving every page at year 1), library pages take the date of their newest advisory, and Hugo's remote-resource cache no longer keeps a fetched record for ever, so a rebuild always reads the current one.Test plan
npm run lint,npm run buildagainstrecord.jsonon sillybosmain: 110 pages, 22 advisory rows, all dated and newest first; feed and JSON export carry the same rowshttps://tetrak.dev/security/and/security/index.xml; then setCLOUDFLARE_DEPLOY_HOOKfor the weekly refresh🤖 Generated with Claude Code