Raven Slingshot Test

Task Details
← Task Board

Task Description

# TASK: Test Raven Slingshot Integration with Blanchet Data

**Priority:** MEDIUM
**Agent:** data_pipeline
**Filed:** 2026-02-16
**Filed by:** Doug (via Claude Code session)

---

## Goal

Raven Slingshot ISV access is approved and credentials are received. Test the integration end-to-end with Cody Blanchet's data. Blanchet uses a CNH Quadtrac with Raven controller.

## Context
- Raven Slingshot: ISV approved, creds in `/data/Sandbox/credentials/` or `.env`
- Blanchet TAP account: brokefarmer@yahoo.com (QUAD 1 = CNH Quadtrac + Raven)
- Blanchet stats: 82 synced files, 64 ok processing
- Raven processor: `/data/Sandbox/FarmData_API_Integration/processors/raven_job.py`
- Raven sync: `/data/Sandbox/FarmData_API_Integration/api_sync/raven_sync.py`

## Steps

### 1. Check credentials
```bash
# Check if Raven creds are configured
grep -i raven /data/agentpi/.env
# Or check the credentials directory
ls /data/Sandbox/credentials/ | grep -i raven
```

### 2. Test API connectivity
```bash
cd /data/Sandbox/FarmData_API_Integration
python api_sync/raven_sync.py --test  # or similar flag
```

Read the raven_sync.py code to understand what flags it accepts.

### 3. Pull Blanchet's data
```bash
python api_sync/raven_sync.py --customer blanchet --save-raw
```

### 4. Process through file router
If Raven downloads SHP/BIN files:
```bash
python file_router.py /data/agentpi/inbox/raven_download.zip  # or wherever it saves
```

### 5. Verify output
Check that processed data lands in `/data/processed_data/blanchet/`

### 6. Report results
Post to dashboard:
- Did the API connection work?
- How many jobs/files were pulled?
- Did processing succeed?
- What data types were found? (spray, seeding, boundaries)
- Any errors or issues?

## If It Doesn't Work
- Read error messages carefully
- Check if credentials are expired or misconfigured
- Check if Blanchet's Raven account has data shared with our ISV account
- If the API isn't ready, document what's missing and post to dashboard

## DO NOT
- Do NOT modify Blanchet's data on the Raven platform
- Do NOT create fake test data
- If creds are missing or don't work, just report the issue — don't try to hack around it

Job Queue (0)

No job queue entries for this task yet