# Real LEAD-GEN autonomous E2E — blocked

Date: 2026-10-07. Acceptance criterion **not met**: no new lead-work deliverable
completed. The actual Factory database and actual configured executors were used;
no mocked executor or manually authored substitute deliverable was used for the
live run. Offline tests are separately identified below.

## Scope and authorization

LEAD-001.1 remained ACCEPTED by Andrey; its pilot definition and attached document
were preserved and included in executor context. Eight existing PLANNED tasks
received explicit approval metadata from the current user instruction. Their
statuses were left PLANNED during setup; runtime reconciliation released all eight
without manual task-by-task READY updates. No tasks or roadmap items were created.

The project had no stored dependencies. The necessary input relationships were
recorded before execution: 001.1 → 001.2; 001.2 → 001.3 and 002.1;
001.3 + 002.1 → 002.2 → 003.1 → 003.2 → 003.3 → 003.4.
Human Validation (003.4) was configured as executor `human`, checkpoint=1, requiring
Andrey's acceptance without an AI executor performing the human judgment.
Roadmap items LEAD-001/002/003 became ACTIVE as approved tasks were released;
empty LEAD-004/005/006/007 remain PLANNED. No outreach was performed.

LIT-CONSOLE was unexpectedly ACTIVE at baseline; it was set PAUSED as instructed.
Its task records were unchanged. Coral was not accessed or modified. Every other
pre-existing project/task/roadmap/execution row was verified unchanged (apart from
additive schema defaults). Parent FR-E2E-001 execution 13 remained RUNNING and was
not accidentally recovered by the scoped runner.

## Actual progression

| Task | Before | After | Live execution / deliverable |
|---|---|---|---|
| LEAD-001.1 Define Pilot Campaign | ACCEPTED | ACCEPTED | Existing owner-accepted definition preserved |
| LEAD-001.2 Define Lead Model | PLANNED | REVIEW | Three failed attempts; no model produced |
| LEAD-001.3 Prepare Seed Data | PLANNED | WAITING | Dependency 001.2 unsatisfied; no execution |
| LEAD-002.1 Define Signals | PLANNED | WAITING | Dependency 001.2 unsatisfied; no execution |
| LEAD-002.2 Discover Signals | PLANNED | WAITING | Dependencies 001.3 and 002.1 unsatisfied |
| LEAD-003.1 Enrich Candidates | PLANNED | WAITING | Dependency 002.2 unsatisfied |
| LEAD-003.2 Score & Rank | PLANNED | WAITING | Dependency 003.1 unsatisfied |
| LEAD-003.3 Produce First 10 Leads | PLANNED | WAITING | Dependency 003.2 unsatisfied |
| LEAD-003.4 Human Validation | PLANNED | WAITING | Dependency 003.3 unsatisfied; human-only checkpoint |

Executions of LEAD-001.2:

| Execution | Attempt | Executor | Outcome | Recovery |
|---|---|---|---|---|
| 14 | 1 | antigravity (automatic selection) | CLI could not write its local logs; local listening socket denied | EXECUTOR_UNAVAILABLE → FALLBACK to nemotron |
| 15 | 2 | nemotron / OpenRouter | OpenRouter connection failed | CONNECTION → RETRY after 20 seconds |
| 16 | 3 | nemotron / OpenRouter | OpenRouter connection failed | CONNECTION → OWNER_DECISION, task REVIEW |

Execution 14 initially became TASK_OR_VALIDATION/FAILED. After correcting that
integration defect, the next scoped reconciliation corrected its classification
and automatically selected fallback. The original RECOVERY_DECISION event remains;
RECOVERY_CLASSIFICATION_CORRECTED records the correction. This required a code fix
and runner restart, not a manual task-status release. Attempts 15 and 16 then ran
through ordinary persisted retry scheduling. Antigravity was excluded from further
fallback because it had already been proven unavailable for this task.

The connection errors establish inability to use OpenRouter from this execution
environment, not a claim that the provider was globally down. No permissions,
credentials, network controls or services were changed to bypass the restriction.

## Results, Outputs and monitoring

The LEAD-001.2 Result remains empty because no deliverable was produced. All three
executions have persisted failure reasons, classes, actions and next states.
Their original error strings were also saved retrospectively as error artifacts
and indexed in Control Plane, with ERROR_ARTIFACT_BACKFILLED events:

- data/artifacts/LEAD-001.2/14/attempt-1-error.txt
- data/artifacts/LEAD-001.2/15/attempt-2-error.txt
- data/artifacts/LEAD-001.2/16/attempt-3-error.txt

All three artifact sizes and SHA-256 digests were verified. There are six lifecycle
round rows for these attempts. The snapshot exposes last executor nemotron,
last failure CONNECTION, recovery OWNER_DECISION and next state REVIEW. No retry
is pending and no downstream execution was claimed. A final quiescent cycle
confirmed no additional attempt was scheduled.

Evidence in this directory:

- before.sqlite / before.json — baseline database backup and row snapshot.
- after.json — persisted rows after execution and diagnostic artifact indexing.
- latest-snapshot.json — monitoring-facing LEAD-GEN snapshot.
- run.log — actual autonomous polling/attempt log, including the initial stop.
- verification.json — machine-checked release counts, isolation and artifact checks.
- control-plane-tests.log / executor-tests.log / approved-runtime-tests.log.

## Runtime fixes and validation

- Explicit approved_at/approved_by metadata and PLANNED reconciliation, preserving
  unapproved work and existing roadmap scope.
- Project-scoped scheduling/recovery; nested runs skip recovery while the parent
  holds the global lock; atomic claims continue to prevent duplicates.
- Human-only REVIEW transition without execution, and an explicit executor response
  marker for genuine missing-input owner checkpoints.
- Successful outputs fill an empty Result; owner-authored Results are preserved.
- Accepted pilot document and bounded dependency output text reach executors that
  cannot open local artifact paths.
- Research/discovery auto-selection uses Perplexity rather than text-only execution.
- Executor-unavailable classification, bounded compatible fallback, and durable
  error artifacts for future failed executions.

Validation: **53/53 Control Plane tests**, **123/123 executor tests**, compilation
checks passed. New tests cover explicit approval, unapproved-work isolation,
human checkpoints, scoped/nested recovery, result preservation, dependency content,
error artifacts, research routing, unavailable-executor fallback and exhaustion.
Successful deliverable propagation is verified offline only; live LEAD-GEN stopped
before that path. The legacy dispatcher-wide suite was not rerun.

## Stop and resumption

Current stop: LEAD-001.2 REVIEW / OWNER_DECISION due to executor access, before Human
Validation. Andrey needs a functioning normal Factory execution environment with
an available configured text executor. No owner lead-quality decision is yet ready.
Do not accept the failed task as a completed lead model. After executor access is
restored, reload the resident dispatcher with these on-disk changes and authorize
retry of this single blocked task; downstream approved tasks are already released
and dependency-gated, and must not require individual releases. The normal runtime
must still stop at any genuine missing-input checkpoint and at Human Validation.
