No description
  • Python 96.5%
  • Shell 2.6%
  • Nix 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
sjc-bot 527c8645eb deploy: ditc automated deploy
Assisted-by: ditc:machine
2026-10-24 19:29:59 -07:00
app healthv2 fix (critic W1): governing-bucket night gate — no daily false-red 2026-10-24 19:27:56 -07:00
contract A1: Fuel Sales Report mapping + contract G1/G2 columns 2026-10-20 12:11:33 -07:00
mapping A2: FuelType map extension from restored-source census (SAF, description-derived selector leaks) 2026-10-20 20:58:46 -07:00
tests healthv2 fix (critic W1): governing-bucket night gate — no daily false-red 2026-10-24 19:27:56 -07:00
tools Apply review fixes F1/F2/F5: --sheet threading, AMBIGUITY-5 record, first-cycle cleanliness test 2026-10-20 20:48:43 -07:00
.gitignore U2: dynamic-nix scaffold (flake, FastAPI app, port contract) 2026-10-20 11:14:18 -07:00
flake.lock U2: flake.lock (nixpkgs nixos-25.05) 2026-10-20 11:14:18 -07:00
flake.nix U4.1: import core — stream + validate + atomic swap (IMP-FR-011/012) 2026-10-20 12:05:06 -07:00
ingress.yaml U6: remove July static POC; ingress for dynamic-nix route 2026-10-20 13:19:09 -07:00
manifest.yaml U5: wiring — dit.secrets (DSN + reader), schedule, /livez deploy probe, verify-wiring 2026-10-20 12:52:56 -07:00
provenance.json deploy: ditc automated deploy 2026-10-24 19:29:59 -07:00
README.md U6: remove July static POC; ingress for dynamic-nix route 2026-10-20 13:19:09 -07:00

sjc-dashboard

Sonoma Jet Center dashboard — Nix-built dynamic-nix DeepNet app (spec 001: TFBO nightly import; the Fuel Sales report feeds spec 002).

Layout

  • app/ — FastAPI application (app/main.py entrypoint, app/port.py loopback-port resolution). Binds 127.0.0.1:46921 (slug-derived via network_policy::app_host_port); DIT_APP_PORT overrides.
  • contract/contract.v1.yaml — approved-column contract v1 (spec 001 U3): the TFBO table/column allowlist the importer streams.
  • tests/ — stdlib-runnable tests (python3 tests/test_port_resolution.py) and pytest suites in the dev shell.
  • ingress.yaml — the route record (host + dynamic-nix upstream on the slug-derived loopback port), installed by the deploy workflow.

The July static prototype (htdocs/, build_full_dashboard.py, provenance.json) is removed as of v0.1.0; its database drop stays gated in U11.

Build / run

nix build .#default            # → result/bin/sjc-dashboard
nix develop -c pytest tests/ -q

The platform launches bin/sjc-dashboard with no env and no argv (the dynamic-nix contract); the wrapper exports the baked DIT_APP_PORT.