terraproof 0.11.0 → 0.12.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.11.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
15
+ **Status:** experimental (v0.12.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
16
16
 
17
17
  ---
18
18
 
@@ -197,6 +197,7 @@ Each skill lives in `skills/<name>/` with a `SKILL.md`, references, and a `skill
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
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.
200
+ - **QA masks and reprojected slopes (Phase 10):** a declared validity mask is checked against the QA layer's own no-data, a slope on another grid than its DEM is checked after resampling (in ground metres on projections such as Web Mercator), and every number of a JSON report can be declared. A first measurement certified one wrong Web Mercator slope, and that was fixed. On 45 fresh sealed real-data cases, declared checks then caught every wrong mask (5 of 5) and 5 of 6 wrong reprojected slopes, verified all 6 correct ones, and certified no wrong output. Multi-value reports did not meet their bar: 4 of 6 wrong reports failed, and the other two held only numbers the check cannot express (NDVI, joint band selections), so they were not certified either. No agent run was measured for this release.
200
201
  - **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.
201
202
 
202
203
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terraproof",
3
- "version": "0.11.0",
3
+ "version": "0.12.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",
@@ -1,336 +1,337 @@
1
- {
2
- "version": "1.0.0",
3
- "checks": {
4
- "crs.defined": {
5
- "family": "crs",
6
- "description": "Each georeferenced input declares a CRS."
7
- },
8
- "crs.consistent": {
9
- "family": "crs",
10
- "description": "Inputs that are combined share one CRS; a mismatch fails until they are reprojected."
11
- },
12
- "crs.metric_operation": {
13
- "family": "crs",
14
- "description": "A distance, area, or buffer operation runs in a projected horizontal CRS with metre or foot units, not in degrees or geocentric coordinates.",
15
- "applies_to": [
16
- "raster",
17
- "vector"
18
- ],
19
- "enabled_by": [
20
- "operation"
21
- ]
22
- },
23
- "geometry.valid": {
24
- "family": "geometry",
25
- "description": "Every geometry is valid (no self-intersections or invalid rings)."
26
- },
27
- "geometry.non_empty": {
28
- "family": "geometry",
29
- "description": "No null or empty geometries are present."
30
- },
31
- "geometry.type_consistent": {
32
- "family": "geometry",
33
- "description": "The layer holds one geometry family; single and multi-part types count together."
34
- },
35
- "geometry.winding": {
36
- "family": "geometry",
37
- "description": "GeoJSON polygon rings follow the RFC 7946 right-hand rule: counterclockwise exteriors, clockwise holes."
38
- },
39
- "scope.record_count": {
40
- "family": "scope",
41
- "description": "The output feature count is compared with a reference dataset's count.",
42
- "applies_to": [
43
- "vector"
44
- ],
45
- "enabled_by": [
46
- "compare_to"
47
- ]
48
- },
49
- "raster.nodata_declared": {
50
- "family": "raster",
51
- "description": "Every raster band declares a nodata value."
52
- },
53
- "raster.resampling": {
54
- "family": "raster",
55
- "description": "The resampling method suits categorical data (nearest or mode).",
56
- "applies_to": [
57
- "raster"
58
- ],
59
- "enabled_by": [
60
- "resampling",
61
- "categorical"
62
- ]
63
- },
64
- "raster.categorical_codes": {
65
- "family": "raster",
66
- "description": "Every valid output cell holds a class code found in the declared class source; blended codes from bilinear, cubic or average resampling fail.",
67
- "applies_to": [
68
- "raster"
69
- ],
70
- "enabled_by": [
71
- "categorical_source"
72
- ]
73
- },
74
- "raster.grid_alignment": {
75
- "family": "raster",
76
- "description": "Rasters share CRS, pixel size, and pixel-grid origin so they can be combined."
77
- },
78
- "raster.cog_layout": {
79
- "family": "raster",
80
- "description": "Heuristic layout screen for GeoTIFFs: tiled, with internal overviews unless the raster fits in one block, and not lossy JPEG; not COG validation."
81
- },
82
- "rs.reflectance_range": {
83
- "family": "rs",
84
- "description": "Sampled plausibility screen: reflectance values lie within [-0.5, 1.5]; non-finite scale, offset, or values fail. Not a calibration check.",
85
- "applies_to": [
86
- "raster"
87
- ],
88
- "enabled_by": [
89
- "expect"
90
- ]
91
- },
92
- "rs.index_range": {
93
- "family": "rs",
94
- "description": "Sampled plausibility screen: spectral index values lie within [-1, 1]; non-finite scale, offset, or values fail.",
95
- "applies_to": [
96
- "raster"
97
- ],
98
- "enabled_by": [
99
- "expect"
100
- ]
101
- },
102
- "stac.provenance": {
103
- "family": "stac",
104
- "description": "A STAC Item records a time and a projection code."
105
- },
106
- "rs.scale_applied_once": {
107
- "family": "rs",
108
- "description": "Output pixels equal the input DN through the declared calibration exactly once. Default: sampled band-1 screen. processing_full_scan verifies every corresponding band/pixel, finite delivered values and source invalidity, in bounded windows. Additional output-mask policy and other processing steps are not verified.",
109
- "applies_to": [
110
- "raster"
111
- ],
112
- "enabled_by": [
113
- "reference_input",
114
- "encoding"
115
- ]
116
- },
117
- "rs.cloud_mask_applied": {
118
- "family": "rs",
119
- "description": "Pixels flagged as cloud or shadow by aligned Sentinel-2 SCL or Landsat QA_PIXEL are nodata or NaN. Default: sampled band-1 screen. processing_full_scan verifies all QA locations and output bands; missing or unsupported QA leaves verification not-run. Cloud detection quality and additional masking policy are not verified.",
120
- "applies_to": [
121
- "raster"
122
- ],
123
- "enabled_by": [
124
- "qa_path",
125
- "qa_kind"
126
- ]
127
- },
128
- "rs.temporal_scope": {
129
- "family": "rs",
130
- "description": "Every STAC item datetime, or the whole start/end interval, falls inside a declared time range; items without a usable acquisition time are not-run.",
131
- "applies_to": [
132
- "stac"
133
- ],
134
- "enabled_by": [
135
- "time_range"
136
- ]
137
- },
138
- "terrain.slope_consistent": {
139
- "family": "terrain",
140
- "description": "A slope-in-degrees raster matches central differences on its DEM (passed with --dem) using the DEM's declared vertical unit and real pixel spacing; matching the slope with vertical units ignored or square pixels assumed fails, matching neither warns, and geographic or unaligned grids are not-run.",
141
- "applies_to": [
142
- "raster"
143
- ],
144
- "enabled_by": [
145
- "dem"
146
- ]
147
- },
148
- "sar.value_domain": {
149
- "family": "sar",
150
- "description": "Sampled backscatter values lie in the domain declared by the expected scale (sigma0-db within [-50, 15] dB; sigma0-linear non-negative with p99 <= 5). Flags decibel/linear confusion as one possible cause; not a calibration check.",
151
- "applies_to": [
152
- "raster"
153
- ],
154
- "enabled_by": [
155
- "sar_expect"
156
- ]
157
- },
158
- "sar.geocoded": {
159
- "family": "sar",
160
- "description": "A raster carries both a CRS and a non-identity geotransform; GCP-only geometry or an identity transform fails as not geocoded.",
161
- "applies_to": [
162
- "raster"
163
- ],
164
- "enabled_by": [
165
- "sar_expect"
166
- ]
167
- },
168
- "sar.filter_domain": {
169
- "family": "sar",
170
- "description": "A declared boxcar speckle filter, recomputed from its unfiltered source in linear power, matches the output; a filter averaged in dB fails.",
171
- "applies_to": [
172
- "raster"
173
- ],
174
- "enabled_by": [
175
- "sar_filter",
176
- "sar_filter_size",
177
- "sar_filter_source",
178
- "sar_expect"
179
- ]
180
- },
181
- "accuracy.sample_design": {
182
- "family": "accuracy",
183
- "description": "Every map class in the reference-sample CSV has at least min_per_class samples (default 50, a configurable rule of thumb); missing class areas when area estimates are requested are warned."
184
- },
185
- "accuracy.estimates": {
186
- "family": "accuracy",
187
- "description": "Confusion matrix, user's and area-weighted producer's accuracy, overall accuracy, and the stratified area-adjusted area of each reference class with 95% confidence intervals (Olofsson et al. 2014, eqs. 5-6 and 10-12); not-run when map-class areas are missing."
188
- },
189
- "provenance.reproducible": {
190
- "family": "provenance",
191
- "description": "A written run manifest verifies: recorded input/output files re-hash identically and recorded tool versions still match; warns on tool-version drift, fails on changed or missing files, an edited manifest core, or a recorded path outside the workspace.",
192
- "applies_to": [
193
- "raster",
194
- "vector",
195
- "stac"
196
- ],
197
- "enabled_by": [
198
- "manifest"
199
- ]
200
- },
201
- "preflight.metric_crs": {
202
- "family": "preflight",
203
- "description": "Plan check: a declared distance, area, or buffer step runs in a projected horizontal CRS with metre or foot units, not in a geographic or geocentric CRS."
204
- },
205
- "preflight.alignment": {
206
- "family": "preflight",
207
- "description": "Plan check: inputs declared for combination or comparison share a CRS, pixel size, and pixel-grid origin, or the plan declares a reprojection/alignment step."
208
- },
209
- "preflight.categorical_resampling": {
210
- "family": "preflight",
211
- "description": "Plan check: a declared categorical layer (classification, mask, or QA band) is resampled with nearest neighbour or mode, not with a bilinear or cubic kernel."
212
- },
213
- "preflight.reflectance_decode": {
214
- "family": "preflight",
215
- "description": "Plan check: an 'expect reflectance' operation on integer raster inputs that carry a non-trivial scale or offset declares a decode step. Reads the plan and input encoding metadata only; it does not compare outputs or show how often a decode was actually applied."
216
- },
217
- "preflight.temporal_scope": {
218
- "family": "preflight",
219
- "description": "Plan check: the requested analysis time range contains the datetimes of the STAC items or inputs the plan selects."
220
- },
221
- "preflight.index_inputs": {
222
- "family": "preflight",
223
- "description": "Plan check: an 'expect index' operation on integer raster inputs that carry a non-trivial scale or offset declares a decode step, so the index would be computed on decoded values rather than raw DN. Reads the plan and input encoding metadata only; it does not verify that the bands a given index needs are present or that any formula was applied."
224
- },
225
- "preflight.output_units": {
226
- "family": "preflight",
227
- "description": "Plan check: the output CRS units match the measurement units the plan requests, so a metric result is not written in degrees or the reverse."
228
- },
229
- "rs.index_formula": {
230
- "family": "rs",
231
- "description": "Opt-in spectral-index comparison (NDVI, NBR, dNBR, McFeeters NDWI, MNDWI, Gao NDMI, SAVI, EVI) with declared source-band roles, each band's scale/offset and joint valid support; unsupported cells must be nodata and extra masking warns.",
232
- "applies_to": [
233
- "raster"
234
- ],
235
- "enabled_by": [
236
- "index_formula",
237
- "nir",
238
- "red",
239
- "index_bands"
240
- ]
241
- },
242
- "rs.stack_reduction": {
243
- "family": "rs",
244
- "description": "Opt-in per-pixel reduction of an ordered input stack (median, count, weighted sum such as rate x hours, mean in linear power for dB, OLS slope against declared times) on the output grid; cells without enough valid inputs must be nodata, extra masking warns, and how the inputs were made is not checked.",
245
- "applies_to": [
246
- "raster"
247
- ],
248
- "enabled_by": [
249
- "stack",
250
- "stack_reduction"
251
- ]
252
- },
253
- "rs.stack_window": {
254
- "family": "rs",
255
- "description": "The output's declared time window holds every stack layer's declared interval without overlap; an accumulation also covers it without gaps, weighted by layer hours.",
256
- "applies_to": [
257
- "raster"
258
- ],
259
- "enabled_by": [
260
- "stack",
261
- "stack_times",
262
- "stack_window"
263
- ]
264
- },
265
- "terrain.slope_formula": {
266
- "family": "terrain",
267
- "description": "Opt-in calibrated central-difference slope comparison: every required value, complete center/four-neighbour support and nodata edges.",
268
- "applies_to": [
269
- "raster"
270
- ],
271
- "enabled_by": [
272
- "slope_method",
273
- "dem"
274
- ]
275
- },
276
- "raster.source_identity": {
277
- "family": "raster",
278
- "description": "Opt-in exact decoded valid-sample and full band-validity comparison with a declared raster source, including grid and band metadata; not COG conformance.",
279
- "applies_to": [
280
- "raster"
281
- ],
282
- "enabled_by": [
283
- "raster_identity",
284
- "compare_to"
285
- ]
286
- },
287
- "raster.vertical_units": {
288
- "family": "raster",
289
- "description": "A height or height-difference output matches its declared sources' vertical units converted to the declared output unit, and its unit label does not contradict it.",
290
- "applies_to": [
291
- "raster"
292
- ],
293
- "enabled_by": [
294
- "vertical_operation",
295
- "vertical_sources",
296
- "vertical_source_units",
297
- "vertical_unit"
298
- ]
299
- },
300
- "raster.nodata_support": {
301
- "family": "raster",
302
- "description": "The output is valid exactly where its declared sources are valid under the declared rule, so fill is not treated as data and valid values are not treated as fill.",
303
- "applies_to": [
304
- "raster"
305
- ],
306
- "enabled_by": [
307
- "support_sources",
308
- "support_rule"
309
- ]
310
- },
311
- "geometry.metric_values": {
312
- "family": "geometry",
313
- "description": "Delivered vector measurements (area or length properties, or a buffer's ground distance) match their geodesic values, whatever CRS the output is stored in.",
314
- "applies_to": [
315
- "vector"
316
- ],
317
- "enabled_by": [
318
- "metric_quantity",
319
- "metric_property",
320
- "metric_unit"
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
- ]
334
- }
335
- }
336
- }
1
+ {
2
+ "version": "1.0.0",
3
+ "checks": {
4
+ "crs.defined": {
5
+ "family": "crs",
6
+ "description": "Each georeferenced input declares a CRS."
7
+ },
8
+ "crs.consistent": {
9
+ "family": "crs",
10
+ "description": "Inputs that are combined share one CRS; a mismatch fails until they are reprojected."
11
+ },
12
+ "crs.metric_operation": {
13
+ "family": "crs",
14
+ "description": "A distance, area, or buffer operation runs in a projected horizontal CRS with metre or foot units, not in degrees or geocentric coordinates.",
15
+ "applies_to": [
16
+ "raster",
17
+ "vector"
18
+ ],
19
+ "enabled_by": [
20
+ "operation"
21
+ ]
22
+ },
23
+ "geometry.valid": {
24
+ "family": "geometry",
25
+ "description": "Every geometry is valid (no self-intersections or invalid rings)."
26
+ },
27
+ "geometry.non_empty": {
28
+ "family": "geometry",
29
+ "description": "No null or empty geometries are present."
30
+ },
31
+ "geometry.type_consistent": {
32
+ "family": "geometry",
33
+ "description": "The layer holds one geometry family; single and multi-part types count together."
34
+ },
35
+ "geometry.winding": {
36
+ "family": "geometry",
37
+ "description": "GeoJSON polygon rings follow the RFC 7946 right-hand rule: counterclockwise exteriors, clockwise holes."
38
+ },
39
+ "scope.record_count": {
40
+ "family": "scope",
41
+ "description": "The output feature count is compared with a reference dataset's count.",
42
+ "applies_to": [
43
+ "vector"
44
+ ],
45
+ "enabled_by": [
46
+ "compare_to"
47
+ ]
48
+ },
49
+ "raster.nodata_declared": {
50
+ "family": "raster",
51
+ "description": "Every raster band declares a nodata value."
52
+ },
53
+ "raster.resampling": {
54
+ "family": "raster",
55
+ "description": "The resampling method suits categorical data (nearest or mode).",
56
+ "applies_to": [
57
+ "raster"
58
+ ],
59
+ "enabled_by": [
60
+ "resampling",
61
+ "categorical"
62
+ ]
63
+ },
64
+ "raster.categorical_codes": {
65
+ "family": "raster",
66
+ "description": "Every valid output cell holds a class code found in the declared class source; blended codes from bilinear, cubic or average resampling fail.",
67
+ "applies_to": [
68
+ "raster"
69
+ ],
70
+ "enabled_by": [
71
+ "categorical_source"
72
+ ]
73
+ },
74
+ "raster.grid_alignment": {
75
+ "family": "raster",
76
+ "description": "Rasters share CRS, pixel size, and pixel-grid origin so they can be combined."
77
+ },
78
+ "raster.cog_layout": {
79
+ "family": "raster",
80
+ "description": "Heuristic layout screen for GeoTIFFs: tiled, with internal overviews unless the raster fits in one block, and not lossy JPEG; not COG validation."
81
+ },
82
+ "rs.reflectance_range": {
83
+ "family": "rs",
84
+ "description": "Sampled plausibility screen: reflectance values lie within [-0.5, 1.5]; non-finite scale, offset, or values fail. Not a calibration check.",
85
+ "applies_to": [
86
+ "raster"
87
+ ],
88
+ "enabled_by": [
89
+ "expect"
90
+ ]
91
+ },
92
+ "rs.index_range": {
93
+ "family": "rs",
94
+ "description": "Sampled plausibility screen: spectral index values lie within [-1, 1]; non-finite scale, offset, or values fail.",
95
+ "applies_to": [
96
+ "raster"
97
+ ],
98
+ "enabled_by": [
99
+ "expect"
100
+ ]
101
+ },
102
+ "stac.provenance": {
103
+ "family": "stac",
104
+ "description": "A STAC Item records a time and a projection code."
105
+ },
106
+ "rs.scale_applied_once": {
107
+ "family": "rs",
108
+ "description": "Output pixels equal the input DN through the declared calibration exactly once. Default: sampled band-1 screen. processing_full_scan verifies every corresponding band/pixel, finite delivered values and source invalidity, in bounded windows. Additional output-mask policy and other processing steps are not verified.",
109
+ "applies_to": [
110
+ "raster"
111
+ ],
112
+ "enabled_by": [
113
+ "reference_input",
114
+ "encoding"
115
+ ]
116
+ },
117
+ "rs.cloud_mask_applied": {
118
+ "family": "rs",
119
+ "description": "Pixels flagged as cloud or shadow by aligned Sentinel-2 SCL or Landsat QA_PIXEL are nodata or NaN. Default: sampled band-1 screen. processing_full_scan verifies all QA locations and output bands; missing or unsupported QA leaves verification not-run. Cloud detection quality and additional masking policy are not verified.",
120
+ "applies_to": [
121
+ "raster"
122
+ ],
123
+ "enabled_by": [
124
+ "qa_path",
125
+ "qa_kind"
126
+ ]
127
+ },
128
+ "rs.temporal_scope": {
129
+ "family": "rs",
130
+ "description": "Every STAC item datetime, or the whole start/end interval, falls inside a declared time range; items without a usable acquisition time are not-run.",
131
+ "applies_to": [
132
+ "stac"
133
+ ],
134
+ "enabled_by": [
135
+ "time_range"
136
+ ]
137
+ },
138
+ "terrain.slope_consistent": {
139
+ "family": "terrain",
140
+ "description": "A slope-in-degrees raster matches central differences on its DEM (passed with --dem) using the DEM's declared vertical unit and real pixel spacing; matching the slope with vertical units ignored or square pixels assumed fails, matching neither warns, and geographic or unaligned grids are not-run.",
141
+ "applies_to": [
142
+ "raster"
143
+ ],
144
+ "enabled_by": [
145
+ "dem"
146
+ ]
147
+ },
148
+ "sar.value_domain": {
149
+ "family": "sar",
150
+ "description": "Sampled backscatter values lie in the domain declared by the expected scale (sigma0-db within [-50, 15] dB; sigma0-linear non-negative with p99 <= 5). Flags decibel/linear confusion as one possible cause; not a calibration check.",
151
+ "applies_to": [
152
+ "raster"
153
+ ],
154
+ "enabled_by": [
155
+ "sar_expect"
156
+ ]
157
+ },
158
+ "sar.geocoded": {
159
+ "family": "sar",
160
+ "description": "A raster carries both a CRS and a non-identity geotransform; GCP-only geometry or an identity transform fails as not geocoded.",
161
+ "applies_to": [
162
+ "raster"
163
+ ],
164
+ "enabled_by": [
165
+ "sar_expect"
166
+ ]
167
+ },
168
+ "sar.filter_domain": {
169
+ "family": "sar",
170
+ "description": "A declared boxcar speckle filter, recomputed from its unfiltered source in linear power, matches the output; a filter averaged in dB fails.",
171
+ "applies_to": [
172
+ "raster"
173
+ ],
174
+ "enabled_by": [
175
+ "sar_filter",
176
+ "sar_filter_size",
177
+ "sar_filter_source",
178
+ "sar_expect"
179
+ ]
180
+ },
181
+ "accuracy.sample_design": {
182
+ "family": "accuracy",
183
+ "description": "Every map class in the reference-sample CSV has at least min_per_class samples (default 50, a configurable rule of thumb); missing class areas when area estimates are requested are warned."
184
+ },
185
+ "accuracy.estimates": {
186
+ "family": "accuracy",
187
+ "description": "Confusion matrix, user's and area-weighted producer's accuracy, overall accuracy, and the stratified area-adjusted area of each reference class with 95% confidence intervals (Olofsson et al. 2014, eqs. 5-6 and 10-12); not-run when map-class areas are missing."
188
+ },
189
+ "provenance.reproducible": {
190
+ "family": "provenance",
191
+ "description": "A written run manifest verifies: recorded input/output files re-hash identically and recorded tool versions still match; warns on tool-version drift, fails on changed or missing files, an edited manifest core, or a recorded path outside the workspace.",
192
+ "applies_to": [
193
+ "raster",
194
+ "vector",
195
+ "stac"
196
+ ],
197
+ "enabled_by": [
198
+ "manifest"
199
+ ]
200
+ },
201
+ "preflight.metric_crs": {
202
+ "family": "preflight",
203
+ "description": "Plan check: a declared distance, area, or buffer step runs in a projected horizontal CRS with metre or foot units, not in a geographic or geocentric CRS."
204
+ },
205
+ "preflight.alignment": {
206
+ "family": "preflight",
207
+ "description": "Plan check: inputs declared for combination or comparison share a CRS, pixel size, and pixel-grid origin, or the plan declares a reprojection/alignment step."
208
+ },
209
+ "preflight.categorical_resampling": {
210
+ "family": "preflight",
211
+ "description": "Plan check: a declared categorical layer (classification, mask, or QA band) is resampled with nearest neighbour or mode, not with a bilinear or cubic kernel."
212
+ },
213
+ "preflight.reflectance_decode": {
214
+ "family": "preflight",
215
+ "description": "Plan check: an 'expect reflectance' operation on integer raster inputs that carry a non-trivial scale or offset declares a decode step. Reads the plan and input encoding metadata only; it does not compare outputs or show how often a decode was actually applied."
216
+ },
217
+ "preflight.temporal_scope": {
218
+ "family": "preflight",
219
+ "description": "Plan check: the requested analysis time range contains the datetimes of the STAC items or inputs the plan selects."
220
+ },
221
+ "preflight.index_inputs": {
222
+ "family": "preflight",
223
+ "description": "Plan check: an 'expect index' operation on integer raster inputs that carry a non-trivial scale or offset declares a decode step, so the index would be computed on decoded values rather than raw DN. Reads the plan and input encoding metadata only; it does not verify that the bands a given index needs are present or that any formula was applied."
224
+ },
225
+ "preflight.output_units": {
226
+ "family": "preflight",
227
+ "description": "Plan check: the output CRS units match the measurement units the plan requests, so a metric result is not written in degrees or the reverse."
228
+ },
229
+ "rs.index_formula": {
230
+ "family": "rs",
231
+ "description": "Opt-in spectral-index comparison (NDVI, NBR, dNBR, McFeeters NDWI, MNDWI, Gao NDMI, SAVI, EVI) with declared source-band roles, each band's scale/offset and joint valid support; unsupported cells must be nodata and extra masking warns.",
232
+ "applies_to": [
233
+ "raster"
234
+ ],
235
+ "enabled_by": [
236
+ "index_formula",
237
+ "nir",
238
+ "red",
239
+ "index_bands"
240
+ ]
241
+ },
242
+ "rs.stack_reduction": {
243
+ "family": "rs",
244
+ "description": "Opt-in per-pixel reduction of an ordered input stack (median, count, weighted sum such as rate x hours, mean in linear power for dB, OLS slope against declared times) on the output grid; cells without enough valid inputs must be nodata, extra masking warns, and how the inputs were made is not checked.",
245
+ "applies_to": [
246
+ "raster"
247
+ ],
248
+ "enabled_by": [
249
+ "stack",
250
+ "stack_reduction"
251
+ ]
252
+ },
253
+ "rs.stack_window": {
254
+ "family": "rs",
255
+ "description": "The output's declared time window holds every stack layer's declared interval without overlap; an accumulation also covers it without gaps, weighted by layer hours.",
256
+ "applies_to": [
257
+ "raster"
258
+ ],
259
+ "enabled_by": [
260
+ "stack",
261
+ "stack_times",
262
+ "stack_window"
263
+ ]
264
+ },
265
+ "terrain.slope_formula": {
266
+ "family": "terrain",
267
+ "description": "Opt-in calibrated central-difference slope comparison: every required value, complete center/four-neighbour support and nodata edges.",
268
+ "applies_to": [
269
+ "raster"
270
+ ],
271
+ "enabled_by": [
272
+ "slope_method",
273
+ "dem"
274
+ ]
275
+ },
276
+ "raster.source_identity": {
277
+ "family": "raster",
278
+ "description": "Opt-in exact decoded valid-sample and full band-validity comparison with a declared raster source, including grid and band metadata; not COG conformance.",
279
+ "applies_to": [
280
+ "raster"
281
+ ],
282
+ "enabled_by": [
283
+ "raster_identity",
284
+ "compare_to"
285
+ ]
286
+ },
287
+ "raster.vertical_units": {
288
+ "family": "raster",
289
+ "description": "A height or height-difference output matches its declared sources' vertical units converted to the declared output unit, and its unit label does not contradict it.",
290
+ "applies_to": [
291
+ "raster"
292
+ ],
293
+ "enabled_by": [
294
+ "vertical_operation",
295
+ "vertical_sources",
296
+ "vertical_source_units",
297
+ "vertical_unit"
298
+ ]
299
+ },
300
+ "raster.nodata_support": {
301
+ "family": "raster",
302
+ "description": "The output is valid exactly where its declared sources are valid under the declared rule, so fill is not treated as data and valid values are not treated as fill.",
303
+ "applies_to": [
304
+ "raster"
305
+ ],
306
+ "enabled_by": [
307
+ "support_sources",
308
+ "support_rule"
309
+ ]
310
+ },
311
+ "geometry.metric_values": {
312
+ "family": "geometry",
313
+ "description": "Delivered vector measurements (area or length properties, or a buffer's ground distance) match their geodesic values, whatever CRS the output is stored in.",
314
+ "applies_to": [
315
+ "vector"
316
+ ],
317
+ "enabled_by": [
318
+ "metric_quantity",
319
+ "metric_property",
320
+ "metric_unit"
321
+ ]
322
+ },
323
+ "report.summary_value": {
324
+ "family": "report",
325
+ "description": "Each declared number of a JSON report matches its declared statistic recomputed from its declared raster or vector source (nodata, an optional validity mask and a feature filter honoured); undeclared numbers are listed, not judged.",
326
+ "applies_to": [
327
+ "report"
328
+ ],
329
+ "enabled_by": [
330
+ "summary_key",
331
+ "summary_statistic",
332
+ "summary_source",
333
+ "summaries"
334
+ ]
335
+ }
336
+ }
337
+ }
@@ -496,3 +496,37 @@ SHA-256 of every fetched file is recorded in the bundle's cache manifest.
496
496
  - **Data:** `ne_110m_admin_0_countries.geojson` pinned at tag v5.1.2 of
497
497
  `https://github.com/nvkelso/natural-earth-vector` (published via GitHub raw).
498
498
  - **Licence:** public domain (no restrictions, no attribution required).
499
+
500
+ ---
501
+
502
+ ## Phase 10 (verification-heldout-s0) data sources
503
+
504
+ - **Sentinel-2 L2A** — scene `S2B_32TMS_20250831_0_L2A` (Earth Search
505
+ `sentinel-2-l2a` COGs with SCL classification layer), same ESA licence and
506
+ attribution as above: *"Contains modified Copernicus Sentinel data 2025"*.
507
+ - **Copernicus DEM GLO-30** — tiles N28 E084, N46 E008 and N78 E016 from the
508
+ public AWS Open Data bucket; © DLR, attribution *"Contains Copernicus DEM
509
+ data"*.
510
+ - **USGS 3DEP 1/3 arc-second** — tiles `n31w091` and `n22w159` with FGDC
511
+ sidecars; public domain (sidecar statement).
512
+ - **Natural Earth 110m admin-0 countries** — GeoJSON at tag v5.1.2; public
513
+ domain.
514
+ - **Landsat Collection 2 Level-2 QA_PIXEL** was **not** used: its COGs live
515
+ in the requester-pays `usgs-landsat` bucket (403 without credentials), and
516
+ no credential-free mirror was found; the bundle stays on Sentinel-2 as the
517
+ brief allows.
518
+
519
+ ## Phase 10 S0b (verification-heldout-s0b) data sources
520
+
521
+ - **Sentinel-2 L2A** - scene `S2C_33WXT_20250915_0_L2A` (MGRS tile 33WXT,
522
+ acquired 2025-09-15, Tromso area, lat ~69-70 N; Earth Search
523
+ `sentinel-2-l2a` COGs with SCL classification layer), ESA Copernicus
524
+ Sentinel data; attribution *"Contains modified Copernicus Sentinel data
525
+ 2025."*
526
+ - **Copernicus DEM GLO-30** - tiles N69 E019 (Lyngen, Norway) and N46 E007
527
+ (Matterhorn/Zermatt region) from the public AWS Open Data bucket; © DLR,
528
+ attribution *"Contains Copernicus DEM data"*.
529
+ - **USGS 3DEP 1/3 arc-second** - tile `n33w118` (Los Angeles coast) with its
530
+ FGDC sidecar; public domain (sidecar statement).
531
+ - **Natural Earth 110m admin-0 countries** - GeoJSON at tag v5.1.2; public
532
+ domain.