# Productive UI Arena protocol

Evaluate whether a skill helps an agent deliver a better working interface.

## A paired run

1. Copy the same task fixture into separate candidate directories. Give each agent only TASK.md and its candidate directory.
2. Keep the agent model, tool access, generation budget, time limit, starting code and task text identical. Add only the tested skill to that arm. Use a fresh conversation for each candidate.
3. Record the exact model label supplied by the host, skill source and revision, prompt, repetition, and candidate path in the run metadata. Record token and monetary cost when the host provides them; otherwise use null.
4. Let the agent operate and improve the app. Preserve its final files and report.
5. Run the evaluator after generation. Its checks and expected data stay outside the candidate directory.
6. Review matched desktop/mobile screenshots with neutral A/B labels. Ask which design makes the stated task easier, then which has better visual craft. Reveal arm names after choices are saved.
7. Repeat each arm at least three times before comparing its distribution. Publish failures and all attempts with the same denominator.

A fixture run describes that task, model and generation budget. Public release comparisons and real-product cases have their own result type.

## Report the useful outcomes

| Outcome | Measurement |
|---|---|
| Task completion | Passed task assertions / attempted assertions, with the full failures |
| Persistence and recovery | Saved record after reload; failed save keeps user input; undo restores the original state |
| Data meaning | Exported IDs and values match the task contract and declared scope |
| Readability | Observed font size and opaque text contrast; screenshot review for complex paint |
| Workspace | Same selected record, data, viewport and scroll; portable workspace geometry |
| Keyboard | Main workflow can be completed and focus remains visible |
| Responsive behavior | Horizontal overflow and reachable primary action at 390 × 640 |
| Visual preference | Separate anonymous votes with task, pair, voter count and ties |
| Effort | Deliberate actions, elapsed agent generation time, tokens and cost when observed |

Completion and retained features are release gates. Compare visual preference and efficiency among candidates that pass the same task checks. The default report keeps the individual measurements visible.

## Original queue challenge

The release queue is an original, local-only repair challenge with eight fictional deployments. It exercises recurrent work in a compact master/detail screen. The starting implementation contains workflow and readability defects. The prompt does not identify each defect. The evaluator opens new browser contexts for each behavior and never invokes application handlers directly.

The initial fixture is named `fixture-baseline`. Label an unchanged model run `no-skill` only after an agent actually completes that arm.

## Reproducibility

Commit the fixture, prompt, evaluator, candidate changes and run metadata. Use a Git revision for provenance. Keep browser version, viewport and data set in each report. Serve candidate files on a temporary local port; stop only that test server when done.

Use original or permissively licensed public fixtures. Build real-product cases from a reviewed source snapshot with synthetic data. Active production processes remain running throughout the evaluation.

## Evaluator v1.1 correction

Before publishing the first independent runs, review found two assumptions in the evaluator: a field had to be named exactly “Owner,” and a filtered screen had to export only its filtered records. The user task permits interface wording changes and preserves the original all-record export. The original keyboard sequence also selected the already assigned owner, which correctly left one candidate's Save button disabled. The corrected keyboard path chooses a different owner and checks it after reload. Version 1.1 accepts the equivalent accessible labels “Owner,” “Assigned to,” and “Assignee.” It checks the original eight-record CSV and records filtered export scope as an observation. Candidate files remain unchanged; all arms, including the original fixture, use the corrected evaluator.

Record labels and control adapters should express the same user action across designs. Adjudicate selector failures against the actual interface before reporting them as product defects. Do not change expected outcomes to favor a particular arm.

## Evaluator v1.2 control adaptation

The v0.5 forward task used a visible Status group of pressed buttons instead of the original native select. The task permits this design choice. Version 1.2 operates either control through its accessible name and reads the selected status from the select value or pressed button. It also accepts a phone return control named “Queue.” Expected saved data, undo behavior, CSV records, contrast thresholds, and keyboard outcomes are unchanged. Historical reports retain their original evaluator revision.

## Evaluator v1.3 failed-save wording

The v0.5 candidate displayed “Not saved” in a status region, an explicit failure in an alert, retained the chosen owner, and offered Retry save. Version 1.2 accepted neither the phrase “Not saved” nor role=alert, producing a false failure. Version 1.3 accepts both accessible feedback forms and keeps the pending-input and false-success assertions. The [original 10/11 report](adjudications/queue-productive-ui-v05-v12.json) is preserved. The candidate is unchanged for reevaluation.
