mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
b26edbf5e6
Apply the free-tier escalation work to the test-generation coordinator as an OPT-IN, default-off capability (Ruv's cheap-first economics). Zero impact unless enabled via `enableFreeTier` config or `AQE_FREE_TIER=1`. - coordinator: guarded `tryFreeTierGeneration()` tries the free local model first (reads source, prompts, verifies test+assertion), falls through to the unchanged paid path on any miss. 47 existing coordinator tests still green. New optional `routingFeedback?` ctor param wires D9. - D8 repair loop: executor gains same-tier repair (`repairAttempts`, verifier feedback fed back) + `escalate:false` repair-only mode. Coordinator path runs local-only + repair, no paid escalation yet. - D9 sink: createRoutingFeedbackSink() maps executor outcomes onto the existing RoutingFeedbackCollector (calibrator + escalation + confidence); cheap wins raise the cheap tier's confidence, lifting the stuck-at-40% routing metric. - docs: user guide docs/guides/free-tier-local-models.md (local/cloud Ollama, OpenRouter, OpenAI-compatible) linked from README. - tests: +11 new (executor repair, sink, coordinator opt-in); 111 green total; free-tier modules strict-tsc clean. Model: qwen3:8b default. Keys read from named env vars, never stored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>