refactor(fuzz)!: remove the @deprecated Proposer<S> alias#279
Merged
Conversation
The fuzz proposer is `MutationProposer<S>`. PR #278 renamed it and kept a `@deprecated export type Proposer<S> = MutationProposer<S>` back-compat alias; the house rule forbids compat shims, so remove it head-on. The alias and its `./fuzz` barrel re-export are deleted — `MutationProposer` is the only name. Removing a published export is breaking on 0.x: minor bump to 0.98.0 (npm + PyPI version trio kept in lock-step).
tangletools
approved these changes
Jun 22, 2026
tangletools
left a comment
Contributor
There was a problem hiding this comment.
✅ Auto-approved PR — 889fe9fd
Blanket team auto-approval is enabled for this reviewer service.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.
tangletools · auto-approval · reason: blanket_auto_approve · 2026-06-22T23:09:04Z
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Deletes the
@deprecated export type Proposer<S> = MutationProposer<S>back-compat alias fromsrc/fuzz/types.tsand its re-export from the./fuzzbarrel (src/fuzz/index.ts).MutationProposer<S>is now the only name for the fuzz scenario-generator function type.PR #278 renamed the fuzz
Proposer<S>toMutationProposer<S>(to disambiguate from the optimizationSurfaceProposer) but kept the alias for back-compat. The repo's house rule forbids compat shims on greenfield/substrate surfaces, so this removes it head-on — no fallback.The fuzz module itself stays — it is load-bearing across the fleet; only the deprecated type alias goes.
Scope
src/fuzz/types.ts— deletes the 3-line@deprecatedalias.src/fuzz/index.ts— dropsProposerfrom the./fuzztype re-export.0.97.0→0.98.0(npm + PyPI lock-step):package.json,clients/python/pyproject.toml,clients/python/src/agent_eval_rpc/__init__.py. Removing a published export is breaking on a 0.x line, so a minor bump.SurfaceProposer/SelfPlayProposer/OptimizationProposerare different types and are untouched.Verification
pnpm run typecheck— clean.pnpm run build— clean; builtdist/fuzz.d.tsexport list no longer contains a bareProposer(onlytype MutationProposerand themutationProposerfactory).pnpm test— 247 files, 2533 passed, 2 skipped, 0 failed.pnpm run lint— no errors (pre-existing warnings only, unrelated files).