seriffic Claude Opus 4.7 (1M context) commited on
Commit
b37e92d
·
1 Parent(s): bd05c73

fix(sse): map neighborhood pipeline _nta steps to Cornerstone/Touchstone

Browse files

The SSE stone envelope only knew single_address step names. Neighborhood
queries (sandy_nta / dep_*_nta / nyc311_nta / microtopo_nta) flowed
through without opening a Stone, breaking the envelope on those queries.

Spotted live during the Hollis demo; envelope was emitting
stone_start("Touchstone") on prithvi_eo_live before any Cornerstone
boundary because the polygon-aggregated steps before it weren't
mapped.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. web/main.py +7 -1
web/main.py CHANGED
@@ -26,12 +26,17 @@ from app.stones import capstone as _capstone_stone # noqa: E402
26
  # nta_resolve and friends) don't open a Stone boundary — they're
27
  # orientation / policy infrastructure shared across Stones.
28
  _STEP_TO_STONE: dict[str, str] = {
29
- # Cornerstone
30
  "sandy_inundation": "Cornerstone",
31
  "dep_stormwater": "Cornerstone",
32
  "ida_hwm_2021": "Cornerstone",
33
  "prithvi_eo_v2": "Cornerstone",
34
  "microtopo_lidar": "Cornerstone",
 
 
 
 
 
35
  # Keystone (the chip fetch is infrastructure for the LoRA pair, but
36
  # it's logically Keystone-adjacent and we surface it under that
37
  # banner so the trace doesn't show a phantom orphan step).
@@ -49,6 +54,7 @@ _STEP_TO_STONE: dict[str, str] = {
49
  "noaa_tides": "Touchstone",
50
  "prithvi_eo_live": "Touchstone",
51
  "terramind_lulc": "Touchstone",
 
52
  # Lodestone
53
  "nws_alerts": "Lodestone",
54
  "ttm_forecast": "Lodestone",
 
26
  # nta_resolve and friends) don't open a Stone boundary — they're
27
  # orientation / policy infrastructure shared across Stones.
28
  _STEP_TO_STONE: dict[str, str] = {
29
+ # Cornerstone — single_address + polygon-aggregated (neighborhood)
30
  "sandy_inundation": "Cornerstone",
31
  "dep_stormwater": "Cornerstone",
32
  "ida_hwm_2021": "Cornerstone",
33
  "prithvi_eo_v2": "Cornerstone",
34
  "microtopo_lidar": "Cornerstone",
35
+ "sandy_nta": "Cornerstone",
36
+ "dep_extreme_2080_nta": "Cornerstone",
37
+ "dep_moderate_2050_nta": "Cornerstone",
38
+ "dep_moderate_current_nta": "Cornerstone",
39
+ "microtopo_nta": "Cornerstone",
40
  # Keystone (the chip fetch is infrastructure for the LoRA pair, but
41
  # it's logically Keystone-adjacent and we surface it under that
42
  # banner so the trace doesn't show a phantom orphan step).
 
54
  "noaa_tides": "Touchstone",
55
  "prithvi_eo_live": "Touchstone",
56
  "terramind_lulc": "Touchstone",
57
+ "nyc311_nta": "Touchstone",
58
  # Lodestone
59
  "nws_alerts": "Lodestone",
60
  "ttm_forecast": "Lodestone",