Wire Snipe photo analysis (trust_photo_analysis task) to cf-orch #43

Open
opened 2026-04-18 22:38:40 -07:00 by pyr0ball · 0 comments
Owner

Scope (narrowed from original)

Snipe is partially wired to cf-orch:

  • Search with AI (LLM query builder): wired via app/llm/router.py shim + config/llm.cloud.yaml cf_orch block
  • /api/enrich endpoint: deterministic scraping, no LLM call, no wiring needed

Remaining gap: app/tasks/runner.py (Paid tier background task trust_photo_analysis):

  1. Imports LLMRouter from circuitforge_core.llm directly (bypasses Snipe shim, no config picked up)
  2. config/llm.cloud.yaml has no vision-capable backend (supports_images: false)

What needs to happen

  1. Add a vision-capable backend to config/llm.cloud.yaml (moondream2 or llava via ollama, with cf_orch block)
  2. Change import in tasks/runner.py from circuitforge_core.llm import LLMRouter to app.llm.router import LLMRouter
  3. Rebuild cloud image + test with trust_photo_analysis task

Note

This is NOT blocking the Phase 1 stress test — that test exercises enrich (scraping) not photo analysis.

Design spec: circuitforge-plans/shared/superpowers/specs/2026-04-18-go-live-stress-test-design.md

## Scope (narrowed from original) Snipe is partially wired to cf-orch: - Search with AI (LLM query builder): wired via `app/llm/router.py` shim + `config/llm.cloud.yaml` cf_orch block ✅ - `/api/enrich` endpoint: deterministic scraping, no LLM call, no wiring needed ✅ Remaining gap: `app/tasks/runner.py` (Paid tier background task `trust_photo_analysis`): 1. Imports `LLMRouter` from `circuitforge_core.llm` directly (bypasses Snipe shim, no config picked up) 2. `config/llm.cloud.yaml` has no vision-capable backend (`supports_images: false`) ## What needs to happen 1. Add a vision-capable backend to `config/llm.cloud.yaml` (moondream2 or llava via ollama, with cf_orch block) 2. Change import in `tasks/runner.py` from `circuitforge_core.llm import LLMRouter` to `app.llm.router import LLMRouter` 3. Rebuild cloud image + test with `trust_photo_analysis` task ## Note This is NOT blocking the Phase 1 stress test — that test exercises enrich (scraping) not photo analysis. Design spec: `circuitforge-plans/shared/superpowers/specs/2026-04-18-go-live-stress-test-design.md`
pyr0ball changed title from Wire Snipe to cf-orch coordinator (CF_ORCH_URL) for stress test readiness to Wire Snipe photo analysis (trust_photo_analysis task) to cf-orch 2026-04-19 06:05:05 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/snipe#43
No description provided.