| description | sight — diff-based code review build and test conventions. |
|---|---|
| globs | *.go |
| alwaysApply | false |
AI-powered code review for diffs.
When starting any new work (feature, fix, refactor, chore), always create a feature branch from main first. Never commit directly to main. Use branch naming conventions like feat/<description>, fix/<description>, or chore/<description>. Open a PR, ensure CI is green, then merge.
go build ./... # Build library
go test ./... # Run tests
go test -race ./... # Race detector
go vet ./... # Static analysis- Reviews source changes, diffs, dependency structure, and static-analysis results
- Does not crawl or audit running websites (that belongs to
inspect) - Provider interface:
type Provider interface { Chat(ctx, messages, opts) }
- Use
hawk-core-contractsfor cross-repo shared types - Do not import
hawk/internal/*or legacyhawk/shared/types - Do not import other engines (
eyrie,yaad,tok,trace,inspect)
For full hawk-eco extension guidelines, see hawk/AGENTS.md.