terraproof 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@ Terraproof helps AI coding agents do geospatial work they can prove. It gives an
12
12
 
13
13
  Everything runs locally and offline. No model API key is needed.
14
14
 
15
- **Status:** experimental (v0.10.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
15
+ **Status:** experimental (v0.11.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
16
16
 
17
17
  ---
18
18
 
@@ -196,6 +196,7 @@ Each skill lives in `skills/<name>/` with a `SKILL.md`, references, and a `skill
196
196
  - **Agent lift:** in a 54-run Claude Code comparison on 9 tasks, runs with Terraproof passed 27/27 and runs without it 21/27. The pre-specified test is **not significant** (p = 0.125), and five tasks passed either way, so no lift is claimed. The clearest single result is Landsat QA masking (3/3 with, 0/3 without). See [`docs/plans/Terraproof_Phase5_PLAN.md`](docs/plans/Terraproof_Phase5_PLAN.md).
197
197
  - **Harder cohort:** a one-repeat Claude Code screen passed all six tasks both with and without Terraproof. That small screen shows no observed benefit and is separate from the original nine-task study. API pilots are exploratory and do not establish lift.
198
198
  - **Real data (Phase 8):** on 34 sealed cases built from public Sentinel-2, Copernicus DEM, 3DEP and Natural Earth data, declared checks caught 7 of 7 covered wrong outputs with no false assurance and no false alarm. 20 of the 34 deliverables (validity masks, slope in percent, JSON reports) are forms no check covers yet. Contracts proposed from metadata alone did not meet acceptance. In a 10-run agent measurement, the agent rarely declared a goal, and the `s2-l2a` preset certified two wrong decodes; that preset now requires `--decode-offset`. See [`docs/plans/Terraproof_Phase8_PLAN.md`](docs/plans/Terraproof_Phase8_PLAN.md).
199
+ - **Real deliverables (Phase 9):** validity masks, slopes in percent and JSON summaries are now checkable. On 36 fresh sealed real-data cases, 33 deliverables got a declared requirement, and declared checks caught 12 of 15 wrong outputs with no false assurance or false alarm. In a 10-run agent measurement, 8 runs declared their goal (every offered `next_step` was followed), all 10 deliverables were correct, and no wrong output was certified. There was no comparison run, so no lift is claimed.
199
200
  - **Real hosts:** tool use through MCP has been verified with Codex, Claude Code, Antigravity (Gemini) and OpenCode (Phase 8 P4, ten runs with real tool calls). Cursor and Copilot are unit-tested against their documented layouts only.
200
201
 
201
202
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terraproof",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "evidence-graded skills, tools, and checks for mapping and remote-sensing AI agents. By Geova.",
5
5
  "type": "module",
6
6
  "main": "./dist/router/index.js",
@@ -319,6 +319,18 @@
319
319
  "metric_property",
320
320
  "metric_unit"
321
321
  ]
322
+ },
323
+ "report.summary_value": {
324
+ "family": "report",
325
+ "description": "A JSON report's declared number matches the declared statistic recomputed from its declared raster or vector source (nodata, an optional validity mask and a feature filter honoured).",
326
+ "applies_to": [
327
+ "report"
328
+ ],
329
+ "enabled_by": [
330
+ "summary_key",
331
+ "summary_statistic",
332
+ "summary_source"
333
+ ]
322
334
  }
323
335
  }
324
336
  }
@@ -44,6 +44,12 @@
44
44
  "checks": [
45
45
  "geometry.metric_values"
46
46
  ]
47
+ },
48
+ "summary-value": {
49
+ "description": "A JSON report delivering one statistic (mean, count, sum, min, max, area or length) of a declared raster or vector source.",
50
+ "checks": [
51
+ "report.summary_value"
52
+ ]
47
53
  }
48
54
  }
49
55
  }
@@ -402,6 +402,58 @@ or scientific certification.
402
402
 
403
403
  ---
404
404
 
405
+ ## Real-data held-out verification cases (Phase 8 and Phase 9)
406
+
407
+ The bundles `evals/verification-heldout-real/` (Phase 8) and
408
+ `evals/verification-heldout-q0/` (Phase 9) fetch the following public sources
409
+ with fixed URLs (no account, API key, requester-pays bucket or expiring signed
410
+ URL) into local, git-ignored caches; binaries are never committed. The SHA-256
411
+ of every fetched file is recorded in each bundle's cache manifest.
412
+
413
+ ### Sentinel-2 L2A (Copernicus, via Earth Search)
414
+
415
+ - **Data (Phase 8 and Phase 9, distribution `sentinel-2-l2a`):** scene
416
+ `S2B_32TMS_20250831_0_L2A` (MGRS tile 32TMS, 2025-08-31, Bernese Oberland,
417
+ Switzerland), served as COGs by element84's Earth Search STAC API v1
418
+ (`https://earth-search.aws.element84.com/v1`) with companion tileinfo JSON
419
+ and granule metadata XML.
420
+ - **Data (Phase 9 only, distribution `sentinel-2-c1-l2a`):** scene
421
+ `S2B_T32TMS_20230928T102123_L2A` (same MGRS tile, 2023-09-28, Collection 1
422
+ reprocessing), served as COGs from element84's
423
+ `e84-earth-search-sentinel-data` bucket with `tileInfo.json` and
424
+ `product_metadata.xml` sidecars.
425
+ - **Licence:** ESA Copernicus Sentinel data, free of charge under the ESA
426
+ Sentinel use conditions.
427
+ - **Required attribution:** *"Contains modified Copernicus Sentinel data
428
+ 2025"* (Sentinel-2 scenes; the c1 scene contains modified Copernicus
429
+ Sentinel data 2023).
430
+
431
+ ### Copernicus DEM GLO-30
432
+
433
+ - **Data:** small windows of tiles `N28 E084` (Nepal) and `N78 E016`
434
+ (Svalbard), 30 m elevation rasters (EPSG:4326), from the public
435
+ Copernicus DEM S3 bucket on AWS Open Data
436
+ (`copernicus-dem-30m.s3.amazonaws.com`).
437
+ - **Licence:** Copernicus Digital Elevation Model — © DLR 2025, made available
438
+ by ESA/DLR for the Copernicus programme for free use with attribution.
439
+ - **Required attribution:** *"Contains Copernicus DEM data"*/*"© DLR"*.
440
+
441
+ ### USGS 3DEP 1/3 arc-second
442
+
443
+ - **Data:** windows of tiles `n31w091` (Mississippi delta) and `n22w159`
444
+ (Kauai) with their FGDC metadata sidecars, from the public USGS
445
+ (`prd-tnm.s3.amazonaws.com`) staged elevation products (resolution 13).
446
+ - **Licence:** public domain — the sidecar itself states *"All 3DEP products
447
+ are public domain."*
448
+
449
+ ### Natural Earth 110m admin-0 countries
450
+
451
+ - **Data:** `ne_110m_admin_0_countries.geojson` pinned at tag v5.1.2 of
452
+ `https://github.com/nvkelso/natural-earth-vector` (published via GitHub raw).
453
+ - **Licence:** public domain (no restrictions, no attribution required).
454
+
455
+ ---
456
+
405
457
  ## Real-data held-out verification cases (Phase 8)
406
458
 
407
459
  The bundle `evals/verification-heldout-real/` fetches the following public