fix(tools): bound untrusted display text at output boundaries

This commit is contained in:
Said committed 2026-10-20 01:21:04 +01:00
1 parent de2138e84c
commit 586ed4f8ea
9 files changed
+106 -17

No files matched your search

+7
View File
@@ -1,5 +1,12 @@
# God's Eye View Current State
External ALPR tags, surveillance-tool display fields, voice context text and
compact analyst strings collapse controls and whitespace before a final
180-character cap (scene labels retain their 120-character cap). Empty ALPR
values remain null and Unicode text is preserved without splitting a surrogate
pair. These fields remain untrusted source data in structured tool output; text
normalization does not establish trust or eliminate prompt injection.
Shared distance checks use `src/geoDistance.js` with `{ lat, lon }` points and
the IUGG mean spherical Earth radius, 6371.0088 km. `greatCircleKm` is
canonical; `greatCircleMeters` is its exact metre conversion. Missing,