Retire the offline retrieval eval #115
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/retire-retrieval-eval"
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?
Summary
Retires the temporary offline retrieval evaluation now that it has done its job, plus the fixes that getting it to complete required, plus two failures found in the suite along the way.
Retire the retrieval eval
The subsystem existed to answer one question: does the V2 recall policy lose memories that V1 would have surfaced? On 125 real production cases it answered no, at identical canary recall (84.0% both) and a quarter of the harmful selections (24 to 6). V2 is now the promoted policy, so the eval is removed as designed: job runner, dataset builder, retrieval runner, metrics, encrypted state record, the session-only routes, and the settings tab.
Nothing in the recall path changes. The judge only ever ran here, offline and behind an explicit billable confirmation.
buildLegacyMemoryContextstays, becausev1remains the rollback policy.Fixes that the evaluation runs forced
PLANNER_AI_RATE_LIMITmakes the AI request ceiling configurable, still defaulting to 30. The interactive limit of 30 per five minutes cannot accommodate a batch job that spends one request per canary and one per judged case.Failures found in the suite
tests/logging.test.tswas failing onmainbefore this branch. The agent CLI is its own binary but shareslogger.tsand, through it,clientAddress.ts; both validated server configuration at import, so a malformedPLANNER_LOG_LEVELorPLANNER_TRUSTED_PROXIESaborted a CLI that never reads either. Server settings are now ignored in an agent-cli distribution, the proxy list is parsed on first use, and the server validates it explicitly at startup so fail-fast becomes a deliberate step rather than an import side effect.SettingsDialog. Seventy jsdom environments share one machine and the default five second budget is not enough for a user-event test waiting on a scheduler slot; the file passes alone. Raised to twenty seconds, which still catches a hang.Verification
Full typecheck, type-aware oxlint, eslint, knip, oxfmt, 951 bun tests, and 224 vitest tests all pass.
tests/logging.test.tspasses for the first time.kReview review
Verdict: no findings
No findings to address in the reviewed diff.
Overall risk is low; no concrete correctness, security, or data-retention defect is established by the visible changes.
Reviewed by kReview at
8e2fc506e1. This comment is conservative and based only on the PR diff, metadata, and supplied repository context.Est. cost ~$4.07 total (2.6M in / 8.9k out) · this run ~$0.32 (65.4k in / 383 out) / gpt-5.6-sol.