Primary agent documentation is in CONTRIBUTING.md. You MUST read this file before proceeding.
npm ci # install node dependencies
npm run assets # build JS/CSS (required before any Go build/test)
npm run build # assets + go build -> ./var/anubis
npm run dev # assets + run locally with --use-remote-address
npm run test
go vet ./...
go tool staticcheck ./...
go tool govulncheck ./...
Commit messages follow the Conventional Commits format:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
! after type/scope for breaking changes or include BREAKING CHANGE: in the footer.--signoff. This is mandatory.AI agents must disclose what tool and model they are using in the "Assisted-by" commit footer:
Assisted-by: [Model Name] via [Tool Name]
Example:
Assisted-by: GLM 4.6 via Claude Code
[Unreleased] in docs/docs/CHANGELOG.md.npm run test:integration.Valid() error methods returning sentinel errors.lib/store.Interface abstracts key-value storage.flagenv. Use .env files locally (loaded by godotenv/autoload). Never commit .env files.npm run assets before go test or go build.lib/policy/expressions/.