option-table
Verifying administrator access…

Table creation architecture

Ownership, deadlines, durable state, and external service boundaries.

Execution path

Configured limits

Live task states

Current pressure point

One fixed provider-operation timeout governs unlike stages.

Planning and scoring both receive the same 120-second ceiling. Larger or citation-heavy scoring batches can be healthy but still terminate before the overall seven-minute job deadline. The next design should use stage-specific budgets bounded by the remaining overall deadline.

Desired timeout contract

LayerResponsibility
Network callShort connect/read timeout; retry only transport failures.
Provider operationStage-specific budget derived from remaining job time.
StagePlanning, scoring, persistence, and measurement own separate budgets.
Overall jobHard terminal deadline; cancels owned upstream operations.

Architectural invariants

One durable owner

Option Table owns job identity, cancellation, deadlines, and terminal state.

Providers do work

BrightWrapper and Software Atlas expose operations; they do not own product lifecycle.

Reload-safe truth

Polling reconstructs the complete state without depending on a live browser connection.

Concrete failure

Every failure identifies its stage and preserves the upstream error.

Bounded parallelism

Batching controls context size while concurrency remains explicit and observable.

No partial success

A table is published only after every option is scored and validation passes.