Repository navigation
Releases
v0.2.0
Changed
- The simulated ECU identifies itself as
FlashPilot sim-ecu v1.0.4; the
retired bench brand no longer appears in the identity string, the bench
status surface or the manual (issue #30).
Fixed
- The Windows standalone CLI ZIP now executes
bin/flashpilot.exeinstead of
the Racket-distribute default of a root-level executable (issue #10).
Building directly intostage/binpreserves Racket's Windows DLL lookup;
CI extracts the actual ZIP into a fresh directory and verifies CLI commands,
simulated flash and failure exit code, without depending on the source tree.
Existing v0.1.0 artifacts are unchanged.
Added
-
ECU identification gate — plans accept
expectedIdentityDID checks
(did+ exact-bytevalue/valueHex). The engine reads and compares
them as the first flash step, before DiagnosticSessionControl: a wrong
target, unsupported DID or short payload aborts with bounded
expected/got evidence before any session change, unlock or erase
(issue #30).verifyand the benchverify-plansurface the configured
expectations;examples/plan.sim.jsongates on the simulated ECU's
0xFD00"ready" DID. -
Flash reports —
flashpilot flash <plan> --report <path>writes the
run as aflashpilot.report/v1JSON evidence artifact: UTC start,
transport, audited steps with timings, identity/fingerprint gate records
and the outcome. Failed attempts write the same report; stdout JSON is
unchanged. -
Polled erase — plans accept
erasePoll(statusByte/maxRounds/
roundTimeoutMs): the engine repeats the erase routine with the same
record until the status byte reports done — the pattern slice-erase
ECUs require — and aborts with bounded evidence when maxRounds is
exhausted. Unset plans keep the historical single-shot erase. The
simulated ECU gains an opt-inerase-rounds-to-donemode so the loop
and its exhaustion path are CI-proven (issue #34). -
Generic routine steps — plans accept
routineStepsentries at
before-erase/after-verify(optionalrecord,timeoutMs): the
declarative answer to vendor prechecks and activations. The engine
requires a positive response and audits the raw bytes; vendor status
semantics are never interpreted. The simulated ECU accepts an opt-in
extra-routinesset, staying strict (requestOutOfRange) otherwise
(issue #36). -
Post-reset confirmation gate — plans accept
postResetGate
(did+ exact-bytevalue/valueHex+timeoutMs/intervalMs):
after EcuReset the engine polls the DID until it matches, so a stuck
ECU cannot yield a green run; timeout aborts with the last value read
as bounded evidence (issue #38). On transports where a reset drops the
link the gate requires channel re-establishment — the simulated
channel provides it today; general DoIP reconnection ships with the
DoIP hardening slice. -
onFail enforced — the parsed-but-not-enforced debt is settled:
retryreplays the whole transaction once after a non-permanent
failure andresetAndRetryadds a best-effort hard EcuReset before
the replay; both leave the failed attempt's abort, arecoverystep
and the replayed sequence in the audit. Permanent failures (wrong
ECU at the identity gate) never replay.onFailmoved onto the
engine-facing plan record;powerGuardremains the one documented
parsed-not-enforced field (issue #40). -
DoIP bounded reconnect —
--reconnect N [--reconnect-delay-ms MS]
(DoIP transport): after an EcuReset drops the TCP link, the channel
re-establishes it (fresh connect + routing activation) within bounded
attempts, so the post-reset confirmation gate keeps polling across the
ECU's reboot window. Connection-class errors only — UDS negative
responses and NACKs are never retried by this layer; with reconnect
disabled the historical stop-at-error behavior is unchanged. A
simulated DoIP entity that closes its link on reset and refuses
connections for a window proves the reconnect and exhaustion paths in
CI (issue #42). -
Native flash surface — the desktop hosts (Windows WinUI, macOS
SwiftUI, Linux GTK4) gain a Flash button: the backend's new
flash-planRPC runs the plan against the simulated bench ECU and
returns the audited steps as JSON — every failure a bounded result,
never a dead screen. All three e2e acceptance drivers press the
button and assert the result through the platform accessibility API.
The backend also gained a shared plan loader, so what a host verifies
is exactly what a host flashes. -
powerGuard enforced — the last parsed-not-enforced field is
settled.powerGuardgains a requiredprovider:{"kind": "sim", "ma": N}(deterministic, CI/benches) or{"kind": "command", "command": "./bench-power"}(external vendor script prints live mA on
stdout — vendor code stays outside the engine). The engine polls the
meter through erase and every download block (rate-limited by
pollMs) and aborts permanently on out-of-band current — a
physical safety event is never blindly retried. A plan never measures
with a fake: no provider, no enforcement (issue #44). -
Support matrix as code —
flashpilot transports --jsonemits every
transport/adapter subset with an explicit evidence level
(ci-simulated/implemented-unverified/planned) from
flashpilot/diagnostics/support-matrix.rkt; PCAN FD and hardware LIN
are labeled planned, and a hardware-in-loop level awaits a versioned
adapter + reference-ECU reproduction report (issue #4 gate). -
Recovery semantics documented —
docs/support-matrix.md(bilingual)
records the block-retry bound, the power-loss re-run path (fingerprint
gate, restart from erase), session-loss behavior and the guarantee that
erase/download are never blindly retried;onFail/powerGuardplan
fields are documented as parsed-but-not-yet-enforced. -
README positioning aligned with PRICING: free AGPL engine, official
validated distribution as the planned paid tier. -
UDS over LIN (simulated) —
--transport linplus
flashpilot/diagnostics/isotp/lin-{tp,endpoint}.rktand
channels/lin-uds-channel.rkt: ISO 17987-3 style diagnostic framing
(0x3C/0x3D, NAD + PCI, 6-byte windows, master-paced, no flow control).
The full flash workflow runs against the simulated ECU over LIN in CI.
Hardware LIN adapters (PLIN/Kvaser) are future work. -
Fixed a latent simulated-bus race: an empty inbox initialized as
'()
(truthy) could crash a transport pump that polled before the first
frame arrived; inboxes now start as#f. -
CAN FD support — plans accept
"dataLength"(8 classic default; snaps
to the nearest legal FD length up to 64). ISO-TP codec, endpoints and the
simulated ECU chunk frames at the configured data length; SocketCAN gains
canfd_framewire support and enablesCAN_RAW_FD_FRAMESin FD mode.
Classic CAN behavior is bit-identical; PCAN FD waits on hardware
verification.examples/plan.sim-fd.jsonflashes the simulated ECU over
FD in CI. -
ODX import (subset) —
odx-importcommand plus
flashpilot/diagnostics/flash/odx:.odx/.odx-f/.pdxinto flash
plans (MEMORY-SEGMENT ranges, inline base64 DATA, DATAFILE references).
Everything outside the subset is reported inissues, never dropped.
CDD/VFD remain out of scope by design. -
Plan validation lint —
validatecommand plus
flashpilot/diagnostics/flash/validation: segment overlap (error),
empty segments (warning), gaps (warning), missing data/file (error);
flashrefuses plans with validation errors. -
MCP server —
app/mcp.rkt: stdio JSON-RPC 2.0 exposing
flashpilot_validate,flashpilot_flash,flashpilot_request,
flashpilot_udidandflashpilot_odx_importto coding agents;
scripts/mcp-smoke.rktgates the surface in CI.
Standalone CLI archives — no Racket installation required. Run bin/flashpilot on Unix/macOS or bin/flashpilot.exe on Windows. Racket's platform-specific runtime library placement is preserved.
Updates are manual: download the new archive and replace your installation; no in-app updater is bundled.
Checksums (SHA-256)
8d476931515de38c0af737a02453147c06bd513c56e7c0f18090266913f0c38b flashpilot-0.2.0-linux-arm64.zip
1fa15812d081d5ffa0811ca35ca38d0e9b6f9d398b815dcc23d61a0c04734e73 flashpilot-0.2.0-linux-x64.zip
3793332c156201dabb877bf5a22e5d6a03fd1be9a72c8b05a20571ad951a0232 flashpilot-0.2.0-macos-arm64.zip
84b0864cb8d4fbeabf8a3f1e94c788ccaa466c8a0dec4e1c6a9f3b4618a68c77 flashpilot-0.2.0-macos-x64.zip
9df58188adbdacdb79d7f8494e18d84a201e3a5ff505c0ddd7c630b25960fef5 flashpilot-0.2.0-windows-x64.zip
What's Changed
- Enforce native product acceptance on every desktop by @turlamai in #1
- ci: pin rivet to v0.12.0 by @turlamai in #2
- feat: guided bench and plan-verification workflow on the macOS leg by @turlamai in #8
- feat: separate target and plan concerns in the desktop bench flow by @turlamai in #9
- fix(release): consistent bin/flashpilot.exe in Windows CLI ZIP (#10) by @turlamai in #12
- chore: refresh FlashPilot owner links to turlamai by @turlamai in #13
- ci: migrate Rivet acceptance workflows to canonical GitHub owner by @turlamai in #14
- ci: stop superseded runs competing for runners by @turlamai in #15
- docs: remove unnecessary third-party promotion by @turlamai in #16
- docs: align Chinese README with product-first guidance by @turlamai in #19
- ci: preserve main CI and Product Acceptance runs by @turlamai i...
v0.1.0
First release. CLI-first, three platforms: the flashing core, a declarative
plan format and an agent-first CLI — no GUI in the release artifacts (the
native shells stay in-repo as a debug cockpit).
Added
- UDS (ISO 14229) core — P2/P2* timing, NRC taxonomy, DTC read/clear
(0x19 / 0x14), DID read (0x22), TesterPresent, ECU reset. - UDS flash workflow — session → security access → erase → download →
verify → reset, with a per-step audit on every run. - Declarative flash plans — one JSON document per ECU: segments (inline
hex or raw BIN files), session, security level, key deriver,
recovery strategy (retry/resetAndRetry), in-programming power guard,
and anexpectedFingerprintgate validated before any driver call.
Intel HEX / S-record parsing ships in the image model. - Security providers — built-in seed-key derivers plus pluggable external
algorithms viacommand:<id>; vendor code stays in vendor binaries. - Transports — SocketCAN (Linux), PEAK PCAN (Windows), DoIP (Ethernet);
ISO-TP (ISO 15765-2) underneath. UDS over LIN is planned, not in this release. - Built-in simulated ECU — a real ISO-TP/UDS stack answering behind a
simulated CAN bus, so the entire flash loop runs hardware-free, including CI. - Agent-first CLI —
flash/verify/dtc/request/udid;
deterministic single-line JSON output, stable exit codes (0 ok · 1
flash/assert failed · 2 usage · 3 not found · 4 transport), bounded failure
evidence so an agent can diagnose and retry without a vendor tool. - User guide — bilingual (Chinese/English) manual at
https://flashpilot.jrtx.site/guide.html. - Release engineering — tagged builds produce per-platform CLI archives
(zip + SHA-256) and a combined SHA256SUMS on GitHub Releases.
Standalone CLI archives — no Racket installation required. Unix archives unpack to bin/flashpilot + lib/; Windows to flashpilot.exe + runtime.
Updates are manual: download the new archive and replace your install (no auto-updater in v0.1.0).
Checksums (SHA-256)
61a7c39646cbe101e3605d0468a9e62e663e4cda884a98b5f9558dc43e996632 flashpilot-0.1.0-linux-arm64.zip
10e583b3e97f695b4ab8af92ec1ab1e39e9740c59d6deaf0f272bfdf8adadbc2 flashpilot-0.1.0-linux-x64.zip
44755dd84526ee341c3c1d59ff624dbe34933e567e2e8416a763dd742fae8394 flashpilot-0.1.0-macos-arm64.zip
a1aed61110a37d5721e9caf0aa0cd4d4d1138a6fa62154f22c1b5124f813f73c flashpilot-0.1.0-macos-x64.zip
d67e01ac50088f1184c25a264e523c3d02de6bc724c10329d8ceb0a723e7f644 flashpilot-0.1.0-windows-x64.zip
Full Changelog: https://github.com/turinglambdaai/flashpilot/commits/v0.1.0