crosswake_rulestead

Rulestead companion adapter for Crosswake — the route-policy and runtime-contract library for Phoenix apps that go mobile.

This package extracts Crosswake.Companions.Rulestead into a standalone Hex dependency so hosts can choose their companion integrations without modifying core. The module namespace (Crosswake.Companions.Rulestead) and the adopter touch-point (config :crosswake, :companions, [...]) are unchanged — extraction is non-breaking.

Installation

Add crosswake_rulestead to your mix.exs:

defp deps do
[
{:crosswake, "~> 0.1"},
{:crosswake_rulestead, "~> 0.1"},
{:rulestead, "~> 0.1"} # the engine (optional; companion probes at runtime)
]
end

Then configure the companion in your application:

config :crosswake, :companions, [Crosswake.Companions.Rulestead]
config :crosswake, :rulestead, %{enabled: true}

Package-family discipline

crosswake_rulestead is part of the Crosswake package family. Core (crosswake) never compile-depends on a companion; companions never depend on each other. See the companion contract guide for the stable seam surface.