Gate CAN & CAN-FD safety regressions in GitHub Actions with quantitative STL assertions.
Stop writing fragile ad-hoc Python loops to check brake-light latency, battery thermal derating, message cycle jitter, and AUTOSAR E2E integrity on HIL traces. Write declarative Signal Temporal Logic (.fbt) specs, measure exact signed robustness margins (e.g. +8.42 °C headroom or -14.2 ms deadline miss), and emit JUnit XML, SARIF 2.1, and HTML compliance reports on every pull request — zero USB dongles required.
Example `.fbt` Safety Suite & GitHub Actions Step
suite "EV-600 Powertrain Safety"
assert "Pack Thermal Ceiling" [unit="degC", severity="critical"]:
always (BMS_PackStatus.PackTemp <= 60.0)
assert "Brake Light Response" [unit="s", severity="critical"]:
always (rise(VCU_DriveCmd.BrakePedal > 15.0)
-> eventually[0ms, 50ms] (VCU_DriveCmd.BrakeLightCmd == 1))
assert "CAN Bus Load & Jitter Guard" [severity="high"]:
always (bus_load(0) < 70.0 and cycle_jitter(0x100) < 2ms)
- name: Lint DBC & Run STL Bus Compliance Gate
env:
FIELDBENCH_LICENSE_KEY: ${{ secrets.FIELDBENCH_LICENSE_KEY }}
run: |
fieldbench schema lint bus/ev600.dbc
fieldbench assert run tests/ev600_safety.fbt \
--db bus/ev600.dbc \
--trace artifacts/hil_run.blf \
--junit reports/bus-junit.xml \
--sarif reports/bus-sarif.json \
--html reports/bus-report.html
Why Teams Move from Ad-Hoc Scripts to Fieldbench STL
Quantitative Margins, Not Just Booleans
Catch creeping regressions before they fail: track robustness margin deltas between baseline and candidate BLF/MF4 runs automatically.
Fast O(N) Verified Engine
Evaluates 15 STL rules across a 60-second CAN-FD capture in 12 ms — mathematically verified against an independent O(N²) oracle across 550 randomized formulas (39,543 points, 0 mismatches).
Offline Air-Gap Safe Keys
Drop your Ed25519 FB1-… key into a GitHub Actions / GitLab CI secret once. Runners verify offline with zero phone-home or license-server downtime.