Skip to content

fix(reddog): honor Kimi K3 runtime budgets#1286

Merged
Foundup merged 1 commit into
mainfrom
fix/kimi-k3-high-agentic-runtime-phase1
Jul 18, 2026
Merged

fix(reddog): honor Kimi K3 runtime budgets#1286
Foundup merged 1 commit into
mainfrom
fix/kimi-k3-high-agentic-runtime-phase1

Conversation

@Foundup

@Foundup Foundup commented Jul 18, 2026

Copy link
Copy Markdown
Member

What

  • centralize Kimi K3's 4096-token output floor in the RedDog OpenRouter bridge
  • apply the model-aware budget when K3 is selected as Fusion lead/principal, critic, synthesis model, or direct caller
  • record requested and effective per-role Fusion budgets
  • add a regression test for signed/promotion-driven K3 principal execution

Why

K3 was correctly configured with OpenRouter reasoning: { effort: max } and no temperature, but three signed-binding backend runners still passed their ordinary 1200/1800-token defaults when K3 became lead. Only the default critic path was explicitly lifted to 4096. That made a promoted K3 principal materially less usable than the already-verified critic path.

Governance / truth boundary

  • K3 remains an AutoResearch CANDIDATE; this does not make it a production champion or unconditional default.
  • Non-K3 budgets are unchanged.
  • This fixes RedDog's provider-call bridge; it does not claim live Hermes delegation or bypass signed worker/runtime gates.
  • OpenRouter capacity can be limited, so existing governed selection and fallback remain necessary.

Verification

  • python -m pytest scripts/tests/test_advisory_model_once_hardening.py modules/ai_intelligence/ai_gateway/tests/test_model_intelligence_catalog.py modules/ai_intelligence/ai_gateway/tests/test_model_autoresearch_configured_gateway_runner.py -q — 53 passed
  • node extensions/reddog/tests/verify_extension_contract.js — passed
  • live OpenRouter single-model smoke: moonshotai/kimi-k3 returned K3_RUNTIME_OK, zero retries
  • git diff --check origin/main...HEAD — clean
  • WSP 62: production file 819/1200 lines; modified legacy _run_foundups_fusion reduced from 207 to 201 lines; new helpers remain below 50 lines

@Foundup
Foundup force-pushed the fix/kimi-k3-high-agentic-runtime-phase1 branch from 6711db3 to 4260ef5 Compare July 18, 2026 07:13
@Foundup
Foundup marked this pull request as ready for review July 18, 2026 07:17
@Foundup
Foundup merged commit 6b54583 into main Jul 18, 2026
10 checks passed
@Foundup
Foundup deleted the fix/kimi-k3-high-agentic-runtime-phase1 branch July 18, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant