terraproof 0.8.0 → 0.10.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 +221 -190
- package/package.json +67 -67
- package/routing/checks.json +324 -141
- package/routing/profiles.json +49 -0
- package/skills/stac-and-cloud-access/SKILL.md +212 -209
- package/skills/time-series-and-change/SKILL.md +218 -217
- package/sources/SOURCES.md +54 -0
package/README.md
CHANGED
|
@@ -1,190 +1,221 @@
|
|
|
1
|
-
# Terraproof
|
|
2
|
-
|
|
3
|
-
> Evidence-graded skills, tools, and checks for mapping and remote-sensing AI agents. *By Geova.*
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/terraproof) [](LICENSE)
|
|
6
|
-
|
|
7
|
-
Terraproof helps AI coding agents do geospatial work they can prove. It gives an agent three things:
|
|
8
|
-
|
|
9
|
-
- **Skills.** 24 focused guides (GDAL, CRS and units, satellite preprocessing, SAR, spectral indices, time series, accuracy assessment, and more), split into sections an agent can load one at a time.
|
|
10
|
-
- **A router.** It picks the smallest useful set of skills for a task, in English or Arabic, and explains why.
|
|
11
|
-
- **Checks with an evidence grade.** They inspect the real datasets an agent produced (CRS, nodata, value ranges, geometry, COG layout, provenance) and grade the result as decision-grade, review required, or advisory only.
|
|
12
|
-
|
|
13
|
-
Everything runs locally and offline. No model API key is needed.
|
|
14
|
-
|
|
15
|
-
**Status:** experimental (v0.
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Quick start
|
|
20
|
-
|
|
21
|
-
Route a task with the published CLI (Node.js 20+):
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npx terraproof route "Reproject a GeoTIFF to EPSG:3857 and build a COG with GDAL"
|
|
25
|
-
npx terraproof route "Download Sentinel-2 from a STAC catalog, compute NDVI, and map the change with MapLibre" --format json
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Then check the data the work produced with the Python package (Python 3.10+).
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
pip install "terraproof[mcp]"
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Until then, install it from a clone:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
git clone https://github.com/esmailhussien/terraproof.git
|
|
38
|
-
cd terraproof
|
|
39
|
-
python -m venv .venv
|
|
40
|
-
.venv/bin/python -m pip install -e ".[mcp]" # Windows: .venv\Scripts\python -m pip install -e ".[mcp]"
|
|
41
|
-
|
|
42
|
-
python -m terraproof check ndvi.tif --expect index --format md
|
|
43
|
-
python -m terraproof check outputs/clip.gpkg --compare-to data/parcels.gpkg --format md --lang ar --out report_ar.md
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
The exit code is the grade: `0` decision-grade, `2` review required, `3` advisory only, `1` usage error.
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## Python checks
|
|
51
|
-
|
|
52
|
-
`python -m terraproof` reads local vector, raster and STAC Item files and makes no network calls.
|
|
53
|
-
|
|
54
|
-
| Command | What it does |
|
|
55
|
-
|---|---|
|
|
56
|
-
| `inspect PATH` | Profile one dataset: CRS and units, schema or bands, dtype, nodata, extent, counts. |
|
|
57
|
-
| `check PATHS` | Run the applicable checks and write a JSON or Markdown evidence report (English or Arabic). |
|
|
58
|
-
| `preflight PATHS --plan plan.json` | Check a declared processing plan against the real inputs before running it. |
|
|
59
|
-
| `manifest write` / `manifest verify` | Record and verify a deterministic run manifest (inputs, outputs, parameters). |
|
|
60
|
-
| `route "TASK" [--data PATH]` | Retrieve the skill sections worth reading, using the task text and inspected datasets. |
|
|
61
|
-
|
|
62
|
-
Checks cover CRS and units, geometry validity and GeoJSON winding, record counts, raster nodata, resampling, grid alignment and COG layout, reflectance and index ranges, scale/offset applied once, cloud masking, temporal scope, SAR domain, area-adjusted accuracy, and STAC provenance. A check that does not apply is left out; one that applies but cannot run is reported as `not-run`.
|
|
63
|
-
|
|
64
|
-
| Grade | Arabic label | Meaning |
|
|
65
|
-
|---|---|---|
|
|
66
|
-
| Decision-grade | جاهز للقرار |
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
|
152
|
-
|
|
153
|
-
|
|
|
154
|
-
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
|
179
|
-
|
|
180
|
-
|
|
|
181
|
-
|
|
|
182
|
-
|
|
|
183
|
-
|
|
|
184
|
-
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
1
|
+
# Terraproof
|
|
2
|
+
|
|
3
|
+
> Evidence-graded skills, tools, and checks for mapping and remote-sensing AI agents. *By Geova.*
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/terraproof) [](LICENSE)
|
|
6
|
+
|
|
7
|
+
Terraproof helps AI coding agents do geospatial work they can prove. It gives an agent three things:
|
|
8
|
+
|
|
9
|
+
- **Skills.** 24 focused guides (GDAL, CRS and units, satellite preprocessing, SAR, spectral indices, time series, accuracy assessment, and more), split into sections an agent can load one at a time.
|
|
10
|
+
- **A router.** It picks the smallest useful set of skills for a task, in English or Arabic, and explains why.
|
|
11
|
+
- **Checks with an evidence grade.** They inspect the real datasets an agent produced (CRS, nodata, value ranges, geometry, COG layout, provenance) and grade the result as decision-grade (only against a declared verification contract), checks passed, review required, or advisory only. Every report lists the applicable checks that did not run.
|
|
12
|
+
|
|
13
|
+
Everything runs locally and offline. No model API key is needed.
|
|
14
|
+
|
|
15
|
+
**Status:** experimental (v0.10.0). See [Evaluation status](#evaluation-status) for what has and has not been measured.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Quick start
|
|
20
|
+
|
|
21
|
+
Route a task with the published CLI (Node.js 20+):
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx terraproof route "Reproject a GeoTIFF to EPSG:3857 and build a COG with GDAL"
|
|
25
|
+
npx terraproof route "Download Sentinel-2 from a STAC catalog, compute NDVI, and map the change with MapLibre" --format json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Then check the data the work produced with the Python package (Python 3.10+). Since 0.8.0 it installs from PyPI with `pip`:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install "terraproof[mcp]"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Until then, install it from a clone:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
git clone https://github.com/esmailhussien/terraproof.git
|
|
38
|
+
cd terraproof
|
|
39
|
+
python -m venv .venv
|
|
40
|
+
.venv/bin/python -m pip install -e ".[mcp]" # Windows: .venv\Scripts\python -m pip install -e ".[mcp]"
|
|
41
|
+
|
|
42
|
+
python -m terraproof check ndvi.tif --expect index --format md
|
|
43
|
+
python -m terraproof check outputs/clip.gpkg --compare-to data/parcels.gpkg --format md --lang ar --out report_ar.md
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The exit code is the grade: `0` decision-grade or checks passed, `2` review required, `3` advisory only, `1` usage error. Without a contract, a clean run is **checks passed**, not decision-grade: read the report's coverage section for what was not checked.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Python checks
|
|
51
|
+
|
|
52
|
+
`python -m terraproof` reads local vector, raster and STAC Item files and makes no network calls.
|
|
53
|
+
|
|
54
|
+
| Command | What it does |
|
|
55
|
+
|---|---|
|
|
56
|
+
| `inspect PATH` | Profile one dataset: CRS and units, schema or bands, dtype, nodata, extent, counts. |
|
|
57
|
+
| `check PATHS` | Run the applicable checks and write a JSON or Markdown evidence report (English or Arabic). |
|
|
58
|
+
| `preflight PATHS --plan plan.json` | Check a declared processing plan against the real inputs before running it. |
|
|
59
|
+
| `manifest write` / `manifest verify` | Record and verify a deterministic run manifest (inputs, outputs, parameters). |
|
|
60
|
+
| `route "TASK" [--data PATH]` | Retrieve the skill sections worth reading, using the task text and inspected datasets. |
|
|
61
|
+
|
|
62
|
+
Checks cover CRS and units, geometry validity and GeoJSON winding, record counts, raster nodata and valid support, vertical units, resampling, grid alignment and COG layout, reflectance and index ranges, scale/offset applied once, cloud masking, temporal scope, SAR domain, area-adjusted accuracy, and STAC provenance. A check that does not apply is left out; one that applies but cannot run is reported as `not-run`.
|
|
63
|
+
|
|
64
|
+
| Grade | Arabic label | Meaning |
|
|
65
|
+
|---|---|---|
|
|
66
|
+
| Decision-grade | جاهز للقرار | A declared verification contract was fully verified, and every check that ran passed. |
|
|
67
|
+
| Checks passed | الفحوصات نجحت (التغطية غير مُقيَّمة) | Every check that ran passed, but no contract was declared, so coverage was not assessed. The report lists applicable checks that did not run and what enables them. |
|
|
68
|
+
| Review required | يحتاج مراجعة | At least one check warned; none failed or could not run. |
|
|
69
|
+
| Advisory only | استرشادي فقط | At least one check failed or could not run, or no check ran. |
|
|
70
|
+
|
|
71
|
+
The grade describes the data path and the checks that ran. It is not a certification of survey, engineering, legal, or safety fitness.
|
|
72
|
+
|
|
73
|
+
For explicit task requirements, add `--contract contract.json` (MCP: `contract`).
|
|
74
|
+
The contract's outcome becomes the report's grade: it is decision-grade only when every
|
|
75
|
+
required check on every required output ran and passed with its declared sources and
|
|
76
|
+
parameters, and any other failure or warning still counts. `propose --profile NAME`
|
|
77
|
+
(MCP: `propose_contract`) drafts such a contract, filling bindings only from explicit
|
|
78
|
+
file or STAC metadata and listing what you still need to declare. See
|
|
79
|
+
[verification contracts, diagnostics and unsigned evidence bundles](docs/VERIFICATION_CONTRACTS.md).
|
|
80
|
+
|
|
81
|
+
### Verify a spectral index against its source bands
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
python -m terraproof check outputs/ndvi.tif --index-formula ndvi --nir inputs/nir.tif --red inputs/red.tif
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
This opt-in check compares every output cell with `(NIR-red)/(NIR+red)`, using each
|
|
88
|
+
raster's own scale/offset metadata. Supply single-band rasters on the same grid;
|
|
89
|
+
source-band roles and calibration must be declared correctly. Missing source data
|
|
90
|
+
and a zero denominator cannot become valid output values. Extra output masking
|
|
91
|
+
warns because its QA policy is not verified here. Source files are included in the
|
|
92
|
+
evidence report and must be covered when a provenance manifest is supplied.
|
|
93
|
+
See [the full contract and limits](docs/INDEX_FORMULA.md).
|
|
94
|
+
|
|
95
|
+
The same check covers NBR, dNBR (pre minus post), McFeeters NDWI, MNDWI, Gao's NDMI, SAVI
|
|
96
|
+
and EVI. Name each source band by its role; a multi-band source also needs its band number:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
python -m terraproof check outputs/evi.tif --index-formula evi --band blue=inputs/bands.tif --band-number blue=1 \
|
|
100
|
+
--band red=inputs/bands.tif --band-number red=2 --band nir=inputs/bands.tif --band-number nir=3
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Verify a composite, an accumulation or a trend against its input stack
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
python -m terraproof check outputs/storm_total.tif --stack-reduction weighted-sum \
|
|
107
|
+
--stack inputs/rate1.tif --stack-weight 1 --stack inputs/rate2.tif --stack-weight 4.5
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
`--stack-reduction` is `median`, `count`, `weighted-sum` (for example rate x hours),
|
|
111
|
+
`mean-power-db` (dB averaged in linear power) or `ols-slope` (against `--stack-weight`
|
|
112
|
+
times, with `--stack-min-count`). Every output cell is compared with that reduction of the
|
|
113
|
+
ordered layers; a cell without enough valid inputs must be nodata. The check does not
|
|
114
|
+
verify how the input layers were made, so pair it with the calibration and QA checks.
|
|
115
|
+
|
|
116
|
+
### Verify slope and lossless raster delivery
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
python -m terraproof check outputs/result.tif --dem inputs/elevation.tif --slope-method central-difference
|
|
120
|
+
python -m terraproof check outputs/delivery.tif --compare-to inputs/analysis.tif --raster-identity
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The explicit slope method checks all required values, flat cells, stencil masks
|
|
124
|
+
and nodata edges. Raster identity checks every band's valid samples, complete
|
|
125
|
+
validity masks and grid/band metadata against the declared source. Full COG
|
|
126
|
+
conformance remains separate from this data comparison and the existing layout
|
|
127
|
+
screen. See [supported contracts and limits](docs/RASTER_CONTRACTS.md).
|
|
128
|
+
For final calibration/QA audits, `--processing-full-scan` checks every corresponding
|
|
129
|
+
band and pixel in bounded windows; see [scope, examples and measured controls](docs/PROCESSING_FULL_SCAN.md).
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Use it from your agent
|
|
135
|
+
|
|
136
|
+
### MCP server
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
python -m terraproof.mcp # stdio server; needs the `mcp` extra
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
It is read-only and offline, with seven tools: `preflight`, `inspect_dataset`, `run_checks`, `propose_contract`, `list_skills`, `load_section`, and `find_guidance`. CLI and MCP return the same reports.
|
|
143
|
+
|
|
144
|
+
### Install into a project
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
python -m terraproof.install --agent claude --task "NDVI change for 2020-2024" --target DIR --with-mcp
|
|
148
|
+
python -m terraproof.install --agent cursor --skills gdal,crs-and-units --target DIR --dry-run
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
| `--agent` | Skills are written to | MCP config (`--with-mcp`) |
|
|
152
|
+
|---|---|---|
|
|
153
|
+
| `antigravity` | `.agents/skills/<skill>/` and `AGENTS.md` | `.agents/mcp_config.json` |
|
|
154
|
+
| `claude` | `.claude/skills/<skill>/` | `.mcp.json` |
|
|
155
|
+
| `codex` | `.agents/skills/<skill>/` and `AGENTS.md` | `.codex/config.toml` |
|
|
156
|
+
| `cursor` | `.cursor/rules/terraproof-<skill>.mdc` | `.cursor/mcp.json` |
|
|
157
|
+
| `gemini` | `GEMINI.md` | `.gemini/settings.json` |
|
|
158
|
+
| `copilot` | `.github/instructions/terraproof-<skill>.instructions.md` | `.vscode/mcp.json` |
|
|
159
|
+
| `opencode` | `AGENTS.md` | `opencode.json` |
|
|
160
|
+
|
|
161
|
+
The installer only writes inside `--target`, merges existing configs, and is idempotent. Some hosts need you to approve or trust the project before its MCP server connects (Claude Code shows it as "Pending approval"; Codex and Gemini load project config only in trusted folders). Writing the files does not prove the agent loaded or followed them.
|
|
162
|
+
|
|
163
|
+
### Route and export with the Node CLI
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
npx terraproof route "Design a PostGIS schema for GPS tracks" --collection gis --dry-run
|
|
167
|
+
npx terraproof bundle "TASK" --out context.md # one reviewable context file
|
|
168
|
+
npx terraproof apply "TASK" --target ./demo/.agents/skills --dry-run # export skill folders
|
|
169
|
+
npx terraproof validate
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
`apply` and `bundle --out` overwrite files without asking, so start in a disposable folder. Routing is deterministic keyword and section scoring, not semantic understanding; review the selection before you use it. Details: [`router/README.md`](router/README.md) and [`routing/ROUTER_DESIGN.md`](routing/ROUTER_DESIGN.md).
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Skills
|
|
177
|
+
|
|
178
|
+
| Area | Skills |
|
|
179
|
+
|---|---|
|
|
180
|
+
| Process | `brainstorming`, `writing-plans`, `systematic-debugging`, `verification` |
|
|
181
|
+
| Mapping and GIS | `gdal`, `crs-and-units`, `raster-processing`, `vector-quality`, `geopandas`, `design-postgis-tables`, `geoparquet-validation`, `geospatial-frontend`, `networkx` |
|
|
182
|
+
| Remote sensing | `satellite-preprocessing`, `spectral-indices`, `sar-basics`, `time-series-and-change`, `accuracy-assessment`, `geomaster`, `geozarr` |
|
|
183
|
+
| Data access | `geospatial-data-discovery`, `stac-and-cloud-access` |
|
|
184
|
+
| Analysis and figures | `statistical-analysis`, `scientific-visualization` |
|
|
185
|
+
|
|
186
|
+
Skills are **unmeasured**: no study has separated their effect from the MCP checks, and in the Phase 5 Claude Code runs no skill file was read. Their content is frozen during Phase 6 (factual fixes only, no new skills) until the skills decision in the [Phase 6 plan](docs/plans/Terraproof_Phase6_PLAN.md).
|
|
187
|
+
|
|
188
|
+
Each skill lives in `skills/<name>/` with a `SKILL.md`, references, and a `skill.json` routing manifest. Preset collections (`gis`, `remote-sensing`, `data-analysis`, `production`) are in [`routing/collections.json`](routing/collections.json).
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Evaluation status
|
|
193
|
+
|
|
194
|
+
- **Checks:** 33 executable eval tasks with independent oracles pass with 0 false passes. The benchmark runs from a clone; the Python package does not include it. Of 50 seeded wrong outputs, production checks reject 25; the other 25 are caught only by the independent oracle (declared blind spots). Passing the benchmark does not mean the production checks catch every wrong output. See [`evals/README.md`](evals/README.md).
|
|
195
|
+
- **Routing:** an independent, frozen 160-item set (v5) passed once in both languages: English recall 0.97 with 3.75 wrong picks per 100, Arabic recall 0.96 with 2.5. Earlier independent sets (v3, v4) failed and stay on record. The v5 set was written by an AI agent, not reviewed by an expert.
|
|
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
|
+
- **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
|
+
- **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 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
|
+
---
|
|
202
|
+
|
|
203
|
+
## Repository
|
|
204
|
+
|
|
205
|
+
| Path | Contents |
|
|
206
|
+
|---|---|
|
|
207
|
+
| `skills/` | The 24 skills |
|
|
208
|
+
| `routing/` | Generated skill registry, check catalog, rules, and collections |
|
|
209
|
+
| `router/` | TypeScript router and CLI (the npm package) |
|
|
210
|
+
| `src/terraproof/` | Python package: inspectors, checks, reports, router, MCP server, installers, evals |
|
|
211
|
+
| `evals/` | Eval task specs and routing sets |
|
|
212
|
+
| `tests/` | Router, Python, package, and release-validation tests |
|
|
213
|
+
| `instructions/` | Universal engineering rules shipped with the skills |
|
|
214
|
+
| `docs/` | [Release checklist](docs/RELEASE_CHECKLIST.md) and [design plans](docs/plans/) |
|
|
215
|
+
| `sources/`, `third_party/` | Upstream attribution and licenses |
|
|
216
|
+
|
|
217
|
+
To contribute, see [`CONTRIBUTING.md`](CONTRIBUTING.md). Changes are listed in [`CHANGELOG.md`](CHANGELOG.md).
|
|
218
|
+
|
|
219
|
+
## License
|
|
220
|
+
|
|
221
|
+
[MIT](LICENSE). Vendored and adapted components keep their upstream licenses (MIT, Apache-2.0, 3-clause BSD), documented in `third_party/` and [`sources/SOURCES.md`](sources/SOURCES.md).
|
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "terraproof",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "evidence-graded skills, tools, and checks for mapping and remote-sensing AI agents. By Geova.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/router/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./dist/router/index.js",
|
|
9
|
-
"./router": "./dist/router/index.js",
|
|
10
|
-
"./routing": "./routing/registry.json"
|
|
11
|
-
},
|
|
12
|
-
"bin": {
|
|
13
|
-
"terraproof": "bin/terraproof.js"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "tsc -p tsconfig.build.json",
|
|
17
|
-
"prepack": "npm run build",
|
|
18
|
-
"route": "node router/index.ts route",
|
|
19
|
-
"validate": "node router/index.ts validate",
|
|
20
|
-
"registry:build": "node router/build-registry.ts",
|
|
21
|
-
"registry:check": "node router/build-registry.ts --check",
|
|
22
|
-
"test:router": "node tests/router/run.ts",
|
|
23
|
-
"test:validate": "python tests/validate_repo.py",
|
|
24
|
-
"test:package": "node tests/package/smoke.mjs",
|
|
25
|
-
"test": "node tests/router/run.ts",
|
|
26
|
-
"typecheck": "tsc --noEmit"
|
|
27
|
-
},
|
|
28
|
-
"repository": {
|
|
29
|
-
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/esmailhussien/terraproof.git"
|
|
31
|
-
},
|
|
32
|
-
"homepage": "https://github.com/esmailhussien/terraproof#readme",
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/esmailhussien/terraproof/issues"
|
|
35
|
-
},
|
|
36
|
-
"engines": {
|
|
37
|
-
"node": ">=20"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"bin",
|
|
41
|
-
"dist",
|
|
42
|
-
"routing",
|
|
43
|
-
"skills",
|
|
44
|
-
"instructions",
|
|
45
|
-
"third_party",
|
|
46
|
-
"sources",
|
|
47
|
-
"README.md",
|
|
48
|
-
"LICENSE"
|
|
49
|
-
],
|
|
50
|
-
"keywords": [
|
|
51
|
-
"ai",
|
|
52
|
-
"agent",
|
|
53
|
-
"skills",
|
|
54
|
-
"router",
|
|
55
|
-
"geospatial",
|
|
56
|
-
"gis",
|
|
57
|
-
"remote-sensing",
|
|
58
|
-
"earth-observation",
|
|
59
|
-
"mapping"
|
|
60
|
-
],
|
|
61
|
-
"author": "Terraproof Contributors",
|
|
62
|
-
"license": "MIT",
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"typescript": "^5.7.0",
|
|
65
|
-
"@types/node": "^22.0.0"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "terraproof",
|
|
3
|
+
"version": "0.10.0",
|
|
4
|
+
"description": "evidence-graded skills, tools, and checks for mapping and remote-sensing AI agents. By Geova.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/router/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./dist/router/index.js",
|
|
9
|
+
"./router": "./dist/router/index.js",
|
|
10
|
+
"./routing": "./routing/registry.json"
|
|
11
|
+
},
|
|
12
|
+
"bin": {
|
|
13
|
+
"terraproof": "bin/terraproof.js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc -p tsconfig.build.json",
|
|
17
|
+
"prepack": "npm run build",
|
|
18
|
+
"route": "node router/index.ts route",
|
|
19
|
+
"validate": "node router/index.ts validate",
|
|
20
|
+
"registry:build": "node router/build-registry.ts",
|
|
21
|
+
"registry:check": "node router/build-registry.ts --check",
|
|
22
|
+
"test:router": "node tests/router/run.ts",
|
|
23
|
+
"test:validate": "python tests/validate_repo.py",
|
|
24
|
+
"test:package": "node tests/package/smoke.mjs",
|
|
25
|
+
"test": "node tests/router/run.ts",
|
|
26
|
+
"typecheck": "tsc --noEmit"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/esmailhussien/terraproof.git"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/esmailhussien/terraproof#readme",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/esmailhussien/terraproof/issues"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=20"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"bin",
|
|
41
|
+
"dist",
|
|
42
|
+
"routing",
|
|
43
|
+
"skills",
|
|
44
|
+
"instructions",
|
|
45
|
+
"third_party",
|
|
46
|
+
"sources",
|
|
47
|
+
"README.md",
|
|
48
|
+
"LICENSE"
|
|
49
|
+
],
|
|
50
|
+
"keywords": [
|
|
51
|
+
"ai",
|
|
52
|
+
"agent",
|
|
53
|
+
"skills",
|
|
54
|
+
"router",
|
|
55
|
+
"geospatial",
|
|
56
|
+
"gis",
|
|
57
|
+
"remote-sensing",
|
|
58
|
+
"earth-observation",
|
|
59
|
+
"mapping"
|
|
60
|
+
],
|
|
61
|
+
"author": "Terraproof Contributors",
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"typescript": "^5.7.0",
|
|
65
|
+
"@types/node": "^22.0.0"
|
|
66
|
+
}
|
|
67
|
+
}
|