5.1. CDA

Detailed Design & Implementation: Capability-limited diagnostic communication access dimpl~communication-control-access
Detailed Design & Implementation: Authoritative communication lifecycle operations dimpl~communication-control-operations
Unit Test: Recovery discards an incomplete transaction that crashed while still recording test~storage-atomicity-recovery-discards-recording-phase-crash
Detailed Design & Implementation: Local filesystem implementation of the Storage Access API dimpl~storage-local-filesystem-implementation
Detailed Design & Implementation: GET /components/{ecu} SDG handler dimpl~sovd-api-component-sdgsd
Detailed Design & Implementation: Write-ahead log with checksum-verified one-phase commit dimpl~storage-wal-journaling
Detailed Design & Implementation: Startup recovery of interrupted transactions from the WAL dimpl~storage-crash-recovery
Unit Test: Recovery restores the original file from its backup after an interrupted overwrite test~storage-atomicity-recovery-restores-overwritten-file
Detailed Design & Implementation: Starts HTTP Server (TCP or Unix domain socket) dimpl~sovd-api-http-server
Unit Test: Recovery removes a newly-written file left by an interrupted commit with no backup to restore test~storage-atomicity-recovery-removes-new-file
Detailed Design & Implementation: Deferred diagnostic request admission dimpl~deferred-sovd-admission
Unit Test: Recovery removes an empty collection directory left by an interrupted `CreateCollection` commit test~storage-atomicity-recovery-removes-new-collection
Detailed Design & Implementation: PUT endpoint for ECU variant detection dimpl~sovd-api-ecu-variant-detection
Unit Test: Recovery cleans up orphaned backup files left after a successful commit test~storage-atomicity-recovery-cleans-orphaned-backups
Detailed Design & Implementation: Deferred diagnostic transport activation dimpl~deferred-doip-transport
Integration Test: End-to-end GET/POST over a Unix domain socket bound webserver itest~sovd-api-http-server-unix-socket
Unit Test: Recovery discards a WAL with a corrupt checksum during the recording phase test~storage-atomicity-recovery-discards-corrupt-wal
Integration Test: On-demand startup sends no UDS request before an authorized trigger itest~deferred-on-demand-uds-silence
Unit Test: Recovery fully rolls back a multi-operation transaction that created a collection and wrote into it test~storage-atomicity-recovery-removes-orphaned-collection-dir
Detailed Design & Implementation: Atomic commit of a staged transaction via WAL and backup-rename dimpl~storage-atomic-commit
Integration Test: Deferred post-update mode requires communication reactivation itest~deferred-post-update
Detailed Design & Implementation: GET /data/{service} SDG handler dimpl~sovd-api-component-data-sdgsd
Detailed Design & Implementation: Deferred communication startup wiring dimpl~deferred-communication-startup
Unit Test: WAL entries round-trip through checksum-verified encode/decode test~storage-wal-checksum-round-trip
Unit Test: WAL reader detects and stops at a truncated entry test~storage-wal-truncation-detection
Unit Test: Binds the server to a unix domain socket and reaches it test~sovd-api-http-server-unix-socket-bind
Unit Test: Binds the server to a TCP host/port and reaches it test~sovd-api-http-server-tcp-bind
Detailed Design & Implementation: Register Version Endpoint dimpl~sovd-api-version-endpoint
Integration Test: Disabled automatic variant detection permits an explicit ECU trigger itest~variant-detection-explicit
Unit Test: Removes a stale unix socket file left by an unclean shutdown before binding test~sovd-api-http-server-unix-socket-stale-cleanup
Unit Test: Successful rollback leaves communication disabled in deferred post-update mode test~deferred-post-update-rollback
Unit Test: Fails cleanly when a stale unix socket path can't be removed test~sovd-api-http-server-unix-socket-stale-cleanup-failure
Unit Test: Startup activates communication only in Always mode test~deferred-startup-policy
Unit Test: Deferred request admission triggers activation and returns a retry hint test~deferred-sovd-admission
Unit Test: Gateway construction does not bind its discovery socket test~deferred-doip-passive-construction