d70ed1943f
Build and Deploy / build-and-deploy (push) Successful in 44s
- scripts/build: gofmt, go vet, go build, docker build - AGENTS.md: agents must run ./scripts/build before committing - Fix gofmt issues in handler/auth.go and store/store.go
24 lines
491 B
Markdown
24 lines
491 B
Markdown
# Agent Instructions
|
|
|
|
## Before Committing
|
|
|
|
Always run the build script before committing any code changes:
|
|
|
|
```sh
|
|
./scripts/build
|
|
```
|
|
|
|
This runs:
|
|
- `gofmt` check (unformatted code is a hard failure)
|
|
- `go vet`
|
|
- `go build`
|
|
- `docker build`
|
|
|
|
Fix every error and warning before proceeding to commit. If `gofmt` reports
|
|
unformatted files, run `gofmt -w .` and re-check.
|
|
|
|
## Commit Messages
|
|
|
|
Use concise, descriptive commit messages in imperative mood. Keep the first line
|
|
under 72 characters.
|