Make the Eve onboarding checkpoint run against the contract that exists

The portability workflow has been red since 2026-08-22. Three things,
each hidden behind the one before it:

- Eve started refusing to build a command intent for a surface that has
  not advertised a command boundary and receipt schema (Eve 4338a42,
  2026-08-22). The two-runtime sample never advertised one. It now passes
  a provider advertisement with worldInteraction for its surface, which is
  the declaration the lowering was right to demand.
- The sample and the package-closure script still imported "cultcache-ts";
  the package became @gamecult/cultcache-ts on 2026-09-04 (8cb3b72) and
  CI never got far enough to say so. Two READMEs carried the same import.
- The job pinned Eve to codex/eve-browser-host-isolation, a branch that was
  never merged and stopped moving on 2026-08-25. The sample is written
  against Eve main and passes there; the pin now says so.

The interop workflow's Python step ran one test file by path; it now
discovers the three split suites.

  scripts/verify-eve-two-runtime-sample.ps1 -EveRoot F:\Projects\Eve
  (Eve main ccc3ffe) -> browserCount 1, headlessCount 1, restartCount 1

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-10 13:29:34 +02:00
commit 830a5d718f
6 changed files with 25 additions and 7 deletions

View file

@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import { JSDOM } from "jsdom";
import { z } from "zod";
import { defineDocumentType } from "cultcache-ts";
import { defineDocumentType } from "@gamecult/cultcache-ts";
import { CultMesh } from "cultmesh-ts";
import {
parseEveCommandReceipt,
@ -172,6 +172,19 @@ let browserReceipt;
renderEveSurface(await node.document(surfaceDocument, surfaceId).latest(), host, {
activeSurfaceId: surfaceId,
clientId: "browser-client",
// Eve refuses to build a command intent for a surface that has not
// advertised where its commands go and what comes back. The provider
// advertisement is that declaration; a lowering cannot infer it.
provider: {
providerId,
surfaces: [{
surfaceId,
worldInteraction: {
commandBoundary: "sample.counter.commands",
receiptSchema: "gamecult.eve.command_receipt.v1",
},
}],
},
commandSink: async intent => {
browserReceipt = await increment.bind(browserVerse).invoke(intent.payload, {
idempotencyKey: "browser-click-1",