# rulestead v1.0.0 - API Reference

## Modules

- [Rulestead.Credo.NoEvalOutsideContext](Rulestead.Credo.NoEvalOutsideContext.md): ## Basics
- [Rulestead.Credo.NoMutationOutsideMulti](Rulestead.Credo.NoMutationOutsideMulti.md): ## Basics
- [Rulestead.Credo.NoRawTraitsInLogger](Rulestead.Credo.NoRawTraitsInLogger.md): ## Basics
- [Rulestead.Credo.NoRawTraitsInTelemetryMeta](Rulestead.Credo.NoRawTraitsInTelemetryMeta.md): ## Basics
- [Rulestead.Credo.NoSocketCapturedInAsync](Rulestead.Credo.NoSocketCapturedInAsync.md): ## Basics
- [Rulestead.Fake.PreviewEvidenceResolver](Rulestead.Fake.PreviewEvidenceResolver.md): Test-only preview evidence resolver for Fake/Ecto contract tests.
- [Rulestead.Flag](Rulestead.Flag.md)
- [Rulestead.Governance.BlastRadiusThreshold](Rulestead.Governance.BlastRadiusThreshold.md): Pure blast-radius threshold evaluation for protected-environment audience mutations.
- [Rulestead.Ruleset](Rulestead.Ruleset.md)
- [Rulestead.Store.Command](Rulestead.Store.Command.md): Shared key-first command structs for `Rulestead.Store` adapters.
- [Rulestead.Tenancy](Rulestead.Tenancy.md): Explicit seam for resolving and bounding tenant scope across runtime helpers.

- Core API
  - [Rulestead](Rulestead.md): Root public module for the `rulestead` package.
  - [Rulestead.Context](Rulestead.Context.md): Explicit evaluation context: who is asking, in which environment, and with what
attributes.
  - [Rulestead.Error](Rulestead.Error.md): Stable public error envelope for all non-bang and bang APIs.
  - [Rulestead.Result](Rulestead.Result.md): Stable Phase 3 evaluation result.

- Runtime (cached lookup)
  - [Rulestead.Runtime](Rulestead.Runtime.md): Cached, keyed flag lookup for running Phoenix and Plug applications.

- Testing
  - [Rulestead.TestHelpers](Rulestead.TestHelpers.md): Fake-backed test helpers for host-app tests.

- Behaviours &amp; Seams
  - [Rulestead.Admin.Policy](Rulestead.Admin.Policy.md): Host-owned authorization seam for the mounted admin and governed actions.
  - [Rulestead.Store](Rulestead.Store.md): Key-first authoring store behavior for the Rulestead public API.

- Store Adapters
  - [Rulestead.Store.Ecto](Rulestead.Store.Ecto.md)

- Telemetry &amp; Config
  - [Rulestead.Config](Rulestead.Config.md): Validated host-app seam configuration for Rulestead.
  - [Rulestead.Telemetry](Rulestead.Telemetry.md): Telemetry helpers and the locked 1.x public event catalog for Rulestead.

## Mix Tasks

- [mix rebuild.audience_reference_projection](Mix.Tasks.Rebuild.AudienceReferenceProjection.md): Rebuilds dependency projection rows from existing authored rulesets.
- [mix rulestead.install](Mix.Tasks.Rulestead.Install.md): Installs the package-owned migrations and configuration into a host app.

- [mix rulestead.lifecycle](Mix.Tasks.Rulestead.Lifecycle.md): Reports read-only lifecycle and archive-readiness guidance for flags.

- [mix verify.adopter](Mix.Tasks.Verify.Adopter.md): Integrator-facing verification entrypoint for the v1.12 adoption-lab band.
- [mix verify.phase76](Mix.Tasks.Verify.Phase76.md): Post-GA band closure and v1.11 integration-spine contract verification.
- [mix verify.phase82](Mix.Tasks.Verify.Phase82.md): Post-GA band closure, v1.11 integration spine, and v1.12 adoption-lab contract verification.

