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
{{ message }}
Repository navigation
feat: advisor tier — host-side consult_advisor for any provider #587
A cheaper executor consulting a stronger model on hard decisions improves results at lower cost (Anthropic advisor strategy: Sonnet + Opus advisor +2.7 pp SWE-bench Multilingual at 11.9% lower cost per task). Anthropic's advisor_20260301 is a Claude Platform server-side tool, unusable through tole's OpenAI-compatible /chat/completions provider.
Proposed solution
Per docs/profiles-collaboration-secrets.md A10:
When a profile declares an advisor tier, register a ReadOnly consult_advisor tool.
tole makes a separate provider call on the advisor model with a curated context (task contract + recent transcript window, after secret redaction) and returns a short plan, correction or stop signal.
The advisor never calls tools and never talks to the owner.
advisor_max_uses per run (default 3); tokens recorded separately in the usage ledger and carved from the run budget; each consultation is a ledger entry.
Alternatives considered
Provider-specific server tools (lock-in); escalating the whole run to the heavy tier (costlier).
Are you willing to contribute the implementation?
Yes, I can do it
Before submitting
I searched existing issues and didn't find a duplicate
Activity
feat(core): advisor seam, bounded redacted context, verdict parser an…
feat(cli): consult_advisor host module with a transcript tap and shar…
fix(advisor): strip invisible characters before redacting secrets (#587)
fix(advisor): strip invisible characters before redacting secrets (#587…