Commit Graph
4 Commits
Author SHA1 Message Date
clawbot ed60414378 Rename script/fetch-policy to script/commit-current-upstream-policy-docs
check / check (push) Canceled after 0s
sneak, on the PR: the script does more than fetch, and short names are
not wanted. The make target, the test names, the variables and the
messages take the new name. Behaviour is unchanged.

Model: opus-5-5
2026-11-11 00:00:28 +00:00
clawbot 917fe4bc1d Rename script/install to script/fetch-policy
check / check (push) Canceled after 0s
By convention, and in scripts-to-rule-them-all, script/install installs
the program itself. This script fetches the shared policy files into a
repo. The make target, the test names and the messages take the new
name. Behaviour is unchanged.

Model: opus-5-5
2026-11-10 20:19:00 +00:00
clawbot 454f3410a1 Add script/install; script/update-policy runs it and commits (closes #165)
check / check (push) Successful in 31s
script/install fetches the policy files from prompts over HTTP and
writes them into a repo, installing itself and script/update-policy
there. script/update-policy fetches the current script/install, runs
it on its own repo and commits without pushing. The file list and the
rules for keeping a repo's own entries move to script/install.

Model: opus-5-5
2026-11-09 18:32:46 +00:00
clawbot 936ead8425 Add script/update-policy to re-vendor policy files (closes #162)
check / check (push) Successful in 24s
One command fetches the policy files a repo vendors from `prompts`, keeps the repo's own entries, commits them by name and pushes. A line the canonical file has never held stops the script before anything is written, as does a failed fetch. The canonical `.dockerignore` gains the closing comment the script needs. `test/update-policy.sh` runs in the `test` phase of `Dockerfile`.

Judgement call: `.gitea/workflows/check.yml` and `.prettierrc` are replaced whole.
Limitation: a repo with its own `.golangci.yml` settings, such as `sneak/homoicon`, stops until those are dealt with.

Model: opus-5-5
2026-11-09 11:00:11 +01:00