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

Merged
sneak merged 1 commits from issue-179-remove-build-cache-text into next 2026-11-18 21:14:22 +01:00
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
sneak merged commit 22d08ecd0e into next 2026-11-18 21:14:22 +01:00
sneak deleted branch issue-179-remove-build-cache-text 2026-11-18 21:14:22 +01:00
Sign in to join this conversation.