fix(dispatcher): route sequential tiers by sufficient capability #264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "akira/hayate-agent-core:feat/sequential-tier-routing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Corrects the existing sequential planner to choose the lowest sufficient model capability for reasoning/task complexity, independently of operational risk. Supersedes the original risk-based calibration at
216e393; that rule was contrary to the requirement.simple: factual/read-only, deterministic mechanical work and known runbook execution, including routine authorized production credential rotation.medium: bounded known-code implementation/fix including tests.high: genuinely complex reasoning beyond medium: ambiguous root cause, difficult concurrency/recovery, architecture.Only prompt/docs/regression test changed (full diff c248ca1..f352fcb: 3 files, +29/-3).
Current verification
Typecheck passed. 37/37 targeted sequential/planner/model-role tests passed; diff check clean.
Two fresh tool-free real HTTP planner runs on requested=observed
homelab/claude-haiku-5-5/medium, identical fixed tasks in each run:All 12 classifications used the expected tier. 11/12 plans satisfied the single-step expectation: run 2 split the complex root-cause/fix into two high steps. This is model judgement, not guaranteed perfect plan stability. No tools/workers/credential rotations were executed by these probes.
Review: existing bundled engine and existing ledger at
~/scratch/.review-home-tier-routing, basec248ca1; corrected full diff passed its new candidate round with zero findings, fingerprintc35b54e4b90e81a65b1c9247b73c78d2fa890ccc3b7c27f6b5d415339c9ff650. Prior candidate approval is retained in engine history, not claimed valid for this correction; no manual budget reset/extension.Preserved earlier evidence (historical, not rerun on corrected prompt)
The original baseline high/medium/low mixed planner evidence and real E2E mixed run (simple→haiku, medium→sonnet, high→opus, requested=observed, completed) remain in
~/scratch/tier-routing-evidence, together with the original scripts and archived PR body. The old credential-rotation expected=high classification was wrong and is superseded by the mechanical authorized-runbook probes above; old results are not evidence of corrected-prompt behavior.Current probe script:
capability-probe.mts; outputscapability-run1.jsonl,capability-run2.jsonl. Existing PR author remains unchanged; follow-up push/metadata correction used the existing authenticated Akira account.Not merged, not activated. No strategy flip, daemon restart or registry reload. PRs #257/#258/#261 and unrelated worktrees untouched.
feat(dispatcher): calibrate sequential tier criteria by operational riskto fix(dispatcher): route sequential tiers by sufficient capability