terraproof 0.7.0 → 0.7.2
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 +165 -165
- package/package.json +67 -67
package/README.md
CHANGED
|
@@ -1,165 +1,165 @@
|
|
|
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.7.
|
|
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+, from a clone):
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
git clone https://github.com/esmailhussien/terraproof.git
|
|
32
|
-
cd terraproof
|
|
33
|
-
python -m venv .venv
|
|
34
|
-
.venv/bin/python -m pip install -e ".[mcp]" # Windows: .venv\Scripts\python -m pip install -e ".[mcp]"
|
|
35
|
-
|
|
36
|
-
python -m terraproof check ndvi.tif --expect index --format md
|
|
37
|
-
python -m terraproof check outputs/clip.gpkg --compare-to data/parcels.gpkg --format md --lang ar --out report_ar.md
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
The exit code is the grade: `0` decision-grade, `2` review required, `3` advisory only, `1` usage error.
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Python checks
|
|
45
|
-
|
|
46
|
-
`python -m terraproof` reads local vector, raster and STAC Item files and makes no network calls.
|
|
47
|
-
|
|
48
|
-
| Command | What it does |
|
|
49
|
-
|---|---|
|
|
50
|
-
| `inspect PATH` | Profile one dataset: CRS and units, schema or bands, dtype, nodata, extent, counts. |
|
|
51
|
-
| `check PATHS` | Run the applicable checks and write a JSON or Markdown evidence report (English or Arabic). |
|
|
52
|
-
| `preflight PATHS --plan plan.json` | Check a declared processing plan against the real inputs before running it. |
|
|
53
|
-
| `manifest write` / `manifest verify` | Record and verify a deterministic run manifest (inputs, outputs, parameters). |
|
|
54
|
-
| `route "TASK" [--data PATH]` | Retrieve the skill sections worth reading, using the task text and inspected datasets. |
|
|
55
|
-
|
|
56
|
-
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`.
|
|
57
|
-
|
|
58
|
-
| Grade | Arabic label | Meaning |
|
|
59
|
-
|---|---|---|
|
|
60
|
-
| Decision-grade | جاهز للقرار | Every check that ran passed. |
|
|
61
|
-
| Review required | يحتاج مراجعة | At least one check warned; none failed or could not run. |
|
|
62
|
-
| Advisory only | استرشادي فقط | At least one check failed or could not run, or no check ran. |
|
|
63
|
-
|
|
64
|
-
The grade describes the data path and the checks that ran. It is not a certification of survey, engineering, legal, or safety fitness.
|
|
65
|
-
|
|
66
|
-
### Verify NDVI against its source bands
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
python -m terraproof check outputs/ndvi.tif --index-formula ndvi --nir inputs/nir.tif --red inputs/red.tif
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
This opt-in check compares every output cell with `(NIR-red)/(NIR+red)`, using each
|
|
73
|
-
raster's own scale/offset metadata. Supply single-band rasters on the same grid;
|
|
74
|
-
source-band roles and calibration must be declared correctly. Missing source data
|
|
75
|
-
and a zero denominator cannot become valid output values. Extra output masking
|
|
76
|
-
warns because its QA policy is not verified here. Source files are included in the
|
|
77
|
-
evidence report and must be covered when a provenance manifest is supplied.
|
|
78
|
-
See [the full contract and limits](docs/INDEX_FORMULA.md).
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## Use it from your agent
|
|
83
|
-
|
|
84
|
-
### MCP server
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
python -m terraproof.mcp # stdio server; needs the `mcp` extra
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
It is read-only and offline, with six tools: `preflight`, `inspect_dataset`, `run_checks`, `list_skills`, `load_section`, and `find_guidance`. CLI and MCP return the same reports.
|
|
91
|
-
|
|
92
|
-
### Install into a project
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
python -m terraproof.install --agent claude --task "NDVI change for 2020-2024" --target DIR --with-mcp
|
|
96
|
-
python -m terraproof.install --agent cursor --skills gdal,crs-and-units --target DIR --dry-run
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
| `--agent` | Skills are written to | MCP config (`--with-mcp`) |
|
|
100
|
-
|---|---|---|
|
|
101
|
-
| `claude` | `.claude/skills/<skill>/` | `.mcp.json` |
|
|
102
|
-
| `codex` | `.agents/skills/<skill>/` and `AGENTS.md` | `.codex/config.toml` |
|
|
103
|
-
| `cursor` | `.cursor/rules/terraproof-<skill>.mdc` | `.cursor/mcp.json` |
|
|
104
|
-
| `gemini` | `GEMINI.md` | `.gemini/settings.json` |
|
|
105
|
-
| `copilot` | `.github/instructions/terraproof-<skill>.instructions.md` | `.vscode/mcp.json` |
|
|
106
|
-
| `opencode` | `AGENTS.md` | `opencode.json` |
|
|
107
|
-
|
|
108
|
-
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.
|
|
109
|
-
|
|
110
|
-
### Route and export with the Node CLI
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
npx terraproof route "Design a PostGIS schema for GPS tracks" --collection gis --dry-run
|
|
114
|
-
npx terraproof bundle "TASK" --out context.md # one reviewable context file
|
|
115
|
-
npx terraproof apply "TASK" --target ./demo/.agents/skills --dry-run # export skill folders
|
|
116
|
-
npx terraproof validate
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
`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).
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
## Skills
|
|
124
|
-
|
|
125
|
-
| Area | Skills |
|
|
126
|
-
|---|---|
|
|
127
|
-
| Process | `brainstorming`, `writing-plans`, `systematic-debugging`, `verification` |
|
|
128
|
-
| Mapping and GIS | `gdal`, `crs-and-units`, `raster-processing`, `vector-quality`, `geopandas`, `design-postgis-tables`, `geoparquet-validation`, `geospatial-frontend`, `networkx` |
|
|
129
|
-
| Remote sensing | `satellite-preprocessing`, `spectral-indices`, `sar-basics`, `time-series-and-change`, `accuracy-assessment`, `geomaster`, `geozarr` |
|
|
130
|
-
| Data access | `geospatial-data-discovery`, `stac-and-cloud-access` |
|
|
131
|
-
| Analysis and figures | `statistical-analysis`, `scientific-visualization` |
|
|
132
|
-
|
|
133
|
-
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).
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## Evaluation status
|
|
138
|
-
|
|
139
|
-
- **Checks:** 33 executable eval tasks with independent oracles pass with 0 false passes. 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).
|
|
140
|
-
- **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.
|
|
141
|
-
- **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).
|
|
142
|
-
- **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.
|
|
143
|
-
- **Real hosts:** tool use through MCP has been verified with Codex and Claude Code. Cursor, Copilot and OpenCode are unit-tested against their documented layouts only.
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## Repository
|
|
148
|
-
|
|
149
|
-
| Path | Contents |
|
|
150
|
-
|---|---|
|
|
151
|
-
| `skills/` | The 24 skills |
|
|
152
|
-
| `routing/` | Generated skill registry, check catalog, rules, and collections |
|
|
153
|
-
| `router/` | TypeScript router and CLI (the npm package) |
|
|
154
|
-
| `src/terraproof/` | Python package: inspectors, checks, reports, router, MCP server, installers, evals |
|
|
155
|
-
| `evals/` | Eval task specs and routing sets |
|
|
156
|
-
| `tests/` | Router, Python, package, and release-validation tests |
|
|
157
|
-
| `instructions/` | Universal engineering rules shipped with the skills |
|
|
158
|
-
| `docs/` | [Release checklist](docs/RELEASE_CHECKLIST.md) and [design plans](docs/plans/) |
|
|
159
|
-
| `sources/`, `third_party/` | Upstream attribution and licenses |
|
|
160
|
-
|
|
161
|
-
To contribute, see [`CONTRIBUTING.md`](CONTRIBUTING.md). Changes are listed in [`CHANGELOG.md`](CHANGELOG.md).
|
|
162
|
-
|
|
163
|
-
## License
|
|
164
|
-
|
|
165
|
-
[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).
|
|
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.7.2). 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+, from a clone):
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
git clone https://github.com/esmailhussien/terraproof.git
|
|
32
|
+
cd terraproof
|
|
33
|
+
python -m venv .venv
|
|
34
|
+
.venv/bin/python -m pip install -e ".[mcp]" # Windows: .venv\Scripts\python -m pip install -e ".[mcp]"
|
|
35
|
+
|
|
36
|
+
python -m terraproof check ndvi.tif --expect index --format md
|
|
37
|
+
python -m terraproof check outputs/clip.gpkg --compare-to data/parcels.gpkg --format md --lang ar --out report_ar.md
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The exit code is the grade: `0` decision-grade, `2` review required, `3` advisory only, `1` usage error.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Python checks
|
|
45
|
+
|
|
46
|
+
`python -m terraproof` reads local vector, raster and STAC Item files and makes no network calls.
|
|
47
|
+
|
|
48
|
+
| Command | What it does |
|
|
49
|
+
|---|---|
|
|
50
|
+
| `inspect PATH` | Profile one dataset: CRS and units, schema or bands, dtype, nodata, extent, counts. |
|
|
51
|
+
| `check PATHS` | Run the applicable checks and write a JSON or Markdown evidence report (English or Arabic). |
|
|
52
|
+
| `preflight PATHS --plan plan.json` | Check a declared processing plan against the real inputs before running it. |
|
|
53
|
+
| `manifest write` / `manifest verify` | Record and verify a deterministic run manifest (inputs, outputs, parameters). |
|
|
54
|
+
| `route "TASK" [--data PATH]` | Retrieve the skill sections worth reading, using the task text and inspected datasets. |
|
|
55
|
+
|
|
56
|
+
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`.
|
|
57
|
+
|
|
58
|
+
| Grade | Arabic label | Meaning |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| Decision-grade | جاهز للقرار | Every check that ran passed. |
|
|
61
|
+
| Review required | يحتاج مراجعة | At least one check warned; none failed or could not run. |
|
|
62
|
+
| Advisory only | استرشادي فقط | At least one check failed or could not run, or no check ran. |
|
|
63
|
+
|
|
64
|
+
The grade describes the data path and the checks that ran. It is not a certification of survey, engineering, legal, or safety fitness.
|
|
65
|
+
|
|
66
|
+
### Verify NDVI against its source bands
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
python -m terraproof check outputs/ndvi.tif --index-formula ndvi --nir inputs/nir.tif --red inputs/red.tif
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
This opt-in check compares every output cell with `(NIR-red)/(NIR+red)`, using each
|
|
73
|
+
raster's own scale/offset metadata. Supply single-band rasters on the same grid;
|
|
74
|
+
source-band roles and calibration must be declared correctly. Missing source data
|
|
75
|
+
and a zero denominator cannot become valid output values. Extra output masking
|
|
76
|
+
warns because its QA policy is not verified here. Source files are included in the
|
|
77
|
+
evidence report and must be covered when a provenance manifest is supplied.
|
|
78
|
+
See [the full contract and limits](docs/INDEX_FORMULA.md).
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Use it from your agent
|
|
83
|
+
|
|
84
|
+
### MCP server
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
python -m terraproof.mcp # stdio server; needs the `mcp` extra
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
It is read-only and offline, with six tools: `preflight`, `inspect_dataset`, `run_checks`, `list_skills`, `load_section`, and `find_guidance`. CLI and MCP return the same reports.
|
|
91
|
+
|
|
92
|
+
### Install into a project
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
python -m terraproof.install --agent claude --task "NDVI change for 2020-2024" --target DIR --with-mcp
|
|
96
|
+
python -m terraproof.install --agent cursor --skills gdal,crs-and-units --target DIR --dry-run
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
| `--agent` | Skills are written to | MCP config (`--with-mcp`) |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| `claude` | `.claude/skills/<skill>/` | `.mcp.json` |
|
|
102
|
+
| `codex` | `.agents/skills/<skill>/` and `AGENTS.md` | `.codex/config.toml` |
|
|
103
|
+
| `cursor` | `.cursor/rules/terraproof-<skill>.mdc` | `.cursor/mcp.json` |
|
|
104
|
+
| `gemini` | `GEMINI.md` | `.gemini/settings.json` |
|
|
105
|
+
| `copilot` | `.github/instructions/terraproof-<skill>.instructions.md` | `.vscode/mcp.json` |
|
|
106
|
+
| `opencode` | `AGENTS.md` | `opencode.json` |
|
|
107
|
+
|
|
108
|
+
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.
|
|
109
|
+
|
|
110
|
+
### Route and export with the Node CLI
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
npx terraproof route "Design a PostGIS schema for GPS tracks" --collection gis --dry-run
|
|
114
|
+
npx terraproof bundle "TASK" --out context.md # one reviewable context file
|
|
115
|
+
npx terraproof apply "TASK" --target ./demo/.agents/skills --dry-run # export skill folders
|
|
116
|
+
npx terraproof validate
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
`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).
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Skills
|
|
124
|
+
|
|
125
|
+
| Area | Skills |
|
|
126
|
+
|---|---|
|
|
127
|
+
| Process | `brainstorming`, `writing-plans`, `systematic-debugging`, `verification` |
|
|
128
|
+
| Mapping and GIS | `gdal`, `crs-and-units`, `raster-processing`, `vector-quality`, `geopandas`, `design-postgis-tables`, `geoparquet-validation`, `geospatial-frontend`, `networkx` |
|
|
129
|
+
| Remote sensing | `satellite-preprocessing`, `spectral-indices`, `sar-basics`, `time-series-and-change`, `accuracy-assessment`, `geomaster`, `geozarr` |
|
|
130
|
+
| Data access | `geospatial-data-discovery`, `stac-and-cloud-access` |
|
|
131
|
+
| Analysis and figures | `statistical-analysis`, `scientific-visualization` |
|
|
132
|
+
|
|
133
|
+
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).
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Evaluation status
|
|
138
|
+
|
|
139
|
+
- **Checks:** 33 executable eval tasks with independent oracles pass with 0 false passes. 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).
|
|
140
|
+
- **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.
|
|
141
|
+
- **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).
|
|
142
|
+
- **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.
|
|
143
|
+
- **Real hosts:** tool use through MCP has been verified with Codex and Claude Code. Cursor, Copilot and OpenCode are unit-tested against their documented layouts only.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Repository
|
|
148
|
+
|
|
149
|
+
| Path | Contents |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `skills/` | The 24 skills |
|
|
152
|
+
| `routing/` | Generated skill registry, check catalog, rules, and collections |
|
|
153
|
+
| `router/` | TypeScript router and CLI (the npm package) |
|
|
154
|
+
| `src/terraproof/` | Python package: inspectors, checks, reports, router, MCP server, installers, evals |
|
|
155
|
+
| `evals/` | Eval task specs and routing sets |
|
|
156
|
+
| `tests/` | Router, Python, package, and release-validation tests |
|
|
157
|
+
| `instructions/` | Universal engineering rules shipped with the skills |
|
|
158
|
+
| `docs/` | [Release checklist](docs/RELEASE_CHECKLIST.md) and [design plans](docs/plans/) |
|
|
159
|
+
| `sources/`, `third_party/` | Upstream attribution and licenses |
|
|
160
|
+
|
|
161
|
+
To contribute, see [`CONTRIBUTING.md`](CONTRIBUTING.md). Changes are listed in [`CHANGELOG.md`](CHANGELOG.md).
|
|
162
|
+
|
|
163
|
+
## License
|
|
164
|
+
|
|
165
|
+
[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.7.
|
|
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.7.2",
|
|
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
|
+
}
|