You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
recall_policy.py builds LOSSLESS_RECALL_POLICY_PROMPT, injected into the context every turn, which instructs the model to call lcm_expand_query. That tool was deferred (ADR-012) and is not registered in tools/__init__.py's TOOL_SCHEMAS. describe.py / grep.py schema prose may also reference it. The model is told every turn to use a tool it cannot see.
Fix
Remove or conditionally-gate every lcm_expand_query reference in model-facing prose so v0.1.1 never advertises an unregistered tool. ADR-016's "byte-verbatim prose" rule yields here to "don't reference unregistered tools" — add an # ADR-012 provenance comment at each edit site. Add a test asserting every tool named in the recall-policy prose is in TOOL_SCHEMAS.
Severity: P1 · Confidence: 95% · Found by: hermes-lcm architecture review (slice S6).
The bug
recall_policy.pybuildsLOSSLESS_RECALL_POLICY_PROMPT, injected into the context every turn, which instructs the model to calllcm_expand_query. That tool was deferred (ADR-012) and is not registered intools/__init__.py'sTOOL_SCHEMAS.describe.py/grep.pyschema prose may also reference it. The model is told every turn to use a tool it cannot see.Fix
Remove or conditionally-gate every
lcm_expand_queryreference in model-facing prose so v0.1.1 never advertises an unregistered tool. ADR-016's "byte-verbatim prose" rule yields here to "don't reference unregistered tools" — add an# ADR-012provenance comment at each edit site. Add a test asserting every tool named in the recall-policy prose is inTOOL_SCHEMAS.Target: v0.1.1 patch