ChargeLink

Runtime and Artifact Layout

ChargeLink keeps all state in files. The program files are in C:\Program Files\DEVlink\ChargeLink\<VERSION>\ (read-only); licences and data are in %ProgramData%\DEVlink\ChargeLink, which the setup creates and uninstall never removes. chargelink.exe writes nothing to the Windows registry. This page is the map of those files for administrators who set up backup, retention and access control.

Where ChargeLink stores state: package directory, data root, VeriStand bench runs Installed version (read-only) …\DEVlink\ChargeLink\<version> charger\bin\chargelink.exe charger\ vehicle\ (by setup role) docs\ licenses\ manifest\SHA256SUMS ChargeLinkUninstall.exe One folder per version, side by side. Never write runtime data here. Uninstall keeps the data folder. Data (%ProgramData%) …\DEVlink\ChargeLink data\runtime\ ← --runtime-root sessions\<run-id>\ active\ recovery\ integration\ data\artifacts\ ← --artifact-root <run-id>\manifest.json traces\ licenses\ ← license install <licence>.dlic removed\ (license remove) tls\ (TLS material) Back up as one unit. Restrict tls\ and licenses\; verify integrity after restore. VeriStand bench runs (charger PC) <kit folder>\runs\ <time>-veristand\ native.json validation.log campaign-configuration.json launcher.log operator\Runs\<time>\ launcher-evidence.json operator-actions.json, traces %ProgramData%\DEVlink\ChargeLink\ tls\ (bench TLS material) One folder per session; send it whole to support.
Three places on disk: the read-only installed version, the data folder under %ProgramData%, and the VeriStand bench run folders.

Roots and how they are chosen

RootOptionDefaultRecommended ($Data = %ProgramData%\DEVlink\ChargeLink\data)
Runtime root--runtime-root.chargelink\runtime under the current working directory$Data\runtime
Artifact root--artifact-root.chargelink\artifacts under the current working directory$Data\artifacts
Licence homefixed%ProgramData%\DEVlink\ChargeLink\licensesas default
Integration stateintegration serve --state-root<runtime root>\integration$Data\runtime\integration
Test campaign outputtest run --output.chargelink\results\test-run$Data\tests\<run>
Integration smokesintegration *-smoke --output.chargelink\integration\<name>-smokeunder $Data\tests

The kit's bench scripts use $Data\runtime and $Data\artifacts as well. Every command that gets past argument parsing creates the runtime and artifact roots if they do not exist, including commands that then fail as unsupported. Running chargelink from a directory you do not control therefore leaves a .chargelink folder there; this is why the manual always passes explicit roots. The Start menu shell ChargeLink <VERSION> shell starts in $Data, so the default roots land there too.

Runtime root

runtime\
  sessions\<run-id>\                   session state, process, lock and heartbeat files and a lifecycle log
  sessions\<run-id>\stop.flag         written by evse stop / evcc stop / test stop
  active\evse.lock.json, active\evcc.lock.json   one live session per role
  recovery\                             recovery records written by runtime recover
  integration\                          gRPC server state (sessions, signals, campaigns)

Do not edit these files; use the runtime commands. Session status values: dry_run_validated, starting, running, stop_requested, stopped, failed, not_implemented, recovered_stale. A live session is reported stale when its process has ended or its heartbeat is older than stale_after_ms. Print the lifecycle policy with chargelink --json runtime policy.

Artifact root

artifacts\<run-id>\
  manifest.json                       run_id, role, protocol, profile_id, created_unix_ms, integrity_algorithm sha256, signed_evidence_status, files[] {path, kind, description, size_bytes, sha256, redaction_class, export_allowed}, warnings[]
  command_result.json                 JSON result of the producing command
  traces\*.jsonl                      protocol trace events; live-v2gtp-frames.jsonl for every frame
  exi\*.exi                           EXI captures
  protocol\*.json, protocol\*.bin     session reports, raw V2GTP request dumps
  sim\*.json, pki\*.json              deterministic simulation reports and transcripts
  *.json                              role-specific status and diagnostics
  redacted\ + redaction_report.json   created by artifacts redact
  support_bundle\support_bundle_manifest.json   created by artifacts support-bundle

