API Reference Insider Lab v#0.1.0

Copy Markdown View Source

Modules

Bounded Erlang-term, JSON, and NDJSON transport over Insider.Protocol.

Execution boundary used by the CLI transport.

Compile-time semantic contracts with bounded, policy-authorized callback execution.

A fixed-capacity supervisor for failure-isolated contract callbacks.

A classified local callback result. It must pass through redaction before export.

Produces a bounded, deterministic inventory of ExUnit isolation-risk signals.

Deterministic faulty scenarios and nearby healthy controls.

Bounded evidence emitted by a deterministic fault fixture.

A deliberately simple semantic fixture used to prove invariant incidents.

Bounded orchestration for normalized restart-recurrence evidence.

Evaluates application-declared invariants and records one bounded outcome event.

Evaluator handle created by Insider.Invariant.new/1 and passed to Insider.Invariant.check/5. Its fields are not a public contract.

A local classified invariant outcome; it is not a portable wire contract.

The single writer for the machine output of every Lab Mix task and the insider-lab escript.

Runs a caller-supplied synthetic privacy corpus through the exact Logger and Telemetry ingress code paths and reports which field names survive.

A bounded, portable sequence of declared semantic contract operations.

Fixed-capacity admission for supervised scenario runs.

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

Canonical evidence for one bounded offline bisection over declared targets.

Live bisection output containing the canonical verdict and its evidence.

A bounded, inert candidate returned for independent verification.

A self-contained, bounded repair request derived from confirmed evidence.

Validates and confirms one incident on an exact disposable sandbox target.

Bounded terminal evidence returned by a trusted confirmation target adapter.

A bounded, content-addressed result of one clean-target confirmation run.

Offline, deterministic, bounded retention for canonical incidents and proposals.

A privacy-minimal, canonical outcome record for offline Sentinel deduplication.

Behaviour for an explicitly configured disclosure-policy authority.

A canonical record of one disclosure authority's draft-creation decision.

A fail-closed, bounded gate for draft-only provider effects.

Validators for the portable provider and disclosure-authority identities used by the draft-creation gate. An identity selects a module only from the host's configured allowlist; it can never resolve a module by itself.

Behaviour for an explicitly configured draft-creation provider.

A canonical local record of one draft-provider attempt.

A canonical, disclosure-approved request for one provider-created draft.

A canonical, side-effect-free proposal derived from exact repair evidence.

A closed, content-addressed handoff from an incident capsule to Sentinel.

Deterministically removes whole scenario steps under fresh failure evidence.

Canonical evidence for one bounded whole-step scenario minimization.

Live minimization output containing the canonical verdict and its evidence.

A bounded, canonical recipe for proving a confirmed incident still fails.

Deterministically renders a human review document from a bound repair report.

A bounded, content-addressed summary of completed repair evidence.

Provider-driven lifecycle for a disposable clean target.

Behaviour for trusted work that runs while a disposable target lease is live.

Fixed-capacity supervisor for provider-driven disposable target runs.

Behaviour for trusted disposable-target adapters.

A canonical expected fingerprint for a disposable Sentinel target.

A canonical, offline source-ownership routing companion for a draft proposal.

Runs bounded live failing-before and passing-after verification on disposable targets.

A bounded opaque candidate repair.

A strict bounded receipt from one trusted post-repair sandbox body.

A canonical derived verdict for bounded failing-before and passing-after evidence.

Mix Tasks

Runs bounded Insider diagnostics and emits machine-readable JSON.

Lists static ExUnit isolation-risk signals for agent-directed investigation.

Attaches to another BEAM node on this machine over Erlang distribution and drives its Insider.Live session, printing canonical JSON. Observer node in the root docs/ is the reference for target setup and every flag.

Runs one fixed, value-free ExUnit oracle artifact against one selected test command in a target Mix project, without editing the target, and saves a versioned insider.oracle-run/v1 record in a new run directory.

Runs a caller-supplied synthetic privacy corpus through the exact Logger and Telemetry ingress code paths and prints an insider.privacy-corpus-report/v1 JSON document that names retained fields without their values.