Repository navigation
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 in #20
- docs(site): update repository and support links by @turlamai in #21
- docs: repair remaining canonical repository references by @turlamai in #22
- docs(site): route manual link to existing bilingual guides by @turlamai in #24
- feat(updates): add offline signed CLI-only update trust foundation by @turlamai in #23
- ci(release): five canonical CLI bundles, one SHA256SUMS and no aliases by @turlamai in #26
- fix: point links at canonical turlamai owner by @turlamai in #25
- docs: explain diagnostic CLI udid/request JSON and exit-code semantics by @turlamai in #27
- feat(plan): ECU identification gate — expectedIdentity DID checks before any session change by @turlamai in #31
- feat(report): flash reports — --report writes a flashpilot.report/v1 evidence artifact by @turlamai in #33
- feat(engine): polled erase — repeat the erase routine until a status byte reports done by @turlamai in #35
- feat(engine): generic routine steps — vendor prechecks and activations as plan entries by @turlamai in #37
- feat(engine): post-reset confirmation gate — the ECU must prove it came back by @turlamai in #39
- feat(engine): enforce onFail — retry and resetAndRetry recovery rounds by @turlamai in #41
- feat(doip): bounded reconnect — survive link drops across EcuReset by @turlamai in #43
- feat(engine): enforce powerGuard — pluggable meter provider, out-of-band current aborts permanently by @turlamai in #45
- feat(hosts): native flash surface — GUI execution against the simulated bench by @turlamai in #46
- release: 0.2.0 prep — version sources, gate script, pin unification by @turlamai in #47
New Contributors
Full Changelog: v0.1.0...v0.2.0