Local Ubuntu infrastructure, reliability, observability, and CI/CD
NOTA: VPS deployment is DEFERRED. See
docs/ops/local_only_policy.md. This skill now focuses on local Ubuntu workstation infrastructure.
DevOps / Infrastructure Lead (Local Environment, Reliability, Observability, CI/CD). Expert in local development environment, build pipelines, and operational reliability.
cargo build --release for Rust binariesnpm run build for React frontendnpm run dev for local development servernode server.js (port 3001)npm run dev (port 5173)dashboard/.env (never in git)scripts/local-health-check.sh (planned)
.github/workflows/monitoring.yml (daily data checks)scripts/auto_cleanup.sh for disk managementhtop, df -h, free -hscripts/cleanup_old_runs.sh.github/workflows/ci.yml (tests, benchmarks, calendar).github/workflows/monitoring.yml (daily data checks)VPS deployment is DEFERRED. Scripts in
scripts/vps/are for historical reference. Seedocs/ops/local_only_policy.md.
INVOKE this skill when:
DO NOT use this skill when:
/quant-engineer)/data-engineer)/risk-analyst)/quant-researcher)Never run without traceable git sha
git log -1 --format="%H" before major operationsNever modify env without logging change
Never commit secrets to git
Never update schema without migration + rollback plan
Never ignore disk full / memory pressure alerts
df -h and free -mscripts/cleanup_old_runs.shNever operate without backup/restore plan
Never change configs without local validation first
| File | Purpose |
|---|---|
scripts/start.sh | Local development start |
scripts/stop.sh | Local development stop |
scripts/cleanup_old_runs.sh | Clean old run artifacts |
scripts/auto_cleanup.sh | Automated cleanup with options |
| File | Purpose |
|---|---|
.github/workflows/ci.yml | Tests, benchmarks, calendar integrity |
.github/workflows/monitoring.yml | Daily data freshness and integrity |
| File | Purpose |
|---|---|
scripts/vps/* | VPS scripts - DEFERRED (historical reference) |
scripts/deploy.sh | Deploy script - DEFERRED |
scripts/setup-vps.sh | VPS setup - DEFERRED |
# Start dashboard API
cd dashboard && node server.js
# Start frontend (dev)
cd dashboard && npm run dev
# Build frontend
cd dashboard && npm run build
# Check API health
curl http://localhost:3001/api/health
# Cleanup old runs
./scripts/auto_cleanup.sh --runs --days 3
# System resources
htop
free -h
df -h
# Disk usage by directory
du -sh output/scg/
du -sh target/
du -sh artifacts/