packages feed

shikumi-optimize-0.3.0.0: CHANGELOG.md

# Changelog

## Unreleased

## 0.3.0.0 — 2026-09-08

- Raise the internal bounds to `shikumi ^>=0.4.0.0`, `shikumi-compile ^>=0.2.1.0`, `shikumi-eval ^>=0.3.0.0`, and `shikumi-trace ^>=0.3.0.0`.

- Upgrade the dependency on `mori://shinzui/baikai/packages/baikai` to `>=0.7.0.0 && <0.8`.

- Add `structureSearchWith` for validation-only finite recipe selection through shared admission/objectives, plus optional candidate identity metadata in reports and lifecycle events.

- Add validated GEPA execution, named objective selection, hard LLM-operation admission, bounded candidate execution, and diagnostic lifecycle reports.

- Add indexed failure-aware feedback, validated node/invocation attribution, effectful GEPA callbacks, bounded redacted local reflection, and typed error classification. Legacy critiques are now labeled program-scoped rather than broadcast to nodes; existing entry-point signatures remain supported.

- Recover validated node-local bootstrap pools with explicit mapping, per-node caps, seeded independent selection and diagnostics. RandomSearch and MIPRO use node pools. Composite bootstrap requires captured leaves; `bootstrapKeptDemos` is now single-node only. Existing BootstrapConfig construction and legacy single-predictor bootstrap remain supported.

## 0.2.1.3 — 2026-08-29

### Changed

- Every library dependency now carries a PVP upper bound: `aeson`, `containers`,
  `effectful`, `vector`. `cabal check` reported these under
  `missing-upper-bounds`. Without one, a future breaking release of a dependency
  enters a consumer's build plan unchecked — which is the failure the bound
  exists to prevent.

  Each bound admits the version this package is built and tested against and
  stops below the next major.

  `aeson` stops at `<2.3` rather than `<2.4`: baikai-openai 0.5 constrains it to
  `^>=2.2`, so aeson 2.3 is not reachable for this cohort and a wider bound
  would assert compatibility that cannot be exercised here.

## 0.2.1.2 — 2026-08-07

### Changed

- Upgraded the `baikai` dependency to the `0.5` series (`>=0.5 && <0.6`).
  Dependency bounds only — no changes to the exported API.

## 0.2.1.1 - 2026-07-20

### Changed

- Widened the `generic-lens` bound to `>=2.2 && <2.4` (admits 2.3) and upgraded
  the test suite's `baikai` dependency to the `0.4` series (`>=0.4 && <0.5`).
  Dependency bounds only — no changes to the exported API.

## 0.2.1.0 - 2026-07-05

### Added

- Shared optimizer budget metering helpers, effective-instruction inspection, and
  exact LLM-call counting for opaque optimizer runs.
- Budgeted ensemble search via `ensembleSearchWith` and exported
  `bootstrapKeptDemos` for metered bootstrap demo recovery.

### Changed

- Optimizers now reserve predicted LM-call cost before scoring/proposing and
  return the best candidate found so far when the next spend would exceed budget.
- Instruction search and seeding preserve effective instructions without
  serializing redundant overrides.
- Ensemble and KNN documentation now calls out structure-changing artifacts and
  how to load saved state against matching templates.
- Refreshed internal `shikumi`, `shikumi-compile`, `shikumi-eval`, and
  `shikumi-trace` bounds for the current package set.

## 0.2.0.0 - 2026-06-28

### Added

- `Generic` instances for `BootstrapConfig`, `CoproConfig`, and `Miprov2Config`.

### Changed

- Renamed exported `Candidate` record selectors to `params`, `perExample`, and
  `aggregate`.
- Renamed exported `PastInstruction` record selectors to `instruction` and
  `score`.
- Refreshed internal `shikumi`, `shikumi-compile`, `shikumi-eval`, and
  `shikumi-trace` bounds for the current package set.

## 0.1.0.1 - 2026-06-21

### Changed

- Constrained the test suite's baikai dependency to the 0.2 series and refreshed internal shikumi package bounds.

## 0.1.0.0 - 2026-06-13

### Added

- Initial Hackage release of optimizer APIs for shikumi programs.
- Labeled few-shot, bootstrap few-shot, instruction search, random search, GEPA, KNN, COPRO, MIPRO, ensemble, Pareto, and proposal helpers.