Record Disting NT auditions and promote passing modules to hardware-validated #16
Loading…
Reference in a new issue
No description provided.
Delete branch "hardware-record"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
This PR adds the last piece needed before Disting NT hardware tests: a way to record an audition so that it can promote modules to
hardware-validated. Until now the approval docs described that level, but nothing in the code could reach it.hardware-record. The new command takes the auditioned.oplug-in, its patch, device, firmware,pass/failresult, listening notes and an optional date. It appends a record to the private evidence registry's newhardware_auditionslist. The record stores hashes of the plug-in and patch, not their paths. Re-recording the same plug-in on the same device, firmware and date replaces the earlier record.preflight-distingagainst the same registry. A recording can therefore only promote modules that are alreadyreference-compared, and never replaces their reference cases. Afailrecord is kept and promotes nothing. Device, firmware and notes are required.effective_module_statusreturnshardware-validatedfor a release-status module with a passing audition.catalog-audit --reference-evidencenow counts both release statuses.docs/PARITY_ROADMAP.mdphase 4 explains how to build, install and record an audition. The current-focus section now says that phase 1 is done.Testing
python3 -m unittest discover -s tests). The new test covers:failrecord leaves Delay atreference-compared;passrecord makes Delay and 2Outputhardware-validated, keeps one record per plug-in/device/firmware/date, and leaves OscA unchanged.tools/export_public.pyinto an empty directory is clean.9ae683c. Their generated Faust is identical to the audited builds except for the description string. Their undefined symbols (NT_globals, GOT,memset,tanf) are a subset of those in the official distingNT_API Faust examples built with the same flags.Impact Statement
hardware_auditions.hardware-recordcommand.nardwahl-reference-evidence-v1registry gains an optionalhardware_auditionslist. Older registries load unchanged.~/.nardwahl.hardware-validatedis already a release status, so preflight accepts it likereference-compared.