Skip to content

native-baseline compare --engines on Linux: judge engine-answered operations by their in-cell time #370

Open

Description

@SSFSKIM

M4's T18 judged compare --engines on Linux by Acceptance 3's speed rule: a bootstrap interval of cua's median minus the vendor's, with a 1 ms floor. It judges each operation's wall time. That time includes the facade's MCP transport and the REPL host. Both lanes run the same code there, so it is noise the engines don't change.

In T18's counted sitting (private display, 0.4.0 at 8ab1cc7, 90 samples a side), warm.listApps came out undetermined at [-0.23, 1.12] ms, while:

  • inside the cell, the facade -> service -> engine call, cua took 3.43 ms against the vendor's 3.88;
  • the whole 0.4 ms difference sat outside the cell, in the shared transport: 13.75 against 13.08;
  • warm.noop over that same path showed the opposite sign: 14.20 against 14.53;
  • over the wire, the engine's list_apps took 5–7 ms on cua against 61–127 ms on the vendor.

Proposal: for operations the engine answers, judge the in-cell time, which is what the engines change. Report the wall time beside it, unjudged. Short operations then stop failing or going undetermined on transport noise. macOS (#117, whose bar waits on #192) stays as it is unless the owner rules otherwise.

The design session ruled against changing the rule inside M4's release window, so this is M5's to decide.

Evidence: docs/evidence/2026-10-28-own-linux-engine/m4/facade/ (baseline/, README).

Related: #117, #192.

Related: #117 #192

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementexpectedpriority:P3ready-to-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions