API Reference scoria v#0.1.3

Copy Markdown View Source

Modules

Scoria is the public facade for starting, inspecting, and resuming AI work inside a Phoenix app.

Scoria.Connectors exposes remote connector records and reviewer-facing fleet details for the embedded Phoenix boundary.

Scoria.Connectors.Auth coordinates host-owned connector authorization with Scoria's connector records, grants, approvals, and audit evidence.

Scoria.Eval manages eval datasets, specs, runs, score evidence, campaigns, and reviewer queue candidates for release proof.

Scoria.Identity is the host-owned identity envelope passed into Scoria's runtime boundary.

Scoria.Knowledge is the optional knowledge base capability for retrieval, citations, and grounding inside a Phoenix app.

Scoria.MCP.Tool is the behaviour for host-defined MCP tools that Scoria can register, validate, invoke, and show to reviewers.

Legacy 0.1.x compatibility wrapper for Scoria.Observe.ReviewerBroadcast.

Tenant-scoped PubSub fan-out for reviewer dashboard trace events.

Scoria.PromptPolicy normalizes host-owned prompt policy values for runtime defaults and governance.

Scoria.PromptRegistry stores prompt template versions so prompt changes can be reviewed, activated, and tied to eval and release evidence.

Scoria.Req.Steps attaches Scoria's model resiliency steps to a Req request pipeline.

Scoria.Runtime exposes the durable run lifecycle behind the top-level Scoria facade.

Scoria.Runtime.RunDetail is the expanded public DTO for inspecting one durable Scoria run.

Scoria.Runtime.RunSummary is the compact public DTO returned by run lifecycle and polling APIs.

Operational governance boundary for Scoria-owned budget, alert, incident, and audit evidence.

Behaviour for host-owned alert and incident delivery integrations.

Behaviour for host-owned audit export integrations.

Scoria.SemanticCache is the public context for tenant-scoped semantic cache lookup, admission, reuse evidence, and invalidation.

Scoria.SemanticCache.Profile defines an opt-in semantic cache profile for safe read-only answer reuse.

Legacy 0.1.x compatibility wrapper for Scoria.SemanticCache.Profile.

Legacy 0.1.x compatibility wrapper for Scoria.VerificationSuites.

Canonical verification suite contracts for adopter-facing and maintainer-facing proof.

Host-authenticated tenant scope for the embedded Scoria dashboard.

Legacy 0.1.x compatibility wrapper for ScoriaWeb.ReviewerSurface.

Tenant-scoped read model for reviewer dashboard pages.

Mounts Scoria's reviewer dashboard inside a host Phoenix router.