All checks were successful
check / check (push) Successful in 9s
REPO_POLICIES.md mandates a fixed set of README sections; this README predated the standard being applied here and had About / Contributing / Technical Details / Entrypoints / License instead. It is now a Description first line followed by Getting Started, Entrypoints, Rationale, Design, TODO, License, Author, with Author last. Nothing the old headings held was dropped: the list of what the site publishes moved under the Description, and the contribute contact and the local-preview instructions moved into Getting Started. Getting Started was written against the current Makefile rather than carried over from the old prose, which had drifted. There is no `make build` target, so the old "Build: `hugo`" instruction is now `make test`; "Local Development: `hugo server`" is now `make setup` then `make serve`, and `make setup` is what makes a fresh clone buildable at all since it installs the pinned Hugo. Two stale claims are fixed. The site is deployed by Gitea Actions to Cloudflare Pages, not "automatically via GitHub Actions". And the Entrypoints bullet for `script/fmt` still described the top-level-markdown-only scope that #12 replaced with `'**/*.md'` and `'**/*.css'`; the rest of that section was verified accurate against the scripts, including the `script/check` order and the `CHECK_EPOCH` guard that makes a bare `docker build .` fail closed. The License section body is deliberately untouched and no LICENSE file is added: that is #10's, which is blocked on the owner's choice of license. For the same reason the Description sentence omits the license clause the policy asks for; #10 completes both. The Design section's claims were checked against the tree rather than assumed: the vendored theme, the `readFile` inline of style.css in baseof.html, the `hugo --minify` output to `public/`, and the deploy workflow.
12 KiB
12 KiB
Workflow
- branch (from
main) - do the work in Next Step
- move Next Step to the top of Completed Steps
- move the top item of Future Steps into Next Step
- commit (
TODO.mdchanges in the same commit as the work) - merge to
mainif the branch is not protected, otherwise open a PR - push
Status
pre-1.0
No git tags. The site is live and now has the scripts-to-rule-them-all scaffold
(Makefile, script/, Dockerfile, check.yml) and the canonical policy
dotfiles; LICENSE is the only mandated file still missing. Every external
reference in the repo is now pinned by cryptographic hash (or, for the wrangler
CLI install, an exact version), and the Hugo that builds the published site is a
deliberate pinned version rather than whatever the base image's package repo
serves.
Next Step
Add LICENSE (#10) and replace the README's "content is provided as-is" note
with the committed license. Blocked on the owner's choice of license — the
remaining policy scaffold is otherwise complete.
Completed Steps
- 2026-08-09: restructured
README.mdinto the canonical section set (closes #11): a Description first line, then Getting Started, Entrypoints, Rationale, Design, TODO, License, Author. The non-standard About / Contributing / Technical Details headings are gone, but nothing they held was dropped — the bullet list of what the site publishes moved under the Description, the contribute contact and the local-preview instructions moved into Getting Started. Getting Started was written against the currentMakefilerather than the old prose: there is nomake buildtarget, so the former "Build:hugo" instruction is nowmake test, and the former "Local Development:hugo server" ismake setupthenmake serve. Two stale claims fixed: the site is deployed by Gitea Actions to Cloudflare Pages, not "GitHub Actions", and the Entrypoints bullet forscript/fmtstill described the top-level-markdown-only scope that #12 replaced with'**/*.md'and'**/*.css'. The License section body is deliberately untouched — it is owned by #10, which is blocked on the owner's choice of license, and the Description sentence is likewise missing the license clause the policy calls for until #10 lands. Design section claims were verified against the tree, not assumed - 2026-08-09: widened the prettier gate from top-level markdown to
'**/*.md'and'**/*.css'(closes #12).themes/loravega/static/css/style.csswas never formatted or gated even though it is inlined into every page; it is now both, and the reformat landed as its own commit ahead of the script change so no commit in the branch is red.content/is excluded in.prettierignore, and that exclusion is measured rather than assumed: withcontent/in scope, prettier re-wrapped one list item incontent/_index.mdand the renderedpublic/index.htmlchanged with it (the wrap became a literal newline between7 PM atand the following<a>). HTML collapses that newline to a space so the page looks identical, but the published bytes are not, and this content carries raw HTML that goldmark passes through verbatim underunsafe = true.themes/loravega/layouts/is excluded too, with the reason recorded: those files are Go templates, not HTML, and prettier has no parser for{{ ... }}— covering them would need a plugin and therefore apackage.json. Verified by extractingpublic/from the built image before and after: with the final scope,index.html,index.xmlandsitemap.xmlare byte-identical and only the verbatim-copiedpublic/css/style.csschanges, in whitespace only — the minified<style>block inlined intoindex.htmlis unchanged, which is the direct evidence that CSS formatting cannot reach the rendered page - 2026-08-09: added the canonical policy dotfiles and hardened both ignore files
(closes #8).
REPO_POLICIES.mdis a byte-identical copy of the canonicalpromptsfile, front matter intact;.editorconfig,.prettierrcand.prettierignoreare the canonical contents..gitignorekeeps its three Hugo lines and gains the OS/editor/node/secrets block plus.claude/, so a clean checkout with agent tooling present isgit status-clean and a stray key or.envcan no longer be committed..dockerignoregained the same coverage but not the same syntax: it matches with Go'sfilepath.Matchrules extended with**, where*does not cross/and an unprefixed pattern is anchored at the context root, so every depth-independent pattern carries an explicit**/prefix and only the genuinely root-anchored entries (.git,public,resources,.hugo_build.lock) go bare. Verified by planting.env,*.key,*.pemandnode_modulestwo directories deep: the unprefixed form shipped all of them into the image and the**/form ships none. Excluding.claude/also takesworktrees/— entire additional checkouts of this repo — out of the build context; #23's two-consecutive-run proof was re-run against the smaller context, since that issue was validated against the old one. Note the canonical upstreamREPO_POLICIES.mdis not clean under this repo's prettier settings, so the reformat is a separate follow-up commit rather than churn mixed into this one - 2026-08-09: stopped
script/cibuildreporting a green it never earned (closes #23).COPY . .is keyed on content, so on an unchanged tree Docker servedRUN make checkfrom cache: the checks never executed and the build still exited 0. Three separate reviewers had already been fooled by it here. TheDockerfilenow declaresARG CHECK_EPOCHbelowCOPY . .with no default (a default is a constant, and a constant is a stable cache key), guards it withRUN [ -n "$CHECK_EPOCH" ] || exit 1, and expands it into the check command;script/cibuildandscript/dockerboth passepoch="$(date +%s%N)$$"— assigned on its own line, because a failing command substitution inside an argument does not tripset -e, and with$$because busyboxdatedrops%Nsilently. This is the canonical shape settled upstream inprompts#26, which has not merged there yet, so it may need re-syncing. Verified with two consecutive runs on an unchanged tree that both executed the checks whileRUN script/bootstrapstayedCACHED, a constant-epoch counterfactual that restored the false green, and a planted prettier failure that failed the build - 2026-08-09: disabled the unused
taxonomyandtermpage kinds inhugo.toml(closes #13). Hugo enables thetagsandcategoriestaxonomies by default; this single-page site has no taxonomy terms and no taxonomy templates, so every build emittedWARN found no layout file for "html" for kind "taxonomy"and generatedcategories/index.xmlandtags/index.xmlthat nothing links to. Re-verified the warning still occurs on the now-pinned hugo v0.164.0 rather than trusting the issue's text, which predates the version move.make testandmake lintare nowWARN-free, so the build's noise floor is zero and the next warning will be visible.public/is otherwise byte-identical —index.html,css/style.cssand the RSSindex.xmlall unchanged — andsitemap.xmlis still generated, now listing only the home page instead of two taxonomy URLs - 2026-08-09: replaced
hugo.toml's deprecatedlanguageCodekey withlocale(closes #18). Hugo deprecatedlanguageCodein v0.158.0, so the Hugo pinned in the preceding commit warns about it; left alone it would become a third routinely-ignored warning, and a latent breakage when the key is removed. Deliberately sequenced after the Hugo version move and in the same branch: under the apk hugo 0.139.0 that CI ran until now,localeis an unknown key that is silently ignored, which downgrades the generated RSS from<language>en-us</language>to<language>en</language>with no warning and exit 0. Verified on hugo v0.164.0 that the RSS<language>still readsen-us, thelangattribute is unchanged, andpublic/is byte-identical to the preceding commit's output - 2026-08-09: installed Hugo at a deliberate, hash-verified version instead of
taking whatever alpine ships (closes #26).
script/bootstrapno longer doespkg_install hugo; it installsgithub.com/gohugoio/hugo@v0.164.0withgo install, which verifies the module againstsum.golang.org. The version is a commented constant, as is the Go toolchain (go1.26.5) — hugo v0.164.0 requires go >= 1.26.0 and alpine 3.21 ships go 1.23.9 withGOTOOLCHAIN=local, so a barego installrefuses to run.CGO_ENABLED=0is deliberate: standard Hugo, not extended, because this site has no SCSS, noresources.ToCSS, no PostCSS and no image processing. This moves the build off apk's hugo 0.139.0, about two years behind, onto the current stable. Rendered output across the wholepublic/tree is unchanged except themeta name=generatorversion string - 2026-08-09: made
script/checkrunscript/lint(closes #9). It previously ran onlyfmt-checkthentest, soscript/lintexecuted nowhere — not inmake check, not in the pre-commit hook, and not in CI, even though theDockerfilerunsmake checkandscript/cibuildbuilds it. It now runstest,lint,fmt-checkin the canonical order, so thehugo --printPathWarningsrender-target-collision signal is no longer discarded.README.md's Entrypoints line was corrected to match - 2026-08-09: hash-pinned every external reference in
.gitea/workflows/deploy.yml(closes #7): both job container images are pinned by digest, all threeuses:are pinned by 40-hex commit SHA, and the wrangler install is pinned to an exact version. The abandonedklakegg/hugo:ext-alpineimage is gone: the build job now runs on the same pinnedalpinedigest theDockerfileuses, with a pre-checkoutapk add nodejs git tarstep (the Actions runner needsnodeinside the job container to execute JavaScript actions), an explicitshell: shdefault, thenscript/bootstrapandscript/test. Thedeployjob is guarded withif: github.ref_name == 'main'so it can never publish from a branch. Also dropped the deadfeat/initial-sitepush trigger and reindented the file to 4-space YAML to matchcheck.yml. This is the second attempt; the first broke the deploy and was reverted, so this one was verified by temporarily triggering the workflow on the PR branch and iterating until thebuildjob ran green for real - 2026-07-25: added the scripts-to-rule-them-all scaffold (closes #4):
script/entrypoints,Makefileshims, a HugoDockerfile(sha256-pinned alpine) plus.dockerignorethat runsmake check,.gitea/workflows/check.ymlrunningscript/cibuild, and a README Entrypoints section.test/lintare a cleanhugo --minifybuild;fmt/fmt-checkrun prettier over the repo's own top-level markdown only - 2026-02-10: design pass: minimal light theme with inline CSS, grey wells for mesh channels and signal groups, horizontal overflow fix, body width tuning, map link update
- 2026-02-10: added README and footer contribute link
- 2026-02-10: added Gitea workflow that builds the site and deploys to Cloudflare Pages
- 2026-02-08: initial Hugo static site for lora.vegas
Future Steps
- Move the artifact actions to v4 once this Gitea Actions instance serves the v4 artifact protocol; they are pinned on the deprecated v3 line because v4 fails here (#20)
- Move the deploy container to a pinned node 22 so the wrangler pin can advance past 4.86.0 (#21)
- Sync the reformat of
REPO_POLICIES.mdback upstream topromptsso the canonical copy is clean under the shared prettier settings and future syncs are a straight byte copy - Verify the Cloudflare Pages deploy still works after the workflow changes
- Keep mesh channel and signal group listings current