AGENTS.md · git:20260428.4ee57b7 · 2026-04-28 · sha256 dd96b0985d8da55f
AGENTS.md git:20260428.4ee57b7A
Immutable. This exact content is served forever at /api/v1/blob/dd96b0985d8da55f.
# AGENTS.md ## Commands - Supported implementation is Go-first. Root commands are the source of truth: - `go run ./cmd/looperd` - `go run ./cmd/looper <args>` - `go build ./...` - `go vet ./...` - `go test ./...` ## Repo structure - `cmd/looperd` — supported `looperd` daemon entrypoint. - `cmd/looper` — supported `looper` CLI entrypoint. - `internal/` and `pkg/` — active Go implementation packages. ## Configuration & runtime - Default daemon config path: `~/.looper/config.json`. - Precedence: defaults → config file → env → CLI flags. - looperd fails fast on config-validation errors and requires writable runtime paths. - Tool paths (`git`, `gh`, `osascript`) are auto-detected unless explicitly configured. - When `notifications.osascript.enabled` is true, `osascript` must resolve or startup fails. - Default runtime artifacts: `~/.looper/` (`looper.sqlite`, `backups/`, `logs/`). ## Conventions - Build output lives in `dist/`; do not edit generated files. - CI (`.github/workflows/ci.yml`) runs on PR updates: `gofmt -l .` → `go vet ./...` → `go test ./...` → `go build ./...`. - Commit messages and PR titles must use semantic prefixes, for example `feat:`, `fix:`, `docs:`, `test:`, `refactor:`, `chore:`, or `ci:`. ## Review guidelines - Report every issue found. Do not prioritize, triage, or omit. - Continue reviewing after finding issues. Early termination is a defect. - Review systematically across correctness, performance, maintainability, and style.