Adds the standard STRTA scaffold to this Hugo site, resolving #4.
Makefile — nine standard targets as thin @script/NAME shims (hooks -> @script/install-precommit), plus a serve convenience target (hugo server).
script/ — executable POSIX-sh entrypoints (bootstrap, setup, test, lint, fmt, fmt-check, check, docker, install-precommit, cibuild, and helpers), with Hugo-appropriate bodies: test/check run a clean hugo --minify build; fmt/fmt-check run prettier scoped to the repo's own top-level docs only (content/ is left untouched).
Dockerfile (+ .dockerignore) — pinned base; the build runs make check, so the image build fails on any format or Hugo error.
.gitea/workflows/check.yml — runs script/cibuild.
Verified locally: make check and docker build . both green. Scope is limited to the scaffold; the remaining non-STRTA items (LICENSE, REPO_POLICIES.md, .editorconfig, pinning deploy.yml) are tracked separately.
Adds the standard STRTA scaffold to this Hugo site, resolving #4.
- `Makefile` — nine standard targets as thin `@script/NAME` shims (`hooks` -> `@script/install-precommit`), plus a `serve` convenience target (`hugo server`).
- `script/` — executable POSIX-`sh` entrypoints (`bootstrap`, `setup`, `test`, `lint`, `fmt`, `fmt-check`, `check`, `docker`, `install-precommit`, `cibuild`, and helpers), with Hugo-appropriate bodies: `test`/`check` run a clean `hugo --minify` build; `fmt`/`fmt-check` run prettier scoped to the repo's own top-level docs only (`content/` is left untouched).
- `Dockerfile` (+ `.dockerignore`) — pinned base; the build runs `make check`, so the image build fails on any format or Hugo error.
- `.gitea/workflows/check.yml` — runs `script/cibuild`.
Verified locally: `make check` and `docker build .` both green. Scope is limited to the scaffold; the remaining non-STRTA items (`LICENSE`, `REPO_POLICIES.md`, `.editorconfig`, pinning `deploy.yml`) are tracked separately.
Adopt the Scripts to Rule Them All standard for this Hugo site:
- script/ POSIX-sh entrypoints (bootstrap, setup, projectname, test,
lint, fmt, fmt-check, check, docker, cibuild, precommit,
install-precommit). The correctness check (test/lint) is a clean
`hugo --minify` production build; fmt/fmt-check run prettier over the
repo's own top-level markdown only, leaving content/ untouched.
- Makefile targets reduced to thin shims that call script/NAME, plus a
convenience serve target for `hugo server`.
- Dockerfile on a sha256-pinned alpine base that installs deps via
script/bootstrap and runs `make check`, so the image build fails on
any formatting or Hugo build error; .dockerignore added.
- .gitea/workflows/check.yml runs script/cibuild on push.
- README Entrypoints section documenting the scripts.
clawbot
merged commit 7cad989724 into main2026-07-25 13:26:13 +02:00
Merged to main after an independent adversarial review (a reviewer separate from the author) verified it: make check and docker build . both re-run green, all nine standard targets are pure @script/* shims backed by a full script/ set including cibuild, the Dockerfile gates on make check, checks are real (no fake no-ops), scope is limited to the scaffold, and there are no AI/trailer hygiene issues. Verdict: PASS.
Two trivial, non-blocking observations noted for optional future polish (not worth their own issue):
script/check composes fmt-check + test but does not call script/lint, so Hugo's --printPathWarnings is not exercised in CI. Fine per STRTA; revisit only if you want path-collision warnings gated.
The README line for script/install-precommit says the hook runs script/check; it actually runs script/precommit (which calls script/check) — accurate in effect, slightly imprecise in wording.
Merged to `main` after an independent adversarial review (a reviewer separate from the author) verified it: `make check` and `docker build .` both re-run green, all nine standard targets are pure `@script/*` shims backed by a full `script/` set including `cibuild`, the `Dockerfile` gates on `make check`, checks are real (no fake no-ops), scope is limited to the scaffold, and there are no AI/trailer hygiene issues. Verdict: PASS.
Two trivial, non-blocking observations noted for optional future polish (not worth their own issue):
- `script/check` composes `fmt-check` + `test` but does not call `script/lint`, so Hugo's `--printPathWarnings` is not exercised in CI. Fine per STRTA; revisit only if you want path-collision warnings gated.
- The README line for `script/install-precommit` says the hook runs `script/check`; it actually runs `script/precommit` (which calls `script/check`) — accurate in effect, slightly imprecise in wording.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds the standard STRTA scaffold to this Hugo site, resolving #4.
Makefile— nine standard targets as thin@script/NAMEshims (hooks->@script/install-precommit), plus aserveconvenience target (hugo server).script/— executable POSIX-shentrypoints (bootstrap,setup,test,lint,fmt,fmt-check,check,docker,install-precommit,cibuild, and helpers), with Hugo-appropriate bodies:test/checkrun a cleanhugo --minifybuild;fmt/fmt-checkrun prettier scoped to the repo's own top-level docs only (content/is left untouched).Dockerfile(+.dockerignore) — pinned base; the build runsmake check, so the image build fails on any format or Hugo error..gitea/workflows/check.yml— runsscript/cibuild.Verified locally:
make checkanddocker build .both green. Scope is limited to the scaffold; the remaining non-STRTA items (LICENSE,REPO_POLICIES.md,.editorconfig, pinningdeploy.yml) are tracked separately.Merged to
mainafter an independent adversarial review (a reviewer separate from the author) verified it:make checkanddocker build .both re-run green, all nine standard targets are pure@script/*shims backed by a fullscript/set includingcibuild, theDockerfilegates onmake check, checks are real (no fake no-ops), scope is limited to the scaffold, and there are no AI/trailer hygiene issues. Verdict: PASS.Two trivial, non-blocking observations noted for optional future polish (not worth their own issue):
script/checkcomposesfmt-check+testbut does not callscript/lint, so Hugo's--printPathWarningsis not exercised in CI. Fine per STRTA; revisit only if you want path-collision warnings gated.script/install-precommitsays the hook runsscript/check; it actually runsscript/precommit(which callsscript/check) — accurate in effect, slightly imprecise in wording.