Canary Service: device-contracts

What this is

Smart-contract-style enforcement of cost/profit-center device SLAs. A device-contract declares the expected behavior of an asset (uptime, throughput, error budget) and surfaces breach events when actual behavior drifts. Pairs with canary-asset for the device record and with canary-ildwac for cost attribution at breach time.

Tier mix and axis

Property Value
Port :9083
Axis B — Resource APIs
Tier mix Reference (single-contract reads, templates) · Change-feed (contract list, breach event tail) · Stream (mutations, breach recording)
Owned tables app.device_contracts, app.device_contract_versions, app.device_contract_breaches
Evaluator continuous worker (not REST-driven); reads device telemetry, computes against active contracts
Breach actions alert, case, escalate-to-vendor

Purpose

Bridge from "this asset exists" (canary-asset) to "this asset is meeting its SLA" (canary-device-contracts). Breach events fan out to canary-alert for noisy issues, canary-fox for severe ones, and canary-ildwac for cost attribution at breach time.

Dependencies

Consumers

See also