Skip to content

Make targets

All commands run from the workspace root (gordon-workspace/). These are top-level targets only — sub-repo make targets are not listed here.

Note: the seed, seed-*, fill-gaps, and precompute targets were removed 2026-04-19. Use gordon-data backfill instead — see data-seeding.

Dev

TargetDescription
make dev-initFirst-run: verify brew deps, initdb, run migrations, seed NATS stream (idempotent)
make dev-upLaunch the dev stack via overmind (postgres + nats + all Rust services + console, host-native)
make dev-downStop the dev stack; keeps ./data/ intact
make dev-resetStop dev stack AND wipe ./data/ — full nuke, re-init needed
make dev-seedBackfill BTC+ETH 1y klines + overlays + GEX + macro (idempotent, ~20 min first run)
make dev-psqlOpen psql into the host Postgres (dev stack must be up)
make dev-statusOvermind process status
make dev-logs P=<name>Tail logs from one process: make dev-logs P=data
make dev-vaultPull testnet keys from Ansible vault into .env.dev
make dev-shell-envPrint export lines for hitting the dev console from a host shell
make upStart standalone PostgreSQL container
make downStop standalone PostgreSQL container
make resetStop PostgreSQL and delete all data
make statusShow container status
make logsTail PostgreSQL logs
make psqlOpen psql shell into the gordon database

Test

TargetDescription
make test-upBring up test infra: Postgres (5433) + NATS JetStream (4223), idempotent
make test-downStop the test infra (keep volumes)
make test-resetStop the test infra AND wipe volumes
make test-psqlOpen psql in the test Postgres as gordon_test
make test-shell-envPrint export commands for test infra env vars
make test-fastUnit tier only across every Rust repo (no infra needed, target <30 s)
make test-itIntegration tier across every Rust repo (requires make test-up)
make testUnit + integration tests across every Rust repo + lab (sequential — requires make test-up)
make test-labRun gordon-lab tests (pytest)
make checkRun fmt + clippy across every Rust repo + ruff on lab (sequential)
make check-labRuff lint + format check on gordon-lab
make test-contractRun cross-repo data contract test
make drift-allRun make drift in every gordon-* repo — catches OpenAPI/AsyncAPI/client drift
make versionsPrint Claude-readable cross-repo version drift table

E2E

TargetDescription
make e2eFull run: preflight + sequential image builds + stack start + fixtures + Playwright + teardown
make e2e-buildBuild every service image sequentially (no teardown, no tests)
make e2e-upStart the v7 stack in the background (assumes images built)
make e2e-soak-upStart v7 stack in soak mode (real-time tick cadence, 60 s/kline)
make e2e-downStop the v7 stack (keep postgres volume)
make e2e-logsFollow logs from every service
make e2e-statusShow stack health + individual /healthz responses
make e2e-shell-envPrint export lines for the targeted-Playwright loop
make e2e-seedSeed static provisioning rows for stack health
make e2e-seed-readonlySeed readonly-baseline fixture for the @readonly Playwright suite
make e2e-seed-backtest-klinesSeed BTCUSDT 1d klines for the research-launch spec
make e2e-preflightRefuse-to-start checks: token / daemon / disk
make e2e-recoverDetect prior-crash state + recover; named volumes preserved
make e2e-forceForce unconditional recovery — skip detection
make e2e-cache-cleanAggressive Docker build cache cleanup
make e2e-5xRun make e2e 5 times sequentially (determinism gate)
make e2e-binance-conformanceConformance matrix vs both testnet + mock-binance
make e2e-binance-conformance-mock-onlyConformance matrix vs mock-binance only (no creds)
make e2e-binance-conformance-testnet-onlyConformance matrix vs Binance testnet only
make e2e-money-pathmoney-path-02: entry fills, SL attached, trade row lands
make e2e-emergency-flattenmoney-path-04: emergency flatten + resume gate
make e2e-risk-drawdownmoney-path-05: DrawdownBreaker + halt-gate
make e2e-risk-connectivitymoney-path-06: ConnectivityBreaker
make e2e-risk-vpinmoney-path-07: VPINBreaker
make e2e-risk-macromoney-path-08: MacroBreaker
make e2e-risk-correlationmoney-path-09: CorrelationBreaker
make e2e-quarantinemoney-path-12: quarantine state machine
make e2e-executor-clusterAll executor-cluster bash scenarios
make e2e-crash-drillScripted crash-recovery drill (money-path-19)

Build

TargetDescription
make ci-local-rustFull CI parity across every Rust repo, serial
make ci-local-tsFull CI parity across every TypeScript repo, serial
make ci-local-allFull CI parity across workspace: versions + every repo's ci-local, serial
make sync-crate-lock CRATE=<crate> [DEP=<dep>] [VERSION=<ver>]Bump a per-crate Cargo.lock between releases
make check-migrationsAssert migration idempotence + schema checksum vs pinned fixture
make pin-schema-checksumRegenerate schema checksum from live DB (run after new migrations)
make new-migration NAME=<slug>Create next migration file, open editor, apply and re-pin checksum
make backtestRun backtests: all strategies x 10 pairs x timeframes
make backtest-strategy S=<name>Run one strategy across all pairs
make validate-overlaysRun overlay validation (60 backtests: ON vs OFF)
make data-infoShow stored market data stats (read-only)

Clean

TargetDescription
make clean-workspaceReclaim disk: cargo-sweep per sibling + docker prune. DRY=1 to preview.
make clean-workspace-aggressiveSame as clean-workspace with AGGRESSIVE=1 (also clears cargo registry cache + npm cache)
make disk-baselineTerse disk snapshot: host df + per-repo target/ + docker system df + cargo registry

Gordon — keep compounding without blowing up