Repository navigation
Open
8 / 388 of 38 issues completedOpen
Umbrella: local-model harness — constrain, verify, route and measure so small models stay reliable#20842
8 / 388 of 38 issues completed
Copy link
Labels
agentsarea: agent-seamWave 3 · cluster H — Agent seam & tool governanceWave 3 · cluster H — Agent seam & tool governanceepicllmphase:M2.4Tasks and company workflowsTasks and company workflowspriority: highumbrellaEpic/umbrella tracking issue grouping member issuesEpic/umbrella tracking issue grouping member issues
Milestone
Description
Goal
Local (small) models fail in predictable ways: malformed tool calls, claiming "done" without doing the work, confident answers with no source, losing the thread on long tasks. The fix is the harness around the model, not training: constrain, verify, route and measure in code, so the agent stays reliable whichever model is loaded.
Audit (2026-11-05, main)
| Capability | State |
|---|---|
| Tool-argument validation, error fed back | present |
| Loop detection, step caps | present |
| Context budgeting, tool output by reference | present (token counts estimated) |
| Constrained tool-call decoding | gap |
| Per-step tool subsetting | gap |
| Check-based completion in chat | gap |
| Hard abstain on empty retrieval | gap |
| Planner/executor in the chat path | built, unwired |
| Best-of-N with a verifier | gap |
| Confidence/difficulty escalation | built, off / unwired |
| Live per-model eval | gap |
Children
Linked natively as sub-issues. The eval child comes first, so every other fix can be measured.
- eval: live_replay_candidate is not implemented, so no harness change can be measured per local model #20843 live per-model eval (first)
- feat(llm): chat tool calls are free text parsed by regex — decode them against the tool schema on providers that support it #20844 schema-constrained tool calls
- bug(chat): a turn is "done" when the model stops calling tools — SuccessCriteriaEvaluator checks run only in the DAG executor #20845 check-based completion in chat
- bug(agent-loop): AgentLoop, the planner and stall escalation are built but only tests construct them — two agent loops for one concept #20846 one agent loop: wire planner and stall escalation
- bug(chat): empty or below-threshold retrieval still yields a free answer — abstain is prompt text only and GroundedAgent is off the chat path #20847 hard abstain and grounding in chat
- bug(chat): repeated invalid tool calls only add a reminder — no abort or escalation, and schema-less tools skip validation #20848 abort/escalate on repeated invalid tool calls
- feat(chat): every turn exposes the full tool list — select a relevant subset per step #20849 per-step tool subsetting
- feat(llm): no best-of-N sampling with a verifier for steps that have a cheap check #20850 best-of-N with a verifier
- bug(llm): token budgets use chars/4 for every model — small local windows overflow or waste budget #20851 real token counts
- bug(chat): history older than two turns is dropped, not summarised — use the one summariser the compact hook and summarize endpoint share #20852 rolling history summary
- perf(llm): enable chat tiered routing + llm_type→model defaults after rag_benchmarks validation #10621 enable tiered routing
- fix(llm): context windows come from a static catalog with a 4096 fallback — no probe, no learning from the provider's own rejection #14029 probed context windows
- bug(llm): paid-provider escalation lost its only live caller when llm_multi_provider.py was removed — route_with_escalation is now dead code #18813 restore the escalation caller
- feat(observability): harness failures (invalid tool calls, loop aborts, forced answers) are not counted per model in production #20855 harness-failure telemetry per model
- feat(llm): no per-model profile — vision guessed from the name, tool/JSON/thinking support unrecorded, one global sampling setting #20856 one per-model profile (capabilities + sampling)
- bug(llm): local reasoning models' <think> blocks are not separated — they can reach the tool-call parser and the answer #20857 separate local reasoning output
- bug(rlm): self-reflection is pinned to DEFAULT_LLM_MODEL — a small model grades answers and its verdict reads as verification #20858 reflection not graded by a pinned small model
Related, under other umbrellas: #18297, #13593, #16157, #16115, #17279, #17469 (all now in M1/M4).
Metadata
Metadata
Assignees
Labels
agentsarea: agent-seamWave 3 · cluster H — Agent seam & tool governanceWave 3 · cluster H — Agent seam & tool governanceepicllmphase:M2.4Tasks and company workflowsTasks and company workflowspriority: highumbrellaEpic/umbrella tracking issue grouping member issuesEpic/umbrella tracking issue grouping member issues
Activity
17 remaining items