ci: deploy pro_materialization (d17aaa4019b1)
Browse files- README.package.md +19 -1
README.package.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
| 1 |
# PRO materialization service
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
HTTP worker for **`PRO_MATERIALIZATION_SERVICE_URL`** / **`NUTONIC_PRO_MATERIALIZATION_SERVICE_URL`** (`docs/SERVER-AND-INFERENCE-ARCHITECTURE.md` §5.3, `plans/2026-04-12-pro-materialization-fetch-and-downscale-service.md`). **Kotlin clients do not call this URL** (`rules/13-client-cache-and-data-plane.md`); the thin **`server/`** may orchestrate **`POST /api/v1/pro/jobs`** → **`POST …/internal/v1/materialize`**.
|
| 4 |
|
| 5 |
## Implemented
|
|
@@ -25,10 +34,19 @@ HTTP worker for **`PRO_MATERIALIZATION_SERVICE_URL`** / **`NUTONIC_PRO_MATERIALI
|
|
| 25 |
- **No `torch`** / **no `terratorch`** in this package (plan §3.2).
|
| 26 |
- **`MAPBOX_ACCESS_TOKEN`** required when the resolved VLM contract includes **`mapbox_rgb`** (including **`MINIMAL_RGB`** and **`nutonic.pro.vlm.v1_512_fc_scl`** on spectral modes). Sentinel-only contracts (**`nutonic.pro.vlm.v1_512_s2_only`**) skip Mapbox entirely.
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
## Environment
|
| 29 |
|
| 30 |
| Variable | Purpose |
|
| 31 |
-
|---
|
| 32 |
| **`MAPBOX_ACCESS_TOKEN`** | Mapbox Static Images token (omit only for Sentinel-only VLM contracts on **`TERRAMIND_SPECTRAL`** / **`FULL_STAC`**). |
|
| 33 |
| **`NUTONIC_INFERENCE_REQUIRE_INBOUND_HMAC`** | When `1`, require signed requests. |
|
| 34 |
| **`NUTONIC_INFERENCE_HMAC_SECRET`** | Shared HMAC secret. |
|
|
|
|
| 1 |
# PRO materialization service
|
| 2 |
|
| 3 |
+
This worker turns a place on the map into the evidence bundle that NU:TONIC's satellite intelligence stack can reason about. It fetches or prepares imagery, Sentinel-2 inputs, VLM-ready PNGs, and TiM-ready arrays so the app can move from "look at this area" to "explain what may be changing here."
|
| 4 |
+
|
| 5 |
+
For competition reviewers, this is the practical bridge between the public demo and the AI stack:
|
| 6 |
+
|
| 7 |
+
1. Pick an area.
|
| 8 |
+
2. Materialize the imagery and satellite context.
|
| 9 |
+
3. Feed the VLM and TiM paths.
|
| 10 |
+
4. Return a PRO-style bundle for human inspection.
|
| 11 |
+
|
| 12 |
HTTP worker for **`PRO_MATERIALIZATION_SERVICE_URL`** / **`NUTONIC_PRO_MATERIALIZATION_SERVICE_URL`** (`docs/SERVER-AND-INFERENCE-ARCHITECTURE.md` §5.3, `plans/2026-04-12-pro-materialization-fetch-and-downscale-service.md`). **Kotlin clients do not call this URL** (`rules/13-client-cache-and-data-plane.md`); the thin **`server/`** may orchestrate **`POST /api/v1/pro/jobs`** → **`POST …/internal/v1/materialize`**.
|
| 13 |
|
| 14 |
## Implemented
|
|
|
|
| 34 |
- **No `torch`** / **no `terratorch`** in this package (plan §3.2).
|
| 35 |
- **`MAPBOX_ACCESS_TOKEN`** required when the resolved VLM contract includes **`mapbox_rgb`** (including **`MINIMAL_RGB`** and **`nutonic.pro.vlm.v1_512_fc_scl`** on spectral modes). Sentinel-only contracts (**`nutonic.pro.vlm.v1_512_s2_only`**) skip Mapbox entirely.
|
| 36 |
|
| 37 |
+
## Competition-facing role
|
| 38 |
+
|
| 39 |
+
The service is deliberately separate from the app client and from GPU-heavy TiM/VLM inference. That separation makes the product story stronger:
|
| 40 |
+
|
| 41 |
+
- The app stays easy to install from CI artifacts.
|
| 42 |
+
- The materialization worker handles data preparation.
|
| 43 |
+
- TiM and VLM workers can scale independently.
|
| 44 |
+
- The same workflow can support conservation review, flood triage, wildfire monitoring, and climate adaptation use cases.
|
| 45 |
+
|
| 46 |
## Environment
|
| 47 |
|
| 48 |
| Variable | Purpose |
|
| 49 |
+
| --- | --- |
|
| 50 |
| **`MAPBOX_ACCESS_TOKEN`** | Mapbox Static Images token (omit only for Sentinel-only VLM contracts on **`TERRAMIND_SPECTRAL`** / **`FULL_STAC`**). |
|
| 51 |
| **`NUTONIC_INFERENCE_REQUIRE_INBOUND_HMAC`** | When `1`, require signed requests. |
|
| 52 |
| **`NUTONIC_INFERENCE_HMAC_SECRET`** | Shared HMAC secret. |
|