terraproof 0.6.0 → 0.7.1

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.
@@ -1,34 +1,34 @@
1
- # Upstream Attribution
2
-
3
- This skill is derived from the `geomaster` skill in `K-Dense-AI/scientific-agent-skills`.
4
-
5
- - **Upstream repository:** https://github.com/K-Dense-AI/scientific-agent-skills
6
- - **Upstream path:** `skills/geomaster/`
7
- - **License:** MIT (see [third_party/kdense-scientific-agent-skills/LICENSE](../../third_party/kdense-scientific-agent-skills/LICENSE))
8
- - **Imported commit:** `390f5146bf3c1877cf15636a3dd7b775e4f0f185`
9
- - **Import date:** 2026-08-25
10
- - **Local path:** `skills/geomaster/`
11
-
12
- ## Imported Files
13
-
14
- - `SKILL.md`
15
-
16
- ## Local modifications
17
-
18
- Initial import:
19
- - Local behavioral modifications: none (faithful vendoring, byte-for-byte identical to upstream).
20
-
21
- 2026-10-24, terrain slope correctness fix (Terraproof):
22
- - `SKILL.md`, section "Terrain Analysis": `terrain_metrics()` is rewritten. The upstream version called
23
- `np.gradient(dem)` with no spacing, so it assumed 1-unit square pixels and equal vertical and horizontal
24
- units, and its hillshade swapped the sine and cosine of the slope. The local version uses the signed pixel
25
- size from the transform, converts the band's vertical unit to metres (or a given `z_factor`), refuses
26
- geographic, non-metre, rotated or sheared grids, masks nodata as NaN, leaves flat cells without aspect, and
27
- uses the standard hillshade formula. A short checklist follows the code.
28
- - `references/code-examples.md`, example 68: the same `np.gradient(dem)` example is replaced by a pointer to
29
- `terrain_metrics()` and the reason.
30
- - Found by an independent review (Codex, 2026-10-24) while authoring the `terrain-slope-map` eval task.
31
- Covered by `tests/python/test_skill_snippets.py`, which runs the snippet on synthetic DEMs.
32
- - All other content is unchanged from upstream.
33
-
34
- Any future modifications must be documented here.
1
+ # Upstream Attribution
2
+
3
+ This skill is derived from the `geomaster` skill in `K-Dense-AI/scientific-agent-skills`.
4
+
5
+ - **Upstream repository:** https://github.com/K-Dense-AI/scientific-agent-skills
6
+ - **Upstream path:** `skills/geomaster/`
7
+ - **License:** MIT (see [third_party/kdense-scientific-agent-skills/LICENSE](../../third_party/kdense-scientific-agent-skills/LICENSE))
8
+ - **Imported commit:** `390f5146bf3c1877cf15636a3dd7b775e4f0f185`
9
+ - **Import date:** 2026-08-25
10
+ - **Local path:** `skills/geomaster/`
11
+
12
+ ## Imported Files
13
+
14
+ - `SKILL.md`
15
+
16
+ ## Local modifications
17
+
18
+ Initial import:
19
+ - Local behavioral modifications: none (faithful vendoring, byte-for-byte identical to upstream).
20
+
21
+ 2026-10-24, terrain slope correctness fix (Terraproof):
22
+ - `SKILL.md`, section "Terrain Analysis": `terrain_metrics()` is rewritten. The upstream version called
23
+ `np.gradient(dem)` with no spacing, so it assumed 1-unit square pixels and equal vertical and horizontal
24
+ units, and its hillshade swapped the sine and cosine of the slope. The local version uses the signed pixel
25
+ size from the transform, converts the band's vertical unit to metres (or a given `z_factor`), refuses
26
+ geographic, non-metre, rotated or sheared grids, masks nodata as NaN, leaves flat cells without aspect, and
27
+ uses the standard hillshade formula. A short checklist follows the code.
28
+ - `references/code-examples.md`, example 68: the same `np.gradient(dem)` example is replaced by a pointer to
29
+ `terrain_metrics()` and the reason.
30
+ - Found by an independent review (Codex, 2026-10-24) while authoring the `terrain-slope-map` eval task.
31
+ Covered by `tests/python/test_skill_snippets.py`, which runs the snippet on synthetic DEMs.
32
+ - All other content is unchanged from upstream.
33
+
34
+ Any future modifications must be documented here.