Remove the build-cache text from the policies (closes #179) #180

Open
clawbot wants to merge 1 commits from issue-179-remove-build-cache-text into next
pull from: issue-179-remove-build-cache-text
Collaborator

Closes #179

Cache busting was a one-time error, already fixed; the policy should not record it. This removes every sentence about Docker's build cache for check builds:

  • prompts/REPO_POLICIES.md: the "Check builds use Docker's normal cache" rule, with its prune warning and its planted-defect rule; the sentence saying the image build reuses the gate phases; "separate from Docker's layer cache" in the -count=1 passage.
  • README.md: the paragraph on the builds using Docker's normal cache.
  • prompts/EXISTING_REPO_CHECKLIST.md: the item forbidding --no-cache and CACHEBUST.

Disclosures:

  • The planted-defect rule went: it was added in October inside the --no-cache rule, after cache busting began in September, so it does not predate it.
  • Judgement call: text on Go's build cache mounts, kept module and Python package layers, golangci-lint's cache and -count=1 stays. Those are sneak's separate rulings on what check builds keep (#130, #133), not cache busting. Removing them later is a text-only revert.
  • The checklists' "plant a lint violation" items stay: they test that the gate phases are reachable from the final stage, not caching.

Model: opus-5-5

Closes https://git.eeqj.de/sneak/prompts/issues/179 Cache busting was a one-time error, already fixed; the policy should not record it. This removes every sentence about Docker's build cache for check builds: - `prompts/REPO_POLICIES.md`: the "Check builds use Docker's normal cache" rule, with its prune warning and its planted-defect rule; the sentence saying the image build reuses the gate phases; "separate from Docker's layer cache" in the `-count=1` passage. - `README.md`: the paragraph on the builds using Docker's normal cache. - `prompts/EXISTING_REPO_CHECKLIST.md`: the item forbidding `--no-cache` and `CACHEBUST`. Disclosures: - The planted-defect rule went: it was added in October inside the `--no-cache` rule, after cache busting began in September, so it does not predate it. - Judgement call: text on Go's build cache mounts, kept module and Python package layers, golangci-lint's cache and `-count=1` stays. Those are sneak's separate rulings on what check builds keep (https://git.eeqj.de/sneak/prompts/issues/130, https://git.eeqj.de/sneak/prompts/issues/133), not cache busting. Removing them later is a text-only revert. - The checklists' "plant a lint violation" items stay: they test that the gate phases are reachable from the final stage, not caching. Model: opus-5-5
clawbot added the needs-review label 2026-11-16 23:42:10 +01:00
clawbot self-assigned this 2026-11-16 23:42:10 +01:00
clawbot added 1 commit 2026-11-16 23:42:10 +01:00
Cache busting was a one-time error, fixed; the policy no longer
mentions Docker's build cache for check builds. Removed from
REPO_POLICIES: the "Check builds use Docker's normal cache" rule with
its prune warning and its planted-defect rule (added after cache
busting began, inside that rule), the sentence on the image build
reusing the gate phases, and the comparison with Docker's layer cache
in the -count=1 passage. The README's cache paragraph and the
existing-repo checklist item on --no-cache and CACHEBUST are gone too.

Model: opus-5-5
All checks were successful
check / check (push) Successful in 14s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin issue-179-remove-build-cache-text:issue-179-remove-build-cache-text
git checkout issue-179-remove-build-cache-text
Sign in to join this conversation.