Skip to content

refactor(fuzz)!: remove the @deprecated Proposer<S> alias#279

Merged
drewstone merged 1 commit into
mainfrom
chore/remove-deprecated-proposer-alias
Jun 22, 2026
Merged

refactor(fuzz)!: remove the @deprecated Proposer<S> alias#279
drewstone merged 1 commit into
mainfrom
chore/remove-deprecated-proposer-alias

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What

Deletes the @deprecated export type Proposer<S> = MutationProposer<S> back-compat alias from src/fuzz/types.ts and its re-export from the ./fuzz barrel (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> to MutationProposer<S> (to disambiguate from the optimization SurfaceProposer) 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 @deprecated alias.
  • src/fuzz/index.ts — drops Proposer from the ./fuzz type re-export.
  • Version trio bumped together 0.97.00.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 / OptimizationProposer are different types and are untouched.

Verification

  • pnpm run typecheck — clean.
  • pnpm run build — clean; built dist/fuzz.d.ts export list no longer contains a bare Proposer (only type MutationProposer and the mutationProposer factory).
  • pnpm test — 247 files, 2533 passed, 2 skipped, 0 failed.
  • pnpm run lint — no errors (pre-existing warnings only, unrelated files).

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 tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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

@drewstone drewstone merged commit 23dd639 into main Jun 22, 2026
1 check passed
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.

2 participants