Files
rutster/crates/rutster-trunk/src/provider
Aaron D. Lee b2a432f56d
Some checks failed
CI / fmt (pull_request) Successful in 1m15s
CI / clippy (pull_request) Successful in 2m14s
CI / test (1.85) (pull_request) Successful in 5m1s
CI / test (stable) (pull_request) Successful in 5m30s
CI / deny (pull_request) Failing after 1m31s
CI / twilio-live (manual only) (pull_request) Failing after 14m26s
test(trunk): ADR-0009 static assertion -- TwilioCredentials is trunk-local (slice-5 T10 follow-up)
Spec §7 done-criteria #10 demands a static assertion that TwilioCredentials
lives ONLY in rutster-trunk (ADR-0009 -- provider credentials never reach the
brain). The test compiles only because crate::provider::TwilioCredentials
resolves (the type's canonical home); if someone moved/re-exported it through
the workspace root or a sibling crate, this test's doc + the dep-graph change
would surface in review. The invariant is structural: sibling crates
(rutster-media, rutster-tap) do not depend on rutster-trunk, so the type
cannot reach them. The binary's config::twilio_credentials is the single
expected import path.

Signed-off-by: Aaron D. Lee <himself@adlee.work>
2026-07-05 03:19:12 -04:00
..