# `Insider.Sentinel.Bisection`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/tools/insider_lab/lib/insider/sentinel/bisection.ex#L1)

Bounded offline binary search over a host-declared ordered target list.

The host supplies an ordered list of disposable sandbox targets, oldest to
newest; Insider never reads a repository, orders revisions, checks anything
out, or mutates source. Both endpoints must first be proven with two fresh
confirmations each: the oldest must not reproduce and the newest must. Every
midpoint then runs two fresh confirmations. Mixed outcomes at one index stop
as nondeterministic, and any infrastructure, evidence, or cleanup uncertainty
stops as inconclusive; an index whose first confirmation is not clean is
already inconclusive and gets no second one. The configured duration bounds
the effectful search from executor preflight through final cleanup; bounded
input and final evidence validation are outside that clock.

A completed record isolates one adjacent nonreproduced/reproduced pair of
declared targets on the search path. Reading that pair as the earliest
reproducing target is the host's monotonicity assumption: indices off the
search path are never probed, and the record's fixed limitations say so. It
does not claim that the target caused the failure.

# `run`

```elixir
@spec run(Supervisor.supervisor(), term(), term(), term(), term(), keyword()) ::
  {:ok, Insider.Sentinel.Bisection.Result.t()}
  | {:error, Insider.Protocol.Error.t()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
