Skip to content

feat(fold): add ObjectiveRegistry<T> for dynamic objective dispatch#298

Merged
ohdearquant merged 1 commit into
mainfrom
feat/fold-objective-registry
May 22, 2026
Merged

feat(fold): add ObjectiveRegistry<T> for dynamic objective dispatch#298
ohdearquant merged 1 commit into
mainfrom
feat/fold-objective-registry

Conversation

@ohdearquant
Copy link
Copy Markdown
Owner

Summary

  • Ports ObjectiveRegistry<T> from khive-internal, adapted to OSS Selection.item API
  • Thread-safe registration and lookup of named objective functions for fold composition
  • 279 LOC, zero new dependencies (uses existing parking_lot)

Split from #297 (staging). Smallest, lowest-risk piece — lands first so khive-retrieval can depend on it.

Test plan

  • cargo check -p khive-fold clean
  • Existing fold tests still pass

🤖 Generated with Claude Code

Ports ObjectiveRegistry from khive-internal, adapted to OSS Selection.item
API. Provides thread-safe registration and lookup of named objective
functions for fold composition.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ohdearquant ohdearquant merged commit e78a697 into main May 22, 2026
1 of 3 checks passed
@ohdearquant ohdearquant deleted the feat/fold-objective-registry branch May 22, 2026 16:32
ohdearquant added a commit that referenced this pull request May 22, 2026
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