REPO_POLICIES compliance audit #39

Closed
opened 2026-03-01 16:47:14 +01:00 by clawbot · 0 comments
Collaborator

Audit of sneak/dnswatcher against REPO_POLICIES.md standards.

Missing Files

  • LICENSE — no license file. Need to ask sneak which license (MIT, GPL, or WTFPL). README says MIT in some sections but no LICENSE file exists.
  • REPO_POLICIES.md — repo has CONVENTIONS.md instead. Should have a copy of the standard REPO_POLICIES.md from sneak/prompts.
  • .editorconfig — missing. Required for enforcing indentation settings.
  • .dockerignore — missing. Should exclude .git/, bin/, etc. from Docker build context.

Makefile Gaps

  • fmt-check target — missing. REPO_POLICIES requires a read-only format check target separate from fmt.
  • hooks target — missing. Should install a pre-commit hook that runs make check.
  • docker target — missing. Should run docker build ..
  • Test timeoutmake test has no timeout. REPO_POLICIES requires completion under 20s with a 30s timeout.

Cleanup

  • CLAUDE.md — non-standard file. Should be removed or its contents merged into README.md.
  • CONVENTIONS.md — should be replaced by standard REPO_POLICIES.md from sneak/prompts.

Already Compliant

  • Docker base images pinned by sha256
  • Makefile has test, lint, fmt, check, build targets
  • Dockerfile runs make check as build step
  • .gitea/workflows/check.yml exists
  • Go standard structure (cmd/, internal/)
  • .golangci.yml present
  • .gitignore present
  • go.mod and go.sum present
  • README.md has description, rationale, design, features sections
Audit of `sneak/dnswatcher` against [REPO_POLICIES.md](https://git.eeqj.de/sneak/prompts/raw/branch/main/prompts/REPO_POLICIES.md) standards. ## Missing Files - [ ] **LICENSE** — no license file. Need to ask sneak which license (MIT, GPL, or WTFPL). README says MIT in some sections but no `LICENSE` file exists. - [ ] **REPO_POLICIES.md** — repo has `CONVENTIONS.md` instead. Should have a copy of the standard REPO_POLICIES.md from `sneak/prompts`. - [ ] **.editorconfig** — missing. Required for enforcing indentation settings. - [ ] **.dockerignore** — missing. Should exclude `.git/`, `bin/`, etc. from Docker build context. ## Makefile Gaps - [ ] **`fmt-check` target** — missing. REPO_POLICIES requires a read-only format check target separate from `fmt`. - [ ] **`hooks` target** — missing. Should install a pre-commit hook that runs `make check`. - [ ] **`docker` target** — missing. Should run `docker build .`. - [ ] **Test timeout** — `make test` has no timeout. REPO_POLICIES requires completion under 20s with a 30s timeout. ## Cleanup - [ ] **CLAUDE.md** — non-standard file. Should be removed or its contents merged into README.md. - [ ] **CONVENTIONS.md** — should be replaced by standard REPO_POLICIES.md from `sneak/prompts`. ## Already Compliant - ✅ Docker base images pinned by sha256 - ✅ Makefile has `test`, `lint`, `fmt`, `check`, `build` targets - ✅ Dockerfile runs `make check` as build step - ✅ `.gitea/workflows/check.yml` exists - ✅ Go standard structure (`cmd/`, `internal/`) - ✅ `.golangci.yml` present - ✅ `.gitignore` present - ✅ `go.mod` and `go.sum` present - ✅ README.md has description, rationale, design, features sections
clawbot added the bot label 2026-03-01 16:47:14 +01:00
clawbot self-assigned this 2026-03-01 16:47:14 +01:00
clawbot removed their assignment 2026-03-01 16:52:22 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/dnswatcher#39