Releases: MohibShaikh/hwcontract
Releases · MohibShaikh/hwcontract
Release list
0.4.2: real sigrok interop, raw edge ingestion, events everywhere
The audit-release: the temporal engine now speaks actual sigrok and reaches every surface.
- Real sigrok jsontrace: B/E annotation pairs (the decode.c shape: pid/tid/name) import correctly; X/i still accepted; unmatched pairs are errors. Golden fixture in tests/fixtures/.
- Raw edge ingestion:
hwcontract.edgesturns multi-channel 0/1 waveforms (sigrok -O csv or plain header CSV) into rising/falling events. Wildcard selectors (spi.mosi.*). - Events on every surface:
judge_eventsMCP tool,python3 -m hwcontract.temporalCLI,hwcontract.events()in pytest,events:in the GitHub Action. - Evidence everywhere: canonical verdict blocks with contract + input sha256 — JUnit properties and an evidence JSON in the Action, pytest failures and JUnit properties, both CLIs.
- spi-frame contract rewritten over raw pin edges; the demo synthesizes 100 frames of waveforms at 100MHz and catches the Zephyr LPSPI DMA ordering fault through both ingestion paths.
- Metadata: project URLs, updated description; the Action pins
hwcontract==0.4.2for reproducible runs.
134 tests (123 core + 11 plugin), CI on 3.9/3.13. Plugin: pytest-hwcontract 0.1.2.