bring the repo up to repo standards in one PR #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
sneak, 2026-08-30: add
dcfto project management and bring it up to standards; one issue and one PR.Scope (per
sneak/promptsREPO_POLICIES.mdand the Go styleguide):Makefilewithfmt/fmt-check/check/test/lint/build;script/STRTA entrypoints; canonical.golangci.ymlwith linting in Docker (Dockerfile.lint); prettier config for markdown (4-space tabs, proseWrap always);go.modtidy and toolchain current; fix any lint findings; README gains the standard workflow section while keeping its content; rename default branchmaster→main. Code stays inpkg/dcf(already conforms — nocmd/exists and none is added here).Done:
make checkgreen via the repo's own targets, lint clean in Docker, default branchmain, one PR reviewed and merged.Plan:
sneak/promptsandclawbot/go-template-repo: canonical.golangci.yml,.editorconfig,.prettierrc/.prettierignore,.dockerignore,.gitea/workflows/check.yml, and the fullscript/STRTA set (bootstrapsetupprojectnametestlintfmtfmt-checkcheckdockercibuildprecommitinstall-precommitplus theprettier/assert-step-ran/assert-context-complete/repo-source-manifesthelpers).Makefilebecomes thin shims over those.Dockerfile.lint, with the cache-bust and context-completeness assertions the template uses.Dockerfilegets the lint stage plus a build/test stage; no runtime stage, since this repo is a library with nocmd/.make buildcurrently points at acmd/dcfinfothat does not exist in the tree, so it cannot succeed. Per the issue ("nocmd/exists and none is added here")buildbecomesgo build ./....go.mod: tidy (drops the unusedlmittmann/tintindirect) and bring the toolchain line current.pkg/dcf. Two are real:findDCFMountPointsdiscards the error fromfindAllMountPoints(a stray unassignederrois checked instead), andprivatePathis assigned twice so the first computation is dead.script/entrypoint.One commit, one PR, based on the current default branch.
PR: #7
Three parts of this issue's done-criteria are not clawbot's to complete, because it has no write access to this repo (
push: false,admin: false):master. Creatingmainand settingdefault_branchboth 403. sneak has to do the rename.clawbot/dcf), because pushing a branch here is rejected by the pre-receive hook.needs-reviewcould not be applied and the PR could not be assigned. The repo has no labels and creating one 403s; assignee edits are silently dropped.Granting clawbot write on this repo fixes all three.