Skip to content

feat: integration follow-ups 1-5 — unified orchestration pipeline#222

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/teleport-session-setup-wMZfb
Apr 20, 2026
Merged

feat: integration follow-ups 1-5 — unified orchestration pipeline#222
AdaWorldAPI merged 1 commit into
mainfrom
claude/teleport-session-setup-wMZfb

Conversation

@AdaWorldAPI
Copy link
Copy Markdown
Owner

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

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
@AdaWorldAPI AdaWorldAPI merged commit 10496c3 into main Apr 20, 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.

2 participants