mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-14 16:20:03 +00:00
6b1dee576e
Patrol's verdict contract required the model to echo finding IDs like update-analysis-docker:<uuid>/<64-hex-digest> exactly. Smaller models (reported with Gemini 2.5 Flash-Lite) drop the key prefix or digest tail, every patrol_assess_finding call fails, and the whole run ends with 'Patrol finding assessment incomplete'. Resolve an ID that unambiguously identifies one active in-scope finding (case-insensitive, prefix, or separator-suffix match), record the canonical ID so the verdict accounting and duplicate guard still hold, and list the valid active IDs in the lookup error so the model can self-correct instead of guessing. Hallucinated or ambiguous IDs still fail closed. Refs support report from Johannes Strasser, 2026-07-20 Contract-Neutral: behavioral fix: tolerant patrol assessment ID resolution for weak models; fail-closed contract unchanged