feat: integration follow-ups 1-5 — unified orchestration pipeline#222
Merged
Conversation
Addresses all 5 follow-ups from .claude/knowledge/cam-pq-unified-pipeline.md: #1 Wire register_cam_udfs in execute_with_context - CypherQuery::with_cam_codebook(codebook) builder method - execute_with_context auto-registers cam_distance + cam_heel_distance UDFs when codebook is set - One-line unblock for SQL/Cypher CAM-PQ queries #2 Migrate cam_pq_calibrate output to Lance schema - codebook_to_lance() in lance-graph/src/cam_pq/storage.rs - Converts (codebook, fingerprints) -> (vectors_batch, codebook_batch) - Arrow RecordBatches ready for Lance write; bridges bgz-tensor's raw calibration output to the canonical storage format #3 impl OrchestrationBridge for codec research (nd.* step-types) - codec_bridge.rs: CodecResearchBridge owns StepDomain::Ndarray - nd.tensors / nd.calibrate / nd.probe dispatch via codec_research - Parses args from step.reasoning as WireRequest JSON - Complements planner's lg.* bridge #4 Generic OrchestrationBridge routing endpoint - POST /v1/shader/route — accepts WireUnifiedStep JSON - Composed bridge: tries CodecResearchBridge first (nd.*), falls through to PlannerAwareness (lg.*) if DomainUnavailable - planner_bridge.rs preserved as typed convenience (rich responses) - Both patterns coexist: generic route + typed Wire DTOs #5 WireUnifiedStep + WireStepResult DTOs - Generic step envelope: {step_id, step_type, reasoning} - Generic result: {step_id, step_type, status, reasoning, confidence} - POST /v1/shader/route uses these; per-op endpoints stay for convenience with their richer typed responses All 5 follow-ups delivered in one commit. 46/46 shader-driver tests pass. lance-graph compiles clean. https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
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.
Addresses all 5 follow-ups from .claude/knowledge/cam-pq-unified-pipeline.md:
#1 Wire register_cam_udfs in execute_with_context
#2 Migrate cam_pq_calibrate output to Lance schema
#3 impl OrchestrationBridge for codec research (nd.* step-types)
#4 Generic OrchestrationBridge routing endpoint
#5 WireUnifiedStep + WireStepResult DTOs
All 5 follow-ups delivered in one commit. 46/46 shader-driver tests pass. lance-graph compiles clean.
https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh