Repository navigation
Add a local label filter for presence silence and no-cue intent - #382
Draft
tylerreckart wants to merge 1 commit into
Draft
tylerreckart wants to merge 1 commit into
tylerreckart wants to merge 1 commit into
Conversation
An ollama model can score single-letter labels and skip a presence review on an extreme silent, or route a no-cue utterance without the advisor completion. Both margins default to off, and the filter cannot write a note, seeds, or a halt. Co-authored-by: Tyler Reckart <tylerreckart@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A local Ollama model can score a closed set of single-letter labels and skip two completions Arbiter already makes. The filter ships dark: it runs only when
ARBITER_DECISION_MODELis anollama/…id and the matching margin is greater than 0. A skip also requires a renormalized peak of at least 0.9.run_presence_review, score the first line of the task plus tool names. An extremesilentskips the review and emitspresencewithdetail=filterplusfilter_peak,filter_margin, andfilter_label. A peakedcontextstill runs the review. The filter cannot inject a note.unknown. An extreme real kind that maps to a roster agent routes withsource=decisionand the canned brief, and the advisor completion does not run. Multi-cue text, a confident cue,unknown, a flat distribution, and a missing label fall through to the existing tagged completion, which is still the only writer of seeds.Missing letters in
top_logprobsare not filled with zero. Hosted models are not called. The advisor gate is unchanged.Tests
unit_label_score: renormalize, missing-label fail-open, OpenAI logprob body, margin parseunit_intent: peaked no-cue route skips the LLM; flat, unknown, multi-cue, confident cue, zero margin, and heuristic mode do notunit_presence: the filter snapshot keeps tool names and drops result bodies; only an extreme silent skipsunit_api_client: the Ollama body gainslogprobsonly when the filter asksorchestrator.cppandapi_server.cppwere syntax-checked. The fullarbiterbinary was not linked here (OpenTUI).