fix(voice): keep draw=true in the AREAS rule

Tightening the AREAS rule dropped "to outline it (draw=true)", and on Gemini
"Outline the state of Texas" stopped passing draw: none of 5 runs set it, so
the model drew the state again with annotate_map. With the clause back all 4
runs called resolve_area with draw. The prompt is 55,263 characters with an
operator Overpass, ~240 under the 55,500 ceiling.
This commit is contained in:
Manjunath committed 2026-11-03 19:55:40 +05:30
1 parent 40d8839589
commit e4b435568f
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -345,8 +345,8 @@ test('deixis prompt lint: one short rule, and every sentinel it names exists in
// policy once (WHERE precedence, AREAS routing, AFTER TOOLS speech) brought
// it to 51,646. Voice geometry (resolve_area, find_imagery, osm_query and
// the analyst area scopes) raised the ceiling to 55,500; tightening the
// AREAS rule and the area tool descriptions left it at 55,233 with an
// operator Overpass, a deliberate ~270-character margin. A new tool or rule
// AREAS rule and the area tool descriptions left it at 55,263 with an
// operator Overpass, a deliberate ~240-character margin. A new tool or rule
// has to fit under this ceiling.
const size = instructions.length + JSON.stringify(GEV_REALTIME_TOOLS).length;
assert.ok(size <= 55_500, `prompt size ${size}`);