Repository navigation
Conversation
Deprecate evolve(asynchronous=True) as a bridge to async_evolve: require explicit max_seconds and max_rollouts (no silent 20s default, no rounds reinterpretation), share one _POLICY_DRIVER_SUPPORT table, and document the honest dual entry. Spec derives max_rollouts at plan time when missing.
|
Verdict: PASS Tip SHA: e5fdb32 SummaryCloses #809 acceptance cleanly: Notes
nit (non-blocking)
|
|
Follow-up after required CI on tip Required checks red — Root cause: callers still using the deprecated bridge without
Please extend the same migration already done for risk_gate remains T3; stacked on #816 — still needs merge #816 → retarget to |
|
Verdict: PASS Tip SHA: b840cc1 SummaryCI on
Contract unchanged; tests/callers aligned with #809/#817. Stacked on #816; still T3 — do not squash-merge until Danyang clicks after #816 lands and this tip's CI is green. |
Summary
Closes #809. Sync and async stop pretending to be one
evolve(asynchronous=)mode.evolve(asynchronous=True)is a deprecated bridge (FutureWarning) toasync_evolve.max_secondsandmax_rollouts(no invented 20s budget, norounds×n_workersreinterpretation)._POLICY_DRIVER_SUPPORTtable; test fails if sync/async wiring drifts (executorsync-only).max_rolloutsfromrounds*n_workerswhen missing (named at plan time, not silently at evolve).async.md,evolution.md) and callers updated;BudgetSettingsworks on both drivers (evolve: finish Policies consolidation — 57 top-level kwargs past the documented 35 budget #804).Stacked on #816 (merge #816 first, then retarget this PR to
main).Test plan
pytest -q tests/test_sync_async_contracts.py tests/test_provider_and_split_contracts.py tests/test_async_early_stop.py tests/test_budget.py tests/test_token_budget.pytests/test_api_docs.py/ changelog fragments