Getting Started
Requirements
- Node.js 20+
- npm
- Python 3.11+ if you want to run batch compute scripts
- optional desktop prerequisites if you build Tauri artifacts
Local development
bash
npm install
npm run devOther useful commands:
bash
npm run dev:tech
npm run dev:finance
npm run typecheck
npm run build
npm run docs:dev
npm run docs:buildOptional Python compute setup
The repo now includes a Python compute lane for CPU-bound scripts that should not stay in handwritten Node loops.
bash
python -m pip install -r scripts/requirements-compute.txtUseful dry-run commands:
bash
npm run canonical:build -- --dry-run
npm run returns:abnormal -- --dry-runThese scripts write results back to PostgreSQL so the TypeScript UI and APIs can consume stable outputs.
Repo surfaces
src/: frontend and analysis servicesserver/: service handlers and APIssrc-tauri/: desktop runtime and local sidecarscripts/: ingestion, orchestration, and Python-first batch compute entrypointsdocs/: deep technical docs and reference materialsite/: GitHub Pages docs site
Current runtime split
- TypeScript: UI, API handlers, schedulers, ingestion, desktop orchestration
- Python: canonical-event clustering, abnormal-return analytics, model training
- Rust: Tauri runtime
Branding note
This public fork is branded as Lattice Current.
Some internal identifiers still use legacy worldmonitor names in code paths, package names, localStorage keys, proto packages, or docs that describe inherited structure. Those identifiers are implementation details, not the public brand of this repository.