@php($pipeline = $this->getPipelineSnapshot())

Leadfinder workflow

Lead Finder

Describe target role, industry, and location. We run immediately.

Pipeline progress

Queue & wait status

{{ $pipeline['status_label'] }}
Queued
Searching
Completed

{{ $pipeline['wait_copy'] }}

{{ $pipeline['started_copy'] }} · {{ number_format($pipeline['lead_count']) }} leads found @if ($pipeline['location']) · {{ $pipeline['location'] }} @endif

@if ($pipeline['query'])

{{ $pipeline['query'] }}

@endif

AI brief

Who should we find?

@foreach ($conversation as $index => $message)

{{ $message['role'] === 'user' ? 'You' : 'Lead Finder AI' }}

{!! nl2br(e($message['content'])) !!}

{{ $message['time'] ?? '' }}

@endforeach

Pipeline running

Collecting verified leads now.

Recent activity

Latest searches

See leads
@if ($this->canViewDebugPanel()) @php($debug = $this->getDebugSnapshot())

Live debug

Pipeline status

Queue: {{ $debug['queue_connection'] }}

Search Run

@if ($debug['search_run']) #{{ $debug['search_run']->id }} · {{ ucfirst($debug['search_run']->status) }} @else none @endif

Scrape Job

@if ($debug['scrape_job']) #{{ $debug['scrape_job']->id }} · {{ ucfirst($debug['scrape_job']->status) }} @else none @endif

Queued Jobs

{{ number_format($debug['queue_pending_total']) }}

Failed Jobs

{{ number_format($debug['failed_jobs_total']) }}
@if ($debug['search_run'])

{{ \Illuminate\Support\Str::limit((string) $debug['search_run']->query, 150) }} @if($debug['search_run']->location) · {{ $debug['search_run']->location }} @endif @if (filled($debug['summary'])) · {{ \Illuminate\Support\Str::limit((string) $debug['summary'], 110) }} @endif

@endif

SSH Debug

{{ $debug['ssh_debug_command'] }}

JSON: php artisan leadfinder:debug --json

@forelse ($debug['events'] as $event)
{{ $event['time'] }}
{{ $event['message'] }} @if (! empty($event['context']))
@foreach ($event['context'] as $key => $value) {{ $key }}={{ $value }} @endforeach
@endif
@empty

No debug events yet

Run a brief and events will appear here.

@endforelse
@endif