1.3 KiB
1.3 KiB
AGENTS.md
Scope
- This repository contains the Belki calculator/VK bot plus legacy CatWar userscript assets.
- Key files:
app/,web/calculator.html,Dockerfile, anddeploy/k8s/.
Working Rules
- Keep the calculation domain independent from HTTP, VK, and Kubernetes.
- Keep VK tokens and group IDs out of the repository; use environment variables or Kubernetes Secrets.
- Do not apply
deploy/k8s/until the bot commands, report wording, registry image name, service exposure, and Secret handoff are explicitly confirmed. - Prefer
docker:dindfor CI unless the target runner is explicitly pinned and known to expose/var/run/docker.sock.
Validation
- For CI-only changes, prefer a targeted YAML parse and a diff review.
- For image/runtime changes, check the
Dockerfile, Python entrypoint, static asset serving, and CI job together. - For k3s changes, validate YAML and current cluster inventory first; deployment is currently deferred.
- Do not add unnecessary local build artifacts or temporary files to the repository.
Notes
docker:dindrequires a privileged Docker executor andDOCKER_HOST=tcp://docker:2375withDOCKER_TLS_CERTDIR="".- The
dinddaemon can take time to initialize; this repo waits fordocker infobefore building.