Build and Push Docker Image / build (push) Successful in 5m53s
CONTEXT.md gets the monitor glossary (Known Vehicle, Alert, Recurring Unknown; Gate and Whitelist removed). CLAUDE.md records the fork decisions, the UniFi webhook contract, inherited gotchas and the agreed MVP roadmap.
941 B
941 B
Gate Watch - Agent Instructions
Street plate monitor (Axum + PostgreSQL/SQLx backend, React SPA). Full agent
context lives in CLAUDE.md; domain glossary in CONTEXT.md. This file is the
short version for tools that only read AGENTS.md.
Build & Test Commands
SQLX_OFFLINE=true cargo check # real backend gate (offline, uses .sqlx/)
cargo test --lib # only reliably green test target
cd frontend && bun run build # frontend gate (tsc -b + vite)
# Integration tests (Docker via Colima, all #[ignore]):
DOCKER_HOST=unix://$HOME/.colima/default/docker.sock cargo test --test <name> -- --ignored
Gotchas: CARGO_TARGET_DIR=~/.cargo-target (no local target/); several
tests/*.rs targets don't compile (inherited drift — not your bug unless you
changed a signature); cargo sqlx prepare prunes test-only .sqlx entries
(restore them). Details and the full inherited-gotcha list: CLAUDE.md.