AI.md is now the standardized base-image specification from
claudemgr/docker/DOCKERSRC.md — PARTs 0–8 covering critical rules and
org mapping, repo model, template system with the OCI label canon,
tooling reference, .env.scripts, runtime system, README layout, CI/CD,
and verification gates. The old file's bootstrap/update runbook moved
to the dockersrc-bootstrap agent (including the generalized
05-custom.sh ownership guard that protects this repo's Go toolchain
install logic); the spec stays declarative.
- AI.md: replaced with the DOCKERSRC.md master template
- rootfs/root/docker/setup/05-custom.sh: restored the Go distribution
install and pre-built tool installs (goreleaser, golangci-lint,
staticcheck, gofumpt, gotestsum, ko, air, buf, goose) plus the
__gh_latest/__install_tar/__install_bin helpers. Commit 3266c80323
("Migrate /var/lib/srv docker paths to /srv in docs") silently
blanked this file to the empty upstream template stub while
unrelated to its stated purpose; it stayed empty through two
subsequent template-sync commits, so none of these binaries were
landing in the built image. Also fixed naming convention violations
found by script-lint: helper functions prefixed with __, globals
prefixed with CUSTOM_, and a VERSION= assignment added to match the
header stamp.
- AI.md: documented in Step 2 that 05-custom.sh carries app-specific
install logic, not template boilerplate, and must be diffed before
being blind-copied from the temp dir like other app-specific files
in Steps 3/4 — prevents this regression from recurring on future
template syncs.