Spectre.Router.Plugs.JaroDistance (Spectre v0.3.0)

Copy Markdown View Source

Jaro-distance evidence provider for typo-tolerant short examples.

Jaro matching is intentionally a router plug rather than a rule-level special case. Keeping each evidence source in its own plug makes the arbitration step explicit and lets agents opt into only the strategies they need.

on :help, jaro: ["help", "support", "assist me"] do
  reply :help
end