The role-specific files are described in ChargeLink as Charger and ChargeLink as Vehicle. Redaction classes: public_metadata, operator_log, protocol_trace, sensitive_credential, customer_confidential, unknown. Print the policy with chargelink --json artifacts policy.

Licence home

%ProgramData%\DEVlink\ChargeLink\licenses\
  <licence>.dlic                      installed licences (license install)
  <list>.drl                          installed revocation lists
  removed\                            licences taken out of use (license remove); never deleted

Every installed ChargeLink version uses the same licence home. Keep the .dlic files you received from DEVlink with your installation record.

Test outputs

<test output>\
  campaign_plan.json  campaign_status.json  verdicts.json  customer_report.json  artifact_manifest.json
  evidence\source_manifest.json  evidence\evidence_index.json

VeriStand bench (charger PC)

The installation has a charger\ and a vehicle\ folder.

<kit folder>\runs\<time>-veristand\        one folder per operator session (ChargeLink Operator (VeriStand))
  native.json  campaign-configuration.json  validation.log  launcher.log
  operator\Runs\<time>\     the session: launcher-evidence.json (the verdict), operator actions, the EV link and the charger's protocol trace
%ProgramData%\DEVlink\ChargeLink\tls\           TLS material used by the kit
%ProgramData%\DEVlink\ChargeLink\tls\pc2\       the vehicle-side TLS material that vehicle\Start-Evcc.ps1 reads

The run folder and the files in it are described in Reading the result. Keep each run folder with the installation's manifest\SHA256SUMS. Uninstall keeps %ProgramData%\DEVlink\ChargeLink; delete the run folders yourself when you no longer need them.

Program directory (read-only)

C:\Program Files\DEVlink\ChargeLink\<VERSION>\README.md  KIT_CONTENTS.md  docs\  licenses\  manifest\  charger\  vehicle\  ChargeLinkUninstall.exe

Schemas of interest for your own automation: artifact_manifest, artifact_integrity, diagnostic_envelope, exit_code_policy, runtime_session, protocol_trace_event, protocol_test_evidence, protocol_test_verdicts, profile, tls_pki_diagnostics.

Backup and retention

  • Back up %ProgramData%\DEVlink\ChargeLink (licences, data with runtime, artifacts, pki, tests and support, and TLS material) as one unit; the runtime root is small but holds the locks that explain an interrupted run.
  • Restrict data\pki and tls to the operator and administrators; restrict the artifact root to the project team.
  • Keep raw and redacted artifacts separate; decide retention per class before the first customer run.
  • Verify integrity after restore (artifacts integrity --run-id).

Names shown as printed

Some names in ChargeLink's output appear exactly as printed below.

NameWhere you see itMeaning
pc1_requires_allow_engineering_tls_identityJSON field in the result of evse tls-material-init --bench-pki and in its engineering-pki-manifest.jsontrue when the charger side needs --allow-engineering-tls-identity to use the generated identity.
pc1\, pc2\Folders in the output folder of evse tls-material-init --bench-pkipc1\ holds the charger-side certificate set, pc2\ the vehicle-side certificate set.
%ProgramData%\DEVlink\ChargeLink\tls\pc2The installed TLS folder on the vehicle PCThe vehicle-side TLS material that the vehicle launcher (vehicle\Start-Evcc.ps1) reads.
<artifact-root>\t5-chademo, t5-<timestamp>CHAdeMO run folders and run IDsThe default evidence folder of CHAdeMO runs, and the run ID ChargeLink generates for a CHAdeMO run; the run folder has the same name.
ChargeLink NativeThe product value in some outputs, for example integration healthThe product name as printed; it is ChargeLink.