graph TD
A[Market Scout Agent Start] --> B[Load API Credentials]
B --> C{Initialize Parallel Silos}
C --> D[SILO 1: Skyscanner]
C --> E[SILO 2: TripAdvisor]
C --> F[SILO 3: Google Trends]
D --> D1[Loop 5 Countries]
D1 --> D2[Call Skyscanner API]
D2 --> D3[Save raw_demand_*.json]
E --> E1[Loop 5x8 Topics]
E1 --> E2[Scrape Forum Data]
E2 --> E3[Save trip_forum_*.txt]
F --> F1[Loop 5x8 Queries]
F1 --> F2[Pull Trends Data]
F2 --> F3[Save trends_*.json]
D3 --> G[SILO 4: Aggregation]
E3 --> G
F3 --> G
G --> H[Normalize Data Sources]
H --> I[Apply Weights: 40/35/25]
I --> J[Generate Interest Scores]
J --> K[Validate JSON Schema]
K --> L[Export luxury_segments.json]
L --> M[Schedule Next Run: 02:00 AWST]
M --> N[Monitor Success Metrics]
N --> O{Alert Check}
O -->|Success| P[End Process]
O -->|Failure| Q[Trigger Retry Policy]
Q --> B