Run A Test Cycle
The Synthetic AC testbench measures a simulated powered device, records its
lifecycle, and demonstrates controlled fault recovery. Its startup suite is
synthetic.device.startup with template synthetic.device.startup.sequence.
1. Start Dokime
Section titled “1. Start Dokime”mise run dev:desktop:devThe desktop starts the dokime backend beside it, which loads the bundled
Synthetic plugin and registers its testbench suites and domains before
initialization.
2. Plan
Section titled “2. Plan”Open Plan, choose Startup Testbench → Device Startup, and inspect the AC voltage, load resistance, frequency, phase and observation duration parameters. These values become immutable execution inputs when the run is admitted.
Steady-State Testbench declares three voltage choices and a three-point load
linspace, producing nine Cartesian cases. Narrow either axis for a shorter run.
Electrical inputs are template parameters, not plugin settings. The optional
images.directory path setting supplies a reference PNG only when the startup
case enables attach_reference.
3. Execute
Section titled “3. Execute”Start the cycle from Execution. The runtime admits the work through its serialized execution lane. Case state, prompts, records, evidence, and telemetry are committed through typed Harmos transactions or publications.
You can pause, resume, stop, rerun a case, restart a cycle, or reopen a cycle through the product surfaces where the current state permits the transition.
4. Observe
Section titled “4. Observe”Use Cycle to inspect:
- current case and execution status;
- pending prompts and submitted responses;
- records and telemetry streams;
- traceability, notes, evidence, and artifacts;
- report jobs and the generated document.
5. Review
Section titled “5. Review”After execution, Explore lists durable cycle history. It can open a cycle or compare cycles. Report RPCs provide HTML and the declared document; Content RPCs serve stored bytes and downloads.
The runtime journal and snapshot recover product state. Tracked telemetry rows and artifacts recover from their own stores, described in Recover Telemetry.
6. Exercise protection and recovery
Section titled “6. Exercise protection and recovery”Overcurrent Protection increases the load tenfold and checks that the current limit disconnects the DUT and blocks restart while latched. Power-Loss Recovery removes simulated DUT power, clears its latch and checks a controlled restart. Neither procedure crashes the plugin process or requires an operator prompt.
Voltage and current appear in separate plots with volts and amperes. Samples use deterministic simulated time; host timestamps include scheduling and operator pauses. At 50 Hz, the default 1 ms interval gives 20 samples per electrical cycle.