Skip to content

feat(1.5.0)!: shed legacy KB-optimization orchestrator; campaign-native release#15

Merged
drewstone merged 1 commit into
mainfrom
feat/shed-legacy-kb-optimization
May 26, 2026
Merged

feat(1.5.0)!: shed legacy KB-optimization orchestrator; campaign-native release#15
drewstone merged 1 commit into
mainfrom
feat/shed-legacy-kb-optimization

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

BREAKING. agent-eval 0.42.0 deleted the multi-shot orchestration. agent-knowledge no longer imports any deleted symbol — the permanent fix for the consumer scoped-pin trap.

  • Remove optimization.ts (runKnowledgeBaseOptimization + KnowledgeBase*) — it wrapped the deleted runMultiShotOptimization. Consumers call the campaign substrate directly.
  • Rewrite release.ts: knowledgeReleaseReport takes campaign-native inputs (candidate/baseline RunRecord[] + ReleaseTraceEvidence + gate decision), decoupled from MultiShotOptimizationResult.
  • Bump agent-eval ^0.42.0 + agent-runtime ^0.25.0.
  • Only agent-builder used the removed KB-opt API (being migrated in parallel). The 7 knowledge-feature importers use kept symbols, unchanged.

typecheck + build + 99 tests green.

…ve release report

agent-eval 0.42.0 deleted the multi-shot orchestration. agent-knowledge's
optimization.ts was a thin wrapper over the deleted runMultiShotOptimization;
release.ts consumed its MultiShotOptimizationResult shape + the deleted
releaseTraceEvidenceFromMultiShotTrials.

BREAKING: remove optimization.ts (runKnowledgeBaseOptimization + KnowledgeBase*
types) — consumers call the agent-eval campaign substrate (runImprovementLoop /
gepaDriver) directly now. Rewrite release.ts: knowledgeReleaseReport takes
campaign-native inputs (candidate/baseline RunRecord[] + ReleaseTraceEvidence +
gate decision) and folds them into a ReleaseConfidenceScorecard + KnowledgeRelease
— decoupled from any optimizer result shape. Only agent-builder used the removed
KB-opt API; knowledge features (the other 7 agent-eval importers) use kept
symbols and are unchanged.

Bump agent-eval ^0.42.0 + agent-runtime ^0.25.0. This is the permanent fix for
the scoped-pin trap consumers needed (agent-knowledge no longer imports any
deleted symbol). typecheck + build + 99 tests green.
@drewstone drewstone merged commit d50fb02 into main May 26, 2026
0 of 2 checks passed
@drewstone drewstone deleted the feat/shed-legacy-kb-optimization branch May 26, 2026 12:18
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.

1 participant