Repository navigation
Conversation
…etry, calmer instructions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A classifier that is down, slow or answers out of format (tool_use and two-stage paths) now asks the user in interactive sessions instead of blocking the action and counting it as a policy denial; headless sessions keep the fail-closed deny. - The classifier runs on the router's "classifier" role model (agent_model_roles.classifier), VERBOO_AUTO_MODE_MODEL for diagnosis, else the conversation model. - Each classifier request has a deadline (VERBOO_AUTO_MODE_TIMEOUT_MS, default 45s) and one retry on 429/5xx/timeout. - The OpenAI-compatible shim commits a forced tool call that finishes with "stop", which many servers return for tool_choice by name. - The main model's auto mode instructions no longer say "execute immediately / when in doubt, start coding": do the requested work without asking permission for it, and a question ends the turn. - JSONL classifier transcript by default (tool output cannot forge a "User:" line); user allow/soft_deny/environment rules add to the defaults; project settings.local.json no longer opts in or adds classifier rules; object feature-flag overrides merge; flags file moved to ~/.verboo. - /config keeps "auto" as the default mode; leftover "Claude Code" strings and the stub signature mismatch (TS2554) fixed; prompt .txt files diffable. - scripts/eval-auto-mode-classifier.ts compares candidate classifier models (format validity, accuracy, missed blocks, latency) against the router. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…al.timeout Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by end-to-end validation and the CI security scan: - Background-agent results, skill bodies and command output reached the classifier as if the user had written them, so injected text could pose as approval. Only text the user typed counts now. - With nobody to answer a prompt (background agents, -p), a broken classifier looped forever without tripping the denial limit. It now counts and ends the run. -p gets the transient-failure message instead of a raw ask. - `auto-mode config` and `critique` still described custom rules as replacing the defaults, after they became additive. - VERBOO_AUTO_MODE_TIMEOUT_MS above 2^31-1 made every call time out at once. - Reworded a comment that the PR scanner flagged as a download-and-execute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Product decision: with a ChatGPT plan or an OpenAI/Anthropic key, the classifier uses the conversation model instead of the router's "classifier" role. Nothing from the session reaches the router, the Verboo plan is not billed, and auto mode keeps working when that plan runs out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The row only said "Denied by auto mode classifier"; the reason went to the model and never to the person, who had complained about blocks with no explanation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Its labeled test cases contain the commands the classifier must block, so the PR intent scan fails on them. It is only needed to pick the classifier model, not at runtime; it stays on chore/auto-mode-classifier-eval. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Sintomas relatados
O que muda
Instrução ao modelo
Classificador
-p) continua negando. Depois de um Esc do usuário, nada é perguntado.agent_model_roles.classifierdo roteador (verboo-code-router#52).VERBOO_AUTO_MODE_MODELserve para diagnóstico. Sem nenhum dos dois, usa o modelo da conversa.VERBOO_AUTO_MODE_TIMEOUT_MS) e uma nova tentativa em 429/5xx/timeout.finish_reason: "stop"agora é aceito. Era a causa provável dos "no tool use block".autoMode.allow/soft_deny/environment) somam às padrão em vez de substituí-las..verboo/settings.local.jsonfica dentro do projeto, então não conta mais para o opt-in nem para regras do classificador.Outros
/config→ "Auto" agora persiste comoauto(antes viravadefault).feature-flags.jsonmesclam com o padrão e o arquivo mudou para~/.verboo..txtdos prompts com diff legível no git.Avaliação de candidatos:
scripts/eval-auto-mode-classifier.tsroda 20 ações rotuladas contra o roteador e mede formato válido, acerto, bloqueios perdidos e latência por modelo. É ele que vai indicar o modelo paraAGENT_MODEL_ROLE_CLASSIFIER.Testes
autoModeVerboo.test.ts:/config.openaiShim.test.ts: tool call forçado comstop(aceito, não forçado e nome diferente).check-cli-quality --suite364/364 e--terminal36/36.Fora deste PR
O modelo do classificador no
/statusficou de fora: o import deixava o/statuslento.🤖 Generated with Claude Code