@miller-tech/uap 2.39.0 → 2.39.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.
- package/package.json +1 -1
- package/src/policies/enforcers/__pycache__/_common.cpython-311.pyc +0 -0
- package/src/policies/enforcers/__pycache__/expert_review_required.cpython-311.pyc +0 -0
- package/src/policies/enforcers/__pycache__/quality_metrics_gate.cpython-311.pyc +0 -0
- package/templates/hooks/__pycache__/deliver_autoroute.cpython-311.pyc +0 -0
- package/tools/agents/scripts/__pycache__/toolcall_path_normalizer.cpython-311.pyc +0 -0
- package/tools/agents/scripts/anthropic_proxy.py +16 -4
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1621,11 +1621,23 @@ PROXY_EMPTY_TOOL_LOOP_BREAK = int(
|
|
|
1621
1621
|
# ever-growing transcript (observed: ctx 936%, model emits tool_calls 18/min
|
|
1622
1622
|
# despite tool_choice=auto). After this many consecutive turns at/above the
|
|
1623
1623
|
# ratio, strip tools entirely so the only possible response is a terminal text
|
|
1624
|
-
# summary (end_turn), which ends the client's agentic loop.
|
|
1625
|
-
#
|
|
1626
|
-
#
|
|
1624
|
+
# summary (end_turn), which ends the client's agentic loop.
|
|
1625
|
+
#
|
|
1626
|
+
# Ratio sits above the merely-full band but inside the runaway band. A
|
|
1627
|
+
# merely-full session tops out near 100-141%: a client that honestly believes
|
|
1628
|
+
# a ~200k window (PROXY_CLIENT_ASSUMED_WINDOW) and compacts at 92.5% sends at
|
|
1629
|
+
# most ~185k against a 131,072 rail. A window-blind runaway plateaus wherever
|
|
1630
|
+
# its own belief caps it, and that plateau can sit far below 300%: live
|
|
1631
|
+
# 2026-11-06 (droid + flash-next, cognition-engine), a client with no
|
|
1632
|
+
# maxContextLimit (assumed 250k) ramped 132% -> 198% in 4 minutes and then sat
|
|
1633
|
+
# at 190-198% for 4+ HOURS — every turn CRITICAL-PRUNEd blind to ~6 messages
|
|
1634
|
+
# (~24-40k actually sent upstream), findings evaporating, the model re-reading
|
|
1635
|
+
# the same files — because the 3.0 gate was written for 936% runaways and this
|
|
1636
|
+
# one never crossed 200%. 1.6 clears the merely-full band (141% plus one
|
|
1637
|
+
# ~19k-token turn of headroom) while ending that class of treadmill within
|
|
1638
|
+
# STREAK turns. 0 disables.
|
|
1627
1639
|
PROXY_RAW_CTX_FINALIZE_RATIO = float(
|
|
1628
|
-
os.environ.get("PROXY_RAW_CTX_FINALIZE_RATIO", "
|
|
1640
|
+
os.environ.get("PROXY_RAW_CTX_FINALIZE_RATIO", "1.6")
|
|
1629
1641
|
)
|
|
1630
1642
|
PROXY_RAW_CTX_FINALIZE_STREAK = int(
|
|
1631
1643
|
os.environ.get("PROXY_RAW_CTX_FINALIZE_STREAK", "2")
|