test-some-app/.peppa/memory.md
peppa-bot 8faa01c890
All checks were successful
peppa/lint lint: success за 8с
peppa/test test: success за 2с
peppa/build build: success за 1с
ci / checks (pull_request) Successful in 36s
deploy / deploy (pull_request) Successful in 6s
TSA-1: install pinned Go toolchain in CI checks
CI runner has no Go: checks.install fetches Go 1.22.12 (sha256-verified)
into .tools/go; lint/test/build use it. gofmt runs over module package
dirs so it skips the toolchain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:47:00 +00:00

11 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Память проекта
Пишет агент через MCP `remember` (PEP-30). Коротко: команды, соглашения, грабли, решения.
## Команды
- Go-проект: make run / make test / make build; точка входа cmd/server, PORT (по умолчанию 8080), /health → ok. Go локально может не быть — проверять через docker run golang:1.22.
- На раннере CI нет Go: шаг checks.install запускает scripts/install-go.sh (Go 1.22.12 с проверкой sha256 → .tools/go, в .gitignore), остальные checks начинают с export PATH="$PWD/.tools/go/bin:$PATH". gofmt проверяем по `go list -f {{.Dir}} ./...`, а не по `.`, иначе он заходит в .tools.
## Грабли
- `go build ./...` с одним main-пакетом пишет бинарник `server` в корень — в checks.build используем `go build -o bin/ ./...`; бинарники не коммитить. Ни go, ни docker в песочнице может не быть — Go 1.22 качается с go.dev/dl в /tmp.