make fmt now runs prettier over the Markdown files after the Go formatters, and make fmt-check fails when prettier would change one. package.json, yarn.lock, .prettierrc and .prettierignore are the sneak/prompts copies at dd4027b, unchanged except for package.json as listed below. REPO_POLICIES.md already passes prettier, so .prettierignore needed no entry for it.
Most of the README.md and TODO.md diff is the one-time reformat by make fmt. The wording changes are the formatting line under Contributing and the new Completed Steps entry.
make fmt and make fmt-check now need yarn and prettier on the host. make bootstrap installs them, and script/cibuild runs it first.
Deviations from the model files:
package.json has "private": true in place of the model's "license": "MIT", which describes the sneak/prompts licence, not this repository's (sneak/prompts#76).
script/bootstrap compares versions where the model tests presence, as the issue asks. A yarn that script/fmt would run is kept if it is 1.22.22. Otherwise yarn is installed through corepack under node 22.17.0: the node on PATH if it has that version, else one installed through nvm.
run_yarn in script/fmt and script/fmt-check returns after yarn instead of execing it, because the Go steps share those scripts.
Judgement calls:
A yarn on PATH at the pinned version runs under whatever node is on PATH, so the node pin applies only when bootstrap has to install yarn.
nvm itself is still found by presence. It only installs the pinned node, and unpacking it over a developer's own nvm would overwrite their copy.
Model: opus-5-5
Fixes https://git.eeqj.de/sneak/attrsum/issues/23.
`make fmt` now runs prettier over the Markdown files after the Go formatters, and `make fmt-check` fails when prettier would change one. `package.json`, `yarn.lock`, `.prettierrc` and `.prettierignore` are the `sneak/prompts` copies at `dd4027b`, unchanged except for `package.json` as listed below. `REPO_POLICIES.md` already passes prettier, so `.prettierignore` needed no entry for it.
Most of the `README.md` and `TODO.md` diff is the one-time reformat by `make fmt`. The wording changes are the formatting line under Contributing and the new Completed Steps entry.
`make fmt` and `make fmt-check` now need yarn and prettier on the host. `make bootstrap` installs them, and `script/cibuild` runs it first.
Deviations from the model files:
- `package.json` has `"private": true` in place of the model's `"license": "MIT"`, which describes the `sneak/prompts` licence, not this repository's (https://git.eeqj.de/sneak/prompts/issues/76).
- `script/bootstrap` compares versions where the model tests presence, as the issue asks. A yarn that `script/fmt` would run is kept if it is 1.22.22. Otherwise yarn is installed through corepack under node 22.17.0: the node on `PATH` if it has that version, else one installed through nvm.
- `run_yarn` in `script/fmt` and `script/fmt-check` returns after yarn instead of `exec`ing it, because the Go steps share those scripts.
Judgement calls:
- A yarn on `PATH` at the pinned version runs under whatever node is on `PATH`, so the node pin applies only when bootstrap has to install yarn.
- nvm itself is still found by presence. It only installs the pinned node, and unpacking it over a developer's own nvm would overwrite their copy.
Model: opus-5-5
Rework plan. The review passed, but package.json declares "license": "MIT", copied from sneak/prompts, where that field describes the prompts repo's own LICENSE (sneak/prompts#76). attrsum is WTFPL v2 (README.md), and agents do not add or change a licence here, so a licence claim must not land on next. Fix: drop the license field and mark the package "private": true. That makes no licence claim at all, and yarn prints no "No license field" warning for a private package. The PR body lists it as one deviation from the model file. The canonical file's problem goes to sneak/prompts separately.
Model: opus-5-5
Rework plan. The review passed, but `package.json` declares `"license": "MIT"`, copied from `sneak/prompts`, where that field describes the prompts repo's own `LICENSE` (https://git.eeqj.de/sneak/prompts/issues/76). attrsum is WTFPL v2 (`README.md`), and agents do not add or change a licence here, so a licence claim must not land on `next`. Fix: drop the `license` field and mark the package `"private": true`. That makes no licence claim at all, and yarn prints no "No license field" warning for a private package. The PR body lists it as one deviation from the model file. The canonical file's problem goes to `sneak/prompts` separately.
Model: opus-5-5
`make fmt` now runs prettier over the Markdown files after the Go
formatters, and `make fmt-check` fails when prettier would change one.
`package.json`, `yarn.lock`, `.prettierrc` and `.prettierignore` are the
`sneak/prompts` copies at `dd4027b`, except for `"private": true` in
`package.json` in place of the licence field. Both scripts find yarn the
way that repo's scripts do. `script/bootstrap` installs prettier with
`yarn install --frozen-lockfile`. When the yarn those scripts would run
is not 1.22.22, it installs yarn through corepack under node 22.17.0:
the node on `PATH` if it has that version, otherwise one installed
through nvm from a hash-checked archive. `README.md` and `TODO.md` are
reformatted once.
Model: opus-5-5
Rework per #25 (comment): package.json drops "license": "MIT" and is marked "private": true, so it makes no licence claim; the commit message and PR body list it as the one deviation from the model file.
Model: opus-5-5
Rework per https://git.eeqj.de/sneak/attrsum/pulls/25#issuecomment-129152: `package.json` drops `"license": "MIT"` and is marked `"private": true`, so it makes no licence claim; the commit message and PR body list it as the one deviation from the model file.
Model: opus-5-5
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.
Fixes #23.
make fmtnow runs prettier over the Markdown files after the Go formatters, andmake fmt-checkfails when prettier would change one.package.json,yarn.lock,.prettierrcand.prettierignoreare thesneak/promptscopies atdd4027b, unchanged except forpackage.jsonas listed below.REPO_POLICIES.mdalready passes prettier, so.prettierignoreneeded no entry for it.Most of the
README.mdandTODO.mddiff is the one-time reformat bymake fmt. The wording changes are the formatting line under Contributing and the new Completed Steps entry.make fmtandmake fmt-checknow need yarn and prettier on the host.make bootstrapinstalls them, andscript/cibuildruns it first.Deviations from the model files:
package.jsonhas"private": truein place of the model's"license": "MIT", which describes thesneak/promptslicence, not this repository's (sneak/prompts#76).script/bootstrapcompares versions where the model tests presence, as the issue asks. A yarn thatscript/fmtwould run is kept if it is 1.22.22. Otherwise yarn is installed through corepack under node 22.17.0: the node onPATHif it has that version, else one installed through nvm.run_yarninscript/fmtandscript/fmt-checkreturns after yarn instead ofexecing it, because the Go steps share those scripts.Judgement calls:
PATHat the pinned version runs under whatever node is onPATH, so the node pin applies only when bootstrap has to install yarn.Model: opus-5-5
Review passed.
Model: opus-5-5
Rework plan. The review passed, but
package.jsondeclares"license": "MIT", copied fromsneak/prompts, where that field describes the prompts repo's ownLICENSE(sneak/prompts#76). attrsum is WTFPL v2 (README.md), and agents do not add or change a licence here, so a licence claim must not land onnext. Fix: drop thelicensefield and mark the package"private": true. That makes no licence claim at all, and yarn prints no "No license field" warning for a private package. The PR body lists it as one deviation from the model file. The canonical file's problem goes tosneak/promptsseparately.Model: opus-5-5
9af51bd68atob0b195ffd1Rework per #25 (comment):
package.jsondrops"license": "MIT"and is marked"private": true, so it makes no licence claim; the commit message and PR body list it as the one deviation from the model file.Model: opus-5-5
Review passed.
Model: opus-5-5