# CLI 0.15.0 Interaction Endpoint Diagnostic

This diagnostic localizes the startup interaction crossings in experiments 137 and 138.
Experiment 141 recorded its standard profiles and rejected every diagnostic sidecar.
This repeat preserves those records and repairs two collection errors before measurement.

## Frozen Conditions

Use the published 0.14.0 wheel from source
`b0c894fe71f927827b0a30ea9f366e3ad04f24d3` and the merged candidate from
`996b8c10b0627d6f9c9e6a03e1800900bec079c4`. Their SHA-256 digests are
`b1906784ae60fd6de276af6d03c40399a2dc86f27c093225df9135471f1a18fb` and
`eb4e01ef0a25ac604c00cc330a5d76cb0e541fc6b7f188fcd7a3621c773abf00`.
Retain the same locked browser environment for all captures and replace only the tested
wheel. Use a fresh server and browser profile for each arm. The public project-10
corpus fingerprint is carried forward by the existing harness. The first control server
warms the corpus and records its fingerprint before the measured pairs.

Chrome is headed under Xvfb on Ubuntu 24.04. The exact Chrome 158.0.8127.36 revision is
`14d6f648e8cd7ad750a4044200ce94d3321be260`. Use the standard 1600×1040 viewport and
the existing trusted 3 px startup pulse, which toggles only the sentinel's paint.
The product startup milestones and standard profile export stay in the existing
capture driver. The diagnostic reads the sentinel's native node and top-frame IDs after the final pulse
settles and before the existing removal. The derived probe records two clock reads
around the existing profile snapshot. The observer records its delivery time and source
for each batch. The recorder receives the unchanged standard profile fields.

Start with two blocks of one A/A and one A/B pair. Block 1 runs A/B (control, candidate)
then A/A (candidate-a, candidate-b). Block 2 runs A/A in reversed order then A/B in
reversed order. Each pair gets one same-order replacement if an arm's capture or
sidecar attribution is refused. The retained evidence shows all attempted arms and
their normalized records. A timing crossing does not trigger a replacement.

## Measurement and Interpretation

Require the same nonce, frozen wheels, browser revision, successful standard profile
record, unique page/trace clock mapping, and intact bounded trace. Use the
`latency`, `devtools.timeline` and `blink.user_timing` event families.
Request those three trace categories explicitly. The list reported before navigation
can be empty while renderer categories are registering. The driver keeps raw trace
events and observer entries with explicit overflow and protocol data-loss evidence. Perform endpoint analysis on the retained complete pairs.

Match each profiler-visible interaction event to a unique native Event Timing event
and typed processing interval using the sentinel's node, top frame, interaction ID,
type, and aligned clock. Check Chromium's 8 ms rounding and reconstruct the standard
profiler gesture count and p95 before interpreting unrounded durations. For each
observed gesture, use the largest duration among its matching native events.
Record exact input delay, processing time, time after processing, and whether the
native endpoint carried explicit fallback or the browser's presentation feedback.
Use the profiler's ordered index `min(n - 1, floor(0.95 × n))` for each capture.
Compare A/A and A/B separately with both run orders visible.

The synthetic capability capture on this Chrome revision validated exact endpoint and
fallback classification. Legacy JSON export omits the full native frame-flow link.
Browser presentation feedback and time after processing cannot identify physical
scanout or isolate a compositor-only delay. Tracing and the additional observer can
affect scheduling. Four complete pairs can localize discrepancies and reveal
same-wheel variation. Release acceptance still requires the standard comparison
evidence and a disposition for each repeated relative timing miss.

<!-- This document follows common-doc-guidelines.md.
See github.com/jlevy/practical-prose and review guidelines before editing.
-->
